/*
Theme Name: Kadence Child
Theme URI: https://wordpress.org/themes/kadence/
Description: Child theme for Kadence used by the real estate search site.
Author: Son Le
Template: kadence
Version: 1.0.0
Text Domain: kadence-child
*/

:root {
	--re-bg: #f4f7fb;
	--re-ink: #0b1220;
	--re-muted: rgba(15, 23, 42, 0.68);
	--re-primary: #d31f2b;
	--re-primary-ink: #b3131e;
	--re-accent: #0ea5a4;
	--re-card: #ffffff;
	--re-border: rgba(15, 23, 42, 0.12);
	--re-shadow-sm: 0 10px 24px rgba(2, 6, 23, 0.08);
	--re-shadow-md: 0 18px 46px rgba(2, 6, 23, 0.12);
	--re-shadow-lg: 0 30px 76px rgba(2, 6, 23, 0.18);
	--re-radius: 16px;
	--re-radius-lg: 22px;
	--re-container: 1242px;
}

/* Header polish (works even without a logo image). */
#masthead.site-header {
	z-index: 10010;
}

body.re-sticky-active {
	padding-top: var(--re-header-h, 0px);
}

body.re-sticky-active #masthead.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
}

body.admin-bar.re-sticky-active #masthead.site-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar.re-sticky-active #masthead.site-header {
		top: 46px;
	}
}

.site-header .site-header-wrap {
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.site-header .site-branding a.brand {
	gap: 12px;
}

.site-header .site-branding .site-title {
	font-weight: 950;
	letter-spacing: -0.03em;
	font-size: 1.25rem;
	line-height: 1.1;
	color: rgba(15, 23, 42, 0.96);
	display: inline-flex;
	align-items: center;
}

.site-header .header-navigation .menu > li > a {
	font-weight: 500;
	letter-spacing: 0;
	color: rgba(15, 23, 42, 0.86);
	padding: 11px 14px;
	border-radius: 12px;
	transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-header .header-navigation .menu {
	gap: 6px;
}

.site-header .header-navigation .menu > li {
	margin: 0;
}

@media (min-width: 720px) and (max-width: 1024px) {
	.site-header .site-branding .site-title.vs-md-false {
		display: inline-flex !important;
	}

	.site-header .site-branding .site-title-wrap {
		display: block !important;
	}
}

.site-header .header-navigation .menu > li > a:hover,
.site-header .header-navigation .menu > li > a:focus {
	background: rgba(2, 6, 23, 0.04);
	color: rgba(15, 23, 42, 0.96);
}

.site-header .header-navigation .menu > li.current-menu-item > a,
.site-header .header-navigation .menu > li.current_page_item > a {
	color: rgba(15, 23, 42, 0.98);
	background: rgba(211, 31, 43, 0.08);
}

.site-header .menu-toggle-open {
	border-radius: 12px;
	border: 1px solid rgba(15, 23, 42, 0.14);
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 12px 24px rgba(2, 6, 23, 0.08);
	padding: 10px 12px;
}

.site-header .menu-toggle-open:hover {
	transform: translateY(-1px);
}

.re-home {
	overflow-x: hidden;
	overflow-x: clip;
	background:
		radial-gradient(circle at 12% 0%, rgba(59, 130, 246, 0.16) 0%, transparent 44%),
		radial-gradient(circle at 92% 18%, rgba(20, 184, 166, 0.12) 0%, transparent 38%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(244, 247, 251, 1));
	color: var(--re-ink);
	font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

.home #colophon.site-footer,
.home #colophon.site-footer .site-footer-wrap {
	background: transparent;
}

.home #colophon.site-footer .site-footer-wrap {
	border-top: 0;
}

.home #colophon.site-footer .site-footer-row-container,
.home #colophon.site-footer .site-footer-row-container-inner {
	background: transparent !important;
}

#colophon.site-footer .site-footer-wrap {
	border-top: 0 !important;
}

#colophon .site-bottom-footer-inner-wrap {
	padding-bottom: 0 !important;
	padding-top: 0;
}

.re-footer {
	position: relative;
	--re-footer-bg: #f8fafc;
	--re-footer-ink: rgba(15, 23, 42, 0.72);
	--re-footer-muted: rgba(15, 23, 42, 0.56);
	--re-footer-title: rgba(15, 23, 42, 0.9);
	--re-footer-link: rgb(97 102 112);
	--re-footer-link-hover: var(--re-primary);
	--re-footer-border: rgba(15, 23, 42, 0.08);
	--re-footer-panel: rgba(255, 255, 255, 0.72);
	isolation: isolate;
	overflow: hidden;
	width: 100vw;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	padding: clamp(46px, 6vw, 68px) 0 28px;
	background:
		radial-gradient(circle at 12% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 46%),
		radial-gradient(circle at 92% 30%, rgba(20, 184, 166, 0.06) 0%, transparent 48%),
		var(--re-footer-bg);
	color: var(--re-footer-ink);
	border-top: 1px solid var(--re-footer-border);
	text-align: left;
}

.re-footer.re-footer--dark {
	--re-footer-bg: #0b1220;
	--re-footer-ink: rgba(226, 232, 240, 0.82);
	--re-footer-muted: rgba(226, 232, 240, 0.64);
	--re-footer-title: rgba(255, 255, 255, 0.94);
	--re-footer-link: rgba(226, 232, 240, 0.76);
	--re-footer-link-hover: rgba(255, 255, 255, 0.98);
	--re-footer-border: rgba(148, 163, 184, 0.16);
	--re-footer-panel: rgba(255, 255, 255, 0.045);
	background:
		radial-gradient(circle at 12% 0%, rgba(59, 130, 246, 0.22) 0%, transparent 44%),
		radial-gradient(circle at 88% 40%, rgba(20, 184, 166, 0.18) 0%, transparent 46%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
		var(--re-footer-bg);
}

.re-footer .site-container {
	width: min(var(--re-container), calc(100% - 40px));
	max-width: none;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
}

.re-footer-shell {
	display: grid;
	padding: 0;
	background: transparent;
}

.re-footer-grid {
	display: grid;
	grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(140px, 1fr));
	gap: clamp(22px, 3.4vw, 44px);
	align-items: start;
	justify-items: start;
}

.re-footer-tagline {
	margin: 14px 0 0;
	max-width: 380px;
	color: var(--re-footer-muted);
	line-height: 1.55;
}

.re-footer-col {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
}

.re-footer-col--brand {
	padding-right: clamp(8px, 3vw, 24px);
}

.re-footer-brand {
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	width: max-content;
	max-width: 100%;
	color: var(--re-footer-title);
	font-size: 1.08rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	text-decoration: none;
	justify-content: flex-start;
}

.re-footer-brand:hover,
.re-footer-brand:focus {
	color: var(--re-footer-link-hover);
	text-decoration: none;
}

.re-footer-brand span:last-child {
	min-width: 0;
}

.re-footer-title {
	margin: 0 0 14px;
	color: var(--re-footer-title);
	font-size: 0.98rem;
	font-weight: 720;
	letter-spacing: -0.01em;
	text-transform: none;
}

.re-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
	justify-items: start;
}

.re-footer-links a {
	color: var(--re-footer-link);
	font-size: 0.92rem;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	width: max-content;
	max-width: 100%;
	padding: 2px 0;
	transition: color 160ms ease;
}

.re-footer-links a:hover,
.re-footer-links a:focus {
	color: var(--re-footer-link-hover);
	text-decoration: none;
}

.re-footer-disclaimer {
	margin: 0;
	color: var(--re-footer-muted);
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.55;
	max-width: 70ch;
}

.re-footer-bottom {
	margin-top: clamp(30px, 4vw, 44px);
	padding-top: 20px;
	border-top: 1px solid var(--re-footer-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	text-align: left;
}

.re-footer-copy {
	margin: 0;
	color: var(--re-footer-muted);
	font-size: 0.9rem;
	font-weight: 500;
}

.re-footer-top {
	color: var(--re-footer-link);
	font-size: 0.9rem;
	font-weight: 650;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.re-footer-top::after {
	content: "↑";
	font-size: 0.95em;
	line-height: 1;
}

.re-footer-top:hover,
.re-footer-top:focus {
	color: var(--re-footer-link-hover);
	text-decoration: none;
}

/* Detail page UI overrides (plugin renders markup via JS). */
body.re-detail-page-active,
body.re-detail-page-active .site,
body.re-detail-page-active .site-content,
body.re-detail-page-active .content-wrap,
body.re-detail-page-active .content-area,
body.re-detail-page-active .content-container {
	background-color: var(--re-bg);
}

body.re-detail-page-active .entry-content-wrap .re-detail-page {
	max-width: var(--re-container);
	padding-left: 0;
	padding-right: 0;
}

body.re-detail-page-active .re-detail-shell {
	margin-top: 0;
}

body.re-detail-page-active .re-detail-layout {
	gap: 28px;
}

body.re-detail-page-active .re-detail-main {
	gap: 18px;
}

body.re-detail-page-active .re-detail-card,
body.re-detail-page-active .re-rf-card {
	border-color: rgba(15, 23, 42, 0.1);
	border-radius: 18px;
	box-shadow: 0 18px 46px rgba(2, 6, 23, 0.08);
}

body.re-detail-page-active .re-detail-card--hero-bleed {
	border-radius: 20px;
}

body.re-detail-page-active .re-detail-hero-primary,
body.re-detail-page-active .re-detail-gallery-main,
body.re-detail-page-active .re-detail-main-image,
body.re-detail-page-active .re-detail-hero-tile,
body.re-detail-page-active .re-detail-hero-mosaic {
	border-radius: 16px;
}

@media (max-width: 768px) {
	body.re-detail-page-active .re-detail-layout--content {
		margin-top: 18px;
	}

	body.re-detail-page-active .re-detail-layout {
		gap: 18px;
	}

	body.re-detail-page-active .re-detail-card--hero-bleed {
		--re-hero-side-gap: 14px;
		border-radius: 16px;
	}
}

@media (max-width: 640px) {
	body.re-detail-page-active .re-detail-hero-primary,
	body.re-detail-page-active .re-detail-gallery-main,
	body.re-detail-page-active .re-detail-main-image,
	body.re-detail-page-active .re-detail-hero-tile {
		border-radius: 14px;
	}
}

body.re-detail-page-active .re-detail-hero-badge {
	background: rgba(211, 31, 43, 0.92);
}

body.re-detail-page-active .re-detail-hero-label,
body.re-detail-page-active .re-detail-hero-count {
	box-shadow: 0 14px 30px rgba(2, 6, 23, 0.12);
}

body.re-detail-page-active .re-detail-chip {
	background: rgba(255, 255, 255, 0.9);
	border-color: rgba(15, 23, 42, 0.08);
	font-weight: 600;
	color: rgba(15, 23, 42, 0.7);
}

body.re-detail-page-active .re-detail-chip--status-for_rent {
	color: rgba(29, 78, 216, 0.98);
}

body.re-detail-page-active .re-detail-chip-row--summary {
	margin-bottom: 12px;
}

body.re-detail-page-active .re-rf-private-note {
	font-weight: 700;
	color: rgba(15, 23, 42, 0.62);
}

body.re-detail-page-active .re-rf-summary-title {
	font-weight: 900;
	letter-spacing: -0.02em;
	margin-top: 20px;
	margin-bottom: 30px;
}

body.re-detail-page-active .re-rf-card-head h3 {
	font-weight: 800;
}

body.re-detail-page-active .re-estimate-btn {
	background: linear-gradient(135deg, var(--re-primary), #ef4444);
	box-shadow: 0 12px 22px rgba(211, 31, 43, 0.16);
}

body.re-detail-page-active .re-estimate-btn:hover {
	box-shadow: 0 16px 28px rgba(211, 31, 43, 0.2);
}

body.re-detail-page-active .re-estimate-float {
	background: linear-gradient(135deg, var(--re-primary), #ef4444) !important;
	box-shadow: 0 14px 28px rgba(211, 31, 43, 0.24) !important;
}

body.re-detail-page-active .re-estimate-float:hover {
	background: linear-gradient(135deg, #b91c1c, var(--re-primary)) !important;
	transform: translateX(-50%) translateY(-1px);
}

body.re-detail-page-active .re-detail-back-link {
	border-color: rgba(15, 23, 42, 0.12);
	color: rgba(15, 23, 42, 0.76);
}

body.re-detail-page-active .re-detail-back-link:hover {
	border-color: rgba(15, 23, 42, 0.16);
	background: rgba(15, 23, 42, 0.03);
}

body.re-detail-page-active .re-rf-section-card {
	padding: 22px 22px;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-radius: 18px;
	box-shadow: 0 14px 34px rgba(2, 6, 23, 0.06);
}

body.re-detail-page-active .re-rf-section-card .re-rf-card-head {
	margin: 0;
	margin-bottom: 20px;
	padding: 0 0 12px;
	/* border-bottom: 1px solid rgba(15, 23, 42, 0.08); */
}

body.re-detail-page-active .re-rf-section-card .re-rf-card-head h3 {
	font-size: 1.02rem;
	font-weight: 700;
	color: rgba(15, 23, 42, 0.92);
}

body.re-detail-page-active .re-rf-section-card .re-rf-card-head span,
body.re-detail-page-active .re-rf-section-card .re-rf-card-head a {
	font-weight: 600;
}

body.re-detail-page-active .re-rf-section-card .re-rf-card-count {
	font-weight: 650;
	color: rgba(15, 23, 42, 0.56);
	background: rgba(2, 6, 23, 0.03);
	border-color: rgba(15, 23, 42, 0.08);
}

body.re-detail-page-active .re-rf-school-list {
	grid-template-columns: 1fr;
	gap: 0;
	padding: 14px 0 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	overflow: visible;
}

body.re-detail-page-active .re-rf-school-card {
	margin: 0;
	padding: 14px 0;
	border-radius: 0;
	background: transparent;
	border: 0;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: none;
	transition: background-color 160ms ease;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 10px 14px;
}

body.re-detail-page-active .re-rf-school-card:last-child {
	border-bottom: 0;
}

body.re-detail-page-active .re-rf-school-card:hover {
	background: transparent;
}

body.re-detail-page-active .re-rf-school-top {
	display: contents;
}

body.re-detail-page-active .re-rf-school-rating {
	grid-column: 1;
	grid-row: 1;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: 1px solid rgba(15, 23, 42, 0.1);
	background: rgba(2, 6, 23, 0.03);
	color: rgba(15, 23, 42, 0.86);
	box-shadow: none;
	font-weight: 700;
}

body.re-detail-page-active .re-rf-school-rating.is-high {
	border-color: rgba(5, 150, 105, 0.22);
	background: rgba(5, 150, 105, 0.12);
	color: rgba(5, 150, 105, 0.98);
}

body.re-detail-page-active .re-rf-school-rating.is-mid {
	border-color: rgba(217, 119, 6, 0.22);
	background: rgba(217, 119, 6, 0.12);
	color: rgba(180, 83, 9, 0.98);
}

body.re-detail-page-active .re-rf-school-rating.is-low {
	border-color: rgba(220, 38, 38, 0.22);
	background: rgba(220, 38, 38, 0.12);
	color: rgba(185, 28, 28, 0.98);
}

body.re-detail-page-active .re-rf-school-rating.is-na {
	box-shadow: none;
	background: rgba(15, 23, 42, 0.04);
	border-color: rgba(15, 23, 42, 0.1);
	color: rgba(15, 23, 42, 0.62);
}

body.re-detail-page-active .re-rf-school-heading {
	grid-column: 2;
	grid-row: 1;
	min-width: 0;
}

body.re-detail-page-active .re-rf-school-card h4 {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: rgba(15, 23, 42, 0.96);
}

body.re-detail-page-active .re-rf-school-sub {
	margin: 6px 0 0;
	color: rgba(15, 23, 42, 0.62);
	font-weight: 500;
}

body.re-detail-page-active .re-rf-school-meta {
	grid-column: 2;
	grid-row: 2;
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

body.re-detail-page-active .re-rf-school-meta-row {
	display: inline-flex;
	align-items: baseline;
	justify-content: flex-start;
	gap: 6px;
	padding: 0;
	border-radius: 0;
	background: transparent;
	border: 0;
}

body.re-detail-page-active .re-rf-school-meta-row span {
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: rgba(15, 23, 42, 0.62);
}

body.re-detail-page-active .re-rf-school-meta-row:not(:last-child)::after {
	content: "·";
	margin-left: 8px;
	color: rgba(15, 23, 42, 0.28);
}

body.re-detail-page-active .re-rf-school-meta-row span::after {
	content: ":";
	margin-left: 2px;
}

body.re-detail-page-active .re-rf-school-meta-row strong {
	font-size: 0.78rem;
	font-weight: 600;
	text-align: left;
	color: rgba(15, 23, 42, 0.86);
}

@media (max-width: 640px) {
	body.re-detail-page-active .re-rf-school-card {
		padding: 14px 14px;
	}
}

body.re-detail-page-active .re-rf-detail-group + .re-rf-detail-group {
	margin-top: 16px;
}

body.re-detail-page-active .re-rf-detail-group {
	padding: 14px 16px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(15, 23, 42, 0.1);
}

body.re-detail-page-active .re-rf-detail-group-title {
	position: relative;
	margin: 0 0 10px;
	padding-top: 0;
	padding-left: 0;
	font-size: 0.98rem;
	font-weight: 650;
	letter-spacing: -0.01em;
	text-transform: none;
	color: rgba(15, 23, 42, 0.92);
	border: 0;
}

body.re-detail-page-active .re-rf-detail-group-title::before {
	display: none;
}

body.re-detail-page-active .re-rf-detail-grid {
	grid-template-columns: 1fr;
	row-gap: 0;
}

body.re-detail-page-active .re-rf-detail-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	align-items: baseline;
	gap: 12px;
	padding: 10px 0;
	border-radius: 0;
	background: transparent;
	border: 0;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: none;
	transition: none;
}

body.re-detail-page-active .re-rf-detail-row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

body.re-detail-page-active .re-rf-detail-row:hover {
	border-color: rgba(15, 23, 42, 0.08);
	box-shadow: none;
	transform: none;
}

body.re-detail-page-active .re-rf-detail-row p {
	margin: 0;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: rgba(15, 23, 42, 0.62);
}

body.re-detail-page-active .re-rf-detail-row strong {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.5;
	font-weight: 600;
	text-align: right;
	color: rgba(15, 23, 42, 0.86);
}

@media (max-width: 768px) {
	body.re-detail-page-active .re-rf-detail-grid {
		grid-template-columns: 1fr;
	}

	body.re-detail-page-active .re-rf-detail-row {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	body.re-detail-page-active .re-rf-detail-row strong {
		text-align: left;
	}
}

body.re-detail-page-active .re-rf-history-card {
	padding: 22px;
}

body.re-detail-page-active .re-rf-history-group {
	padding: 0;
	border-radius: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

body.re-detail-page-active .re-rf-history-group + .re-rf-history-group {
	margin-top: 14px;
}

body.re-detail-page-active .re-rf-history-records {
	grid-template-columns: 1fr;
	gap: 0;
}

body.re-detail-page-active .re-rf-history-record {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	gap: 14px;
	padding: 14px 0;
	border-radius: 0;
	border: 0;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
	background: transparent;
	transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

body.re-detail-page-active .re-rf-history-record:first-child {
	padding-top: 0;
}

body.re-detail-page-active .re-rf-history-record:last-child {
	border-bottom: 0;
}

body.re-detail-page-active .re-rf-history-record:hover {
	transform: none;
	border-color: rgba(15, 23, 42, 0.12);
	box-shadow: none;
	background: transparent;
}

body.re-detail-page-active .re-rf-history-record-date span {
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: rgba(15, 23, 42, 0.56);
}

body.re-detail-page-active .re-rf-history-record-date strong {
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: -0.015em;
}

body.re-detail-page-active .re-rf-history-record-grid {
	margin-top: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px 14px;
}

body.re-detail-page-active .re-rf-history-record-metric span {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: none;
	color: rgba(15, 23, 42, 0.56);
}

body.re-detail-page-active .re-rf-history-record-metric strong {
	font-size: 0.92rem;
	font-weight: 600;
	color: rgba(15, 23, 42, 0.9);
}

body.re-detail-page-active .re-rf-history-card .re-rf-table {
	border-top: 1px solid rgba(15, 23, 42, 0.1);
}

body.re-detail-page-active .re-rf-history-card .re-rf-table-row {
	grid-template-columns: 200px minmax(0, 1fr);
	gap: 14px;
	padding: 12px 0;
	border-radius: 0;
	border: 0;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
	background: transparent;
	margin-bottom: 0;
}

body.re-detail-page-active .re-rf-history-card .re-rf-table-row:last-child {
	border-bottom: 0;
}

body.re-detail-page-active .re-rf-history-card .re-rf-table-label {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: none;
	color: rgba(15, 23, 42, 0.56);
}

body.re-detail-page-active .re-rf-history-card .re-rf-table-value {
	font-size: 0.94rem;
	font-weight: 600;
	line-height: 1.55;
	color: rgba(15, 23, 42, 0.9);
}

body.re-detail-page-active .re-rf-public-card .re-rf-table,
body.re-detail-page-active .re-rf-nearby-card .re-rf-table {
	border-top: 1px solid rgba(15, 23, 42, 0.1);
}

body.re-detail-page-active .re-rf-public-card .re-rf-table-row,
body.re-detail-page-active .re-rf-nearby-card .re-rf-table-row {
	grid-template-columns: 200px minmax(0, 1fr);
	gap: 14px;
	padding: 12px 0;
	border-radius: 0;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
	background: transparent;
}

body.re-detail-page-active .re-rf-public-card .re-rf-table-row:last-child,
body.re-detail-page-active .re-rf-nearby-card .re-rf-table-row:last-child {
	border: 0;
}

body.re-detail-page-active .re-rf-public-card .re-rf-table-row {
	border-top: 0;
}

body.re-detail-page-active .re-rf-public-card .re-rf-table-row:hover,
body.re-detail-page-active .re-rf-nearby-card .re-rf-table-row:hover {
	background: transparent;
}

body.re-detail-page-active .re-rf-public-card .re-rf-table-label,
body.re-detail-page-active .re-rf-nearby-card .re-rf-table-label {
	font-weight: 600;
	color: rgba(15, 23, 42, 0.56);
}

body.re-detail-page-active .re-rf-public-card .re-rf-table-value,
body.re-detail-page-active .re-rf-nearby-card .re-rf-table-value {
	font-weight: 600;
	color: rgba(15, 23, 42, 0.9);
}

@media (max-width: 768px) {
	body.re-detail-page-active .re-rf-history-card {
		padding: 18px 16px;
	}

	body.re-detail-page-active .re-rf-history-record {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	body.re-detail-page-active .re-rf-history-record-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.re-detail-page-active .re-rf-history-card .re-rf-table-row {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	body.re-detail-page-active .re-rf-public-card .re-rf-table-row,
	body.re-detail-page-active .re-rf-nearby-card .re-rf-table-row {
		grid-template-columns: 1fr;
		gap: 6px;
	}
}

@media (max-width: 640px) {
	body.re-detail-page-active .re-rf-history-record-grid {
		grid-template-columns: 1fr;
	}
}

.re-home .site-container {
	width: min(var(--re-container), calc(100% - 40px));
	margin-left: auto;
	margin-right: auto;
}

.re-kicker {
	display: inline-block;
	margin: 0 0 14px;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	color: rgba(255, 255, 255, 0.92);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.18);
}

.re-hero {
	position: relative;
	padding: clamp(56px, 7vw, 92px) 0 clamp(32px, 4.5vw, 56px);
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	color: #f8fafc;
	background-image:
		linear-gradient(180deg, rgba(2, 6, 23, 0.36), rgba(2, 6, 23, 0.72)),
		url("assets/images/hero_bg.jpeg");
	background-size: cover;
	background-position: center;
	box-shadow: 0 18px 54px rgba(2, 6, 23, 0.28);
}

.re-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.1), transparent 48%);
	pointer-events: none;
}

.re-hero > .site-container {
	position: relative;
	z-index: 1;
}

.re-hero-inner {
	max-width: 760px;
}

.re-subtitle {
	margin: 0;
	max-width: 720px;
	font-size: 1.05rem;
	font-weight: 600;
	color: rgba(241, 246, 255, 0.92);
	line-height: 1.5;
}

.re-hero-inner h1 {
	margin: 0 0 14px;
	font-size: clamp(2.2rem, 4.4vw, 3.6rem);
	line-height: 1.02;
	letter-spacing: -0.03em;
	color: #fff;
	text-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.re-trust {
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.re-trust li {
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.01em;
	border: 1px solid rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(6px);
}

.re-hero-search-card {
	margin-top: 18px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(255, 255, 255, 0.46);
	box-shadow:
		0 24px 58px rgba(2, 6, 23, 0.26),
		0 1px 0 rgba(255, 255, 255, 0.48) inset;
	padding: 14px;
	color: var(--re-ink);
}

.re-hero-search {
	margin-top: 10px;
}

.re-home .re-hero-search-card .re-search-tab {
	background: rgba(2, 6, 23, 0.04);
	color: rgba(15, 23, 42, 0.84);
	border-color: rgba(15, 23, 42, 0.08);
	backdrop-filter: none;
	border-radius: 10px;
	padding: 9px 14px;
	font-weight: 900;
}

.re-home .re-hero-search-card .re-search-tab:hover {
	background: rgba(2, 6, 23, 0.09);
}

.re-home .re-hero-search-card .re-search-tab.is-active {
	background: rgba(211, 31, 43, 0.1);
	border-color: rgba(211, 31, 43, 0.18);
	color: rgba(17, 24, 39, 0.98);
	box-shadow: none;
}

.re-home .re-hero-search-card .re-search-row {
	background: rgba(255, 255, 255, 1);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 16px;
	box-shadow: 0 10px 22px rgba(2, 6, 23, 0.06);
	padding: 10px;
	gap: 10px;
}

.re-home .re-hero-search-card .re-search-row:focus-within {
	border-color: rgba(211, 31, 43, 0.24);
	box-shadow: 0 14px 30px rgba(2, 6, 23, 0.08), 0 0 0 3px rgba(211, 31, 43, 0.1);
}

.re-home .re-hero-search-card .re-search-row input[type="text"] {
	background: rgba(248, 250, 252, 1);
	border: 1px solid rgba(15, 23, 42, 0.08);
	font-weight: 700;
	padding: 14px 14px;
	min-height: 52px;
}

.re-home .re-hero-search-card .re-search-row button[type="submit"] {
	background: linear-gradient(135deg, var(--re-primary), #ef4444);
	box-shadow: 0 10px 18px rgba(211, 31, 43, 0.18);
	min-height: 52px;
	border-radius: 12px;
}

.re-home .re-hero-search-card .re-search-row button[type="submit"]:hover {
	box-shadow: 0 14px 22px rgba(211, 31, 43, 0.22);
}

.re-home .re-search-status {
	margin-top: 12px;
	color: rgba(15, 23, 42, 0.62);
	font-weight: 700;
}

.re-home .re-section-head {
	display: grid;
	gap: 6px;
	margin: 0 0 18px;
}

.re-home .re-section-head h2 {
	margin: 0;
	font-size: clamp(1.55rem, 2.3vw, 2.15rem);
	letter-spacing: -0.02em;
	color: rgba(15, 23, 42, 0.96);
	font-weight: 900;
	line-height: 1.2;
}

.re-home .re-section-head h2::after {
	content: none;
}

.re-home .re-section-head p {
	margin: 0;
	color: rgba(15, 23, 42, 0.68);
	font-weight: 600;
}

.re-recommended {
	padding: 54px 0 32px;
}

.re-rec-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 18px;
}

.re-rec-card {
	display: block;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(15, 23, 42, 0.1);
	box-shadow: 0 16px 44px rgba(2, 6, 23, 0.08);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
	position: relative;
}

.re-rec-card:hover {
	transform: translateY(-3px);
	border-color: rgba(15, 23, 42, 0.14);
	box-shadow: 0 22px 56px rgba(2, 6, 23, 0.12);
}

.re-rec-media {
	height: 188px;
	background:
		radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.42), transparent 50%),
		linear-gradient(135deg, rgba(59, 130, 246, 0.26), rgba(20, 184, 166, 0.18)),
		linear-gradient(180deg, rgba(2, 6, 23, 0.04), rgba(2, 6, 23, 0.08));
	position: relative;
}

.re-rec-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.re-rec-empty {
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.7);
	border: 1px dashed rgba(15, 23, 42, 0.16);
	padding: 18px;
	color: rgba(15, 23, 42, 0.7);
	font-weight: 650;
}

.re-rec-empty p {
	margin: 0;
}

.re-rec-media--house {
	background-image:
		linear-gradient(180deg, rgba(2, 6, 23, 0.06), rgba(2, 6, 23, 0.22)),
		url("https://images.unsplash.com/photo-1568605114967-8130f3a36994?auto=format&fit=crop&w=1200&q=80");
	background-size: cover;
	background-position: center;
}

.re-rec-media--condo {
	background-image:
		linear-gradient(180deg, rgba(2, 6, 23, 0.06), rgba(2, 6, 23, 0.22)),
		url("https://images.unsplash.com/photo-1484154218962-a197022b5858?auto=format&fit=crop&w=1200&q=80");
	background-size: cover;
	background-position: center;
}

.re-rec-body {
	padding: 14px 16px 16px;
}

.re-rec-title {
	margin: 0 0 6px;
	font-weight: 900;
	letter-spacing: -0.01em;
	color: rgba(15, 23, 42, 0.96);
	font-size: 1.1rem;
	line-height: 1.25;
}

.re-rec-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin: 0 0 8px;
}

.re-rec-price {
	display: inline-flex;
	align-items: center;
	height: 28px;
	padding: 0 10px;
	margin-top: 6px;
	margin-bottom: 6px;
	border-radius: 999px;
	background: rgba(211, 31, 43, 0.1);
	border: 1px solid rgba(211, 31, 43, 0.18);
	color: rgba(15, 23, 42, 0.94);
	font-weight: 500;
}

.re-rec-facts {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
}

.re-rec-pill {
	display: inline-flex;
	align-items: center;
	height: 26px;
	padding: 0 10px;
	border-radius: 999px;
	background: rgba(2, 6, 23, 0.04);
	border: 1px solid rgba(15, 23, 42, 0.06);
	color: rgba(15, 23, 42, 0.74);
	font-weight: 750;
	font-size: 0.9rem;
}

.re-rec-sub {
	margin: 0;
	margin-top: 10px;
	color: rgba(15, 23, 42, 0.62);
	font-weight: 550;
	font-size: 0.92rem;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	line-height: 1.4;
}

.re-results-section {
	padding: 54px 0 32px;
}

.re-home .re-results-section {
	display: none;
}

body.re-has-results .re-home .re-results-section {
	display: block;
}

.re-home .re-results-grid {
	margin-top: 12px;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 18px;
}

.re-home .re-property-card {
	border-radius: 20px;
	border-color: rgba(15, 23, 42, 0.12);
	box-shadow: 0 16px 44px rgba(2, 6, 23, 0.1);
}

.re-home .re-property-card:hover {
	box-shadow: 0 26px 64px rgba(2, 6, 23, 0.14);
}

.re-home .re-card-image-wrap {
	height: 200px;
}

.re-home .re-card-body h3 {
	font-size: 1.32rem;
}

.re-home .re-estimate-btn {
	border-radius: 12px;
	background: linear-gradient(135deg, var(--re-primary), #ef4444);
	box-shadow: 0 12px 22px rgba(211, 31, 43, 0.16);
}

.re-home .re-estimate-btn:hover {
	box-shadow: 0 16px 26px rgba(211, 31, 43, 0.2);
}

.re-steps {
	padding: 34px 0 68px;
}

.re-steps-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.re-step-card {
	position: relative;
	padding: 18px 20px 22px 22px;
	background: rgba(255, 255, 255, 0.96);
	border-radius: 18px;
	border: 1px solid rgba(15, 23, 42, 0.1);
	box-shadow: 0 14px 34px rgba(2, 6, 23, 0.08);
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
	overflow: hidden;
}

.re-step-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.14), transparent 44%),
		radial-gradient(circle at 100% 0%, rgba(20, 184, 166, 0.12), transparent 46%);
	opacity: 0.9;
	pointer-events: none;
}

.re-step-card > * {
	position: relative;
	z-index: 1;
}

.re-step-card:hover {
	transform: translateY(-3px);
	border-color: rgba(29, 78, 216, 0.18);
	box-shadow: 0 20px 46px rgba(2, 6, 23, 0.12);
}

.re-step-index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 26px;
	margin: 0 0 14px !important;
	padding: 0 11px;
	border-radius: 999px;
	background: rgba(29, 78, 216, 0.1);
	border: 1px solid rgba(29, 78, 216, 0.18);
	font-size: 0.82rem;
	font-weight: 900;
	color: rgba(15, 23, 42, 0.86);
	letter-spacing: 0.04em;
}

.re-step-card h3 {
	margin: 0 0 8px;
	font-size: 1.2rem;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: rgba(15, 23, 42, 0.96);
}

.re-step-card p {
	margin: 0;
	color: rgba(15, 23, 42, 0.7);
	line-height: 1.5;
	font-weight: 600;
}

@media (max-width: 1024px) {
	.re-steps-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	.re-steps-grid {
		grid-template-columns: 1fr;
	}

	.re-home .site-container {
		width: min(var(--re-container), calc(100% - 28px));
	}
}

@media (max-width: 550px) {
	.re-home .re-hero-search-card .re-search-row {
		position: relative;
		padding: 8px;
		gap: 0;
	}

	.re-home .re-hero-search-card .re-search-row input[type="text"] {
		padding-right: 58px;
		min-height: 52px;
	}

	.re-home .re-hero-search-card .re-search-row button[type="submit"] {
		position: absolute;
		right: 12px;
		top: 50%;
		transform: translateY(-50%);
		width: 44px;
		min-width: 44px;
		height: 44px;
		min-height: 44px;
		border-radius: 12px;
		padding: 0;
		text-indent: -9999px;
		overflow: hidden;
		box-shadow: 0 10px 18px rgba(211, 31, 43, 0.18);
	}

	.re-home .re-hero-search-card .re-search-row button[type="submit"]::before {
		content: "";
		position: absolute;
		inset: 0;
		background:
			url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M11 4a7 7 0 1 0 0 14 7 7 0 0 0 0-14Z' stroke='%23ffffff' stroke-width='2'/%3E%3Cpath d='M20 20l-3.5-3.5' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/20px 20px no-repeat;
	}
}

@media (max-width: 1024px) {
	.re-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.re-footer-col--brand {
		grid-column: 1 / -1;
		padding-right: 0;
	}
}

@media (max-width: 640px) {
	.re-footer {
		padding: 42px 0 24px;
	}

	.re-footer .site-container {
		width: min(100% - 28px, var(--re-container));
	}

	.re-footer-grid {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.re-footer-bottom {
		justify-content: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.re-home *,
	.re-footer * {
		transition-duration: 0ms !important;
		animation-duration: 0ms !important;
	}
}
