/**
 * LifyHomes Modern Portal — Design System
 * Colors: #0F4C81 (primary), #00AEEF (accent), #FFB703 (highlight), #F8FAFC (surface)
 */

:root {
	--lify-primary: #0F4C81;
	--lify-primary-dark: #0a3558;
	--lify-accent: #00AEEF;
	--lify-highlight: #FFB703;
	--lify-surface: #F8FAFC;
	--lify-text: #1e293b;
	--lify-text-muted: #64748b;
	--lify-border: #e2e8f0;
	--lify-radius: 16px;
	--lify-radius-sm: 10px;
	--lify-shadow: 0 10px 40px rgba(15, 76, 129, 0.12);
	--lify-header-height: 61px;
}

body.home {
	background: var(--lify-surface);
	color: var(--lify-text);
	font-family: 'Poppins', sans-serif;
}

.lify-home {
	overflow-x: hidden;
}

/* ── Hero ── */
.lify-home #background.lify-hero,
.lify-home .lify-hero {
	height: auto !important;
	background-size: cover !important;
	background-repeat: no-repeat !important;
}

.lify-home .dir1-home-head:before {
	display: none !important;
}

.lify-hero {
	position: relative;
	min-height: calc(100vh - var(--lify-header-height));
	min-height: calc(100dvh - var(--lify-header-height));
	display: flex;
	align-items: center;
	background-size: cover !important;
	background-position: center !important;
	margin-top: 0;
	padding: 48px 0 64px;
}

.lify-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(15, 76, 129, 0.88) 0%, rgba(10, 53, 88, 0.75) 45%, rgba(0, 174, 239, 0.35) 100%);
}

.lify-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
}

.lify-hero__content {
	max-width: 820px;
	margin: 0 auto;
	text-align: center;
}

.lify-home .lify-hero__search-wrap {
	width: 100%;
	margin-top: 4px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.lify-home .lify-hero__search-wrap .lify-search-panel {
	width: 76%;
	max-width: 912px;
	margin-left: auto;
	margin-right: auto;
	overflow: visible;
	box-sizing: border-box;
}

.lify-home .lify-search-panel .lify-search-tabs,
.lify-home .lify-search-panel .tab-content,
.lify-home .lify-search-panel .tab-pane,
.lify-home .lify-search-panel .lify-search-form,
.lify-home .lify-search-form__row {
	width: 100%;
	max-width: 100%;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	box-sizing: border-box;
}

.lify-home .searching_for_rent .tourz-search-form div {
	margin-left: 0 !important;
}

.lify-hero__title {
	color: #fff !important;
	font-size: clamp(1.75rem, 4vw, 3rem);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 12px;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.lify-hero__subtitle {
	color: rgba(255, 255, 255, 0.92);
	font-size: clamp(0.95rem, 2vw, 1.15rem);
	margin: 0 0 28px;
	line-height: 1.5;
}

/* ── Search panel (glass) ── */
.lify-search-panel {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-radius: var(--lify-radius);
	box-shadow: var(--lify-shadow);
	padding: 20px;
	margin-top: 8px;
	text-align: left;
}

.lify-search-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	border: none !important;
	margin: 0 0 16px !important;
	padding: 0 !important;
	list-style: none;
}

.lify-search-tabs li {
	float: none !important;
	margin: 0 !important;
}

.lify-search-tabs li a {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: var(--lify-text-muted) !important;
	background: var(--lify-surface);
	border: 1px solid var(--lify-border);
	text-decoration: none !important;
	transition: all 0.2s ease;
}

.lify-search-tabs li.active a,
.lify-search-tabs li.pp_s.active a {
	background: var(--lify-primary) !important;
	color: #fff !important;
	border-color: var(--lify-primary);
}

.lify-search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: stretch;
	margin: 0 !important;
}

.lify-search-form__row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 10px;
	width: 100%;
}

.lify-search-form__field {
	margin: 0 !important;
	border: none !important;
}

.lify-search-form__field--grow {
	flex: 1 1 280px;
	position: relative;
	min-width: 0;
}

.lify-search-form__filters {
	display: flex;
	flex: 0 0 auto;
	align-items: stretch;
	gap: 10px;
	margin: 0 !important;
}

.lify-search-form__field--submit {
	flex: 0 0 auto;
}

.lify-search-form .input-field {
	margin: 0 !important;
}

.lify-search-form #select-search {
	width: 100% !important;
	height: 52px !important;
	border: 1px solid var(--lify-border) !important;
	border-radius: var(--lify-radius-sm) !important;
	padding: 0 16px !important;
	font-size: 15px !important;
	background: #fff !important;
	box-sizing: border-box;
}

.lify-search-btn,
.lify-search-form #search_res_p {
	width: 100% !important;
	min-width: 120px;
	height: 52px !important;
	border: none !important;
	border-radius: var(--lify-radius-sm) !important;
	background: linear-gradient(135deg, var(--lify-accent), #0090c8) !important;
	color: #fff !important;
	font-weight: 700 !important;
	font-size: 15px !important;
	text-transform: none !important;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lify-search-btn:hover,
.lify-search-form #search_res_p:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(0, 174, 239, 0.4);
}

.lify-home .searchingtags {
	position: absolute;
	z-index: 10;
	left: 16px;
	top: 100%;
	margin-top: 4px;
}

.lify-home .ho_search_ul {
	position: absolute;
	background: #fff;
	width: 100%;
	max-width: 100%;
	top: 100%;
	left: 0;
	margin-top: 4px;
	min-height: 120px;
	max-height: 280px;
	overflow: auto;
	z-index: 999;
	border-radius: var(--lify-radius-sm);
	box-shadow: var(--lify-shadow);
	border: 1px solid var(--lify-border);
}

.lify-home .mainloadrseachhome {
	display: flex;
	justify-content: center;
	margin-bottom: 12px;
}

.lify-home .loader_search_html {
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
}

/* Homepage hero — compact panel, 70/30 search row */
.lify-home .lify-search-form__field--grow {
	flex: 0 0 calc(70% - 3px);
	width: calc(70% - 3px);
	max-width: calc(70% - 3px);
	min-width: 0;
}

.lify-home .lify-search-form__row {
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 6px;
}

.lify-home .lify-search-form__side {
	flex: 0 0 calc(30% - 3px);
	width: calc(30% - 3px);
	max-width: calc(30% - 3px);
	display: flex;
	align-items: stretch;
	gap: 6px;
	min-width: 0;
	overflow: visible;
}

.lify-home .lify-search-tabs {
	justify-content: flex-start;
	margin-bottom: 12px !important;
	width: 100%;
}

.lify-home .lify-search-form .search_showing_110 {
	display: grid;
	grid-template-columns: minmax(72px, 1fr) minmax(80px, 1fr);
	align-items: stretch;
	gap: 6px;
	flex: 1 1 auto;
	min-width: 0;
	overflow: visible;
}

.lify-home .lify-search-form .search_showing_110 > script,
.lify-home .lify-search-form .search_showing_110 > style {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
}

.lify-home .lify-search-form .search_showing_110 > .col-md-2,
.lify-home .lify-search-form .search_showing_110 > .col-md-3 {
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	float: none !important;
	min-width: 0;
}

.lify-home .lify-search-form .add_back__l {
	width: 100% !important;
	min-width: 0;
	max-width: none;
	height: 52px !important;
	padding: 0 8px !important;
	margin: 0 !important;
	border: 1px solid var(--lify-border) !important;
	border-left: 1px solid var(--lify-border) !important;
	border-radius: var(--lify-radius-sm) !important;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	background: #fff !important;
	overflow: visible;
	position: relative;
	cursor: pointer;
}

.lify-home .lify-search-form .input-fieldee {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	min-width: 0;
}

.lify-home .lify-search-form .add_project_ssdd,
.lify-home .lify-search-form .add_project_ss {
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	font-size: 11px !important;
	line-height: 1.2;
	color: var(--lify-text-muted) !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	position: static !important;
	top: auto !important;
	height: auto !important;
	padding-top: 0 !important;
	display: block;
}

.lify-home .lify-search-form .add_project_ssdd .caret.projecttt,
.lify-home .lify-search-form .add_project_ss .caret.projecttt {
	font-size: 9px;
	margin-left: 2px;
}

.lify-home .lify-search-form .col-md-3.nopading {
	width: 100% !important;
	min-width: 0;
	max-width: none;
	padding: 0 !important;
	overflow: visible;
	position: relative;
}

.lify-home .lify-search-form .span2.investRange {
	margin-top: 0 !important;
	height: 52px;
	width: 100%;
	min-width: 0;
}

.lify-home .lify-search-form .containers,
.lify-home .lify-search-form .containers .btn-group {
	width: 100%;
	height: 52px !important;
	margin: 0 !important;
	min-width: 0;
	overflow: visible;
	position: relative;
}

.lify-home .lify-search-form #min-max-price-range,
.lify-home .lify-search-form .containers .btn-group.open {
	height: 52px !important;
	border: 1px solid var(--lify-border) !important;
	border-radius: var(--lify-radius-sm) !important;
	background: #fff !important;
	box-shadow: none !important;
	text-align: left;
	padding: 0 8px !important;
	overflow: hidden;
	width: 100% !important;
	cursor: pointer;
	pointer-events: auto;
}

.lify-home .lify-search-form .btn-group.open .dropdown-menu.ddRange {
	display: block;
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
}

.lify-home .lify-search-form .span_price {
	font-size: 11px !important;
	color: var(--lify-text-muted) !important;
	line-height: 52px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: calc(100% - 16px);
	display: block;
}

.lify-home .lify-search-form .projectttmaxprice {
	top: 50% !important;
	transform: translateY(-50%);
	right: 8px !important;
	font-size: 9px !important;
}

.lify-home .lify-search-form .bs-caret {
	display: none;
}

.lify-home .lify-search-form .click_to_show_check {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	z-index: 1050;
	width: 245px;
	min-width: 245px;
	background: #fff;
	border: 1px solid var(--lify-border);
	border-radius: var(--lify-radius-sm);
	box-shadow: var(--lify-shadow);
}

.lify-home .lify-search-form .dropdown-menu.ddRange {
	z-index: 1050;
}

.lify-home .lify-search-form__side .lify-search-form__field--submit {
	flex: 0 0 72px;
	width: 72px;
	max-width: 72px;
	margin: 0 !important;
}

.lify-home .lify-search-form__side #search_res_p {
	width: 100% !important;
	min-width: 0;
	padding: 0 10px !important;
	white-space: nowrap;
	font-size: 13px !important;
}

/* ── Sections ── */
.lify-section {
	padding: 56px 0;
}

.lify-section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
	flex-wrap: wrap;
}

.lify-section__head--center {
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.lify-section__title {
	font-size: clamp(1.4rem, 3vw, 2rem);
	font-weight: 700;
	color: var(--lify-primary);
	margin: 0 0 8px;
	line-height: 1.25;
}

.lify-section__desc {
	color: var(--lify-text-muted);
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	max-width: 640px;
}

.lify-section__link {
	color: var(--lify-accent);
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
}

.lify-section__link:hover {
	color: var(--lify-primary);
	text-decoration: none;
}

/* ── Trust badges ── */
.lify-trust {
	background: #fff;
	padding: 40px 0;
	margin-top: -32px;
	position: relative;
	z-index: 3;
}

.lify-trust__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
}

.lify-trust__item {
	text-align: center;
	padding: 20px 16px;
	border-radius: var(--lify-radius-sm);
	background: var(--lify-surface);
	border: 1px solid var(--lify-border);
	transition: box-shadow 0.2s ease;
}

.lify-trust__item:hover {
	box-shadow: 0 8px 24px rgba(15, 76, 129, 0.08);
}

.lify-trust__icon img {
	width: 48px;
	height: 48px;
	object-fit: contain;
	margin-bottom: 12px;
}

.lify-trust__item h3 {
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 8px;
	color: var(--lify-primary);
}

.lify-trust__item p {
	font-size: 13px;
	color: var(--lify-text-muted);
	margin: 0;
	line-height: 1.5;
}

/* ── Property cards scroll ── */
.lify-prop-scroll {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(280px, 300px);
	gap: 20px;
	overflow-x: auto;
	padding-bottom: 8px;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

.lify-prop-scroll::-webkit-scrollbar {
	height: 6px;
}

.lify-prop-scroll::-webkit-scrollbar-thumb {
	background: var(--lify-border);
	border-radius: 3px;
}

.lify-property-card {
	scroll-snap-align: start;
	background: #fff;
	border-radius: var(--lify-radius);
	overflow: hidden;
	border: 1px solid var(--lify-border);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lify-property-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--lify-shadow);
}

.lify-property-card__link {
	display: block;
	color: inherit;
	text-decoration: none !important;
}

.lify-property-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #e2e8f0;
}

.lify-property-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.lify-property-card:hover .lify-property-card__media img {
	transform: scale(1.05);
}

.lify-property-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--lify-highlight);
	color: #1e293b;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 999px;
	text-transform: uppercase;
}

.lify-property-card__price {
	position: absolute;
	bottom: 12px;
	left: 12px;
	background: rgba(15, 76, 129, 0.92);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	padding: 6px 12px;
	border-radius: 8px;
}

.lify-property-card__body {
	padding: 16px;
}

.lify-property-card__title {
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 6px;
	color: var(--lify-text);
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.lify-property-card__location {
	font-size: 13px;
	color: var(--lify-text-muted);
	margin: 0 0 10px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.lify-property-card__meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	color: var(--lify-text-muted);
}

.lify-property-card__cta {
	color: var(--lify-accent);
	font-weight: 600;
}

/* ── Projects grid ── */
.lify-projects__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(2, 200px);
	gap: 16px;
}

.lify-project-card {
	display: flex;
	flex-direction: column;
	border-radius: var(--lify-radius);
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--lify-border);
	text-decoration: none !important;
	color: inherit;
	transition: box-shadow 0.2s ease;
}

.lify-project-card:hover {
	box-shadow: var(--lify-shadow);
}

.lify-project-card--featured {
	grid-row: span 2;
	grid-column: span 2;
}

.lify-project-card__media {
	flex: 1;
	min-height: 120px;
	overflow: hidden;
}

.lify-project-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lify-project-card__body {
	padding: 14px 16px;
}

.lify-project-card__body h3 {
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 4px;
	color: var(--lify-primary);
}

.lify-project-card__body p {
	font-size: 12px;
	color: var(--lify-text-muted);
	margin: 0 0 8px;
}

.lify-project-card__footer {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
}

.lify-project-card__footer strong {
	color: var(--lify-accent);
}

/* ── Promo banner ── */
.lify-promo {
	padding: 32px 0;
}

.lify-promo__link {
	display: block;
	border-radius: var(--lify-radius);
	overflow: hidden;
}

.lify-promo__link img {
	width: 100%;
	height: auto;
	display: block;
}

/* ── Trending ── */
.lify-trending {
	background: #fff;
}

.lify-trending__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
}

.lify-trending-card {
	display: flex;
	gap: 16px;
	padding: 16px;
	background: var(--lify-surface);
	border: 1px solid var(--lify-border);
	border-radius: var(--lify-radius-sm);
	text-decoration: none !important;
	color: inherit;
	transition: box-shadow 0.2s ease;
}

.lify-trending-card:hover {
	box-shadow: 0 8px 24px rgba(15, 76, 129, 0.1);
}

.lify-trending-card__media {
	flex: 0 0 110px;
	height: 90px;
	border-radius: 8px;
	overflow: hidden;
}

.lify-trending-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lify-trending-card__body h3 {
	font-size: 14px;
	font-weight: 600;
	margin: 0 0 4px;
	color: var(--lify-primary);
}

.lify-trending-card__body p {
	font-size: 12px;
	color: var(--lify-text-muted);
	margin: 0 0 8px;
}

.lify-trending-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 11px;
	color: var(--lify-text-muted);
	margin-bottom: 6px;
}

.lify-trending-card__price {
	font-size: 14px;
	color: var(--lify-accent);
}

/* ── Cities ── */
.lify-cities {
	background: linear-gradient(180deg, var(--lify-surface) 0%, #fff 100%);
}

.lify-cities__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 14px;
}

.lify-city-card {
	display: flex;
	flex-direction: column;
	padding: 20px 16px;
	background: #fff;
	border: 1px solid var(--lify-border);
	border-radius: var(--lify-radius-sm);
	text-decoration: none !important;
	transition: all 0.2s ease;
}

.lify-city-card:hover {
	border-color: var(--lify-accent);
	box-shadow: 0 6px 20px rgba(0, 174, 239, 0.15);
	transform: translateY(-2px);
}

.lify-city-card__name {
	font-size: 15px;
	font-weight: 600;
	color: var(--lify-primary);
	margin-bottom: 4px;
}

.lify-city-card__cta {
	font-size: 12px;
	color: var(--lify-accent);
	font-weight: 500;
}

/* ── CTA register ── */
.lify-cta {
	background: var(--lify-primary);
	color: #fff;
}

.lify-cta__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}

.lify-cta__content h2,
.lify-cta__content h3 {
	color: #fff;
}

.lify-cta__content .lify-section__desc,
.lify-cta__content p {
	color: rgba(255, 255, 255, 0.85);
}

.lify-cta__features {
	list-style: none;
	padding: 0;
	margin: 20px 0 0;
}

.lify-cta__features li {
	display: flex;
	gap: 14px;
	margin-bottom: 16px;
	align-items: flex-start;
}

.lify-cta__features img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.lify-cta__features strong {
	display: block;
	color: #fff;
	font-size: 14px;
}

.lify-cta__features p {
	margin: 4px 0 0;
	font-size: 13px;
}

.lify-cta__panel {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--lify-radius);
	padding: 32px;
	text-align: center;
}

.lify-cta__panel h3 {
	margin: 0 0 8px;
	font-size: 1.25rem;
}

.lify-cta__panel p {
	color: rgba(255, 255, 255, 0.9);
	margin: 0 0 20px;
	font-size: 14px;
}

.lify-cta__login {
	margin-top: 16px !important;
	font-size: 13px !important;
}

.lify-cta__login a {
	color: var(--lify-highlight);
	font-weight: 600;
}

/* ── Buttons ── */
.lify-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border-radius: var(--lify-radius-sm);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none !important;
	border: none;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lify-btn--accent {
	background: var(--lify-highlight);
	color: var(--lify-primary-dark) !important;
}

.lify-btn--accent:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(255, 183, 3, 0.4);
}

.lify-btn--block {
	width: 100%;
}

/* ── Header enhancements on home ── */
body.home .top_header_section.lify-header-bar {
	background: rgba(255, 255, 255, 0.98) !important;
	backdrop-filter: blur(8px);
}

body.home .propertys_button a {
	background: var(--lify-accent) !important;
	border-radius: 999px !important;
	color: #fff !important;
	font-weight: 600 !important;
	border: none !important;
}

.lify-home .dir-ho-t-sp {
	padding: 0 !important;
}

/* ── Header polish (all public pages) ── */
.lify-site-header .dropContainerlocationDrop__p {
	border: 1px solid var(--lify-border);
	border-radius: 999px;
	padding: 6px 14px !important;
	font-weight: 500;
	color: var(--lify-primary) !important;
}

.lify-site-header .right_side_contmenu ul li.notshow a {
	color: var(--lify-primary);
	font-weight: 500;
}

.lify-site-header .cont_io {
	font-size: 12px !important;
	color: var(--lify-text-muted) !important;
}

/* ── Footer modern touch (homepage legacy — global in lify-modern-pages.css) ── */
body.home .site-footer {
	background: #0a3558;
	color: rgba(255, 255, 255, 0.85);
}

/* ── Responsive ── */
@media (max-width: 991px) {
	.lify-home .lify-hero__search-wrap .lify-search-panel {
		width: 92%;
		max-width: 92%;
	}

	.lify-projects__grid {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto;
	}

	.lify-project-card--featured {
		grid-row: span 1;
		grid-column: span 2;
	}

	.lify-cta__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.lify-hero {
		min-height: auto;
		padding: 32px 0 48px;
	}

	.lify-search-panel {
		padding: 16px;
	}

	.lify-trust {
		margin-top: 0;
	}

	.lify-prop-scroll {
		grid-auto-columns: minmax(260px, 85vw);
	}

	.lify-projects__grid {
		grid-template-columns: 1fr;
	}

	.lify-project-card--featured {
		grid-column: span 1;
	}

	.lify-trending-card {
		flex-direction: column;
	}

	.lify-trending-card__media {
		flex: none;
		width: 100%;
		height: 160px;
	}
}

@media (max-width: 575px) {
	.lify-home .lify-hero__search-wrap .lify-search-panel {
		width: 100%;
		max-width: 100%;
	}

	.lify-search-form__row {
		flex-wrap: wrap;
	}

	.lify-home .lify-search-form__row {
		flex-wrap: wrap;
	}

	.lify-search-form {
		flex-direction: column;
	}

	.lify-search-form__field--grow {
		flex: 1 1 100%;
		min-width: 100%;
	}

	.lify-home .lify-search-form__field--grow {
		flex: 1 1 100%;
		min-width: 100%;
		max-width: 100%;
		width: 100%;
	}

	.lify-home .lify-search-form__side {
		flex: 1 1 100%;
		width: 100%;
		max-width: 100%;
		flex-wrap: wrap;
	}

	.lify-home .lify-search-form .search_showing_110 {
		width: 100%;
		flex-wrap: wrap;
	}

	.lify-home .lify-search-form .add_back__l,
	.lify-home .lify-search-form .col-md-3.nopading {
		flex: 1 1 100%;
		min-width: 100%;
		max-width: 100%;
		width: 100% !important;
	}

	.lify-search-form__field--submit {
		width: 100%;
	}
}
