/*
 * Theme Name: Real Estate
 * Theme URI: https://madhavatechnology.com/
 * Description: Madhava Theme to use with real estate website.
 * Author: Madhava Technology
 * Author URI: https://madhavatechnology.com/
 * Version: 1.0.0
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: realestate
 * Tags: one-column, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks
*/

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
	--re-bg: #f4f2eb;
	--re-surface: #ffffff;
	--re-surface-soft: #fbfaf6;
	--re-border: #d8d0c1;
	--re-ink: #152432;
	--re-ink-soft: #5f6f7e;
	--re-brand: #153e39;
	--re-brand-strong: #0f2b28;
	--re-accent: #b5884a;
	--re-accent-strong: #936c3a;
	--re-danger: #aa3e2f;
	--re-success: #1f6a50;
	--re-radius-sm: 12px;
	--re-radius-md: 18px;
	--re-radius-lg: 28px;
	--re-shadow-sm: 0 8px 24px rgba(21, 36, 50, 0.08);
	--re-shadow-md: 0 18px 45px rgba(21, 36, 50, 0.14);
	--re-shadow-lg: 0 35px 80px rgba(15, 25, 35, 0.16);
	--re-container: 1180px;
	--re-transition: 220ms ease;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--re-ink);
	background:
		radial-gradient(circle at 12% 8%, rgba(181, 136, 74, 0.15), transparent 38%),
		radial-gradient(circle at 88% 12%, rgba(21, 62, 57, 0.12), transparent 42%),
		var(--re-bg);
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover,
a:focus-visible {
	color: var(--re-brand);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-family: 'Fraunces', 'Times New Roman', serif;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

p {
	margin: 0;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

main {
	min-height: 58vh;
}

@keyframes reFadeUp {
	from {
		opacity: 0;
		transform: translateY(16px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.re-container {
	width: min(var(--re-container), calc(100% - 3rem));
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.skip-link {
	position: fixed;
	top: 1rem;
	left: 1rem;
	padding: 0.65rem 1rem;
	background: var(--re-brand-strong);
	color: #fff;
	border-radius: 8px;
	z-index: 100;
	transform: translateY(-180%);
	transition: transform var(--re-transition);
}

.skip-link:focus {
	transform: translateY(0);
}

.re-header {
	position: sticky;
	top: 0;
	z-index: 30;
	border-bottom: 1px solid rgba(21, 36, 50, 0.1);
	background: rgba(244, 242, 235, 0.78);
	backdrop-filter: blur(10px);
}

.re-header-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1.2rem;
	padding: 0.05rem 0;
}

.re-brand {
	display: inline-flex;
	align-items: center;
	font-family: 'Fraunces', serif;
	font-size: 1.05rem;
	letter-spacing: -0.01em;
	color: var(--re-ink);
}

.re-brand-logo {
	line-height: 0;
}

.re-brand .custom-logo {
	height: 48px;
	width: auto;
}

.re-brand .custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.re-brand-text {
	position: relative;
	padding-left: 0.9rem;
}

.re-brand-text::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 0.5rem;
	height: 0.5rem;
	transform: translateY(-50%);
	background: var(--re-accent);
	border-radius: 50%;
}

.re-nav-toggle {
	display: none;
}

.re-nav-trigger {
	display: none;
}

.re-nav {
	justify-self: center;
}

.re-menu-list {
	display: flex;
	align-items: center;
	gap: 0.3rem;
	list-style: none;
}

.re-menu-item {
	position: relative;
}

.re-menu-item>a {
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.65rem;
	border-radius: 999px;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--re-ink-soft);
	transition: background var(--re-transition), color var(--re-transition);
}

.re-menu-item>a:hover,
.re-menu-item>a:focus-visible,
.re-menu-item.is-active>a {
	background: rgba(21, 62, 57, 0.1);
	color: var(--re-brand);
}

.re-menu-item .re-menu-list {
	display: none;
	position: absolute;
	top: calc(100% + 0.45rem);
	left: 0;
	min-width: 200px;
	padding: 0.55rem;
	border-radius: 12px;
	background: #fff;
	border: 1px solid rgba(21, 36, 50, 0.12);
	box-shadow: var(--re-shadow-md);
}

.re-menu-item:hover>.re-menu-list,
.re-menu-item:focus-within>.re-menu-list {
	display: block;
}

.re-menu-item .re-menu-list .re-menu-item>a {
	width: 100%;
	border-radius: 8px;
}

.re-header-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.82rem;
	background: linear-gradient(140deg, var(--re-accent), #c8a46b);
	color: #fff;
	box-shadow: 0 10px 18px rgba(149, 109, 56, 0.2);
	transition: transform var(--re-transition), box-shadow var(--re-transition);
}

.re-header-cta:hover,
.re-header-cta:focus-visible {
	transform: translateY(-2px);
	color: #fff;
	box-shadow: 0 16px 30px rgba(149, 109, 56, 0.32);
}

.re-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.8rem 1.35rem;
	border-radius: 999px;
	border: 1px solid transparent;
	font-weight: 700;
	font-size: 0.92rem;
	cursor: pointer;
	transition: transform var(--re-transition), box-shadow var(--re-transition), background var(--re-transition), color var(--re-transition), border-color var(--re-transition);
}

.re-btn:hover,
.re-btn:focus-visible {
	transform: translateY(-2px);
}

.re-btn-primary {
	background: linear-gradient(140deg, var(--re-brand), var(--re-brand-strong));
	color: #fff;
	box-shadow: 0 12px 24px rgba(15, 43, 40, 0.25);
}

.re-btn-primary:hover,
.re-btn-primary:focus-visible {
	color: #fff;
	box-shadow: 0 16px 30px rgba(15, 43, 40, 0.32);
}

.re-btn-ghost {
	background: transparent;
	border-color: rgba(21, 36, 50, 0.28);
	color: var(--re-ink);
}

.re-btn-ghost:hover,
.re-btn-ghost:focus-visible {
	background: #fff;
	border-color: rgba(21, 36, 50, 0.45);
	color: var(--re-ink);
}

.re-inline-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--re-brand);
}

.re-inline-link::after {
	content: '->';
	font-size: 0.8em;
}

.re-hero {
	position: relative;
	padding: 4rem 0 2.4rem;
	animation: reFadeUp 520ms ease both;
	overflow: hidden;
}

.re-hero-slider {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.re-hero-slider::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(244, 242, 235, 0.96) 0%, rgba(244, 242, 235, 0.8) 50%, rgba(244, 242, 235, 0.2) 100%);
	z-index: 2;
}

.re-hero-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 1.5s ease-in-out, transform 8s linear;
	transform: scale(1.05);
	z-index: 1;
}

.re-hero-slide.active {
	opacity: 1;
	transform: scale(1);
}

.re-hero-grid {
	position: relative;
	z-index: 5;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.84fr);
	gap: 2rem;
}

.re-hero-content {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}

.re-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.77rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--re-brand);
}

.re-eyebrow::before {
	content: '';
	width: 0.85rem;
	height: 0.85rem;
	border-radius: 50%;
	background: linear-gradient(140deg, var(--re-accent), var(--re-accent-strong));
}

.re-hero h1 {
	font-size: clamp(2.15rem, 4vw, 3.45rem);
	max-width: 18ch;
}

.re-hero-content>p {
	max-width: 62ch;
	color: var(--re-ink-soft);
}

.re-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
}

.re-quick-search {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
	gap: 0.75rem;
	padding: 0.95rem;
	margin-top: 0.4rem;
	border-radius: var(--re-radius-md);
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(21, 36, 50, 0.12);
	box-shadow: var(--re-shadow-sm);
}

.re-field-group {
	display: flex;
	flex-direction: column;
	gap: 0.38rem;
}

.re-field-group label {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--re-ink-soft);
}

.re-field-group input,
.re-field-group select,
.re-field-group textarea {
	width: 100%;
	padding: 0.75rem 0.86rem;
	border-radius: 10px;
	border: 1px solid rgba(21, 36, 50, 0.22);
	background: #fff;
	font: inherit;
	color: var(--re-ink);
	transition: border-color var(--re-transition), box-shadow var(--re-transition);
}

.re-field-group textarea {
	resize: vertical;
	min-height: 140px;
}

.re-field-group input:focus,
.re-field-group select:focus,
.re-field-group textarea:focus {
	outline: none;
	border-color: var(--re-brand);
	box-shadow: 0 0 0 3px rgba(21, 62, 57, 0.14);
}

.re-hero-panel {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
	padding: 1.4rem;
	border-radius: var(--re-radius-lg);
	background: linear-gradient(165deg, #112933, #1d4450 58%, #285860 100%);
	color: #f4f7fa;
	box-shadow: var(--re-shadow-lg);
}

.re-panel-title {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.88;
}

.re-stat-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
	list-style: none;
}

.re-stat-grid li {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	padding: 0.82rem;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.re-stat-grid strong {
	font-family: 'Fraunces', serif;
	font-size: 1.5rem;
	letter-spacing: -0.02em;
}

.re-stat-grid span {
	font-size: 0.76rem;
	line-height: 1.4;
	opacity: 0.9;
}

.re-neighborhoods ul {
	list-style: none;
	display: grid;
	gap: 0.56rem;
}

.re-neighborhoods li {
	display: flex;
	justify-content: space-between;
	gap: 0.7rem;
	padding-bottom: 0.55rem;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
	font-size: 0.88rem;
}

.re-neighborhoods em {
	font-style: normal;
	font-weight: 700;
	font-size: 0.82rem;
	opacity: 0.92;
}

.re-page-hero {
	padding: 3.2rem 0 1.4rem;
	animation: reFadeUp 480ms ease both;
}

.re-page-hero-single {
	padding-bottom: 1rem;
}

.re-page-hero-inner {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.re-page-hero-inner h1 {
	font-size: clamp(2rem, 3.3vw, 3rem);
	max-width: 18ch;
}

.re-page-hero-inner>p {
	max-width: 64ch;
	color: var(--re-ink-soft);
}

.re-section {
	padding: 2.1rem 0;
	animation: reFadeUp 620ms ease both;
}

.re-section-compact {
	padding: 1.2rem 0 2.3rem;
}

.re-section-surface {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.54));
	border-top: 1px solid rgba(21, 36, 50, 0.08);
	border-bottom: 1px solid rgba(21, 36, 50, 0.08);
}

.re-section-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.re-section-head h2 {
	font-size: clamp(1.55rem, 2.2vw, 2rem);
}

.re-property-grid,
.re-blog-grid,
.re-value-grid {
	display: grid;
	gap: 1.2rem;
}

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

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

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

.re-property-card,
.re-blog-card,
.re-value-card,
.re-contact-card {
	background: var(--re-surface);
	border: 1px solid rgba(21, 36, 50, 0.11);
	border-radius: var(--re-radius-md);
	box-shadow: var(--re-shadow-sm);
}

.re-property-card,
.re-blog-card,
.re-value-card {
	animation: reFadeUp 640ms ease both;
}

.re-property-card,
.re-blog-card {
	overflow: hidden;
	transition: transform var(--re-transition), box-shadow var(--re-transition), border-color var(--re-transition);
}

.re-property-card:hover,
.re-blog-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--re-shadow-md);
	border-color: rgba(21, 62, 57, 0.24);
}

.re-property-card:nth-child(2),
.re-blog-card:nth-child(2),
.re-value-card:nth-child(2) {
	animation-delay: 80ms;
}

.re-property-card:nth-child(3),
.re-blog-card:nth-child(3),
.re-value-card:nth-child(3) {
	animation-delay: 140ms;
}

.re-property-media,
.re-blog-media {
	position: relative;
	display: block;
	aspect-ratio: 1.36;
	background: linear-gradient(145deg, #dde2e7, #bcc9d6);
}

.re-property-media img,
.re-blog-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.re-property-image--placeholder,
.re-blog-placeholder,
.re-featured-placeholder {
	width: 100%;
	height: 100%;
	background:
		linear-gradient(120deg, rgba(21, 62, 57, 0.35), rgba(181, 136, 74, 0.35)),
		linear-gradient(140deg, #c7d0da, #aebac8);
}

.re-property-badge {
	position: absolute;
	top: 0.8rem;
	left: 0.8rem;
	display: inline-flex;
	padding: 0.34rem 0.62rem;
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(15, 43, 40, 0.82);
	border: 1px solid rgba(255, 255, 255, 0.24);
}

.re-property-body,
.re-blog-body {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding: 1rem;
}

.re-property-topline {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 0.75rem;
}

.re-property-topline h3,
.re-blog-body h3 {
	font-size: 1.2rem;
}

.re-property-topline h3 a:hover,
.re-blog-body h3 a:hover {
	color: var(--re-brand);
}

.re-property-price {
	font-family: 'Fraunces', serif;
	font-size: 1.18rem;
	font-weight: 700;
	color: var(--re-brand);
	white-space: nowrap;
}

.re-property-location {
	font-size: 0.88rem;
	color: var(--re-ink-soft);
}

.re-property-metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.55rem;
	list-style: none;
	margin-top: 0.35rem;
}

.re-property-metrics li {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.05rem;
	padding: 0.52rem 0.42rem;
	border-radius: 10px;
	background: var(--re-surface-soft);
	border: 1px solid rgba(21, 36, 50, 0.08);
}

.re-property-metrics strong {
	font-size: 0.96rem;
	font-weight: 800;
	color: var(--re-brand-strong);
}

.re-property-metrics span {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--re-ink-soft);
}

.re-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--re-ink-soft);
}

.re-post-meta span::before {
	content: '/';
	margin-right: 0.45rem;
}

.re-value-card {
	padding: 1.2rem;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.re-value-card h3 {
	font-size: 1.2rem;
}

.re-value-card p {
	color: var(--re-ink-soft);
}

.re-featured-post {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 1.25rem;
	margin-bottom: 1.25rem;
	padding: 1.1rem;
	border-radius: var(--re-radius-md);
	border: 1px solid rgba(21, 36, 50, 0.11);
	background: var(--re-surface);
	box-shadow: var(--re-shadow-sm);
}

.re-featured-media {
	display: block;
	aspect-ratio: 1.35;
	overflow: hidden;
	border-radius: 12px;
	background: #dbe0e6;
}

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

.re-featured-content {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.re-featured-content h2 {
	font-size: clamp(1.55rem, 2.1vw, 2.05rem);
}

.re-tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-bottom: 1.1rem;
}

.re-tag-list a {
	display: inline-flex;
	padding: 0.44rem 0.76rem;
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--re-brand);
	background: rgba(21, 62, 57, 0.08);
	border: 1px solid rgba(21, 62, 57, 0.16);
}

.re-tag-list a:hover,
.re-tag-list a:focus-visible {
	background: rgba(21, 62, 57, 0.15);
}

.re-filter-form {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.75rem;
	margin-bottom: 1.35rem;
	padding: 1rem;
	background: var(--re-surface);
	border: 1px solid rgba(21, 36, 50, 0.12);
	border-radius: var(--re-radius-md);
	box-shadow: var(--re-shadow-sm);
}

.re-filter-form .re-btn {
	align-self: end;
}

.re-contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
	gap: 1.25rem;
}

.re-contact-sidebar {
	display: grid;
	gap: 1rem;
}

.re-contact-card {
	padding: 1.1rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.re-contact-card h2 {
	font-size: 1.4rem;
}

.re-contact-card ul {
	display: grid;
	gap: 0.6rem;
	list-style: none;
}

.re-contact-card li {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	padding-bottom: 0.55rem;
	border-bottom: 1px dashed rgba(21, 36, 50, 0.2);
}

.re-contact-card strong {
	font-size: 0.76rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--re-ink-soft);
}

.re-contact-card a:hover {
	color: var(--re-brand);
}

.re-contact-form-wrap {
	padding: 1.1rem;
	border-radius: var(--re-radius-md);
	background: var(--re-surface);
	border: 1px solid rgba(21, 36, 50, 0.12);
	box-shadow: var(--re-shadow-sm);
}

.re-contact-form {
	display: flex;
	flex-direction: column;
	gap: 0.95rem;
}

.re-field-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.re-alert {
	padding: 0.72rem 0.88rem;
	margin-bottom: 0.9rem;
	border-radius: 10px;
	font-size: 0.88rem;
	font-weight: 600;
}

.re-alert-success {
	background: rgba(31, 106, 80, 0.13);
	border: 1px solid rgba(31, 106, 80, 0.3);
	color: var(--re-success);
}

.re-alert-error {
	background: rgba(170, 62, 47, 0.12);
	border: 1px solid rgba(170, 62, 47, 0.26);
	color: var(--re-danger);
}

.re-content-block {
	padding: 1.4rem;
	background: var(--re-surface);
	border-radius: var(--re-radius-md);
	border: 1px solid rgba(21, 36, 50, 0.12);
	box-shadow: var(--re-shadow-sm);
}

.re-single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(290px, 0.34fr);
	gap: 1.25rem;
}

.re-single-main {
	padding: 1rem;
	border-radius: var(--re-radius-md);
	background: var(--re-surface);
	border: 1px solid rgba(21, 36, 50, 0.12);
	box-shadow: var(--re-shadow-sm);
}

.re-single-media {
	overflow: hidden;
	border-radius: 12px;
	margin-bottom: 1rem;
	background: #dde3ea;
}

.re-single-media img {
	width: 100%;
	height: auto;
}

.re-single-copy {
	display: flex;
	flex-direction: column;
	gap: 0.95rem;
}

.re-single-price {
	font-family: 'Fraunces', serif;
	font-size: clamp(1.65rem, 2.8vw, 2.3rem);
	color: var(--re-brand);
}

.re-rich-content {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	color: #1f2f3f;
}

.re-rich-content h2,
.re-rich-content h3,
.re-rich-content h4 {
	margin-top: 0.4rem;
}

.re-rich-content p,
.re-rich-content ul,
.re-rich-content ol,
.re-rich-content blockquote {
	margin-bottom: 0.95rem;
}

.re-rich-content ul,
.re-rich-content ol {
	padding-left: 1.2rem;
}

.re-rich-content blockquote {
	padding: 0.8rem 1rem;
	background: #f8f5ee;
	border-left: 4px solid var(--re-accent);
	border-radius: 8px;
}

.re-single-aside {
	position: sticky;
	top: 92px;
	height: fit-content;
}

.re-empty-state {
	padding: 1.35rem;
	border-radius: 12px;
	border: 1px dashed rgba(21, 36, 50, 0.24);
	background: rgba(255, 255, 255, 0.65);
	color: var(--re-ink-soft);
}

.re-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-top: 1.4rem;
}

.re-page-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.2rem;
	padding: 0.5rem 0.78rem;
	border-radius: 999px;
	font-size: 0.84rem;
	font-weight: 700;
	border: 1px solid rgba(21, 36, 50, 0.22);
	background: #fff;
	color: var(--re-ink-soft);
}

.re-page-link:hover,
.re-page-link:focus-visible,
.re-page-link.current,
.re-page-link.is-active {
	color: var(--re-brand);
	border-color: rgba(21, 62, 57, 0.4);
	background: rgba(21, 62, 57, 0.1);
}

.re-page-link.is-disabled {
	opacity: 0.5;
	pointer-events: none;
}

.re-footer {
	margin-top: 5rem;
	padding: 5rem 0 2rem;
	background: linear-gradient(165deg, #0d2530, #143540 65%, #19434d 100%);
	color: #e9f1f4;
	position: relative;
}

.re-footer-top {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 3.5rem;
	margin-bottom: 4rem;
}

.re-footer-title {
	font-family: 'Fraunces', serif;
	font-size: 1.85rem;
	font-weight: 500;
	margin-bottom: 1.2rem;
	color: #fff;
	letter-spacing: -0.02em;
}

.re-footer-desc {
	font-size: 0.95rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.75);
	margin-bottom: 1.8rem;
	max-width: 42ch;
}

.re-footer-social {
	display: flex;
	gap: 0.8rem;
}

.re-footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 700;
	transition: background var(--re-transition), transform var(--re-transition);
}

.re-footer-social a:hover {
	background: var(--re-accent);
	transform: translateY(-3px);
}

.re-footer-col-title {
	font-size: 0.88rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #fff;
	margin-bottom: 1.4rem;
}

.re-footer-links-col {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.re-footer-links-col a {
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.7);
	transition: color var(--re-transition);
	width: fit-content;
}

.re-footer-links-col a:hover {
	color: var(--re-accent);
}

.re-footer-contact-col {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.re-footer-text {
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.5;
}

.re-footer-text strong {
	color: #fff;
	font-weight: 600;
	margin-right: 0.3rem;
}

.re-footer-bottom {
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.re-footer-meta {
	display: flex;
	width: 100%;
	justify-content: space-between;
	align-items: center;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.55);
}

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

	.re-footer-meta {
		flex-direction: column;
		gap: 0.8rem;
		text-align: center;
	}
}

@media (max-width: 600px) {
	.re-footer-top {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

@media (max-width: 1140px) {

	.re-property-grid,
	.re-blog-grid,
	.re-value-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.re-filter-form .re-btn {
		grid-column: span 3;
	}
}

@media (max-width: 920px) {
	.re-header-inner {
		grid-template-columns: auto auto;
		grid-template-areas:
			'brand actions'
			'nav nav';
		gap: 0.9rem;
	}

	.re-brand {
		grid-area: brand;
	}

	.re-header-cta {
		grid-area: actions;
		justify-self: end;
	}

	.re-nav {
		grid-area: nav;
	}

	.re-menu-list {
		flex-wrap: wrap;
		justify-content: center;
	}

	.re-menu-item .re-menu-list {
		position: static;
		display: none;
		margin-top: 0.35rem;
		box-shadow: none;
	}

	.re-menu-item:hover>.re-menu-list,
	.re-menu-item:focus-within>.re-menu-list {
		display: block;
	}

	.re-hero-grid,
	.re-contact-layout,
	.re-single-layout,
	.re-featured-post {
		grid-template-columns: 1fr;
	}

	.re-single-aside {
		position: static;
	}

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

	.re-footer-meta {
		text-align: left;
	}
}

@media (max-width: 760px) {
	.re-container {
		width: min(var(--re-container), calc(100% - 1.4rem));
	}

	.re-header-inner {
		grid-template-columns: auto auto;
		grid-template-areas:
			'brand toggle'
			'nav nav'
			'actions actions';
	}

	.re-nav-toggle {
		display: inline-block;
		position: absolute;
		opacity: 0;
		pointer-events: none;
	}

	.re-nav-trigger {
		grid-area: toggle;
		display: inline-flex;
		justify-self: end;
		align-items: center;
		padding: 0.52rem 0.82rem;
		border: 1px solid rgba(21, 36, 50, 0.24);
		border-radius: 999px;
		font-size: 0.78rem;
		font-weight: 700;
		color: var(--re-ink);
		cursor: pointer;
		background: rgba(255, 255, 255, 0.78);
	}

	.re-nav {
		display: none;
		position: absolute;
		top: calc(100% - 0.5rem);
		right: 0;
		width: 240px;
		padding: 0.8rem;
		border: 1px solid rgba(21, 36, 50, 0.08);
		border-radius: 16px;
		background: #ffffff;
		box-shadow: 0 16px 40px rgba(13, 37, 48, 0.12);
		z-index: 100;
		animation: reFadeUp 250ms ease both;
	}

	.re-nav-toggle:checked~.re-nav {
		display: block;
	}

	.re-menu-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0.2rem;
	}

	.re-menu-item>a {
		width: 100%;
		justify-content: flex-start;
		padding: 0.8rem 1rem;
		font-size: 1rem;
		border-radius: 8px;
	}

	.re-header-cta {
		grid-area: actions;
		justify-self: stretch;
	}

	.re-header-inner {
		position: relative;
	}

	.re-quick-search {
		grid-template-columns: 1fr;
	}

	.re-property-grid,
	.re-blog-grid,
	.re-value-grid,
	.re-stat-grid,
	.re-filter-form {
		grid-template-columns: 1fr;
	}

	.re-filter-form .re-btn {
		grid-column: auto;
	}

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

@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}