/* =====================================================================
   CENTURY 21 Samui 2026
   Built on the CENTURY 21 digital brand palette (branding.century21.com).
   Loaded only by the "CENTURY 21 Samui" child theme.
   ===================================================================== */

/* Brand font from the CENTURY 21 kit. Only Regular and Medium exist, so
   bold text uses Medium instead of a synthesised bold. Thai characters
   fall back to Athiti (SIL Open Font License). */
@font-face { font-family: "Oakes Grotesk"; src: url("fonts/oakes-regular.woff") format("woff"); font-weight: 100 449; font-style: normal; font-display: swap; }
@font-face { font-family: "Oakes Grotesk"; src: url("fonts/oakes-medium.woff") format("woff"); font-weight: 450 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Athiti"; src: url("fonts/athiti-thai-regular.woff") format("woff"); font-weight: 100 449; unicode-range: U+0E00-0E7F; font-display: swap; }
@font-face { font-family: "Athiti"; src: url("fonts/athiti-thai-medium.woff") format("woff"); font-weight: 450 900; unicode-range: U+0E00-0E7F; font-display: swap; }

:root {
	--c21-grey: #252526;        /* Obsessed Grey: dark grounds */
	--c21-black: #121212;       /* Digital Black: text on light */
	--c21-gold: #BEAF87;        /* Relentless Gold: accent, buttons */
	--c21-gold-dark: #746649;   /* Digital Dark Gold: alt text on light */
	--c21-gold-tint: #DED7C3;   /* callouts only */
	--c21-gold-light: #F8F7F2;  /* section ground */
	--c21-grey-light: #F4F4F6;  /* section ground */
	--c21-grey-tint: #C4C4C5;   /* rules */
	--c21-grey-mid: #727273;    /* Digital Medium Grey */
	--c21-white: #FFFFFF;
	--c21-link: #517394;
	--c21-link-hover: #28394A;
	--c21-link-dark: #6E8FAF;
	--c21-red: #8D312E;

	--c21-font: "Oakes Grotesk", "Athiti", system-ui, -apple-system, "Segoe UI", sans-serif;
	--c21-max: 78rem;
	--c21-pad: clamp(1rem, 4vw, 2.5rem);
	--c21-header-h: 4.5rem;
}

/* ---------------------------------------------------------------------
   Typography, one family across Houzez and Elementor content
   --------------------------------------------------------------------- */
body.c21-2026 {
	font-family: var(--c21-font);
	color: var(--c21-black);
	letter-spacing: .01em;
	-webkit-font-smoothing: antialiased;
}
body.c21-2026 :is(h1, h2, h3, h4, h5, h6, p, li, a, span, label, button, input, select, textarea, td, th, dt, dd, address, blockquote, figcaption, strong, em, small, div):not([class*="icon"]):not([class*="fa-"]):not(.fa):not(.fas):not(.far):not(.fab):not(.dashicons) {
	font-family: var(--c21-font) !important;
}
body.c21-2026 :is(h1, h2, h3) { font-weight: 500; letter-spacing: .01em; text-wrap: balance; }
body.c21-2026 h1 { font-weight: 700; }
body.c21-2026 :is(input, select, textarea) { font-size: 1rem; } /* no iOS zoom on focus */

/* Content links in brand blue */
body.c21-2026 :is(.page-content, .article-content, .block-content-wrap, .property-description-wrap, .entry-content) a:not(.btn):not(.c21-btn) {
	color: var(--c21-link);
	text-underline-offset: 3px;
}
body.c21-2026 :is(.page-content, .article-content, .block-content-wrap, .property-description-wrap, .entry-content) a:not(.btn):not(.c21-btn):hover {
	color: var(--c21-link-hover);
}

/* Houzez buttons in brand colours */
body.c21-2026 .btn-primary,
body.c21-2026 .btn-primary:not(:disabled):not(.disabled) {
	background-color: var(--c21-gold);
	border-color: var(--c21-gold);
	color: var(--c21-black);
	border-radius: 0;
	font-weight: 500;
}
body.c21-2026 .btn-primary:hover,
body.c21-2026 .btn-primary:focus {
	background-color: var(--c21-gold-tint);
	border-color: var(--c21-gold-tint);
	color: var(--c21-black);
}
body.c21-2026 .btn-secondary {
	background-color: var(--c21-grey);
	border-color: var(--c21-grey);
	color: var(--c21-white);
	border-radius: 0;
}
body.c21-2026 .btn-secondary:hover { background-color: var(--c21-black); border-color: var(--c21-black); }

body.c21-2026 :focus-visible { outline: 2px solid var(--c21-link); outline-offset: 2px; }

/* ---------------------------------------------------------------------
   Shared pieces
   --------------------------------------------------------------------- */
.c21-wrap {
	max-width: var(--c21-max);
	margin: 0 auto;
	padding-left: var(--c21-pad);
	padding-right: var(--c21-pad);
}
.c21-ico { display: inline-block; width: 1em; height: 1em; flex: 0 0 auto; vertical-align: -0.125em; }

.c21-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-height: 3rem;
	padding: .75rem 1.5rem;
	border: 1px solid transparent;
	border-radius: 0;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: .02em;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.c21-btn--caps { text-transform: uppercase; letter-spacing: .1em; font-size: .875rem; }
.c21-btn--gold { background: var(--c21-gold); color: var(--c21-black) !important; }
.c21-btn--gold:hover { background: var(--c21-gold-tint); color: var(--c21-black) !important; }
.c21-btn--dark { background: var(--c21-grey); color: var(--c21-white) !important; }
.c21-btn--dark:hover { background: var(--c21-black); }
.c21-btn--line { border-color: var(--c21-black); color: var(--c21-black) !important; background: transparent; }
.c21-btn--line:hover { background: var(--c21-black); color: var(--c21-white) !important; }
.c21-btn--line-light { border-color: var(--c21-white); color: var(--c21-white) !important; background: transparent; }
.c21-btn--line-light:hover { background: var(--c21-white); color: var(--c21-black) !important; }

.c21-seg { display: flex; gap: .15rem; align-items: center; }
.c21-seg a,
.c21-seg button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: .2rem .45rem;
	border: 0;
	background: none;
	color: var(--c21-grey-tint);
	font-size: .8125rem;
	letter-spacing: .04em;
	text-decoration: none;
	line-height: 1.4;
}
.c21-seg a:hover,
.c21-seg button:hover { color: var(--c21-white); }
.c21-seg [aria-current="true"],
.c21-seg [aria-pressed="true"] { background: var(--c21-gold); color: var(--c21-black); }

/* ---------------------------------------------------------------------
   Top bar
   --------------------------------------------------------------------- */
.c21-topbar {
	background: var(--c21-black);
	color: var(--c21-grey-tint);
	font-size: .8125rem;
	position: relative;
	z-index: 1001;
}
.c21-topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2.25rem; }
.c21-topbar__contact { display: flex; gap: 1.5rem; }
.c21-topbar a { color: var(--c21-grey-tint); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.c21-topbar a:hover { color: var(--c21-white); }
.c21-topbar__prefs { display: flex; gap: 1.25rem; align-items: center; }

/* Houzez currency switcher, restyled in place so its script keeps working */
.c21-currency .currency-switcher-wrap { position: relative; }
.c21-currency .currency-switcher-wrap > .btn {
	background: none;
	border: 0;
	padding: .2rem .45rem;
	color: var(--c21-black);
	background: var(--c21-gold);
	font-size: .8125rem;
	letter-spacing: .04em;
	border-radius: 0;
	box-shadow: none;
	line-height: 1.4;
}
.c21-currency .currency-switcher-wrap > .btn::after { border-top-color: currentColor; margin-left: .35rem; }
.c21-currency .dropdown-menu {
	min-width: 6rem;
	padding: .25rem 0;
	margin-top: .25rem;
	border: 1px solid #333;
	border-radius: 0;
	background: var(--c21-grey);
	right: 0;
	left: auto;
}
.c21-currency .dropdown-menu li {
	padding: .45rem .9rem;
	color: var(--c21-white);
	font-size: .875rem;
	cursor: pointer;
	letter-spacing: .04em;
}
.c21-currency .dropdown-menu li:hover { background: var(--c21-gold); color: var(--c21-black); }

/* ---------------------------------------------------------------------
   Main header
   --------------------------------------------------------------------- */
.c21-header {
	background: var(--c21-grey);
	position: sticky;
	top: 0;
	z-index: 1000;
}
body.admin-bar .c21-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .c21-header { top: 0; } }

.c21-header__in { display: flex; align-items: center; gap: 2rem; min-height: var(--c21-header-h); }
.c21-logo { display: block; flex: 0 0 auto; line-height: 0; }
.c21-header .c21-logo img { width: 13.5rem; height: auto; }

.c21-nav { margin-left: auto; }
.c21-menu,
.c21-menu ul { list-style: none; margin: 0; padding: 0; }
.c21-menu { display: flex; gap: 1.75rem; align-items: center; }
.c21-menu > li { position: relative; }
.c21-menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	color: var(--c21-white);
	text-decoration: none;
	font-size: 1rem;
	padding: .55rem 0;
	border-bottom: 2px solid transparent;
	white-space: nowrap;
}
.c21-menu > li > a:hover,
.c21-menu > li.current-menu-item > a,
.c21-menu > li.current-menu-ancestor > a { border-bottom-color: var(--c21-gold); color: var(--c21-white); }
.c21-menu > li.menu-item-has-children > a::after {
	content: "";
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}
.c21-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: -1rem;
	min-width: 15rem;
	padding: .5rem 0;
	background: var(--c21-white);
	border: 1px solid var(--c21-grey-tint);
	box-shadow: 0 12px 30px rgba(18, 18, 18, .14);
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity .15s, transform .15s, visibility .15s;
}
.c21-menu > li:hover > .sub-menu,
.c21-menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.c21-menu .sub-menu a {
	display: block;
	padding: .6rem 1rem;
	color: var(--c21-black);
	text-decoration: none;
	font-size: .9375rem;
}
.c21-menu .sub-menu a:hover { background: var(--c21-gold-light); color: var(--c21-link-hover); }

/* The language item inside the WordPress menu moves to the top bar */
.c21-menu .lang-item,
.c21-mmenu .lang-item { display: none !important; }

.c21-header__cta { min-height: 2.5rem; padding: .5rem 1rem; }

.c21-menu-btn {
	display: none;
	margin-left: auto;
	min-height: 2.75rem;
	padding: .5rem .9rem;
	background: none;
	border: 1px solid var(--c21-grey-mid);
	color: var(--c21-white);
	font-size: .875rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	border-radius: 0;
}

/* ---------------------------------------------------------------------
   Phone menu
   --------------------------------------------------------------------- */
.c21-mnav {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: var(--c21-grey);
	color: var(--c21-white);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.c21-mnav[hidden] { display: none; }
body.admin-bar .c21-mnav { top: 32px; } /* admins only */
@media (max-width: 782px) { body.admin-bar .c21-mnav { top: 46px; } }
body.c21-menu-open { overflow: hidden; }
.c21-mnav__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	min-height: var(--c21-header-h);
	padding: 0 var(--c21-pad);
	border-bottom: 1px solid #3A3A3B;
}
.c21-mnav__top img { width: 11rem; height: auto; }
.c21-mnav__close {
	min-height: 2.75rem;
	padding: .5rem .9rem;
	background: none;
	border: 1px solid var(--c21-grey-mid);
	color: var(--c21-white);
	font-size: .875rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	border-radius: 0;
}
.c21-mnav__nav { padding: .25rem var(--c21-pad); }
.c21-mmenu,
.c21-mmenu ul { list-style: none; margin: 0; padding: 0; }
.c21-mmenu > li { border-bottom: 1px solid #3A3A3B; }
.c21-mmenu a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 3.5rem;
	color: var(--c21-white);
	text-decoration: none;
	font-size: 1.3125rem;
	font-weight: 500;
}
.c21-mmenu > li:not(.menu-item-has-children) > a::after {
	content: "";
	width: 8px;
	height: 8px;
	border-top: 2px solid var(--c21-gold);
	border-right: 2px solid var(--c21-gold);
	transform: rotate(45deg);
}
.c21-mmenu .menu-item-has-children { position: relative; }
.c21-mmenu .c21-sub-toggle {
	position: absolute;
	right: 0;
	top: 0;
	width: 3.5rem;
	height: 3.5rem;
	background: none;
	border: 0;
	color: var(--c21-gold);
}
.c21-mmenu .c21-sub-toggle::before {
	content: "";
	display: block;
	width: 10px;
	height: 10px;
	margin: auto;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .2s;
}
.c21-mmenu .is-open > .c21-sub-toggle::before { transform: rotate(-135deg); }
.c21-mmenu .menu-item-has-children > a { padding-right: 3.5rem; }
.c21-mmenu .sub-menu { display: none; padding-bottom: .75rem; }
.c21-mmenu .is-open > .sub-menu { display: block; }
.c21-mmenu .sub-menu a { min-height: 2.9rem; font-size: 1.0625rem; font-weight: 400; color: #E7E7E8; padding-left: 1rem; }

.c21-mnav__prefs { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.5rem var(--c21-pad); }
.c21-mnav__lbl { margin: 0 0 .45rem; font-size: .75rem; letter-spacing: .04em; color: var(--c21-grey-tint); }
.c21-seg--lg { gap: .4rem; flex-wrap: wrap; }
.c21-seg--lg a,
.c21-seg--lg button { min-height: 2.75rem; min-width: 3.25rem; font-size: .9375rem; border: 1px solid #3A3A3B; }
.c21-mnav__acts { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: 0 var(--c21-pad) 2rem; margin-top: auto; }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.c21-footer {
	background: var(--c21-black);
	color: var(--c21-grey-tint);
	font-size: .9375rem;
	padding: 3.5rem 0 2rem;
}
.c21-footer a { color: var(--c21-grey-tint); text-decoration: none; }
.c21-footer a:hover { color: var(--c21-white); }
.c21-footer__cols { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2.5rem; }
.c21-footer__brand .c21-logo img { width: 12.5rem; height: auto; }
.c21-footer__addr { font-style: normal; margin: 1.25rem 0 1rem; line-height: 1.6; }
.c21-footer__contact,
.c21-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.c21-footer__contact a { display: inline-flex; align-items: center; gap: .55rem; }
.c21-footer__contact .c21-ico { color: var(--c21-gold); }
body.c21-2026 .c21-footer__h {
	color: var(--c21-white);
	font-size: .875rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	font-weight: 500;
	margin: 0 0 1rem;
}
.c21-footer__legal {
	margin-top: 2.75rem;
	padding-top: 1.25rem;
	border-top: 1px solid #333;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	font-size: .8125rem;
	color: var(--c21-grey-mid);
}
.c21-footer__legal p { margin: 0; }

/* ---------------------------------------------------------------------
   Breakpoints
   --------------------------------------------------------------------- */
@media (max-width: 1060px) {
	.c21-nav,
	.c21-header__cta { display: none; }
	.c21-menu-btn { display: inline-flex; align-items: center; }
	.c21-header .c21-logo img { width: 11rem; }
}
@media (max-width: 860px) {
	.c21-footer__cols { grid-template-columns: 1fr 1fr; }
	.c21-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	:root { --c21-header-h: 3.75rem; }
	.c21-topbar { display: none; }
	.c21-header .c21-logo img { width: 10rem; }
	.c21-hide-sm { display: none !important; }
	.c21-footer { padding-top: 2.5rem; }
	.c21-footer__cols { grid-template-columns: 1fr; gap: 2rem; }
	.c21-footer__col ul a { display: inline-block; padding: .3rem 0; }
}
@media (prefers-reduced-motion: reduce) {
	.c21-menu .sub-menu,
	.c21-mmenu .c21-sub-toggle::before { transition: none; }
}

/* =====================================================================
   0.3  Type helpers
   ===================================================================== */
body.c21-2026 .c21-h1 { font-size: clamp(2rem, 4.2vw, 4.0625rem); line-height: 1.12; font-weight: 700; margin: 0; color: inherit; }
body.c21-2026 .c21-h2 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.2; font-weight: 500; margin: 0; color: inherit; }
body.c21-2026 .c21-h3 { font-size: clamp(1.5rem, 2vw, 1.75rem); line-height: 1.25; font-weight: 500; margin: 0; color: inherit; }
body.c21-2026 .c21-h4 { font-size: 1.3125rem; line-height: 1.3; font-weight: 500; margin: 0 0 .75rem; color: inherit; }
.c21-tagline { font-size: clamp(.875rem, 1.1vw, 1.125rem); letter-spacing: .1em; text-transform: uppercase; font-weight: 500; color: var(--c21-gold-dark); margin: 0 0 .6rem; }
.c21-lead { font-size: 1.25rem; line-height: 1.6; font-weight: 300; margin: 0; }
.c21-muted { color: var(--c21-grey-mid); margin: .6rem 0 0; }
.c21-dark { background: var(--c21-grey); color: var(--c21-white); }
.c21-dark .c21-tagline { color: var(--c21-gold); }
.c21-dark .c21-muted { color: var(--c21-grey-tint); }
.c21-dark a:not(.c21-btn) { color: var(--c21-link-dark); }

.c21-sec { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.c21-sec--tint { background: var(--c21-gold-light); }
.c21-sec--grey { background: var(--c21-grey-light); }
.c21-sec--flush { padding-top: 0; }
.c21-sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.25rem; }
.c21-sec__head > div { max-width: 44rem; }
.c21-sec__head > a:not(.c21-btn) { color: var(--c21-link); }

/* =====================================================================
   0.3  Property cards (Houzez item-v2, everywhere on the site)
   ===================================================================== */
body.c21-2026 .listing-view.card-deck,
body.c21-2026 .c21-cards {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.5rem 1.75rem;
	margin: 0;
}
body.c21-2026 .listing-view .item-listing-wrap {
	width: auto !important;
	max-width: none !important;
	flex: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
body.c21-2026 .listing-view .item-wrap {
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	padding: 0 !important;
	margin: 0 !important;
}
body.c21-2026 .listing-view .item-wrap > .d-flex { flex-direction: column !important; align-items: stretch !important; }
body.c21-2026 .listing-view .item-header {
	position: relative;
	width: 100% !important;
	max-width: none !important;
	flex: none !important;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--c21-grey-light);
	margin: 0 !important;
}
body.c21-2026 .listing-view .item-header .listing-image-wrap,
body.c21-2026 .listing-view .item-header .listing-thumb,
body.c21-2026 .listing-view .item-header .listing-featured-thumb,
body.c21-2026 .listing-view .item-header picture { display: block; width: 100%; height: 100%; }
body.c21-2026 .listing-view .item-header img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	transition: transform .5s ease;
}
body.c21-2026 .listing-view .item-listing-wrap:hover .item-header img { transform: scale(1.03); }
body.c21-2026 .listing-view .item-header::before,
body.c21-2026 .listing-view .item-header::after,
body.c21-2026 .listing-view .listing-featured-thumb::before,
body.c21-2026 .listing-view .listing-featured-thumb::after { display: none !important; }
body.c21-2026 .listing-view .item-header .item-price-wrap,
body.c21-2026 .listing-view .item-body .c21-chips,
body.c21-2026 .listing-view .item-footer,
body.c21-2026 .listing-view .item-author,
body.c21-2026 .listing-view .item-date { display: none !important; }

/* chips over the photo */
body.c21-2026 .c21-chips {
	position: absolute;
	left: .75rem;
	top: .75rem;
	right: auto;
	z-index: 2;
	display: flex;
	gap: .4rem;
	flex-wrap: wrap;
	max-width: calc(100% - 5rem);
}
.c21-chip {
	background: var(--c21-white);
	color: var(--c21-black);
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .04em;
	padding: .3rem .55rem;
	line-height: 1.2;
}
.c21-chip--dark { background: var(--c21-grey); color: var(--c21-white); }
.c21-chip--gold { background: var(--c21-gold); color: var(--c21-black); }

/* favourite / preview tools */
body.c21-2026 .listing-view .item-tools { position: absolute; right: .75rem; top: .75rem; left: auto; bottom: auto; z-index: 3; }
body.c21-2026 .listing-view .item-tools .btn,
body.c21-2026 .listing-view .item-tools .item-tool > span {
	width: 2.25rem; height: 2.25rem; border-radius: 0; background: rgba(255,255,255,.92); color: var(--c21-black); border: 0;
	display: inline-flex; align-items: center; justify-content: center; box-shadow: none;
}

/* body */
body.c21-2026 .listing-view .item-body {
	display: grid !important;
	grid-template-columns: 1fr auto;
	column-gap: 1rem;
	align-items: baseline;
	padding: .9rem 0 0 !important;
	width: 100% !important;
	max-width: none !important;
	flex: none !important;
	background: transparent;
}
body.c21-2026 .listing-view .item-body > * { grid-column: 1 / -1; }
body.c21-2026 .listing-view .item-body .item-price-wrap { order: 1; margin: 0 0 .35rem !important; padding: 0; list-style: none; position: static !important; display: block !important; text-align: left !important; }
body.c21-2026 .listing-view .item-body .price-prefix { font-size: .875rem !important; font-weight: 400 !important; color: var(--c21-grey-mid) !important; margin-right: .3rem; }
body.c21-2026 .listing-view .item-body .item-price-wrap li { display: inline; padding: 0; }
body.c21-2026 .listing-view .item-price,
body.c21-2026 .listing-view .item-price * {
	font-size: 1.5rem !important;
	font-weight: 700 !important;
	color: var(--c21-black) !important;
	line-height: 1.2;
	background: none !important;
	padding: 0 !important;
}
body.c21-2026 .listing-view .item-sub-price { font-size: .875rem !important; font-weight: 400 !important; color: var(--c21-grey-mid) !important; display: block; }
body.c21-2026 .listing-view .item-title { order: 2; margin: 0 0 .55rem !important; font-size: 1rem !important; line-height: 1.45 !important; font-weight: 400 !important; }
body.c21-2026 .listing-view .item-title a {
	color: var(--c21-black) !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-decoration: none;
}
body.c21-2026 .listing-view .item-title a:hover { color: var(--c21-link-hover) !important; }
body.c21-2026 .listing-view .item-address { order: 3; grid-column: 1 / 2; margin: 0 0 .75rem !important; font-size: .875rem !important; color: var(--c21-grey-mid) !important; font-style: normal; }
body.c21-2026 .listing-view .c21-card-ref { order: 3; grid-column: 2 / 3; font-size: .875rem; color: var(--c21-grey-mid); font-variant-numeric: tabular-nums; white-space: nowrap; }
body.c21-2026 .listing-view .item-description { order: 4; display: none; }
body.c21-2026 .c21-specs {
	order: 5;
	display: flex !important;
	list-style: none;
	margin: 0 !important;
	padding: .75rem 0 0 !important;
	border-top: 1px solid var(--c21-grey-tint);
}
body.c21-2026 .c21-specs li {
	flex: 1;
	display: flex !important;
	flex-direction: column;
	gap: .1rem;
	padding: 0 .5rem 0 0 !important;
	margin: 0 !important;
	border: 0 !important;
	min-width: 0;
}
body.c21-2026 .c21-specs li + li { padding-left: .75rem !important; border-left: 1px solid var(--c21-grey-tint) !important; }
body.c21-2026 .c21-specs b { font-weight: 500; font-size: 1rem; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--c21-black); }
body.c21-2026 .c21-specs span { font-size: .75rem; color: var(--c21-grey-mid); letter-spacing: .02em; }

@media (max-width: 980px) {
	body.c21-2026 .listing-view.card-deck,
	body.c21-2026 .c21-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	body.c21-2026 .listing-view.card-deck,
	body.c21-2026 .c21-cards { grid-template-columns: 1fr; }
	body.c21-2026 .listing-view .item-price,
	body.c21-2026 .listing-view .item-price * { font-size: 1.375rem !important; }
}

/* =====================================================================
   0.3  Houzez search bar under the header (inner pages)
   ===================================================================== */
body.c21-2026.home #desktop-header-search,
body.c21-2026.home .mobile-search-wrap,
body.c21-2026.home #mobile-header-search { display: none !important; }
body.c21-2026 #desktop-header-search {
	background: var(--c21-white) !important;
	border-bottom: 1px solid var(--c21-grey-tint);
	padding: .75rem 0 !important;
	box-shadow: none !important;
}
body.c21-2026 #desktop-header-search .form-control,
body.c21-2026 #desktop-header-search .bootstrap-select > .dropdown-toggle {
	border: 1px solid var(--c21-grey-tint) !important;
	border-radius: 0 !important;
	background: var(--c21-white) !important;
	color: var(--c21-black) !important;
	min-height: 2.75rem;
	box-shadow: none !important;
}
body.c21-2026 #desktop-header-search .btn-search,
body.c21-2026 #desktop-header-search button[type="submit"] {
	background: var(--c21-gold) !important;
	border-color: var(--c21-gold) !important;
	color: var(--c21-black) !important;
	border-radius: 0 !important;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-size: .875rem;
	min-height: 2.75rem;
}

/* =====================================================================
   0.3  Homepage
   ===================================================================== */
.c21-home { background: var(--c21-white); }

.c21-hero { position: relative; background: var(--c21-grey); }
.c21-hero__ph { height: clamp(22rem, 52vw, 36rem); overflow: hidden; }
.c21-hero__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; display: block; }
.c21-hero__panel { position: absolute; left: 0; right: 0; bottom: 6.5rem; }
.c21-hero__box {
	background: rgba(37, 37, 38, .92);
	color: var(--c21-white);
	max-width: 40rem;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	display: flex;
	flex-direction: column;
	gap: .9rem;
}
.c21-hero__box .c21-tagline { color: var(--c21-gold); margin: 0; }
.c21-hero__box .c21-lead { color: #E7E7E8; }
body.c21-2026 .c21-hero__box .c21-h1 { color: var(--c21-white); }

.c21-search { position: relative; z-index: 3; margin-top: -4.5rem; }
.c21-search__box { background: var(--c21-white); box-shadow: 0 10px 40px rgba(18,18,18,.14); border: 1px solid var(--c21-grey-tint); margin: 0; }
.c21-fields { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; }
.c21-field { display: flex; flex-direction: column; gap: .2rem; padding: .9rem 1.15rem; border-right: 1px solid var(--c21-grey-tint); min-width: 0; }
.c21-field label { font-size: .75rem; letter-spacing: .04em; color: var(--c21-grey-mid); margin: 0; font-weight: 400; }
.c21-field select {
	border: 0;
	background: transparent;
	font-size: 1rem;
	color: var(--c21-black);
	padding: 0 1.25rem 0 0;
	appearance: none;
	-webkit-appearance: none;
	width: 100%;
	min-height: 1.6rem;
	background-image: linear-gradient(45deg, transparent 50%, #121212 50%), linear-gradient(135deg, #121212 50%, transparent 50%);
	background-position: calc(100% - 9px) 55%, calc(100% - 4px) 55%;
	background-size: 5px 5px;
	background-repeat: no-repeat;
	box-shadow: none;
	outline-offset: 4px;
}
.c21-search__go { min-height: auto; height: 100%; padding-left: 2rem; padding-right: 2rem; }
.c21-search__ref {
	display: flex;
	align-items: center;
	gap: .6rem;
	flex-wrap: wrap;
	padding: .7rem 1.15rem;
	background: var(--c21-gold-light);
	border: 1px solid var(--c21-grey-tint);
	border-top: 0;
	font-size: .875rem;
}
.c21-search__ref label { margin: 0; font-weight: 400; }
.c21-search__ref input { border: 1px solid var(--c21-grey-tint); background: var(--c21-white); padding: .3rem .6rem; width: 8rem; font-size: .9375rem; border-radius: 0; }
.c21-search__ref button { border: 0; background: var(--c21-grey); color: var(--c21-white); padding: .35rem .8rem; font-size: .8125rem; letter-spacing: .06em; border-radius: 0; }

.c21-trust { list-style: none; margin: 0; padding: 2.5rem 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.c21-trust li { display: flex; flex-direction: column; gap: .2rem; padding-left: 1rem; border-left: 3px solid var(--c21-gold); }
.c21-trust b { font-weight: 500; font-size: 1rem; line-height: 1.35; }
.c21-trust span { font-size: .875rem; color: var(--c21-grey-mid); line-height: 1.45; }

.c21-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.c21-cat { position: relative; aspect-ratio: 4 / 5; overflow: hidden; display: block; background: var(--c21-grey); text-decoration: none !important; }
.c21-cat img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .5s ease, opacity .3s; display: block; }
.c21-cat:hover img { transform: scale(1.04); opacity: .7; }
.c21-cat > span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem; background: linear-gradient(0deg, rgba(18,18,18,.85), rgba(18,18,18,0)); display: flex; flex-direction: column; gap: .15rem; }
.c21-cat b { font-size: 1.3125rem; font-weight: 500; color: var(--c21-white); }
.c21-cat em { font-style: normal; font-size: .875rem; color: var(--c21-gold); }

.c21-feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); min-height: 28rem; background: var(--c21-grey); color: var(--c21-white); }
.c21-feature__ph { overflow: hidden; background: #303031; }
.c21-feature__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.c21-feature__txt { padding: clamp(2rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center; gap: 1.1rem; }
.c21-feature__txt .c21-tagline { color: var(--c21-gold); margin: 0; }
body.c21-2026 .c21-feature .c21-h2 { color: var(--c21-white); }
.c21-feature__exc { color: var(--c21-grey-tint); margin: 0; }
.c21-feature__price span { display: block; font-size: .75rem; letter-spacing: .04em; color: var(--c21-grey-tint); }
.c21-feature__price .item-price-wrap { list-style: none; margin: .15rem 0 0 !important; padding: 0; position: static !important; display: block !important; transform: none !important; }
.c21-feature__price .item-price-wrap li { display: inline; padding: 0; }
.c21-feature__price .price-prefix { display: none !important; }
.c21-feature__price .item-price,
.c21-feature__price .item-price * { font-size: 1.5rem !important; font-weight: 700 !important; color: var(--c21-white) !important; background: none !important; padding: 0 !important; }
.c21-feature__price .item-sub-price { display: none; }

.c21-areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--c21-grey-tint); column-gap: 1.5rem; }
.c21-areas a { display: flex; flex-direction: column; gap: .25rem; padding: 1.25rem 0; border-bottom: 1px solid var(--c21-grey-tint); text-decoration: none !important; color: var(--c21-black) !important; }
.c21-areas b { font-size: 1.3125rem; font-weight: 500; display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.c21-areas b::after { content: ""; width: 9px; height: 9px; border-top: 2px solid var(--c21-gold-dark); border-right: 2px solid var(--c21-gold-dark); transform: rotate(45deg); transition: transform .2s; }
.c21-areas a:hover b::after { transform: translateX(4px) rotate(45deg); }
.c21-areas span { font-size: .875rem; color: var(--c21-grey-mid); }

.c21-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; counter-reset: c21step; list-style: none; margin: 0; padding: 0; }
.c21-steps li { counter-increment: c21step; display: flex; flex-direction: column; gap: .6rem; padding-top: 1.25rem; border-top: 3px solid var(--c21-gold); }
.c21-steps li::before { content: counter(c21step); font-size: 2.25rem; font-weight: 300; line-height: 1; color: var(--c21-gold-dark); }
.c21-steps b { font-size: 1.125rem; font-weight: 500; }
.c21-steps span { font-size: .9375rem; color: #3A3A3B; }

.c21-sell { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; padding: clamp(2rem, 4vw, 3rem); background: var(--c21-gold-tint); }
.c21-sell p { margin: .5rem 0 0; color: #2E2E2F; }

.c21-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
.c21-faq details { border-bottom: 1px solid var(--c21-grey-tint); }
.c21-faq h3 + details,
.c21-faq > div > details:first-child { border-top: 1px solid var(--c21-grey-tint); }
.c21-faq summary { list-style: none; cursor: pointer; padding: 1rem 2rem 1rem 0; position: relative; font-size: 1rem; font-weight: 500; }
.c21-faq summary::-webkit-details-marker { display: none; }
.c21-faq summary::after { content: ""; position: absolute; right: .25rem; top: 1.35rem; width: 8px; height: 8px; border-right: 2px solid var(--c21-black); border-bottom: 2px solid var(--c21-black); transform: rotate(45deg); transition: transform .2s; }
.c21-faq details[open] summary::after { transform: rotate(-135deg); top: 1.6rem; }
.c21-faq__a { color: #3A3A3B; font-size: .9375rem; padding-bottom: 1rem; }
.c21-faq__a p { margin: 0 0 .75rem; }

.c21-office { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.c21-office dl { display: grid; grid-template-columns: auto 1fr; gap: .9rem 1.5rem; margin: 1.5rem 0 0; }
.c21-office dt { font-size: .75rem; letter-spacing: .04em; color: var(--c21-grey-tint); padding-top: .2rem; font-weight: 400; }
.c21-office dd { margin: 0; }
.c21-office__acts { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.75rem; }
.c21-office__map {
	min-height: 18rem;
	display: flex;
	align-items: flex-end;
	padding: 1.25rem;
	text-decoration: none !important;
	background:
		linear-gradient(0deg, rgba(18,18,18,.55), rgba(18,18,18,0) 60%),
		repeating-linear-gradient(0deg, #2E2E2F 0 1px, transparent 1px 48px),
		repeating-linear-gradient(90deg, #2E2E2F 0 1px, transparent 1px 48px),
		#343435;
	border: 1px solid #3A3A3B;
}
.c21-office__map span { color: var(--c21-white); font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--c21-gold); padding-bottom: .2rem; }

@media (max-width: 980px) {
	.c21-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.c21-field { border-bottom: 1px solid var(--c21-grey-tint); }
	.c21-search__go { grid-column: 1 / -1; min-height: 3.25rem; }
}
@media (max-width: 900px) {
	.c21-trust,
	.c21-cats,
	.c21-areas,
	.c21-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.c21-feature { grid-template-columns: 1fr; }
	.c21-feature__ph { aspect-ratio: 16 / 10; }
	.c21-faq,
	.c21-office { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 760px) {
	.c21-hero__panel { position: static; }
	.c21-hero__panel .c21-wrap { padding: 0; }
	.c21-hero__box { max-width: none; }
	.c21-search { margin-top: 0; }
	.c21-search .c21-wrap { padding: 0; }
	.c21-search__box,
	.c21-search__ref { border-left: 0; border-right: 0; box-shadow: none; }
	.c21-sell { grid-template-columns: 1fr; }
	.c21-sell .c21-btn { width: 100%; }
}
@media (max-width: 600px) {
	.c21-hero__ph { height: 13rem; }
	.c21-hero__box .c21-lead { display: none; }
	.c21-hero__box { padding: 1.25rem var(--c21-pad) 1.5rem; gap: .5rem; }
	body.c21-2026 .c21-hero__box .c21-h1 { font-size: 1.875rem; }
	.c21-fields .c21-field:nth-child(5) { grid-column: 1 / -1; }
	.c21-field { padding: .75rem 1rem; min-height: 3.5rem; }
	.c21-trust { grid-template-columns: 1fr; gap: 1.1rem; padding: 2rem 0; }
	.c21-sec { padding: 3rem 0; }
	.c21-sec__head { margin-bottom: 1.5rem; }
	.c21-sec__head .c21-btn { width: 100%; }
	.c21-cats { gap: .6rem; }
	.c21-cat > span { padding: .9rem; }
	.c21-cat b { font-size: 1.0625rem; }
	.c21-areas { grid-template-columns: 1fr; }
	.c21-steps { grid-template-columns: 1fr; }
	.c21-office__acts .c21-btn { flex: 1; }
}

/* Houzez list view hides header labels; keep the chips */
body.c21-2026 .listing-view .item-header .c21-chips { display: flex !important; }

/* =====================================================================
   0.4  Listing page (Houzez property-detail-v6)
   ===================================================================== */
body.c21-2026.single-property { background: var(--c21-white); }
body.c21-2026.single-property .property-wrap { background: var(--c21-white); padding-bottom: 0; }

/* title */
body.c21-2026 .property-wrap .page-title-wrap { padding: 1.25rem 0 1rem; background: var(--c21-white); }
body.c21-2026 .property-wrap .breadcrumb { background: none; padding: 0; margin: 0 0 .75rem; font-size: .875rem; }
body.c21-2026 .property-wrap .breadcrumb a,
body.c21-2026 .property-wrap .breadcrumb-item,
body.c21-2026 .property-wrap .breadcrumb-item.active { color: var(--c21-grey-mid); }
body.c21-2026 .property-wrap .page-title h1 {
	font-size: clamp(1.5rem, 3vw, 2.5rem) !important;
	line-height: 1.2 !important;
	font-weight: 700 !important;
	color: var(--c21-black);
	margin: 0;
	white-space: normal;
}
body.c21-2026 .property-wrap .property-title-price-wrap { align-items: flex-start !important; gap: 2rem; }
body.c21-2026 .property-wrap .property-title-price-wrap .item-price-wrap { margin-left: auto; text-align: right; list-style: none; padding: 0; position: static; }
body.c21-2026 .property-wrap .property-title-price-wrap .item-price,
body.c21-2026 .property-wrap .property-title-price-wrap .item-price * {
	font-size: clamp(1.5rem, 2.6vw, 2rem) !important;
	font-weight: 700 !important;
	color: var(--c21-black) !important;
	background: none !important;
	padding: 0 !important;
	white-space: nowrap;
}
body.c21-2026 .property-wrap .page-title-wrap .item-address { color: var(--c21-grey-mid); font-size: .9375rem; margin-top: .5rem; }
body.c21-2026 .property-wrap .page-title-wrap .item-tools .btn,
body.c21-2026 .property-wrap .page-title-wrap .item-tool > span { border-radius: 0; }

/* gallery: one large photo and four small */
body.c21-2026 .property-banner .container.hidden-on-mobile > .row:first-child {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: .5rem;
	height: clamp(20rem, 40vw, 32rem);
	margin: 0;
}
body.c21-2026 .property-banner .container.hidden-on-mobile > .row > .col-md-8,
body.c21-2026 .property-banner .container.hidden-on-mobile > .row > .col-md-4 { display: contents; }
body.c21-2026 .property-banner .row > .col-md-8 > a,
body.c21-2026 .property-banner .row > .col-md-4 > a,
body.c21-2026 .property-banner .row > a.gallery-hidden {
	display: block;
	overflow: hidden;
	position: relative;
	height: 100% !important;
	margin: 0 !important;
	background: var(--c21-grey-light);
}
body.c21-2026 .property-banner .row > .col-md-8 > a { grid-row: 1 / 3; grid-column: 1; }
body.c21-2026 .property-banner .row > .col-md-4 > a.img-wrap-2 { grid-column: 2; grid-row: 1; }
body.c21-2026 .property-banner .row > a.gallery-hidden:nth-of-type(1) { grid-column: 3; grid-row: 1; }
body.c21-2026 .property-banner .row > a.gallery-hidden:nth-of-type(2) { grid-column: 2; grid-row: 2; }
body.c21-2026 .property-banner .row > .col-md-4 > a.img-wrap-3 { grid-column: 3; grid-row: 2; }
body.c21-2026 .property-banner .row > a.gallery-hidden:nth-of-type(n+3) { display: none; }
body.c21-2026 .property-banner .row a picture,
body.c21-2026 .property-banner .row a img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
body.c21-2026 .property-banner .img-wrap-3-text {
	background: rgba(37, 37, 38, .72) !important;
	color: var(--c21-white) !important;
	font-size: 1rem !important;
	letter-spacing: .02em;
}

/* layout: content left, contact box right */
body.c21-2026 .property-view {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 22rem;
	column-gap: clamp(2rem, 4vw, 4rem);
	align-items: start;
	padding-top: 1.5rem;
}
body.c21-2026 .property-view > * { grid-column: 1; }
body.c21-2026 .property-view > #property-contact-agent-wrap {
	grid-column: 2;
	grid-row: 1 / span 6;
	position: sticky;
	top: calc(var(--c21-header-h) + 1.5rem);
}
body.c21-2026.admin-bar .property-view > #property-contact-agent-wrap { top: calc(var(--c21-header-h) + 1.5rem + 32px); }
body.c21-2026 .property-view > #similar-listings-wrap { grid-column: 1 / -1; }

/* sections */
body.c21-2026 .property-section-wrap { margin: 0 !important; }
body.c21-2026 .property-section-wrap .block-wrap {
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	border-bottom: 1px solid var(--c21-grey-tint) !important;
	padding: 2rem 0 !important;
	margin: 0 !important;
}
body.c21-2026 .property-section-wrap .block-title-wrap { border: 0 !important; padding: 0 !important; margin: 0 0 1.25rem !important; }
body.c21-2026 .property-section-wrap .block-title-wrap h2,
body.c21-2026 .property-section-wrap .block-title-wrap h3 { font-size: clamp(1.375rem, 2vw, 1.75rem) !important; font-weight: 500 !important; color: var(--c21-black); margin: 0; }

/* key facts at the top of the description */
.c21-ptop { margin: 0 0 1.75rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--c21-grey-tint); }
.c21-ptop__chips { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-bottom: 1.25rem; }
.c21-ptop__chips .c21-chip { border: 1px solid var(--c21-grey-tint); }
.c21-ptop__chips .c21-chip--dark,
.c21-ptop__chips .c21-chip--gold { border-color: transparent; }
.c21-ptop__ref { margin-left: auto; font-size: .875rem; color: var(--c21-grey-mid); font-variant-numeric: tabular-nums; }
.c21-pfacts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; }
.c21-pfacts > div { display: flex; flex-direction: column-reverse; gap: .15rem; padding-right: 1rem; }
.c21-pfacts > div + div { padding-left: 1rem; border-left: 1px solid var(--c21-grey-tint); }
.c21-pfacts dd { margin: 0; font-size: 1.3125rem; font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1.25; white-space: nowrap; }
.c21-pfacts dt { font-size: .8125rem; color: var(--c21-grey-mid); font-weight: 400; }

/* description text */
.c21-pdesc { max-width: 46rem; }
.c21-pdesc p { margin: 0 0 1rem; }
.c21-pdesc :is(h2, h3, h4) { font-size: 1.25rem !important; font-weight: 500 !important; margin: 1.5rem 0 .75rem !important; }
.c21-pdesc ul { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
.c21-pdesc ul li { display: flex; gap: .7rem; align-items: baseline; padding: .55rem 0; border-bottom: 1px solid var(--c21-grey-light); font-size: .9375rem; }
.c21-pdesc ul li::before { content: ""; flex: 0 0 auto; width: 10px; height: 6px; border-left: 2px solid var(--c21-gold-dark); border-bottom: 2px solid var(--c21-gold-dark); transform: rotate(-45deg) translateY(-3px); }

/* ownership note */
.c21-own { margin: 1.75rem 0 0; padding: 1.5rem 1.75rem; background: var(--c21-gold-light); border: 1px solid var(--c21-gold-tint); max-width: 46rem; }
.c21-own p { margin: 0 0 .5rem; }
.c21-own__h { font-weight: 500; }
.c21-own__small { font-size: .8125rem; color: var(--c21-grey-mid); margin: 0 !important; }

/* details list */
body.c21-2026 #property-detail-wrap .detail-wrap ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; padding: 0; margin: 0; }
body.c21-2026 #property-detail-wrap .detail-wrap li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: .7rem 0 !important;
	border-bottom: 1px solid var(--c21-grey-light) !important;
	font-size: .9375rem;
	width: auto !important;
}
body.c21-2026 #property-detail-wrap .detail-wrap li strong { font-weight: 400; color: #3A3A3B; }
body.c21-2026 #property-detail-wrap .detail-wrap li span { font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }

/* contact box */
body.c21-2026 #property-contact-agent-wrap .block-wrap {
	border: 1px solid var(--c21-grey-tint) !important;
	padding: 1.5rem !important;
	background: var(--c21-white) !important;
	margin-top: 2rem !important;
}
body.c21-2026 #property-contact-agent-wrap .block-title-wrap h3 { font-size: 1rem !important; margin: 1rem 0 .5rem; }
body.c21-2026 #property-contact-agent-wrap .row { margin: 0; display: grid; gap: .6rem; }
body.c21-2026 #property-contact-agent-wrap .row > [class*="col-"] { max-width: none; flex: none; padding: 0; }
body.c21-2026 #property-contact-agent-wrap .form-control {
	border: 1px solid var(--c21-grey-tint);
	border-radius: 0;
	min-height: 2.75rem;
	font-size: 1rem;
	box-shadow: none;
}
body.c21-2026 #property-contact-agent-wrap textarea.form-control { min-height: 6rem; }
body.c21-2026 #property-contact-agent-wrap .houzez_agent_property_form {
	width: 100%;
	background: var(--c21-grey) !important;
	border-color: var(--c21-grey) !important;
	color: var(--c21-white) !important;
	border-radius: 0 !important;
	min-height: 3rem;
	text-transform: none;
	font-weight: 500;
}
body.c21-2026 #property-contact-agent-wrap .agent-image img { border-radius: 0; }
body.c21-2026 #property-contact-agent-wrap .agent-information { font-size: .875rem; }

/* WhatsApp / Call: inside the contact box on desktop, fixed bar on phones */
.c21-pbar { display: none; }
.c21-pbar--inline { display: grid; grid-template-columns: 1fr; gap: .5rem; margin: 0 0 1.25rem; }
.c21-pbar .c21-btn { width: 100%; }
.c21-pbar .c21-ico { width: 18px; height: 18px; }

/* similar listings */
body.c21-2026 #similar-listings-wrap { padding: 3rem 0 4rem; }
body.c21-2026 #similar-listings-wrap .block-title-wrap h2 { font-size: clamp(1.5rem, 2.4vw, 2rem) !important; font-weight: 500 !important; }

@media (max-width: 980px) {
	body.c21-2026 .property-view { grid-template-columns: 1fr; }
	body.c21-2026 .property-view > #property-contact-agent-wrap { grid-column: 1; grid-row: auto; position: static; }
	.c21-pbar:not(.c21-pbar--inline) {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 999;
		gap: .5rem;
		padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
		background: var(--c21-white);
		border-top: 1px solid var(--c21-grey-tint);
	}
	.c21-pbar:not(.c21-pbar--inline) .c21-btn { flex: 1; min-height: 2.75rem; }
	.c21-pbar--inline { display: none; }
	body.c21-2026.single-property { padding-bottom: 4.5rem; }
	.c21-pfacts { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.25rem; }
	.c21-pfacts > div:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (max-width: 767px) {
	body.c21-2026 .property-wrap .property-title-price-wrap { flex-direction: column; gap: .5rem; }
	body.c21-2026 .property-wrap .property-title-price-wrap .item-price-wrap { margin-left: 0; text-align: left; }
	.c21-pdesc ul,
	body.c21-2026 #property-detail-wrap .detail-wrap ul { grid-template-columns: 1fr; }
}

/* 0.4.1 fixes */
body.c21-2026 .property-banner .container.hidden-on-mobile > .row:not(:first-child) { display: none !important; }
body.c21-2026 .property-banner .container.hidden-on-mobile > .row:first-child > a.gallery-hidden:nth-of-type(1),
body.c21-2026 .property-banner .container.hidden-on-mobile > .row:first-child > a.gallery-hidden:nth-of-type(2) { display: block !important; }
body.c21-2026 #similar-listings-wrap .listing-view {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.5rem 1.75rem;
}
@media (max-width: 980px) { body.c21-2026 #similar-listings-wrap .listing-view { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { body.c21-2026 #similar-listings-wrap .listing-view { grid-template-columns: 1fr; } }
body.c21-2026 #property-detail-wrap .detail-wrap { border: 0 !important; padding: 0 !important; background: none !important; }

body.c21-2026 .property-banner .container.hidden-on-mobile > .row:first-child > .col-md-12 { display: none !important; }

/* running costs */
.c21-costs { margin: 2rem 0 0; max-width: 46rem; }
body.c21-2026 .c21-costs__h { font-size: clamp(1.25rem, 1.8vw, 1.5rem) !important; font-weight: 500 !important; margin: 0 0 1rem !important; }
.c21-costs__wrap { overflow-x: auto; }
.c21-costs table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.c21-costs th,
.c21-costs td { text-align: left; padding: .85rem 1rem .85rem 0; border-bottom: 1px solid var(--c21-grey-tint); vertical-align: top; }
.c21-costs th { font-weight: 400; color: #3A3A3B; width: 42%; }
.c21-costs td { font-weight: 500; font-variant-numeric: tabular-nums; }

/* =====================================================================
   0.5  Project page (off-plan listing with a table of villa types) and
        description tables and section headings on every listing
   ===================================================================== */
.c21-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* hero: the Houzez title block over the featured photo */
body.c21-project .property-wrap .page-title-wrap {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(28rem, 74vh, 48rem);
	padding: 6rem 0 2.75rem;
	background-color: var(--c21-black);
	background-size: cover;
	background-position: center;
	color: var(--c21-white);
}
body.c21-project .property-wrap .page-title-wrap::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(18,18,18,.78) 0%, rgba(18,18,18,.5) 45%, rgba(18,18,18,.1) 80%),
		linear-gradient(180deg, rgba(18,18,18,.35) 0%, rgba(18,18,18,0) 30%, rgba(18,18,18,.6) 100%);
}
body.c21-project .property-wrap .page-title-wrap > .container { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; align-items: flex-start; }
body.c21-project .property-wrap .page-title-wrap > .container > .d-flex:not(.property-title-price-wrap),
body.c21-project .property-wrap .page-title-wrap .property-labels-wrap { display: none !important; }
.c21-phero__tag { font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; color: var(--c21-gold); margin: 0 0 1rem; }
body.c21-project .property-wrap .property-title-price-wrap { flex-direction: column; align-items: flex-start !important; gap: 1.25rem; width: 100%; }
body.c21-project .property-wrap .page-title h1 {
	color: var(--c21-white) !important;
	font-size: clamp(2.25rem, 5.4vw, 4.25rem) !important;
	line-height: 1.04 !important;
	font-weight: 500 !important;
	max-width: 48rem;
	text-wrap: balance;
}
.c21-h1-sub { display: block; margin-top: 1rem; font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 400; line-height: 1.45; color: #E7E7E8; max-width: 40rem; text-wrap: pretty; }
body.c21-project .property-wrap .property-title-price-wrap .item-price-wrap { margin-left: 0; text-align: left; }
body.c21-project .property-wrap .property-title-price-wrap .item-price,
body.c21-project .property-wrap .property-title-price-wrap .item-price * { color: var(--c21-white) !important; font-size: clamp(1.375rem, 2.2vw, 1.75rem) !important; font-weight: 500 !important; }
body.c21-project .property-wrap .property-title-price-wrap .item-price .price-prefix {
	display: block;
	font-size: .8125rem !important;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--c21-gold) !important;
	margin-bottom: .25rem;
}
body.c21-project .property-wrap .page-title-wrap .item-address { color: #E7E7E8; margin-top: .75rem; }
body.c21-project .property-wrap .page-title-wrap .item-address * { color: inherit; }
.c21-phero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.c21-phero__cta .c21-ico { width: 18px; height: 18px; }
body.c21-project .property-top-wrap { margin-top: 2rem; }
body.c21-2026 #property-contact-agent-wrap { scroll-margin-top: calc(var(--c21-header-h) + 1.5rem); }

/* key facts: six on project pages, in rows of three */
body.c21-project .c21-pfacts { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.25rem; }
body.c21-project .c21-pfacts > div:nth-child(3n+1) { border-left: 0; padding-left: 0; }

/* section headings rebuilt from "Label :" paragraphs */
.c21-pdesc .c21-dh { margin-top: 2rem !important; }

/* tables written in descriptions (villa types, plots) */
.c21-tbl { overflow-x: auto; margin: 0 0 1.75rem; }
.c21-pdesc table { width: 100% !important; height: auto !important; border-collapse: collapse; border: 0 !important; font-size: .9375rem; margin: 0; }
.c21-pdesc :is(td, th) {
	text-align: left;
	padding: .85rem 1rem .85rem 0 !important;
	border: 0 !important;
	border-bottom: 1px solid var(--c21-grey-tint) !important;
	vertical-align: top;
	width: auto !important;
	height: auto !important;
	background: none !important;
}
.c21-pdesc :is(td, th) > * { margin: 0 !important; text-align: inherit !important; }
.c21-pdesc td { text-align: left !important; }
.c21-pdesc thead th { font-size: .8125rem; font-weight: 400; color: var(--c21-grey-mid); border-bottom-color: var(--c21-black) !important; white-space: nowrap; }
.c21-pdesc td.c21-num,
.c21-pdesc th.c21-num { text-align: right !important; padding-right: 0 !important; padding-left: 1rem !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
.c21-pdesc td.c21-cell-h { font-weight: 500; }
.c21-pdesc tr > :last-child.c21-num { font-weight: 500; }

@media (max-width: 767px) {
	body.c21-project .property-wrap .page-title-wrap::before { background: linear-gradient(180deg, rgba(18,18,18,.3) 0%, rgba(18,18,18,.55) 40%, rgba(18,18,18,.9) 100%); }
	body.c21-project .property-wrap .page-title-wrap { min-height: clamp(26rem, 82svh, 40rem); padding-bottom: 2rem; }
	.c21-phero__cta { width: 100%; }
	.c21-phero__cta .c21-btn { flex: 1 1 12rem; }
}
@media (max-width: 600px) {
	body.c21-project .c21-pfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.c21-project .c21-pfacts > div { border-left: 0 !important; padding-left: 0 !important; }
	body.c21-project .c21-pfacts > div:nth-child(even) { border-left: 1px solid var(--c21-grey-tint) !important; padding-left: 1rem !important; }
	.c21-tbl { overflow: visible; }
	.c21-pdesc table.c21-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.c21-pdesc table.c21-stack,
	.c21-pdesc table.c21-stack tbody,
	.c21-pdesc table.c21-stack tr { display: block; width: 100% !important; }
	.c21-pdesc table.c21-stack tr { padding: 1rem 0; border-bottom: 1px solid var(--c21-grey-tint); }
	.c21-pdesc table.c21-stack td {
		display: flex;
		justify-content: space-between;
		gap: 1rem;
		padding: .3rem 0 !important;
		border: 0 !important;
		text-align: right;
	}
	.c21-pdesc table.c21-stack td::before { content: attr(data-l); color: var(--c21-grey-mid); font-weight: 400; text-align: left; }
	.c21-pdesc table.c21-stack td.c21-cell-h { display: block; font-size: 1.0625rem; text-align: left; padding-bottom: .5rem !important; }
	.c21-pdesc table.c21-stack td.c21-cell-h::before { content: none; }
}

/* availability in project tables */
.c21-pdesc tr.c21-row-sold > td { color: var(--c21-grey-mid); }
.c21-pdesc tr.c21-row-sold > td.c21-num { font-weight: 400; }
.c21-pdesc td.c21-sold { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; }
.c21-pdesc td.c21-avail { color: var(--c21-gold-dark); font-weight: 500; white-space: nowrap; }
.c21-pdesc :is(td, th).c21-num + :is(td, th):not(.c21-num) { padding-left: 1.75rem !important; }
@media (max-width: 600px) { .c21-pdesc table.c21-stack td.c21-num + td:not(.c21-num) { padding-left: 0 !important; } }

/* =====================================================================
   0.6  Page review fixes
   ===================================================================== */
/* Houzez page content lines up with the header and footer */
body.c21-2026 #main-wrap .container {
	max-width: var(--c21-max);
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--c21-pad);
	padding-right: var(--c21-pad);
}

/* Elementor pages and guides: same side margins, calmer headings in text */
body.c21-2026 .elementor-section.elementor-section-boxed > .elementor-container,
body.c21-2026 .e-con-boxed > .e-con-inner {
	padding-left: max(0px, calc(var(--c21-pad) - 10px));
	padding-right: max(0px, calc(var(--c21-pad) - 10px));
}
body.c21-2026 .elementor-widget-text-editor :is(h1, h2, h3, h4, h5) {
	line-height: 1.25 !important;
	margin: 2rem 0 .75rem !important;
}
body.c21-2026 .elementor-widget-text-editor h2 { font-size: clamp(1.375rem, 2.4vw, 2rem) !important; }
body.c21-2026 .elementor-widget-text-editor h3 { font-size: clamp(1.1875rem, 1.8vw, 1.5rem) !important; }
body.c21-2026 .elementor-widget-text-editor :is(h1, h2, h3, h4, h5):first-child { margin-top: 0 !important; }

/* search filters on tablets and phones: a Filter button opens the Houzez form */
.c21-filter-toggle { display: none; }
@media (max-width: 991.98px) {
	body.c21-2026:not(.home) #desktop-header-search {
		display: block !important;
		position: static !important;
		padding: .75rem 0 !important;
		background: var(--c21-white);
		border-bottom: 1px solid var(--c21-grey-tint);
		box-shadow: none;
	}
	.c21-filter-toggle {
		display: flex;
		width: 100%;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
		min-height: 2.75rem;
		padding: 0 1rem;
		border: 1px solid var(--c21-black);
		background: var(--c21-white);
		color: var(--c21-black);
		font: 500 .875rem/1 var(--c21-font);
		letter-spacing: .08em;
		text-transform: uppercase;
		cursor: pointer;
	}
	.c21-filter-toggle::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
	#desktop-header-search.is-open .c21-filter-toggle::after { transform: rotate(-135deg) translateY(-2px); }
	body.c21-2026 #desktop-header-search form { display: none; margin-top: .75rem; }
	body.c21-2026 #desktop-header-search.is-open form { display: block; }
	body.c21-2026 #desktop-header-search .advanced-search-v1 > .d-flex {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: .5rem;
	}
	body.c21-2026 #desktop-header-search .advanced-search-v1 > .d-flex > * {
		width: auto !important;
		max-width: none !important;
		flex: none !important;
		padding: 0 !important;
		margin: 0 !important;
	}
	body.c21-2026 #desktop-header-search .flex-search { grid-column: 1 / -1; }
	body.c21-2026 #desktop-header-search .flex-search .btn { width: 100%; }
}

/* The homepage's Elementor custom CSS sets overflow-x: hidden on html and body,
   which stops the sticky header. clip still prevents sideways scroll but
   keeps sticky working. The phone menu still locks scrolling. */
html:has(body.c21-2026),
body.c21-2026 { overflow-x: clip !important; overflow-y: visible !important; }
body.c21-2026.c21-menu-open { overflow: hidden !important; }

/* 0.7  never fake a bold from the Medium weight */
body.c21-2026 { font-synthesis: none; }

/* 0.8  commission note under the price */
.c21-comm { margin: .35rem 0 0; font-size: .875rem; color: var(--c21-grey-mid); font-weight: 400; }
.c21-pdesc ~ .c21-comm, .c21-ptop + .c21-comm { margin-bottom: 1rem; }
body.c21-project .property-title-price-wrap .c21-comm { color: #E7E7E8; }
.c21-comm-li { list-style: none; }
body.c21-2026 .property-wrap .property-title-price-wrap .c21-comm-li .c21-comm { font-size: .875rem !important; font-weight: 400 !important; color: var(--c21-grey-mid) !important; white-space: normal; }
body.c21-project .property-wrap .property-title-price-wrap .c21-comm-li .c21-comm { color: #E7E7E8 !important; }

/* Two older Elementor pages, same rules as the live Additional CSS */
.page-id-27113 .elementor-element-78b4384 .elementor-heading-title,
.page-id-27406 .elementor-element-78b4384 .elementor-heading-title { color: var(--c21-black) !important; }
.page-id-155 .elementor-element-4ca4ceb1 .elementor-heading-title,
.page-id-4761 .elementor-element-44f2846 .elementor-heading-title { color: var(--c21-white) !important; text-shadow: 0 1px 14px rgba(18,18,18,.65); }

/* 0.8.2  listing title on phones: no extra Houzez padding, no one-item media tab bar */
body.c21-2026 .mobile-property-title { padding-left: 0 !important; padding-right: 0 !important; }
body.c21-2026 .mobile-property-tools:has(.nav-pills > li:only-child) { display: none !important; }

/* 0.8.3  office map on the homepage */
.c21-office__map { position: relative; overflow: hidden; padding: 0; background: #343435; }
.c21-office__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.3); }
.c21-office__map a {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 2.5rem 1.25rem 1.25rem;
	background: linear-gradient(0deg, rgba(18,18,18,.85), rgba(18,18,18,0));
	text-decoration: none !important;
}
.c21-office__map > a { display: none; } /* Google shows its own "Open in Maps" button */
