.re-search-status {
	margin-top: 10px;
	font-size: 14px;
	font-weight: 600;
}

.realestate-search-form {
	position: relative;
	z-index: 1200;
	isolation: isolate;
	display: block !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	backdrop-filter: none !important;
	gap: 0 !important;
	flex-wrap: nowrap !important;
}

.re-search-shell {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	overflow: visible;
	width: 100%;
}

.re-search-row {
	display: flex;
	align-items: stretch;
	gap: 12px;
	padding: 12px;
	background: rgba(245, 249, 255, 0.86);
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 16px;
	box-shadow: 0 24px 40px rgba(3, 18, 53, 0.28), 0 1px 0 rgba(255, 255, 255, 0.36) inset;
	overflow: hidden;
	width: 100%;
}

.re-search-row:focus-within {
	border-color: rgba(255, 255, 255, 0.92);
	box-shadow: 0 28px 50px rgba(3, 18, 53, 0.34), 0 0 0 4px rgba(96, 165, 250, 0.28);
}

.re-search-row input[type="text"] {
	flex: 1 1 auto;
	min-width: 0;
	border: 1px solid #cedbf2;
	background: #f8fbff;
	padding: 16px 18px;
	font-size: 1.04rem;
	font-weight: 650;
	color: #0f172a;
	outline: none;
	border-radius: 12px;
	min-height: 56px;
}

.re-search-row input[type="text"]::placeholder {
	color: rgba(15, 23, 42, 0.52);
	font-weight: 600;
}

.re-search-row button[type="submit"] {
	flex: 0 0 auto;
	border: 0;
	background: linear-gradient(135deg, #0b55d1, #2a82ff);
	color: #fff;
	font-weight: 900;
	padding: 12px 26px;
	min-width: 132px;
	cursor: pointer;
	transition: filter 160ms ease, transform 160ms ease;
	border-radius: 12px;
	box-shadow: 0 10px 20px rgba(6, 74, 177, 0.35);
	min-height: 56px;
}

.re-search-row button[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 24px rgba(6, 74, 177, 0.4);
}

.re-search-row button[type="submit"]:active {
	transform: translateY(0px);
	filter: brightness(0.98);
}

.re-search-tabs {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0;
	margin: 0;
	border-radius: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	width: 100%;
}

.re-search-tab {
	appearance: none;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: rgba(15, 23, 42, 0.22);
	color: rgba(255, 255, 255, 0.92);
	font-weight: 900;
	font-size: 0.9rem;
	padding: 10px 16px;
	border-radius: 12px;
	cursor: pointer;
	transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
	backdrop-filter: blur(6px);
}

.re-search-tab:hover {
	background: rgba(255, 255, 255, 0.14);
	color: rgba(255, 255, 255, 0.98);
}

.re-search-tab.is-active {
	background: rgba(255, 255, 255, 0.96);
	border-color: rgba(255, 255, 255, 0.6);
	color: #0f172a;
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.re-price--estimate {
	color: #0b55d1;
}

.re-price--estimate .re-price-note {
	display: inline-block;
	margin-left: 10px;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: rgba(15, 23, 42, 0.55);
}

.re-price--estimate.re-price--empty {
	color: rgba(15, 23, 42, 0.55);
	font-weight: 700;
}

.re-rf-summary-price-note {
	display: inline-block;
	margin-left: 12px;
	font-size: 0.82rem;
	font-weight: 900;
	letter-spacing: 0.02em;
	color: rgba(15, 23, 42, 0.55);
}

.re-detail-page-active .re-rf-summary-price {
	display: none;
}

.re-detail-sidebar-price {
	margin: 10px 0 6px;
	font-size: 2.15rem!important;
	line-height: 1.15;
	font-weight: 900;
	color: #0f172a;
	letter-spacing: -0.02em;
}


.re-autocomplete-list {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 8px);
	z-index: 1300;
	padding: 8px;
	border-radius: 14px;
	border: 1px solid #d4e2fb;
	background: #fff;
	box-shadow: 0 16px 34px rgba(12, 34, 75, 0.16);
	max-height: 300px;
	overflow: auto;
}

.re-autocomplete-item {
	display: block;
	width: 100%;
	border: 0;
	border-radius: 10px;
	background: transparent;
	padding: 10px 12px;
	text-align: left;
	font-size: 0.94rem;
	font-weight: 600;
	color: #1b2f4c;
	cursor: pointer;
	transition: background-color 120ms ease, color 120ms ease;
}

.re-autocomplete-item:hover,
.re-autocomplete-item.is-active {
	background: transparent !important;
	color: #0b2f6d !important;
}

.re-autocomplete-item--search {
	font-weight: 700;
	color: #0d3475;
}

.re-autocomplete-group {
	margin: 8px 0 4px;
	padding: 0 12px;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #607394;
}

.realestate-search-form button {
	position: relative;
}

.realestate-search-form.re-input-loading input[type="text"] {
	padding-right: 42px;
}

.realestate-search-form.re-input-loading::after {
	content: "";
	position: absolute;
	top: var(--re-input-spinner-top, 24px);
	left: var(--re-input-spinner-left, 18px);
	width: 14px;
	height: 14px;
	margin-top: -7px;
	margin-left: -7px;
	border-radius: 999px;
	border: 2px solid rgba(11, 47, 109, 0.2);
	border-top-color: #0b2f6d;
	animation: re-spin 0.7s linear infinite;
	pointer-events: none;
}

.re-hero-search .realestate-search-form {
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	backdrop-filter: none !important;
}

@keyframes re-spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

.re-results-grid {
	margin-top: 18px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.re-property-card {
	position: relative;
	background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
	border: 1px solid #d7e5ff;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 14px 32px rgba(8, 30, 68, 0.1);
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.re-property-card:hover {
	transform: translateY(-4px);
	border-color: #b7cffb;
	box-shadow: 0 22px 42px rgba(8, 30, 68, 0.18);
}

.re-card-image-wrap {
	position: relative;
	width: 100%;
	height: 186px;
	background: #edf4ff;
}

.re-card-image-wrap::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(7, 23, 51, 0) 55%, rgba(7, 23, 51, 0.16) 100%);
}

.re-card-image-wrap img,
.re-card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.re-card-body {
	padding: 15px 15px 16px;
}

.re-card-body h3 {
	margin: 0 0 5px;
	font-size: 1.42rem;
	line-height: 1.1;
	font-family: "Space Grotesk", "Manrope", sans-serif;
	letter-spacing: -0.01em;
	color: #0f1b2e;
}

.re-location {
	margin: 0;
	font-size: 0.97rem;
	font-weight: 500;
	color: #4f5f7a;
}

.re-price {
	margin: 8px 0;
	font-size: 1.1rem;
	font-weight: 800;
	color: #083d9c;
}

.re-meta {
	list-style: none;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	padding: 0;
	margin: 12px 0 14px;
	font-size: 0.82rem;
	color: #26354c;
	font-weight: 700;
}

.re-meta li {
	padding: 5px 9px;
	border-radius: 999px;
	background: #edf3ff;
	border: 1px solid #d6e4ff;
}

.re-estimate-btn {
	width: 100%;
	padding: 12px 14px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(135deg, #0b55d1 0%, #297fff 100%);
	color: #fff;
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: 0.01em;
	box-shadow: 0 10px 18px rgba(6, 74, 177, 0.28);
	cursor: pointer;
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.re-estimate-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 22px rgba(6, 74, 177, 0.34);
	color: #fff;
}

a.re-estimate-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.re-empty {
	padding: 12px 0;
}

.re-detail-shell {
	margin-top: 10px;
}

.entry-content-wrap .re-detail-page {
	width: 100%;
	max-width: 1242px;
	margin: 0 auto;
	padding-left: 0;
	padding-right: 0;
}

.re-detail-layout {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 24px;
	align-items: start;
}

.re-detail-main {
	display: grid;
	gap: 20px;
}

.re-detail-layout--content {
	margin-top: 24px;
}

.re-detail-sidebar {
	position: sticky;
	top: 110px;
	align-self: start;
}

body.admin-bar .re-detail-sidebar {
	top: 54px;
}

.re-detail-card {
	display: block;
	background: #fff;
	border: 1px solid #e6ebf1;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.re-detail-card--hero-bleed {
	--re-hero-side-gap: clamp(16px, 2.5vw, 34px);
	width: calc(100vw - (var(--re-hero-side-gap) * 2));
	margin-left: calc(50% - 50vw + var(--re-hero-side-gap));
	margin-right: calc(50% - 50vw + var(--re-hero-side-gap));
	border: 0;
	border-radius: 18px;
	background: transparent;
	box-shadow: none;
}

.re-detail-media {
	background: transparent;
	padding: 4px;
}

.re-detail-gallery-main {
	background: linear-gradient(180deg, #eef5ff 0%, #e5efff 100%);
}

.re-detail-hero-media {
	--re-hero-gap: 8px;
	--re-hero-height: clamp(440px, 30vw, 520px);
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 2.45fr);
	gap: var(--re-hero-gap);
	align-items: stretch;
}

.re-detail-hero-media--solo {
	grid-template-columns: 1fr;
}

.re-detail-hero-primary,
.re-detail-gallery-main {
	position: relative;
	height: var(--re-hero-height);
	min-height: 0;
	border-radius: 12px;
	overflow: hidden;
	background: #eaf2ff;
}

.re-detail-hero-primary {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	text-align: left;
	cursor: pointer;
}

.re-detail-main-image {
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: cover;
	display: block;
	background: #eaf2ff;
}

.re-detail-hero-mosaic {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-template-rows: repeat(2, calc((var(--re-hero-height) - var(--re-hero-gap)) / 2));
	gap: var(--re-hero-gap);
	height: var(--re-hero-height);
}

.re-detail-hero-tile {
	position: relative;
	padding: 0;
	border: 0;
	border-radius: 12px;
	overflow: hidden;
	background: #e5eefb;
	cursor: pointer;
	min-height: 0;
	width: 100%;
	box-shadow: inset 0 0 0 2px transparent;
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.re-detail-hero-tile:hover {
	transform: translateY(-1px);
}

.re-detail-hero-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.re-detail-hero-badge,
.re-detail-hero-label,
.re-detail-hero-count {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	font-weight: 800;
	backdrop-filter: blur(10px);
}

.re-detail-hero-badge {
	top: 18px;
	left: 18px;
	padding: 8px 14px;
	background: rgba(5, 115, 69, 0.92);
	color: #fff;
	font-size: 0.78rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.re-detail-hero-label {
	left: 18px;
	bottom: 18px;
	padding: 12px 16px;
	background: rgba(255, 255, 255, 0.96);
	color: #16273e;
	font-size: 0.92rem;
	box-shadow: 0 12px 22px rgba(7, 29, 62, 0.14);
}

.re-detail-hero-count {
	right: 16px;
	bottom: 16px;
	padding: 11px 16px;
	background: rgba(255, 255, 255, 0.96);
	color: #16273e;
	font-size: 0.95rem;
	box-shadow: 0 12px 22px rgba(7, 29, 62, 0.14);
}

.re-detail-body {
	padding: 18px 18px 14px;
	padding-bottom: 30px;
}

.re-detail-body--hero {
	padding: 20px 22px 24px;
	width: 100%;
	max-width: 1242px;
	margin: 0 auto;
	box-sizing: border-box;
}

.re-detail-top {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
}

.re-detail-chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.re-detail-status {
	display: inline-flex;
	align-items: center;
	height: 26px;
	padding: 0 11px;
	border-radius: 999px;
	background: #e9f5ff;
	border: 1px solid #c8e5ff;
	font-size: 0.78rem;
	font-weight: 800;
	color: #0d6295;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.re-detail-chip {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	font-size: 0.77rem;
	font-weight: 700;
	color: #475569;
}

.re-detail-chip--status {
	font-weight: 800;
	letter-spacing: 0.01em;
}

.re-detail-chip--status-for_sale {
	background: #ecfdf5;
	border-color: #a7f3d0;
	color: #065f46;
}

.re-detail-chip--status-for_rent {
	background: #eff6ff;
	border-color: #bfdbfe;
	color: #1d4ed8;
}

.re-detail-chip--status-pending,
.re-detail-chip--status-contingent,
.re-detail-chip--status-under_contract {
	background: #fffbeb;
	border-color: #fde68a;
	color: #92400e;
}

.re-detail-chip--status-sold,
.re-detail-chip--status-off_market {
	background: #f3f4f6;
	border-color: #e5e7eb;
	color: #374151;
}

.re-detail-header {
	margin: 10px 0 6px;
}

.re-detail-body h1 {
	margin: 0;
	font-size: clamp(1.7rem, 2.4vw, 2.2rem);
	line-height: 1.15;
	font-family: "Space Grotesk", "Manrope", sans-serif;
	color: #0f1e36;
}

.re-detail-header .re-location {
	margin-top: 5px;
	font-size: 0.9rem;
}

.re-detail-stat-grid {
	margin-top: 10px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px 16px;
	padding: 4px 0 10px;
	/* border-bottom: 1px solid #d9e5f7; */
}

.re-summary-strip {
	margin-top: 18px;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
}

.re-summary-stat {
	padding: 14px 14px 12px;
	border-radius: 16px;
	background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
	border: 1px solid #d9e7ff;
	box-shadow: 0 12px 22px rgba(10, 35, 72, 0.06);
}

.re-summary-stat-value {
	margin: 0;
	font-size: 1.02rem;
	font-weight: 800;
	color: #112949;
}

.re-summary-stat-label {
	margin: 6px 0 0;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #607896;
}

.re-detail-stat-card {
	padding: 2px 0 8px;
	border-radius: 0;
	background: transparent;
	border: 0;
	border-bottom: 1px dashed #cfdbef;
}

.re-detail-stat-label {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #5a7395;
}

.re-detail-stat-value {
	margin: 3px 0 0;
	font-size: 0.96rem;
	font-weight: 800;
	color: #112949;
}

.re-detail-section-title {
	margin: 0;
	font-size: 0.8rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #4f6586;
}

.re-detail-panel {
	padding: 20px 22px;
	border-radius: 20px;
	border: 1px solid #d7e5ff;
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	box-shadow: 0 18px 34px rgba(11, 33, 74, 0.08);
}

.re-detail-panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.re-detail-panel-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 10px;
	border-radius: 999px;
	background: #edf4ff;
	border: 1px solid #d5e4ff;
	font-size: 0.82rem;
	font-weight: 800;
	color: #376096;
}

.re-detail-description p {
	margin: 14px 0 0;
	font-size: 0.96rem;
	line-height: 1.75;
	color: #2f4566;
}

.re-detail-facts-grid {
	margin-top: 14px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px 18px;
}

.re-detail-facts-grid--secondary {
	margin-top: 8px;
}

.re-detail-facts-grid--compact {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.re-fact-item {
	padding: 2px 0 8px;
	border-radius: 0;
	background: transparent;
	border: 0;
	border-bottom: 1px dashed #cfdbef;
	box-shadow: none;
}

.re-fact-label {
	margin: 0 0 0 !important;
	font-size: 0.75rem;
	font-weight: 700;
	color: #58708f;
	/* text-transform: uppercase; */
	letter-spacing: 0.03em;
}

.re-fact-value {
	margin: 0;
	font-size: 0.86rem;
	font-weight: 700;
	color: #182c49;
	word-break: break-word;
}

.re-detail-school-grid {
	margin-top: 14px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.re-school-card {
	padding: 14px 15px;
	border-radius: 16px;
	border: 1px solid #d7e5ff;
	background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
	box-shadow: 0 12px 24px rgba(11, 38, 76, 0.06);
}

.re-school-card h4 {
	margin: 0;
	font-size: 0.98rem;
	font-weight: 800;
	color: #122847;
}

.re-school-card p {
	margin: 8px 0 0;
	font-size: 0.87rem;
	line-height: 1.55;
	color: #4a6283;
}

.re-detail-actions {
	margin-top: 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.re-detail-sidebar-card {
	position: static;
	padding: 22px 22px 20px;
	border-radius: 14px;
	border: 1px solid #e6ebf1;
	background: #fff;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.re-detail-sidebar-kicker {
	margin: 0 0 10px;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #607896;
}

.re-detail-sidebar-card h3 {
	margin: 0;
	font-size: 1.35rem;
	line-height: 1.1;
	color: #122847;
	font-family: "Space Grotesk", "Manrope", sans-serif;
}

.re-detail-sidebar-card > p:last-of-type,
.re-detail-sidebar-card > p {
	color: #43607f;
	line-height: 1.65;
}

.re-estimate-btn--sidebar {
	margin-top: 14px;
}

.re-sidebar-facts {
	margin-top: 18px;
	display: grid;
	gap: 10px;
}

.re-sidebar-fact {
	padding: 10px 0;
	border-top: 1px dashed #d5e3f7;
}

.re-sidebar-fact:first-child {
	border-top: 0;
	padding-top: 0;
}

.re-sidebar-fact p {
	margin: 0 0 4px;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #6b83a1;
}

.re-sidebar-fact strong {
	font-size: 0.95rem;
	font-weight: 800;
	color: #173051;
}

.re-detail-back-link {
	font-size: 0.92rem;
	font-weight: 700;
	color: #144ea8;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.re-detail-back-link::before {
	content: "←";
}

.re-detail-note {
	margin-top: 10px;
	padding: 8px 10px;
	border-radius: 10px;
	background: #f2f7ff;
	border: 1px solid #cfe0ff;
}

.re-detail-note p {
	margin: 0;
	font-size: 0.85rem;
	font-weight: 600;
	color: #36537c;
}

.re-detail-actions,
.re-detail-note {
	display: none !important;
}

.re-estimate-float {
	display: none;
}

.re-estimate-float:hover {
	transform: translateX(-50%) translateY(-1px);
	background: linear-gradient(135deg, #0a56d2 0%, #2d82ff 100%);
}

.re-detail-empty {
	padding: 22px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid #d8e6ff;
}

.re-detail-empty p {
	margin: 0 0 12px;
}

.re-detail-chip-row--summary {
	margin-bottom: 10px;
}

.re-rf-card {
	background: #fff;
	border: 1px solid #e7ebf0;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.re-rf-section-card {
	padding: 22px 24px;
}

.re-rf-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.re-rf-card-head h3 {
	margin: 0;
	font-size: 1.03rem;
	font-weight: 800;
	color: #101827;
}

.re-rf-card-head span,
.re-rf-card-head a {
	font-size: 0.84rem;
	font-weight: 700;
	color: #5d6c7f;
	text-decoration: none;
}

.re-rf-card-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 26px;
	padding: 0 10px;
	border-radius: 999px;
	background: #f6f8fa;
	border: 1px solid #eceff3;
	font-size: 0.78rem;
	font-weight: 800;
	color: #5d6c7f;
}

.re-rf-card-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 10px;
	border-radius: 999px;
	border: 1px solid #e7ebf0;
	background: #fff;
	color: #1f3a5f;
	transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.re-rf-card-link:hover {
	background: #f8fafc;
	border-color: #d7dde6;
	transform: translateY(-1px);
}

.re-rf-summary-card {
	display: grid;
	grid-template-columns: minmax(0, 1.58fr) 232px;
	gap: 24px;
	padding: 24px;
	align-items: start;
}

.re-rf-summary-card--no-map {
	grid-template-columns: 1fr;
}

.re-rf-summary-copy {
	min-width: 0;
}

.re-rf-summary-topline {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
}

.re-rf-private-note {
	margin: 0;
	padding: 7px 10px;
	border-radius: 999px;
	background: #f6f8fa;
	border: 1px solid #eceff3;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: #6b7280;
}

.re-rf-summary-title {
	margin: 0;
	font-size: clamp(1.55rem, 2vw, 1.95rem);
	line-height: 1.12;
	color: #111827;
}

.re-rf-summary-price {
	font-size: clamp(1.6rem, 2.2vw, 2.15rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
	font-weight: 900;
	color: #0f172a;
	margin-bottom: 8px;
}

.re-rf-summary-location {
	margin: 8px 0 0;
	font-size: 0.98rem;
	font-weight: 700;
	color: #556274;
	display: none;
}

.re-rf-primary-stats {
	margin-top: 22px;
	display: flex;
	align-items: flex-start;
	gap: 32px;
	padding-bottom: 28px;
	/* border-bottom: 1px solid #edf1f5; */
}

.re-rf-primary-stat {
	display: grid;
	gap: 3px;
	min-width: 84px;
}

.re-rf-primary-stat strong {
	font-size: 1.45rem;
	line-height: 1;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #111827;
}

.re-rf-primary-stat span {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #6b7280;
}

.re-rf-metric-grid {
	margin-top: 18px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px 18px;
}

.re-rf-metric {
	padding: 0;
	border-radius: 0;
	background: transparent;
	border: 0;
}

.re-rf-metric p {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #64748b;
}

.re-rf-metric strong {
	display: block;
	margin-top: 5px;
	font-size: 1.02rem;
	line-height: 1.2;
	color: #0f172a;
}

.re-rf-inline-highlights {
	margin-top: 20px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px 18px;
}

.re-rf-inline-highlight {
	padding-top: 10px;
	border-top: 1px solid #edf1f5;
}

.re-rf-inline-highlight span {
	display: block;
	font-size: 0.74rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #6b7280;
}

.re-rf-inline-highlight strong {
	display: block;
	margin-top: 4px;
	font-size: 0.92rem;
	line-height: 1.45;
	color: #111827;
}

.re-rf-fact-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 18px;
}

.re-rf-fact-grid--summary {
	margin-top: 18px;
}

.re-rf-fact-grid--compact {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.re-rf-fact {
	padding-top: 20px;
	/* border-top: 1px solid #edf1f5; */
}

.re-rf-fact p {
	margin: 0 0 4px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #6b7280;
}

.re-rf-fact strong {
	display: block;
	font-size: 0.95rem;
	line-height: 1.45;
	color: #111827;
}

.re-rf-map iframe {
	display: block;
	width: 100%;
	border: 0;
	border-radius: 10px;
	background: #eef2f6;
}

.re-rf-summary-map {
	display: grid;
	gap: 10px;
	padding-left: 4px;
}

.re-rf-summary-map .re-rf-map {
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #edf1f5;
	background: #f8fafc;
}

.re-rf-map--summary iframe {
	aspect-ratio: 1 / 1;
	min-height: 188px;
}

.re-rf-map--wide iframe {
	aspect-ratio: 16 / 7;
	min-height: 260px;
}

.re-rf-richtext p {
	margin: 0;
	font-size: 0.96rem;
	line-height: 1.75;
	color: #344255;
}

.re-rf-richtext p + p {
	margin-top: 12px;
}

.re-rf-bullet-list {
	margin: 16px 0 0;
	padding-left: 18px;
	display: grid;
	gap: 8px;
}

.re-rf-bullet-list li {
	font-size: 0.93rem;
	line-height: 1.55;
	color: #203043;
}

.re-rf-badge-row {
	margin-top: 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.re-rf-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 999px;
	border: 1px solid #e7ebf0;
	background: #fff;
	color: #1f2f45;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1;
}

.re-rf-badge-icon {
	width: 18px;
	height: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #526171;
}

.re-rf-badge-icon svg {
	width: 18px;
	height: 18px;
	display: block;
}

.re-rf-badge-text {
	white-space: nowrap;
}

.re-rf-map-card .re-rf-card-head {
	margin-bottom: 14px;
}

.re-rf-map-meta {
	margin-top: 14px;
}

.re-rf-property-card {
	padding: 24px;
}

.re-rf-detail-group + .re-rf-detail-group {
	margin-top: 22px;
}

.re-rf-detail-group-title {
	margin: 0 0 12px;
	padding: 8px 0;
	border-radius: 6px;
	background: transparent;
	border-bottom: 1px solid #edf1f5;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #4b5563;
}

.re-rf-detail-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 22px;
}

.re-rf-history-records {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.re-rf-history-record {
	padding: 14px;
	border-radius: 12px;
	border: 1px solid #edf1f5;
	background: #fafbfc;
}

.re-rf-history-record-date span {
	display: block;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #6b7280;
}

.re-rf-history-record-date strong {
	display: block;
	margin-top: 4px;
	font-size: 1rem;
	font-weight: 900;
	color: #111827;
}

.re-rf-history-record-grid {
	margin-top: 12px;
	display: grid;
	gap: 10px;
}

.re-rf-history-record-metric span {
	display: block;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #6b7280;
}

.re-rf-history-record-metric strong {
	display: block;
	margin-top: 3px;
	font-size: 0.95rem;
	line-height: 1.35;
	color: #111827;
}

.re-rf-detail-row {
	padding: 10px 0;
	border-bottom: 1px solid #edf1f5;
}

.re-rf-detail-row p {
	margin: 0 0 4px;
	font-size: 0.76rem;
	font-weight: 700;
	color: #6b7280;
}

.re-rf-detail-row strong {
	display: block;
	font-size: 0.94rem;
	line-height: 1.45;
	color: #111827;
}

.re-rf-table {
	border-top: 1px solid #edf1f5;
}

.re-rf-table-row {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 16px;
	padding: 12px 8px;
	border-bottom: 1px solid #edf1f5;
	/* border-radius: 10px; */
	transition: background 160ms ease;
}

.re-rf-table-row:last-child {
	border: 0;
}

.re-rf-table-row:hover {
	background: #f8fafc;
}

.re-rf-table-label {
	font-size: 0.8rem;
	font-weight: 700;
	color: #6b7280;
}

.re-rf-table-value {
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.55;
	color: #111827;
}

.re-rf-school-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.re-rf-school-card {
	padding: 16px;
	border-radius: 12px;
	background: #fafbfc;
	border: 1px solid #edf1f5;
}

.re-rf-school-top {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.re-rf-school-rating {
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	font-size: 0.92rem;
	font-weight: 900;
	letter-spacing: -0.02em;
	border: 1px solid #e7ebf0;
	background: #fff;
	color: #0f172a;
}

.re-rf-school-rating.is-high {
	background: #ecfdf5;
	border-color: #a7f3d0;
	color: #065f46;
}

.re-rf-school-rating.is-mid {
	background: #fffbeb;
	border-color: #fde68a;
	color: #92400e;
}

.re-rf-school-rating.is-low {
	background: #fef2f2;
	border-color: #fecaca;
	color: #991b1b;
}

.re-rf-school-rating.is-na {
	background: #f6f8fa;
	border-color: #eceff3;
	color: #64748b;
}

.re-rf-school-heading {
	min-width: 0;
}

.re-rf-school-card h4 {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 800;
	color: #111827;
}

.re-rf-school-card p {
	margin: 8px 0 0;
	font-size: 0.87rem;
	line-height: 1.55;
	color: #475569;
}

.re-rf-school-sub {
	margin-top: 4px;
	font-size: 0.86rem;
	line-height: 1.45;
	color: #556274;
}

.re-rf-school-meta {
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid #edf1f5;
	display: grid;
	gap: 8px;
}

.re-rf-school-meta-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.re-rf-school-meta-row span {
	font-size: 0.77rem;
	font-weight: 700;
	color: #6b7280;
}

.re-rf-school-meta-row strong {
	font-size: 0.82rem;
	line-height: 1.4;
	text-align: right;
	color: #111827;
}

.re-rf-sidebar-card {
	background: #fff;
	border: 1px solid #e7ebf0;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.re-rf-sidebar-card h3 {
	font-size: 1.42rem;
	line-height: 1.12;
}

.re-rf-sidebar-card p {
	font-size: 0.9rem;
	margin-bottom: 20px;
	line-height: 1.65;
	color: #526171;
}

.re-rf-sidebar-card .re-estimate-btn--sidebar {
	width: 100%;
}

.re-rf-sidebar-card .re-detail-back-link {
	margin-top: 14px;
}

.re-rf-all-data-groups {
	display: grid;
	gap: 12px;
}

.re-rf-all-data-group {
	border: 1px solid #edf1f5;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
}

.re-rf-all-data-group summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	cursor: pointer;
	list-style: none;
	font-size: 0.9rem;
	font-weight: 800;
	color: #111827;
}

.re-rf-all-data-group summary::-webkit-details-marker {
	display: none;
}

.re-rf-all-data-group summary strong {
	font-size: 0.82rem;
	color: #64748b;
}

.re-rf-all-data-table {
	border-top: 1px solid #edf1f5;
}

.re-rf-all-data-row {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 16px;
	padding: 12px 16px;
	border-top: 1px solid #f3f4f6;
}

.re-rf-all-data-row:first-child {
	border-top: 0;
}

.re-rf-all-data-main p {
	margin: 0;
	font-size: 0.82rem;
	font-weight: 700;
	color: #374151;
}

.re-rf-all-data-main code {
	display: block;
	margin-top: 4px;
	font-size: 0.72rem;
	line-height: 1.45;
	color: #64748b;
	word-break: break-word;
}

.re-rf-all-data-value {
	font-size: 0.86rem;
	line-height: 1.6;
	color: #111827;
	word-break: break-word;
}

.re-modal[hidden] {
	display: none;
}

.re-modal {
	position: fixed;
	inset: 0;
	z-index: 100200;
}

.re-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 18, 39, 0.55);
}

.re-modal-dialog {
	position: relative;
	width: min(680px, calc(100% - 24px));
	margin: 6vh auto 0;
	background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
	border-radius: 18px;
	padding: 24px 24px 22px;
	border: 1px solid #dce8ff;
	box-shadow: 0 30px 70px rgba(0, 10, 34, 0.35);
}

.re-modal-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 42px;
	height: 42px;
	padding: 0;
	aspect-ratio: 1 / 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	line-height: 1;
	border-radius: 999px;
	border: 1px solid #ef9e9e;
	background: linear-gradient(180deg, #ff6d6d 0%, #ea4242 100%);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 8px 16px rgba(224, 65, 65, 0.34);
}

.re-modal-close:hover {
	transform: translateY(-1px);
	background: linear-gradient(180deg, #ff5a5a 0%, #db3434 100%);
}

.re-modal-property {
	margin: 4px 0 16px;
	font-size: 0.92rem;
	color: #4f5f7a;
	font-weight: 500;
}

.re-lead-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.re-lead-grid input {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid #c8d8f3;
	border-radius: 10px;
	font-size: 1rem;
	background: #fff;
}

.re-lead-grid input:focus {
	outline: none;
	border-color: #4c8dff;
	box-shadow: 0 0 0 3px rgba(76, 141, 255, 0.15);
}

.re-lead-form button {
	margin-top: 30px;
	width: 100%;
	padding: 14px 16px;
	border: 0;
	border-radius: 12px;
	background: linear-gradient(135deg, #0a56d2 0%, #2d82ff 100%);
	color: #fff;
	font-weight: 800;
	font-size: 1.13rem;
	letter-spacing: 0.01em;
	cursor: pointer;
	box-shadow: 0 14px 26px rgba(9, 78, 187, 0.3);
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.re-lead-form button:hover {
	transform: translateY(-1px);
	box-shadow: 0 18px 30px rgba(9, 78, 187, 0.35);
}

.re-estimate-status {
	margin-top: 20px;
	font-size: 0.92rem;
	font-weight: 600;
	color: #35507a;
}

.re-estimate-card {
	margin-top: 12px;
	padding: 16px;
	border-radius: 12px;
	background: linear-gradient(180deg, #f6fbff 0%, #eef5ff 100%);
	border: 1px solid #bcd2fb;
}

.re-estimate-price {
	margin: 0;
	font-size: 1.7rem;
	font-weight: 800;
	color: #0b3f99;
	margin-bottom: 10px!important;
}

.re-estimate-range,
.re-estimate-confidence,
.re-estimate-rationale {
	margin: 6px 0 0;
	font-size: 0.92rem;
	color: #35507a;
	margin-bottom: 10px!important;
}

.re-estimate-rationale {
	color: #2c4468;
	line-height: 1.55;
}

.single-entry .entry-content-wrap {
	background-color: transparent;
	padding: 0!important;
	box-shadow: none;
}

.re-detail-page-active .page-header,
.re-detail-page-active .page-title,
.re-detail-page-active .entry-hero,
.re-detail-page-active .entry-content-wrap > .entry-header,
.re-detail-page-active .entry-content-wrap > header,
.re-detail-page-active .entry-title {
	display: none !important;
}

.single-entry,
.single-entry .entry-content-wrap .single-content,
.single-entry .entry-content-wrap .re-detail-page {
	background-color: transparent;
}

.re-detail-page-active,
.re-detail-page-active .site,
.re-detail-page-active .site-content,
.re-detail-page-active .content-wrap,
.re-detail-page-active .content-area,
.re-detail-page-active .content-container {
	background-color: #f6f7f9;
}

.re-gallery-modal .re-modal-backdrop {
	background: rgba(255, 255, 255, 0.82);
	backdrop-filter: blur(2px);
}

.re-gallery-dialog {
	position: relative;
	width: 100vw;
	height: 100vh;
	margin: 0;
	padding: 18px 22px 16px;
	border-radius: 0;
	background: #fff;
	border: 0;
	box-shadow: none;
	color: #12233a;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
}

.re-gallery-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 4px 56px 14px 4px;
}

.re-gallery-title,
.re-gallery-count {
	margin: 0;
}

.re-gallery-title {
	font-size: 0.96rem;
	font-weight: 700;
	color: #10233d;
}

.re-gallery-count {
	font-size: 0.9rem;
	font-weight: 700;
	color: #5a6b82;
}

.re-gallery-stage {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) 64px;
	gap: 16px;
	align-items: center;
	min-height: 0;
}

.re-gallery-frame {
	height: 100%;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 0;
	overflow: hidden;
	background: #fff;
}

.re-gallery-image {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	background: #fff;
}

.re-gallery-nav {
	width: 64px;
	height: 64px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #f1f5fb;
	color: #11233b;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(7, 29, 62, 0.08);
	transition: background-color 160ms ease, transform 160ms ease;
}

.re-gallery-nav:hover {
	background: #e5edf8;
	transform: translateY(-1px);
}

.re-gallery-nav:disabled {
	opacity: 0.45;
	cursor: default;
	transform: none;
}

.re-gallery-thumbs {
	margin-top: 14px;
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: 8px;
	padding-bottom: 4px;
}

.re-gallery-thumb {
	flex: 0 0 92px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	overflow: hidden;
	background: #f2f5fa;
	cursor: pointer;
	opacity: 0.86;
	box-shadow: inset 0 0 0 2px transparent;
	transition: opacity 160ms ease, box-shadow 160ms ease;
}

.re-gallery-thumb:hover,
.re-gallery-thumb.is-active {
	opacity: 1;
	box-shadow: inset 0 0 0 2px #11233b;
}

.re-gallery-thumb img {
	display: block;
	width: 100%;
	height: 76px;
	object-fit: cover;
}

.re-gallery-modal-open {
	overflow: hidden;
}

.entry.single-entry {
	box-shadow: none;
}

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

	.re-detail-layout {
		grid-template-columns: 1fr;
	}

	.re-detail-hero-media {
		--re-hero-height: 420px;
		grid-template-columns: 1fr;
	}

	.re-detail-hero-primary,
	.re-detail-gallery-main,
	.re-detail-main-image {
		height: var(--re-hero-height);
	}

	.re-detail-hero-mosaic {
		height: auto;
	}

	.re-detail-hero-tile {
		aspect-ratio: 1.25 / 1;
	}

	.re-detail-sidebar {
		position: static;
		top: auto;
	}

	.re-detail-sidebar-card {
		position: static;
	}

	.re-summary-strip,
	.re-detail-facts-grid,
	.re-detail-school-grid {
		grid-template-columns: 1fr 1fr;
	}

	.re-rf-summary-card {
		grid-template-columns: 1fr;
	}

	.re-rf-summary-map {
		max-width: 340px;
		padding-left: 0;
	}

	.re-rf-primary-stats,
	.re-rf-inline-highlights {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.re-rf-metric-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.re-rf-school-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.re-rf-fact-grid--compact {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.re-detail-media {
		padding: 3px;
	}

	.re-detail-hero-media {
		--re-hero-gap: 6px;
		--re-hero-height: 300px;
	}

	.re-detail-hero-media,
	.re-detail-hero-mosaic {
		gap: var(--re-hero-gap);
	}

	.re-detail-hero-primary,
	.re-detail-gallery-main,
	.re-detail-main-image {
		height: var(--re-hero-height);
		border-radius: 10px;
	}

	.re-detail-hero-tile {
		aspect-ratio: 1.1 / 1;
		border-radius: 10px;
	}

	.re-detail-hero-badge {
		top: 12px;
		left: 12px;
		padding: 7px 12px;
		font-size: 0.72rem;
	}

	.re-detail-hero-label,
	.re-detail-hero-count {
		padding: 10px 14px;
		font-size: 0.84rem;
	}

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

	.re-gallery-dialog {
		width: 100vw;
		height: 100vh;
		padding: 14px;
	}

	.re-gallery-stage {
		grid-template-columns: 42px minmax(0, 1fr) 42px;
		gap: 8px;
	}

	.re-gallery-nav {
		width: 42px;
		height: 42px;
		font-size: 1.55rem;
	}

	.re-detail-panel,
	.re-detail-sidebar-card {
		padding: 18px 16px;
	}

	.re-summary-strip,
	.re-detail-stat-grid {
		grid-template-columns: 1fr 1fr;
	}

	.re-detail-facts-grid,
	.re-detail-school-grid {
		grid-template-columns: 1fr 1fr;
	}

	.re-rf-section-card,
	.re-rf-property-card,
	.re-rf-summary-card {
		padding: 18px 16px;
	}

	.re-rf-summary-topline {
		flex-direction: column;
		align-items: flex-start;
	}

	.re-rf-private-note {
		white-space: normal;
	}

	.re-rf-primary-stats {
		gap: 18px;
		flex-wrap: wrap;
	}

	.re-rf-metric-grid,
	.re-rf-fact-grid,
	.re-rf-detail-grid,
	.re-rf-school-list {
		grid-template-columns: 1fr 1fr;
	}

	.re-rf-history-records {
		grid-template-columns: 1fr 1fr;
	}

	.re-rf-table-row {
		grid-template-columns: 1fr;
		gap: 6px;
		padding: 12px 0;
	}

	.re-rf-all-data-row {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.re-rf-map--wide iframe {
		aspect-ratio: 16 / 9;
	}
}

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

	.re-detail-hero-primary,
	.re-detail-gallery-main,
	.re-detail-main-image {
		height: 236px;
	}

	.re-detail-hero-mosaic {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: repeat(3, minmax(0, 1fr));
	}

	.re-detail-hero-tile {
		aspect-ratio: 1.05 / 1;
	}

	.re-gallery-topbar {
		padding-right: 42px;
	}

	.re-gallery-thumbs {
		gap: 6px;
	}

	.re-gallery-thumb {
		flex-basis: 72px;
	}

	.re-gallery-thumb img {
		height: 58px;
	}

	.re-summary-strip,
	.re-detail-stat-grid,
	.re-detail-facts-grid,
	.re-detail-school-grid {
		grid-template-columns: 1fr;
	}

	.re-rf-metric-grid,
	.re-rf-fact-grid,
	.re-rf-detail-grid,
	.re-rf-history-records,
	.re-rf-school-list,
	.re-rf-fact-grid--compact {
		grid-template-columns: 1fr;
	}

	.re-rf-primary-stats,
	.re-rf-inline-highlights {
		grid-template-columns: 1fr;
	}

	.re-rf-primary-stats {
		display: grid;
		gap: 14px;
	}

	.re-rf-primary-stat {
		padding-bottom: 10px;
		border-bottom: 1px solid #edf1f5;
	}

	.re-rf-primary-stat:last-child {
		padding-bottom: 0;
		border-bottom: 0;
	}

	.re-rf-summary-map {
		max-width: none;
	}

	.re-detail-stat-grid {
		gap: 6px;
	}

	.re-detail-body {
		padding: 14px 12px 10px;
	}

	.re-estimate-float {
		display: block;
		position: fixed;
		left: 50%;
		bottom: 12px;
		transform: translateX(-50%);
		width: min(420px, calc(100% - 24px));
		padding: 13px 16px;
		border: 0;
		border-radius: 10px;
		background: linear-gradient(135deg, #0a56d2 0%, #2d82ff 100%);
		color: #fff;
		font-size: 1rem;
		font-weight: 800;
		letter-spacing: 0.01em;
		cursor: pointer;
		box-shadow: 0 14px 28px rgba(9, 78, 187, 0.35);
		z-index: 9998;
	}

	.re-modal-dialog {
		padding: 18px 16px 16px;
	}

	.re-lead-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
}
