/*
Theme Name: TRG Moapa Valley — Twenty Twenty-Five Child
Theme URI: https://mvnv.us/
Description: A real-estate-focused Twenty Twenty-Five child theme for Moapa Valley and surrounding communities, including a live-property homepage and spam-resistant contact page.
Author: Trending Realty Group LLC
Template: twentytwentyfive
Version: 1.2.1
Text Domain: trg-moapa-valley
*/

:root {
	--trg-ink: #102a2d;
	--trg-ink-soft: #294448;
	--trg-muted: #647276;
	--trg-line: #dbe3e3;
	--trg-accent: #087f79;
	--trg-accent-bright: #01a89f;
	--trg-accent-dark: #05625e;
	--trg-soft: #f3f7f6;
	--trg-sand: #f4eee5;
	--trg-white: #ffffff;
	--trg-danger: #9d2d2d;
	--trg-success: #176b50;
	--trg-shadow: 0 22px 60px rgba(16, 42, 45, .11);
	--trg-radius: 24px;
}

html {
	scroll-behavior: smooth;
}

body {
	color: var(--trg-ink);
}

.trg-site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	border-top: 4px solid var(--trg-accent-bright);
	box-shadow: 0 8px 24px rgba(16, 42, 45, .06);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.admin-bar .trg-site-header {
	top: 32px;
}

.trg-header-inner {
	min-height: 100px;
}

.trg-header-brand,
.trg-header-actions {
	min-width: 0;
}

.trg-header-logo-shortcode,
.trg-footer-logo-shortcode {
	line-height: 0;
}

.trg-brand-logo,
.trg-footer-brand-logo {
	display: inline-block;
	line-height: 0;
	text-decoration: none;
}

.trg-brand-logo img {
	display: block;
	width: 170px;
	height: auto;
	max-height: 98px;
	object-fit: contain;
}

.trg-region-lockup {
	border-left: 1px solid var(--trg-line);
	padding-left: 20px;
}

.trg-region-name,
.trg-section-kicker,
.trg-home-eyebrow,
.trg-home-cta__kicker,
.trg-footer-kicker {
	letter-spacing: .1em;
	text-transform: uppercase;
}

.trg-site-header .wp-block-navigation-item__content {
	color: var(--trg-ink);
	font-weight: 700;
	text-decoration: none;
}

.trg-site-header .wp-block-navigation-item__content:hover,
.trg-site-header .wp-block-navigation-item__content:focus {
	color: var(--trg-accent);
}

.trg-site-header .wp-block-navigation__responsive-container-open {
	color: var(--trg-ink);
}

.trg-site-header .wp-block-button__link,
.trg-button-primary .wp-block-button__link,
.trg-form-submit {
	background: var(--trg-accent);
	border: 1px solid var(--trg-accent);
	border-radius: 999px;
	box-shadow: 0 8px 18px rgba(8, 127, 121, .16);
	color: #fff;
	font-weight: 800;
	padding: .82rem 1.3rem;
	text-decoration: none;
	transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
	white-space: nowrap;
}

.trg-site-header .wp-block-button__link:hover,
.trg-site-header .wp-block-button__link:focus,
.trg-button-primary .wp-block-button__link:hover,
.trg-button-primary .wp-block-button__link:focus,
.trg-form-submit:hover,
.trg-form-submit:focus {
	background: var(--trg-accent-dark);
	border-color: var(--trg-accent-dark);
	box-shadow: 0 10px 24px rgba(8, 127, 121, .24);
	transform: translateY(-1px);
}

.trg-footer-brand-logo img {
	display: block;
	width: 230px;
	height: auto;
	max-width: 100%;
}

.trg-site-footer a {
	color: #fff;
}

.trg-site-footer a:hover,
.trg-site-footer a:focus {
	color: #b8e4da;
}

.trg-site-footer .wp-block-navigation-item__content {
	text-decoration: none;
}

/* Homepage */
.trg-home {
	margin-top: 0;
}

.trg-home-hero {
	position: relative;
	isolation: isolate;
	min-height: 690px;
	display: flex;
	align-items: center;
	background-image:
		linear-gradient(90deg, rgba(10, 31, 34, .92) 0%, rgba(10, 31, 34, .78) 45%, rgba(10, 31, 34, .24) 75%, rgba(10, 31, 34, .12) 100%),
		url('assets/images/valley-of-fire-hero.webp');
	background-position: center;
	background-size: cover;
	color: #fff;
	padding: 92px 32px 132px;
}

.trg-home-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, transparent 70%, rgba(16, 42, 45, .25));
}

.trg-home-hero__inner {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.trg-home-eyebrow {
	margin: 0 0 18px;
	color: #9ee4dd;
	font-size: 12px;
	font-weight: 850;
}

.trg-home-hero__title {
	max-width: 760px;
	margin: 0;
	color: #fff;
	font-size: clamp(3rem, 7vw, 6.4rem);
	font-weight: 760;
	letter-spacing: -.055em;
	line-height: .96;
}

.trg-home-hero__copy {
	max-width: 680px;
	margin: 28px 0 0;
	color: rgba(255,255,255,.9);
	font-size: clamp(1.1rem, 2vw, 1.34rem);
	line-height: 1.62;
}

.trg-home-hero__buttons {
	margin-top: 34px;
	gap: 12px;
}

.trg-home-hero .trg-button-primary .wp-block-button__link {
	background: var(--trg-accent-bright);
	border-color: var(--trg-accent-bright);
	color: #062d2b;
	padding: 1rem 1.55rem;
}

.trg-home-hero .trg-button-primary .wp-block-button__link:hover,
.trg-home-hero .trg-button-primary .wp-block-button__link:focus {
	background: #55d4cb;
	border-color: #55d4cb;
}

.trg-button-secondary .wp-block-button__link {
	border-color: rgba(255,255,255,.72) !important;
	color: #fff !important;
	padding: 1rem 1.55rem;
}

.trg-button-secondary .wp-block-button__link:hover,
.trg-button-secondary .wp-block-button__link:focus {
	background: rgba(255,255,255,.12) !important;
	border-color: #fff !important;
}

.trg-home-hero__tags {
	gap: 10px !important;
	margin-top: 38px;
}

.trg-home-hero__tags p {
	margin: 0;
	border: 1px solid rgba(255,255,255,.25);
	border-radius: 999px;
	background: rgba(255,255,255,.08);
	backdrop-filter: blur(8px);
	color: rgba(255,255,255,.88);
	font-size: 12px;
	font-weight: 750;
	padding: 8px 13px;
}

.trg-search-panel {
	position: relative;
	z-index: 2;
	margin-top: -72px !important;
	margin-bottom: 0 !important;
	border: 1px solid rgba(219, 227, 227, .85);
	border-radius: var(--trg-radius);
	background: #fff;
	box-shadow: var(--trg-shadow);
	padding: 32px;
}

.trg-search-panel__heading {
	gap: 24px;
	margin-bottom: 22px;
}

.trg-search-panel__title,
.trg-section-title {
	margin: 4px 0 0;
	color: var(--trg-ink);
	font-size: clamp(2rem, 4vw, 3.35rem);
	font-weight: 760;
	letter-spacing: -.04em;
	line-height: 1.06;
}

.trg-search-panel__title {
	font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.trg-search-panel__hint,
.trg-section-copy {
	color: var(--trg-muted);
	line-height: 1.7;
}

.trg-search-panel__hint {
	max-width: 360px;
	margin: 0;
	font-size: 14px;
}

.trg-section-kicker {
	margin: 0;
	color: var(--trg-accent);
	font-size: 12px;
	font-weight: 850;
}

.trg-property-search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
}

.trg-property-search input,
.trg-contact-form input,
.trg-contact-form select,
.trg-contact-form textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #cfdada;
	border-radius: 12px;
	background: #fff;
	color: var(--trg-ink);
	font: inherit;
	line-height: 1.35;
	outline: none;
	transition: border-color .16s ease, box-shadow .16s ease;
}

.trg-property-search input {
	min-height: 58px;
	padding: 0 18px;
	font-size: 16px;
}

.trg-property-search input:focus,
.trg-contact-form input:focus,
.trg-contact-form select:focus,
.trg-contact-form textarea:focus {
	border-color: var(--trg-accent);
	box-shadow: 0 0 0 4px rgba(1, 168, 159, .13);
}

.trg-property-search button {
	min-height: 58px;
	border: 0;
	border-radius: 12px;
	background: var(--trg-ink);
	color: #fff;
	font: inherit;
	font-weight: 800;
	padding: 0 24px;
	cursor: pointer;
	transition: background .16s ease, transform .16s ease;
}

.trg-property-search button:hover,
.trg-property-search button:focus {
	background: var(--trg-accent-dark);
	transform: translateY(-1px);
}

.trg-home-section {
	padding: 104px 32px;
}

.trg-home-section--listings {
	background: #fff;
}

.trg-section-heading {
	gap: 34px;
	margin-bottom: 38px;
}

.trg-section-copy {
	max-width: 690px;
	margin: 18px 0 0;
	font-size: 17px;
}

.trg-section-copy--wide {
	max-width: 830px;
}

.trg-section-link {
	margin: 0;
}

.trg-section-link a,
.trg-inline-link {
	color: var(--trg-accent-dark);
	font-weight: 800;
	text-decoration: none;
}

.trg-section-link a:hover,
.trg-inline-link:hover {
	text-decoration: underline;
}

.trg-listing-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.trg-listing-card {
	overflow: hidden;
	border: 1px solid var(--trg-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 34px rgba(16, 42, 45, .06);
	transition: transform .18s ease, box-shadow .18s ease;
}

.trg-listing-card:hover {
	box-shadow: 0 18px 44px rgba(16, 42, 45, .12);
	transform: translateY(-4px);
}

.trg-listing-card__image {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #dfe8e7;
	text-decoration: none;
}

.trg-listing-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .28s ease;
}

.trg-listing-card:hover .trg-listing-card__image img {
	transform: scale(1.025);
}

.trg-listing-card__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: rgba(16,42,45,.32);
	font-size: 2rem;
	font-weight: 900;
	letter-spacing: .15em;
}

.trg-listing-card__status {
	position: absolute;
	top: 14px;
	left: 14px;
	border-radius: 999px;
	background: rgba(255,255,255,.92);
	box-shadow: 0 5px 18px rgba(16,42,45,.16);
	color: var(--trg-ink);
	font-size: 11px;
	font-weight: 850;
	letter-spacing: .06em;
	padding: 7px 10px;
	text-transform: uppercase;
}

.trg-listing-card__body {
	padding: 22px;
}

.trg-listing-card__price {
	margin: 0 0 6px;
	color: var(--trg-accent-dark);
	font-size: 1.36rem;
	font-weight: 850;
}

.trg-listing-card__title {
	margin: 0;
	font-size: 1.12rem;
	font-weight: 800;
	line-height: 1.35;
}

.trg-listing-card__title a {
	color: var(--trg-ink);
	text-decoration: none;
}

.trg-listing-card__title a:hover,
.trg-listing-card__title a:focus {
	color: var(--trg-accent);
}

.trg-listing-card__city {
	margin: 7px 0 0;
	color: var(--trg-muted);
	font-size: 14px;
}

.trg-listing-card__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid #e8eeee;
	color: var(--trg-muted);
	font-size: 13px;
}

.trg-listing-card__facts strong {
	color: var(--trg-ink);
}

.trg-listings-empty {
	border: 1px dashed #bfcfcd;
	border-radius: 18px;
	background: var(--trg-soft);
	padding: 34px;
	text-align: center;
}

.trg-listings-empty h3 {
	margin: 0 0 10px;
}

.trg-listings-empty p {
	margin: 0 0 12px;
	color: var(--trg-muted);
}

.trg-home-section--communities {
	background: var(--trg-soft);
}

.trg-community-grid {
	gap: 20px;
	margin-top: 42px;
}

.trg-community-grid--two {
	margin-top: 20px;
}

.trg-community-card {
	position: relative;
	min-height: 235px;
	border: 1px solid #dce7e5;
	border-radius: 18px;
	background: #fff;
	padding: 28px;
	transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.trg-community-card:hover {
	border-color: #b9d8d4;
	box-shadow: 0 16px 40px rgba(16,42,45,.08);
	transform: translateY(-3px);
}

.trg-community-card__number {
	margin: 0 0 34px;
	color: var(--trg-accent-bright);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .1em;
}

.trg-community-card h3 {
	margin: 0;
	font-size: 1.5rem;
	letter-spacing: -.025em;
}

.trg-community-card > p:not(.trg-community-card__number) {
	margin: 12px 0 24px;
	color: var(--trg-muted);
	font-size: 15px;
	line-height: 1.65;
}

.trg-community-card a {
	color: var(--trg-accent-dark);
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.trg-community-card a:hover {
	text-decoration: underline;
}

.trg-home-section--local {
	background: #fff;
}

.trg-local-story {
	gap: clamp(42px, 7vw, 92px);
}

.trg-local-story__image {
	min-height: 620px;
	border-radius: var(--trg-radius);
	background-image: linear-gradient(180deg, rgba(16,42,45,.02), rgba(16,42,45,.15)), url('assets/images/valley-of-fire-community.webp');
	background-position: center;
	background-size: cover;
	box-shadow: var(--trg-shadow);
}

.trg-local-story__content .trg-section-title {
	font-size: clamp(2.1rem, 4.4vw, 3.65rem);
}

.trg-check-list {
	margin: 28px 0 32px;
	padding: 0;
	list-style: none;
}

.trg-check-list li {
	position: relative;
	margin: 0 0 14px;
	padding-left: 34px;
	color: var(--trg-ink-soft);
	line-height: 1.5;
}

.trg-check-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: -1px;
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(1,168,159,.14);
	color: var(--trg-accent-dark);
	font-size: 13px;
	font-weight: 900;
}

.trg-home-cta {
	margin-top: 0 !important;
	margin-bottom: 104px !important;
	border-radius: var(--trg-radius);
	background: var(--trg-ink);
	color: #fff;
	padding: 76px 34px;
	text-align: center;
}

.trg-home-cta__kicker {
	margin: 0;
	color: #86d9d1;
	font-size: 12px;
	font-weight: 850;
}

.trg-home-cta__title {
	max-width: 900px;
	margin: 12px auto 0;
	color: #fff;
	font-size: clamp(2.2rem, 5vw, 4.1rem);
	letter-spacing: -.045em;
	line-height: 1.04;
}

.trg-home-cta__copy {
	max-width: 720px;
	margin: 22px auto 0;
	color: #d6e6e5;
	font-size: 17px;
	line-height: 1.7;
}

.trg-home-cta__copy a {
	color: #fff;
	font-weight: 850;
}

.trg-home-cta__buttons {
	margin-top: 30px;
}

.trg-button-light .wp-block-button__link {
	border-radius: 999px;
	background: #fff;
	color: var(--trg-ink);
	font-weight: 850;
	padding: 1rem 1.5rem;
}

.trg-button-light .wp-block-button__link:hover,
.trg-button-light .wp-block-button__link:focus {
	background: #dff5f2;
}

/* Contact page */
.trg-contact-hero {
	background: var(--trg-sand);
	padding: 96px 32px 88px;
}

.trg-contact-hero__title {
	max-width: 850px;
	margin: 12px 0 0;
	color: var(--trg-ink);
	font-size: clamp(3rem, 7vw, 5.9rem);
	font-weight: 760;
	letter-spacing: -.055em;
	line-height: .98;
}

.trg-contact-hero__copy {
	max-width: 720px;
	margin: 24px 0 0;
	color: var(--trg-ink-soft);
	font-size: 18px;
	line-height: 1.7;
}

.trg-contact-layout {
	gap: clamp(36px, 6vw, 86px);
	padding: 94px 32px;
}

.trg-contact-sidebar {
	position: sticky;
	top: 140px;
	border: 1px solid var(--trg-line);
	border-radius: 20px;
	background: var(--trg-soft);
	padding: 30px;
}

.trg-contact-sidebar h2,
.trg-contact-main h2 {
	margin-top: 0;
	font-size: 2rem;
	letter-spacing: -.035em;
}

.trg-contact-sidebar h3 {
	margin-bottom: 10px;
}

.trg-contact-sidebar p {
	color: var(--trg-ink-soft);
	line-height: 1.65;
}

.trg-contact-sidebar a {
	color: var(--trg-accent-dark);
	font-weight: 750;
}

.trg-contact-license {
	margin-bottom: 0;
	color: var(--trg-muted) !important;
	font-size: 12px;
}

.trg-contact-main > p {
	color: var(--trg-muted);
}

.trg-contact-form-wrap {
	margin-top: 26px;
}

.trg-contact-form {
	position: relative;
	border: 1px solid var(--trg-line);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 18px 50px rgba(16,42,45,.08);
	padding: 32px;
}

.trg-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.trg-form-field {
	margin: 0 0 20px;
}

.trg-form-field label {
	display: block;
	margin-bottom: 8px;
	color: var(--trg-ink);
	font-size: 14px;
	font-weight: 800;
}

.trg-contact-form input,
.trg-contact-form select,
.trg-contact-form textarea {
	padding: 13px 14px;
}

.trg-contact-form textarea {
	min-height: 170px;
	resize: vertical;
}

.trg-form-bottom {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
}

.trg-form-challenge {
	width: min(260px, 100%);
	margin-bottom: 0;
}

.trg-form-submit {
	min-height: 50px;
	font: inherit;
	cursor: pointer;
}

.trg-form-privacy {
	margin: 20px 0 0;
	color: var(--trg-muted);
	font-size: 12px;
	line-height: 1.55;
}

.trg-honeypot {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.trg-form-notice {
	margin-bottom: 18px;
	border-radius: 12px;
	padding: 15px 17px;
	line-height: 1.5;
}

.trg-form-notice--success {
	border: 1px solid #a6d8c7;
	background: #edf9f4;
	color: var(--trg-success);
}

.trg-form-notice--error {
	border: 1px solid #e1bcbc;
	background: #fff2f2;
	color: var(--trg-danger);
}

.trg-form-notice a {
	color: inherit;
	font-weight: 800;
}

.trg-contact-next {
	background: var(--trg-soft);
	padding: 82px 32px 100px;
}

.trg-contact-steps {
	gap: 20px;
	margin-top: 30px;
}

.trg-contact-steps > .wp-block-column {
	border: 1px solid #dce7e5;
	border-radius: 18px;
	background: #fff;
	padding: 28px;
}

.trg-contact-steps span {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(1,168,159,.14);
	color: var(--trg-accent-dark);
	font-weight: 900;
}

.trg-contact-steps h3 {
	margin: 24px 0 10px;
	font-size: 1.2rem;
}

.trg-contact-steps p {
	margin: 0;
	color: var(--trg-muted);
	font-size: 15px;
	line-height: 1.65;
}

@media (max-width: 1100px) {
	.trg-listing-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 980px) {
	.trg-region-lockup {
		display: none !important;
	}

	.trg-header-actions {
		gap: 15px !important;
	}

	.trg-home-hero {
		min-height: 620px;
		background-image:
			linear-gradient(90deg, rgba(10, 31, 34, .9) 0%, rgba(10, 31, 34, .72) 62%, rgba(10, 31, 34, .28) 100%),
			url('assets/images/valley-of-fire-hero.webp');
	}

	.trg-local-story {
		flex-direction: column;
	}

	.trg-local-story > .wp-block-column {
		flex-basis: 100% !important;
		width: 100%;
	}

	.trg-local-story__image {
		min-height: 520px;
	}

	.trg-contact-layout {
		flex-direction: column;
	}

	.trg-contact-layout > .wp-block-column {
		flex-basis: 100% !important;
		width: 100%;
	}

	.trg-contact-sidebar {
		position: static;
	}
}

@media (max-width: 782px) {
	.admin-bar .trg-site-header {
		top: 46px;
	}

	.trg-site-header > .wp-block-group {
		padding-left: 18px !important;
		padding-right: 18px !important;
	}

	.trg-header-inner {
		min-height: 78px;
	}

	.trg-brand-logo img {
		width: 132px;
		max-height: 76px;
	}

	.trg-header-phone {
		display: none !important;
	}

	.trg-site-header .wp-block-navigation__responsive-container.is-menu-open {
		padding: 28px;
	}

	.trg-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		font-size: 1.2rem;
	}

	.trg-home-hero {
		min-height: auto;
		padding: 90px 22px 120px;
		background-position: 62% center;
	}

	.trg-home-hero__title {
		font-size: clamp(3.15rem, 14vw, 5.1rem);
	}

	.trg-search-panel {
		margin-left: 16px !important;
		margin-right: 16px !important;
		padding: 24px;
	}

	.trg-property-search {
		grid-template-columns: 1fr;
	}

	.trg-home-section,
	.trg-contact-layout {
		padding: 78px 22px;
	}

	.trg-community-grid,
	.trg-community-grid--two,
	.trg-contact-steps {
		flex-direction: column;
	}

	.trg-community-card {
		min-height: auto;
	}

	.trg-local-story__image {
		min-height: 420px;
	}

	.trg-home-cta {
		margin-left: 16px !important;
		margin-right: 16px !important;
		margin-bottom: 78px !important;
		padding: 58px 22px;
	}

	.trg-contact-hero {
		padding: 76px 22px 68px;
	}

	.trg-contact-form {
		padding: 24px;
	}

	.trg-contact-next {
		padding: 68px 22px 80px;
	}
}

@media (max-width: 660px) {
	.trg-listing-grid,
	.trg-form-grid {
		grid-template-columns: 1fr;
	}

	.trg-form-bottom {
		align-items: stretch;
		flex-direction: column;
	}

	.trg-form-challenge,
	.trg-form-submit {
		width: 100%;
	}

	.trg-home-hero__buttons {
		align-items: stretch;
		flex-direction: column;
	}

	.trg-home-hero__buttons .wp-block-button,
	.trg-home-hero__buttons .wp-block-button__link {
		width: 100%;
		box-sizing: border-box;
		text-align: center;
	}
}

@media (max-width: 560px) {
	.trg-site-header > .wp-block-group {
		padding-top: 8px !important;
		padding-bottom: 8px !important;
	}

	.trg-brand-logo img {
		width: 118px;
	}

	.trg-site-footer .wp-block-columns {
		gap: 2.2rem !important;
	}

	.trg-home-hero__tags {
		display: none;
	}

	.trg-search-panel {
		margin-top: -54px !important;
	}

	.trg-listing-card__body,
	.trg-community-card,
	.trg-contact-sidebar,
	.trg-contact-form {
		padding: 22px;
	}

	.trg-local-story__image {
		min-height: 340px;
	}
}


/* Properties archive */
.trg-properties-page {
	margin-top: 0;
}

.trg-properties-hero {
	background: var(--trg-sand);
	padding: 92px 32px 112px;
}

.trg-properties-hero__title {
	max-width: 980px;
	margin: 12px 0 0;
	color: var(--trg-ink);
	font-size: clamp(3rem, 7vw, 5.8rem);
	font-weight: 760;
	letter-spacing: -.055em;
	line-height: .98;
}

.trg-properties-hero__copy {
	max-width: 790px;
	margin: 24px 0 0;
	color: var(--trg-ink-soft);
	font-size: 18px;
	line-height: 1.7;
}

.trg-properties-content {
	background: #fff;
	padding: 0 32px 104px;
}

.trg-properties-archive {
	position: relative;
}

.trg-properties-search-card {
	position: relative;
	z-index: 2;
	margin-top: -58px;
	border: 1px solid rgba(219, 227, 227, .92);
	border-radius: var(--trg-radius);
	background: #fff;
	box-shadow: var(--trg-shadow);
	padding: 30px;
}

.trg-properties-search-card__heading,
.trg-properties-results-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 28px;
}

.trg-properties-search-card__heading {
	margin-bottom: 20px;
}

.trg-properties-search-card__heading h2,
.trg-properties-results-heading h2 {
	margin: 4px 0 0;
	color: var(--trg-ink);
	font-size: clamp(1.65rem, 3vw, 2.45rem);
	font-weight: 760;
	letter-spacing: -.04em;
	line-height: 1.08;
}

.trg-properties-search-card__heading > p,
.trg-properties-results-count {
	max-width: 390px;
	margin: 0;
	color: var(--trg-muted);
	font-size: 14px;
	line-height: 1.6;
	text-align: right;
}

.trg-properties-search-card__clear {
	margin: 13px 0 0;
	font-size: 13px;
}

.trg-properties-search-card__clear a {
	color: var(--trg-accent-dark);
	font-weight: 800;
}

.trg-properties-results-heading {
	margin: 68px 0 32px;
}

.trg-listing-grid--archive {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trg-properties-pagination {
	margin-top: 54px;
}

.trg-properties-pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.trg-properties-pagination .page-numbers li {
	margin: 0;
}

.trg-properties-pagination a.page-numbers,
.trg-properties-pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	box-sizing: border-box;
	border: 1px solid var(--trg-line);
	border-radius: 999px;
	background: #fff;
	color: var(--trg-ink);
	font-size: 14px;
	font-weight: 800;
	padding: 8px 15px;
	text-decoration: none;
}

.trg-properties-pagination a.page-numbers:hover,
.trg-properties-pagination a.page-numbers:focus,
.trg-properties-pagination span.page-numbers.current {
	border-color: var(--trg-accent);
	background: var(--trg-accent);
	color: #fff;
}

.trg-properties-pagination .dots {
	border-color: transparent !important;
	background: transparent !important;
	color: var(--trg-muted) !important;
}

.trg-properties-cta {
	margin-top: 0 !important;
}

@media (max-width: 1100px) {
	.trg-listing-grid--archive {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 782px) {
	.trg-properties-hero {
		padding: 76px 22px 96px;
	}

	.trg-properties-content {
		padding-left: 22px;
		padding-right: 22px;
		padding-bottom: 78px;
	}

	.trg-properties-search-card {
		margin-top: -44px;
		padding: 24px;
	}

	.trg-properties-search-card__heading,
	.trg-properties-results-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.trg-properties-search-card__heading > p,
	.trg-properties-results-count {
		max-width: none;
		text-align: left;
	}

	.trg-properties-results-heading {
		margin-top: 52px;
	}
}

@media (max-width: 660px) {
	.trg-listing-grid--archive {
		grid-template-columns: 1fr;
	}

	.trg-properties-hero__title {
		font-size: clamp(2.9rem, 13vw, 4.5rem);
	}

	.trg-properties-pagination a.page-numbers,
	.trg-properties-pagination span.page-numbers {
		min-width: 40px;
		min-height: 40px;
		padding: 7px 12px;
	}
}
