:root {
	--brand-teal: #00a8ac;
	--brand-blue: #263d86;
	--navy: var(--brand-blue);
	--navy-deep: #1d3274;
	--ink: #333b49;
	--muted: #66717f;
	--line: #e5e9ee;
	--accent: var(--brand-teal);
	--white: #fff;
	--container: 1380px;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--white); scroll-behavior: smooth; }
body {
	min-height: 100vh;
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: "Thmanyah", Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	font-variant-numeric: lining-nums;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
button, a { font: inherit; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.site-header .container { width: min(calc(100% - 48px), 1295px); }
.sr-only, .skip-link:not(:focus) {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; z-index: 1000; inset-block-start: 10px; inset-inline-start: 10px;
	padding: 10px 16px; background: #fff; color: var(--navy);
	border: 2px solid var(--accent); border-radius: 4px;
}
.topbar { min-height: 38px; background: #fff; color: var(--navy); border-bottom: 1px solid rgba(38,61,134,.1); }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: flex-start; gap: 0; direction: ltr; }
.topbar-link { min-height: 36px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.2; transition: color .2s ease; }
.topbar-link:hover, .topbar-link:focus-visible { color: var(--brand-teal); }
.phone-link { direction: ltr; flex: 0 0 auto; font-weight: 700; letter-spacing: .015em; }
.location-link { min-width: 0; margin-left: 18px; padding-left: 18px; border-left: 1px solid rgba(25,46,64,.32); direction: rtl; font-weight: 700; }
html[lang^="en"] .location-link { direction: ltr; }
html[lang^="en"] .location-link { margin-left: 0; padding-left: 0; border-left: 0; margin-right: 18px; padding-right: 18px; border-right: 1px solid rgba(25,46,64,.32); }
.location-link span { min-width: 0; }
.phone-number { direction: ltr; unicode-bidi: isolate; font-variant-numeric: lining-nums; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-whatsapp { width: 18px; height: 18px; }
.nav-shell { position: relative; z-index: 20; background: var(--navy); color: #fff; }
.nav-inner {
	position: relative; z-index: 1; min-height: 82px; display: grid; align-items: center;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	grid-template-rows: minmax(82px, auto);
	direction: ltr;
}
.brand-tools { grid-column: 3; grid-row: 1; display: flex; align-items: center; justify-self: end; gap: 0; direction: rtl; transform: translateX(-12px); }
html[lang^="en"] .brand-tools { grid-column: 1; justify-self: start; direction: ltr; transform: translateX(12px); }
.brand-link { display: inline-flex; align-items: center; justify-content: center; min-width: 80px; min-height: 78px; }
.brand-logo { display: block; width: auto; height: 74px; max-width: 80px; object-fit: contain; }
.brand-logo-mobile { display: none; }
.language-switch {
	display: inline-flex; align-items: center; justify-content: center; gap: 0;
	position: absolute; top: 50%; left: 24px; transform: translateY(-50%);
	width: 46px; min-width: 46px; min-height: 38px; padding: 7px; border: 1px solid rgba(255,255,255,.28);
	border-radius: 3px; background: transparent; color: #fff; font-size: 13px; line-height: 1;
	cursor: pointer; transition: background .2s ease, border-color .2s ease;
}
.language-switch:hover, .language-switch:focus-visible { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }
html[lang^="en"] .language-switch { left: auto; right: 24px; }
.flag { display: block; width: auto; height: 16px; max-width: 27px; flex: 0 0 auto; object-fit: contain; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.28); }
.flag-sa { display: none; }
html[lang^="en"] .flag-uk { display: none; }
html[lang^="en"] .flag-sa { display: block; }
.main-navigation { position: relative; grid-column: 2; grid-row: 1; justify-self: center; align-self: center; direction: rtl; }
.main-navigation::before { position: absolute; inset-inline: 0; bottom: 10px; height: 1px; content: ""; background: rgba(255,255,255,.38); pointer-events: none; }
html[lang^="en"] .main-navigation, html[lang^="en"] .main-menu { direction: ltr; }
.main-menu { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(22px, 2.6vw, 42px); padding: 0; margin: 0; list-style: none; }
.main-menu li { padding: 0; margin: 0; }
.main-menu a {
	position: relative; display: inline-flex; align-items: center; min-height: 82px;
	color: rgba(255,255,255,.94); font-size: 16px; font-weight: 500; white-space: nowrap;
	transition: color .2s ease;
}
.main-menu a::after {
	position: absolute; inset-inline: 0; bottom: 10px; height: 2px; content: "";
	background: var(--accent); transform: scaleX(0); transform-origin: center; transition: transform .22s ease;
}
.main-menu a:hover, .main-menu a:focus-visible, .main-menu a[aria-current="page"] { color: #fff; }
.main-menu a:hover::after, .main-menu a:focus-visible::after, .main-menu a[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle {
	grid-column: 1; grid-row: 1; justify-self: start; display: none; align-items: center; justify-content: center;
	width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255,255,255,.32);
	border-radius: 3px; background: transparent; color: #fff; cursor: pointer;
}
.menu-backdrop, .menu-close { display: none; }
.search-toggle { display: none; }
.icon-menu { width: 22px; height: 22px; }

.blank-page { min-height: 105vh; background: #fff; }
.home-page { min-height: 105vh; background: #fff; }
.latest-offers { padding: 38px 0 64px; }
.offers-container { width: min(calc(100% - 48px), 1295px); margin-inline: auto; }
.offers-heading { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin: 0 0 28px; color: var(--navy); }
.offers-heading::before, .offers-heading::after { content: ""; height: 2px; background: var(--navy); }
.offers-heading-mark { display: none; }
.offers-heading h1 { margin: 0; color: var(--navy); font-size: clamp(28px, 2vw, 34px); font-weight: 700; line-height: 1.35; text-align: center; }
.offers-seo-intro { max-width: 900px; margin: -8px auto 28px; color: #66758a; font-size: clamp(1rem, 1.1vw, 1.125rem); line-height: 1.8; text-align: center; }
.seo-category-page .offers-sold-section, .seo-category-page .offers-advertisements { display: none !important; }
.seo-category-intro { max-width: 980px; margin: -8px 0 18px; color: #61738b; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.85; }
.seo-category-links { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 20px; }
.seo-category-links a { display: inline-flex; align-items: center; min-height: 38px; padding: 7px 14px; border: 1px solid #dbe4f1; border-radius: 3px; background: #f6f8fc; color: var(--navy); font-size: 14px; font-weight: 700; text-decoration: none; }
.seo-category-links a:hover, .seo-category-links a:focus-visible { border-color: var(--navy); background: #edf2fb; }
.offers-slider { outline-offset: 5px; }
.offers-track { --offer-gap: 28px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--offer-gap)) / 3); gap: var(--offer-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.offers-track::-webkit-scrollbar { display: none; }
.offer-card { min-width: 0; display: flex; flex-direction: column; scroll-snap-align: start; border: 1px solid #d9d9d9; background: #fafafa; box-shadow: 0 1px 7px rgba(18,34,48,.06); }
.offer-media { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #638568; color: #fff; }
.offer-media > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.offer-card:hover .offer-media > img { transform: scale(1.035); }
.offer-status { position: absolute; top: 20px; z-index: 1; padding: 3px 14px; font-weight: 500; font-size: 14px; line-height: 1.5; }
.offer-status { left: 18px; min-width: 88px; border-radius: 24px; background: #718d7a; color: #fff; text-align: center; }
.offer-media > .offer-sold-stamp { position: absolute; top: 34%; left: 50%; z-index: 2; width: clamp(100px, 33.7%, 157.5px); height: auto; object-fit: contain; pointer-events: none; transform: translate(-50%, -50%); transition: none; }
.offer-card:hover .offer-media > .offer-sold-stamp { transform: translate(-50%, -50%); }
.offer-location-badge { position: absolute; top: 20px; right: 18px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 150px); padding: 4px 10px; border-radius: 24px 0 0 24px; background: rgba(29,50,116,.78); color: #fff; font-size: 13px; font-weight: 500; line-height: 1.45; }
.offer-location-badge span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.offer-photo-note { position: absolute; top: 72px; left: 24px; font-size: 12px; padding: 1px 7px; background: rgba(25,46,64,.65); border-radius: 3px; }
.offer-caption { position: absolute; inset-inline: 0; bottom: 0; width: 100%; padding: 14px 18px 13px; background: rgba(29,50,116,.68); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); text-align: start; }
.offer-caption h2 { margin: 0; color: #fff; font-size: clamp(21px, 1.65vw, 26px); line-height: 1.4; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.offer-caption-location { display: inline-flex; align-items: center; gap: 5px; color: #fff; font-size: 12px; line-height: 1.4; font-weight: 500; }
.offer-location-icon { display: block; width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.offer-details { flex: 1; padding: 16px 16px 10px; color: var(--ink); background: transparent; }
.offer-progress-caption { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; padding-bottom: 8px; margin-bottom: 9px; border: 0; }
.offer-area-line strong { color: var(--navy); font-size: 15px; font-weight: 700; }
.area-value { display: inline-flex; align-items: baseline; flex-direction: row-reverse; direction: ltr; gap: 4px; }
html[lang^="en"] .area-value { flex-direction: row; }
.area-unit { white-space: nowrap; }
.offer-progress { height: 10px; margin: 0 0 14px; border: 1px solid var(--brand-teal); border-radius: 20px; background: #fff; overflow: hidden; }
.offer-progress span { display: block; height: 100%; background: var(--brand-teal); border-radius: inherit; }
.offer-price { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; padding: 4px 0; border-bottom: 1px solid #d3d6d8; background: transparent; }
.price-label { font-size: 14px; font-weight: 500; }
.price-value { display: inline-flex; align-items: center; gap: 6px; direction: ltr; }
.offer-price strong { color: var(--navy); font-size: 15px; font-weight: 700; }
.saudi-riyal { display: block; width: 17px; height: 19px; object-fit: contain; }
.offer-icon { display: inline-block; width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.offer-code { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; margin-top: 6px; border-bottom: 1px solid #d3d6d8; }
.offer-code strong { font-size: 14px; font-weight: 500; }
.offer-copy { display: inline-flex; align-items: center; gap: 6px; border: 0; padding: 4px; background: transparent; cursor: pointer; font-size: 14px; }
.offer-copy span { font-weight: 700; }
.offer-copy:hover { color: var(--brand-teal); }
.offer-copy .offer-icon { width: 17px; height: 17px; }
.offer-action { display: flex; justify-content: space-between; align-items: center; gap: 14px; width: calc(100% - 22px); min-height: 44px; margin: 8px 11px 11px; padding: 7px 14px; border: 0; border-radius: 3px; background: var(--brand-teal); color: #fff; font-size: 16px; font-weight: 500; cursor: pointer; transition: background .2s ease; }
.offer-action:hover, .offer-action:focus-visible { background: var(--navy); }
.offer-action .offer-icon { width: 31px; height: 31px; }
html[lang^="en"] .offer-action .offer-icon { transform: rotate(180deg); }
html[lang^="en"] .offer-status { left: auto; right: 18px; }
html[lang^="en"] .offer-location-badge { right: auto; left: 18px; border-radius: 0 24px 24px 0; }

html[lang^="en"] .offer-photo-note { left: auto; right: 24px; }
.offers-dots { display: flex; justify-content: center; align-items: center; gap: 14px; min-height: 14px; margin-top: 25px; }
.offers-dots button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: #9298a2; cursor: pointer; transition: background-color .18s ease, transform .18s ease; }
.offers-dots button[aria-current="true"] { background: var(--brand-teal); }
.offers-dots button:hover { transform: scale(1.15); }
.offers-dots button:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; }
.offer-dialog { width: min(460px, calc(100% - 32px)); padding: 30px; border: 0; border-radius: 4px; color: var(--ink); background: #fff; box-shadow: 0 15px 50px rgba(0,0,0,.2); }
.offer-dialog::backdrop { background: rgba(9,19,35,.65); }
.offer-dialog-close { position: absolute; top: 12px; inset-inline-end: 12px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; background: transparent; cursor: pointer; }
.offer-dialog h2 { margin: 8px 0 2px; font-size: 25px; color: var(--navy); }
.offer-dialog p { margin: 0 0 18px; color: var(--muted); }
.offer-dialog dl { margin: 0 0 20px; }
.offer-dialog dl > div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding: 8px 0; }
.offer-dialog dt { font-weight: 700; }
.offer-dialog dd { margin: 0; }
.offer-dialog-contact { display: block; padding: 11px 16px; border-radius: 3px; text-align: center; background: var(--brand-blue); color: #fff; }
.back-to-top {
	position: fixed; z-index: 30; right: 24px; bottom: 24px; display: inline-flex;
	align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0;
	border: 0; border-radius: 50%; background: var(--accent); color: #fff;
	box-shadow: 0 5px 18px rgba(25,46,64,.24); cursor: pointer; opacity: 0; visibility: hidden;
	transform: translateY(8px); transition: opacity .22s ease, visibility .22s ease, transform .22s ease, background .2s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
html[lang^="en"] .back-to-top { right: auto; left: 24px; }
.back-to-top:hover, .back-to-top:focus-visible { background: var(--navy); }
.icon-up { width: 23px; height: 23px; }
:focus-visible { outline: 2px solid var(--brand-teal); outline-offset: 3px; }
@media (max-width: 1050px) {
	.container { width: min(calc(100% - 36px), var(--container)); }
	.site-header .container { width: min(calc(100% - 36px), 1295px); }
	.nav-inner { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); }
	.brand-tools { display: flex; align-items: center; gap: 16px; width: max-content; max-width: 100%; flex-wrap: nowrap; }
	.brand-link { flex: 0 0 auto; }
	.main-menu { gap: clamp(16px,2vw,28px); }
	.main-menu a { font-size: 15px; }
	.offers-track { --offer-gap: 25px; grid-auto-columns: calc((100% - var(--offer-gap)) / 2); }
}
@media (max-width: 820px) {
	body.menu-open { overflow: hidden; }
	body.menu-open .nav-shell { z-index: 40; }
	.container { width: min(calc(100% - 28px), var(--container)); }
	.site-header .container { width: min(calc(100% - 28px), 1295px); }
	.nav-inner { position: relative; min-height: 68px; grid-template-columns: auto 1fr auto; grid-template-rows: minmax(68px,auto); }
	.brand-tools { grid-column: 3; grid-row: 1; gap: 0; min-width: 0; flex-wrap: nowrap; transform: translateX(-5px); }
	html[lang^="en"] .brand-tools { grid-column: 1; justify-self: start; transform: translateX(5px); }
	.brand-link { position: relative; z-index: 1; min-width: 0; min-height: 62px; flex: 0 1 auto; }
	.brand-logo { display: none; }
	.brand-logo-mobile { display: block; width: min(25vw, 130px); height: auto; max-height: 46px; object-fit: contain; }
	.language-switch { position: absolute; z-index: 4; top: 50%; left: 108px; right: auto; transform: translateY(-50%); flex: 0 0 auto; white-space: nowrap; }
	html[lang^="en"] .language-switch { left: auto; right: 108px; }
	.search-toggle { position: absolute; z-index: 4; top: 50%; left: 58px; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.32); border-radius: 3px; color: #fff; transform: translateY(-50%); }
	.search-toggle .icon { width: 18px; height: 18px; }
	html[lang^="en"] .search-toggle { left: auto; right: 58px; }
	.menu-toggle { width: 38px; height: 38px; }
	.icon-menu { width: 18px; height: 18px; }
	.menu-toggle { grid-column: 1; grid-row: 1; display: inline-flex; }
	html[lang^="en"] .menu-toggle { grid-column: 3; justify-self: end; }
	.menu-backdrop {
		position: fixed; z-index: 2; inset: 0; display: block;
		background: rgba(9, 19, 35, .58); opacity: 0; visibility: hidden;
		pointer-events: none; transition: opacity .25s ease, visibility .25s ease;
	}
	body.menu-open .menu-backdrop { opacity: 1; visibility: visible; pointer-events: auto; }
	.main-navigation {
		position: fixed; z-index: 3; top: 0; right: 0; bottom: 0; left: auto;
		display: flex; flex-direction: column; justify-self: auto; align-self: auto;
		width: min(78vw, 520px); height: 100vh; height: 100dvh;
		padding: 66px 16px 28px; overflow-y: auto; overscroll-behavior: contain;
		background: var(--navy-deep); box-shadow: -18px 0 36px rgba(9,19,35,.22);
		opacity: 0; visibility: hidden; pointer-events: none;
		transform: translateX(100%); transition: transform .25s ease, opacity .25s ease, visibility .25s ease;
	}
	.main-navigation.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(0); }
	html[lang^="en"] .main-navigation { left: 0; right: auto; transform: translateX(-100%); box-shadow: 18px 0 36px rgba(9,19,35,.22); }
	html[lang^="en"] .main-navigation.is-open { transform: translateX(0); }
	.main-navigation::before { display: none; }
	.menu-close {
		position: absolute; top: 14px; left: 16px; display: inline-flex;
		align-items: center; justify-content: center; width: 40px; height: 40px;
		padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer;
	}
	.menu-close .icon { width: 26px; height: 26px; }
	html[lang^="en"] .menu-close { left: auto; right: 16px; }
	.main-menu { width: 100%; align-items: stretch; flex-direction: column; gap: 6px; }
	.main-menu li { border: 0; }
	.main-menu a {
		width: 100%; min-height: 66px; padding: 12px 20px;
		border: 2px solid transparent; border-radius: 3px;
		font-size: clamp(20px, 3vw, 27px); text-align: start;
	}
	.main-menu a::after { display: none; }
	.main-menu a[aria-current="page"] { border-color: rgba(255,255,255,.95); }
	.main-menu a:hover, .main-menu a:focus-visible { background: rgba(255,255,255,.09); }
	.offers-container { width: min(calc(100% - 28px), 1295px); }
}
@media (max-width: 560px) {
	.topbar-inner { min-height: 42px; gap: 0; }
	.topbar-link { min-height: 40px; gap: 5px; font-size: 11px; }
	.phone-link { flex: 0 0 auto; }
	.location-link { flex: 1 1 auto; margin-left: 10px; padding-left: 10px; }
	html[lang^="en"] .location-link { margin-left: 0; padding-left: 0; margin-right: 10px; padding-right: 10px; }
	.location-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.topbar-link .icon { width: 16px; height: 16px; }
	.nav-inner { min-height: 60px; grid-template-rows: minmax(60px,auto); }
	.brand-tools { gap: 8px; }
	.brand-tools { gap: 0; max-width: none; }
	.brand-link { min-width: 0; min-height: 48px; flex: 0 1 auto; }
	.brand-logo-mobile { width: min(25vw, 112px); max-height: 40px; }
	.language-switch { min-height: 32px; gap: 5px; padding: 5px 7px; font-size: 11px; }
	.flag { max-width: 23px; height: 14px; }
	.flag { max-width: 23px; height: 14px; }
	.back-to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
	html[lang^="en"] .back-to-top { left: 16px; right: auto; }
	.latest-offers { padding: 30px 0 48px; }
	.offers-heading { gap: 12px; margin-bottom: 20px; }
	.offers-heading { gap: 12px; }
	.offers-heading h1 { font-size: 26px; white-space: nowrap; }
	.offers-track { grid-auto-columns: 100%; }
	.offer-caption { inset-inline: 0; bottom: 0; width: 100%; padding: 12px 14px 11px; }
	.offer-location-badge { top: 12px; right: 12px; max-width: calc(100% - 105px); padding: 4px 8px; font-size: 11px; }
	html[lang^="en"] .offer-status { right: 12px; }
	html[lang^="en"] .offer-location-badge { left: 12px; right: auto; }
	.offer-caption h2 { font-size: 21px; }
	.offer-caption-location { font-size: 11px; }
	.offer-details { padding: 14px 15px 10px; }
	.offer-action { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Footer */
.site-footer { position: relative; overflow: hidden; color: #fff; background: var(--navy-deep); }
.footer-main { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 90px); width: min(calc(100% - 48px), 1295px); margin-inline: auto; padding: 58px 0 48px; direction: rtl; }
.footer-groups { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 30px; }
.footer-group h3 { margin: 0 0 14px; color: #fff; font-size: 17px; font-weight: 700; }
.footer-icons { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-icons a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; border-radius: 4px; transition: opacity .2s ease, transform .2s ease; }
.footer-icons a:hover, .footer-icons a:focus-visible { opacity: .78; transform: translateY(-2px); }
.footer-icons img { display: block; width: 38px; height: 38px; object-fit: contain; }
.footer-platform-icons a { width: 46px; height: 46px; }
.footer-platform-icons img { width: 42px; height: 42px; }
.footer-about { position: relative; z-index: 0; min-width: 0; text-align: right; }
.footer-watermark { position: absolute; z-index: -1; top: 50%; left: 46%; width: min(180px, 34%); max-height: 210px; object-fit: contain; opacity: .07; transform: translate(-50%,-50%); pointer-events: none; }
.footer-about h2 { margin: 0 0 14px; color: #fff; font-size: 24px; font-weight: 700; }
.footer-about p { max-width: 740px; margin: 0; color: rgba(255,255,255,.88); font-size: 15px; line-height: 1.95; }
.footer-contact { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 22px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.88); font-size: 15px; transition: color .2s ease; }
.footer-contact a:hover { color: var(--brand-teal); }
.footer-contact-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom { min-height: 64px; display: flex; align-items: center; justify-content: center; padding: 12px 24px; color: #26323e; background: #b5a38e; text-align: center; }
.footer-bottom p { margin: 0; font-size: 14px; font-weight: 500; }
html[lang^="en"] .footer-main { direction: ltr; }
html[lang^="en"] .footer-about { text-align: left; }
html[lang^="en"] .footer-contact { direction: ltr; }
@media (max-width: 820px) {
  .footer-main { width: min(calc(100% - 36px), 640px); grid-template-columns: minmax(0,1fr); grid-template-areas: "about" "groups"; gap: 34px; padding: 42px 0 34px; text-align: center; }
  .footer-about { grid-area: about; text-align: center; }
  .footer-groups { grid-area: groups; align-items: center; }
  .footer-group { width: 100%; text-align: center; }
  .footer-icons { justify-content: center; }
  .footer-about p { margin-inline: auto; }
  .footer-contact { justify-content: center; }
  .footer-watermark { left: 50%; width: 150px; }
  html[lang^="en"] .footer-about { text-align: center; }
  html[lang^="en"] .footer-contact { justify-content: center; }
}
@media (max-width: 560px) {
  .footer-main { width: min(calc(100% - 32px), 460px); padding-top: 36px; }
  .footer-about h2 { font-size: 21px; }
  .footer-about p { font-size: 14px; line-height: 1.85; }
  .footer-contact { gap: 14px; }
  .footer-contact a { font-size: 14px; }
  .footer-bottom { min-height: 58px; }
}

/* Footer and section title refinement */
.offers-heading { display: flex; flex-direction: row; justify-content: flex-start; gap: 20px; direction: rtl; margin-bottom: 28px; }
.offers-heading::before { display: none; }
.offers-heading::after { display: block; flex: 1 1 auto; height: 2px; }
.offers-heading h1 { text-align: right; white-space: nowrap; font-size: clamp(26px, 1.85vw, 32px); }
.footer-main { grid-template-areas: "groups about"; direction: ltr; grid-template-columns: minmax(300px, .9fr) minmax(0, 1.5fr); gap: clamp(36px, 6vw, 90px); }
.footer-groups { grid-area: groups; direction: rtl; }
.footer-about { grid-area: about; direction: rtl; text-align: right; }
.footer-group { padding-top: 15px; border-top: 1px solid rgba(255,255,255,.28); }
.footer-group h3 { margin-bottom: 16px; font-size: 19px; }
.footer-icons { gap: 14px; }
.footer-icons a { width: 48px; height: 48px; }
.footer-icons img { width: 44px; height: 44px; }
.footer-platform-icons a { width: 48px; height: 48px; }
.footer-platform-icons img { width: 44px; height: 44px; }
.footer-about h2 { display: none; }
.footer-about p { max-width: 780px; font-size: 14px; line-height: 1.85; }
.footer-contact { display: flex; align-items: center; gap: 14px; margin-top: 20px; direction: rtl; font-size: 14px; }
.footer-contact a { color: inherit; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-contact-separator { color: rgba(255,255,255,.6); }
.footer-bottom { background: var(--navy); color: #fff; }
.footer-bottom p { font-size: 14px; }
html[lang^="en"] .footer-main { direction: ltr; }
html[lang^="en"] .footer-groups, html[lang^="en"] .footer-about { direction: ltr; text-align: left; }
html[lang^="en"] .footer-contact { direction: ltr; }
@media (max-width: 820px) {
  .offers-heading { gap: 12px; margin-bottom: 20px; }
  .offers-heading h1 { font-size: 25px; }
  .footer-main { grid-template-areas: "about" "groups"; grid-template-columns: minmax(0,1fr); direction: rtl; }
  .footer-groups { align-items: stretch; }
  .footer-group { text-align: center; }
  .footer-icons { justify-content: center; }
  .footer-about, html[lang^="en"] .footer-about { text-align: center; }
  .footer-contact { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .offers-heading h1 { font-size: 22px; }
  .offers-heading { gap: 10px; }
  .footer-icons { gap: 10px; }
  .footer-icons a, .footer-platform-icons a { width: 44px; height: 44px; }
  .footer-icons img, .footer-platform-icons img { width: 40px; height: 40px; }
  .footer-contact { font-size: 13px; gap: 9px; }
}

/* Final visual corrections */
.offer-location-badge { top: 18px; right: 0; max-width: calc(100% - 118px); border-radius: 24px 0 0 24px; padding: 5px 12px 5px 14px; }
.offer-location-badge span { direction: rtl; }
.offer-status { top: 18px; left: 12px; }
.offer-caption { inset: auto; left: 14px; right: auto; bottom: 14px; width: auto; max-width: calc(100% - 28px); padding: 5px 11px; border-radius: 3px; background: rgba(29,50,116,.78); -webkit-backdrop-filter: none; backdrop-filter: none; }
.offer-caption h2 { font-size: 15px; line-height: 1.4; }
html[lang^="en"] .offer-status { left: auto; right: 12px; }
html[lang^="en"] .offer-location-badge { right: auto; left: 0; border-radius: 0 24px 24px 0; }
html[lang^="en"] .offer-location-badge span { direction: ltr; }
html[lang^="en"] .offer-caption { left: auto; right: 14px; }
.footer-watermark { display: none !important; }
.footer-icons { gap: 12px; }
.footer-icons a { width: 50px; height: 50px; overflow: hidden; flex: 0 0 50px; }
.footer-icons img { width: 66px; height: 66px; max-width: none; flex: 0 0 66px; }
.footer-icons a[aria-label="X"] img { width: 34px; height: 34px; flex-basis: 34px; }
.footer-platform-icons a { width: 50px; height: 50px; flex-basis: 50px; }
.footer-platform-icons img { width: 66px; height: 66px; flex-basis: 66px; }
.footer-bottom { background: #75634f; color: #fff; }
.footer-bottom p { direction: rtl; }
.footer-bottom bdi { unicode-bidi: isolate; white-space: nowrap; }
@media (max-width: 560px) {
  .offer-caption { left: 10px; bottom: 10px; }
  .offer-caption h2 { font-size: 13px; }
  html[lang^="en"] .offer-caption { right: 10px; }
  .footer-icons { gap: 8px; }
  .footer-icons a, .footer-platform-icons a { width: 46px; height: 46px; flex-basis: 46px; }
  .footer-icons img, .footer-platform-icons img { width: 62px; height: 62px; flex-basis: 62px; }
  .footer-icons a[aria-label="X"] img { width: 32px; height: 32px; flex-basis: 32px; }
}

/* Uniform icon rows and rights strip */
.footer-icons:not(.footer-platform-icons) { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: center; gap: 6px; width: 100%; flex-wrap: nowrap; }
.footer-icons:not(.footer-platform-icons) a { display: grid; place-items: center; width: 100%; height: 46px; flex: initial; overflow: visible; }
.footer-icons:not(.footer-platform-icons) img { display: block; width: 44px; height: 44px; max-width: 100%; object-fit: contain; flex: initial; }
.footer-icons:not(.footer-platform-icons) a[aria-label="X"] img { width: 44px; height: 44px; flex-basis: auto; }
.footer-platform-icons { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; }
.footer-platform-icons a { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; overflow: visible; }
.footer-platform-icons img { width: 44px; height: 44px; flex: initial; object-fit: contain; }
.footer-bottom { background: #414346; color: #fff; }
@media (max-width: 560px) {
  .footer-icons:not(.footer-platform-icons) { gap: 4px; }
  .footer-icons:not(.footer-platform-icons) a { height: 40px; }
  .footer-icons:not(.footer-platform-icons) img { width: 38px; height: 38px; }
  .footer-icons:not(.footer-platform-icons) a[aria-label="X"] img { width: 38px; height: 38px; }
  .footer-platform-icons { justify-content: center; }
  .footer-platform-icons a { width: 42px; height: 42px; flex-basis: 42px; }
  .footer-platform-icons img { width: 40px; height: 40px; }
}

/* Language-specific header, section and footer alignment */
html[lang^="en"] .topbar-inner { direction: ltr; justify-content: flex-start; }
html[lang^="en"] .location-link { direction: ltr; margin-left: 18px; margin-right: 0; padding-left: 18px; padding-right: 0; border-left: 1px solid rgba(25,46,64,.32); border-right: 0; }
html[lang^="en"] .offers-heading { direction: ltr; }
html[lang^="en"] .offers-heading h1 { text-align: left; }
html[lang^="en"] .footer-main { grid-template-areas: "about groups"; grid-template-columns: minmax(0,1.5fr) minmax(300px,.9fr); direction: ltr; }
html[lang^="en"] .footer-about { grid-area: about; direction: ltr; text-align: left; }
html[lang^="en"] .footer-groups { grid-area: groups; direction: ltr; text-align: left; }
html[lang^="en"] .footer-contact { direction: ltr; }
.footer-bottom { background: #62666a; color: #fff; }
@media (max-width: 820px) {
  html[lang^="en"] .footer-main { grid-template-areas: "about" "groups"; grid-template-columns: minmax(0,1fr); }
  html[lang^="en"] .footer-about, html[lang^="en"] .footer-groups { text-align: center; }
}

/* Icon sizing from the provided footer reference */
.footer-icons:not(.footer-platform-icons) img { width: 70px; height: 70px; max-width: none; }
.footer-icons:not(.footer-platform-icons) a[aria-label="X"] img { width: 90px; height: 90px; }
.footer-platform-icons a { width: 58px; height: 58px; flex-basis: 58px; }
.footer-platform-icons img { width: 56px; height: 56px; }
html[lang^="en"] .footer-icons:not(.footer-platform-icons) { direction: ltr; }
html[lang^="ar"] .footer-icons:not(.footer-platform-icons) { direction: rtl; }
html[lang^="en"] .footer-platform-icons { direction: ltr; }
html[lang^="ar"] .footer-platform-icons { direction: rtl; }
.footer-bottom { background: #73777b; color: #fff; }
@media (max-width: 560px) {
  .footer-icons:not(.footer-platform-icons) img { width: 46px; height: 46px; }
  .footer-icons:not(.footer-platform-icons) a[aria-label="X"] img { width: 58px; height: 58px; }
  .footer-platform-icons a { width: 46px; height: 46px; flex-basis: 46px; }
  .footer-platform-icons img { width: 44px; height: 44px; }
}

/* Compact footer: equal icons and restrained typography */
.footer-main { padding: 30px 0 24px; gap: clamp(26px, 4vw, 58px); }
.footer-groups { gap: 16px; }
.footer-group { padding-top: 10px; }
.footer-group h3 { margin: 0 0 10px; font-size: 17px; font-weight: 400; line-height: 1.4; }
.footer-icons:not(.footer-platform-icons) { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.footer-icons:not(.footer-platform-icons) a,
.footer-platform-icons a { width: 48px; height: 48px; flex: 0 0 48px; overflow: visible; }
.footer-icons:not(.footer-platform-icons) img,
.footer-platform-icons img,
.footer-icons:not(.footer-platform-icons) a[aria-label="X"] img { width: 48px; height: 48px; max-width: 100%; flex: 0 0 48px; object-fit: contain; }
.footer-platform-icons { gap: 8px; }
.footer-about p { font-size: 14px; line-height: 1.75; }
.footer-contact { gap: 10px; margin-top: 12px; font-size: 13px; }
.footer-bottom { min-height: 48px; padding: 8px 20px; background: #8b8e91; color: #fff; }
.footer-bottom p { font-size: 13px; font-weight: 500; }
.footer-bottom bdi { display: inline-block; direction: ltr; unicode-bidi: isolate; }
@media (max-width: 820px) {
  .footer-main { gap: 22px; padding: 26px 0 22px; }
}
@media (max-width: 560px) {
  .footer-main { padding: 22px 0 18px; gap: 18px; }
  .footer-group h3 { font-size: 16px; }
  .footer-icons:not(.footer-platform-icons) { gap: 4px; }
  .footer-icons:not(.footer-platform-icons) a,
  .footer-platform-icons a { width: 40px; height: 40px; flex-basis: 40px; }
  .footer-icons:not(.footer-platform-icons) img,
  .footer-platform-icons img,
  .footer-icons:not(.footer-platform-icons) a[aria-label="X"] img { width: 40px; height: 40px; flex-basis: 40px; }
  .footer-platform-icons { gap: 6px; }
  .footer-bottom { min-height: 44px; padding: 7px 14px; }
}

/* Compact footer spacing and identical icon frames */
.footer-main { padding: 20px 0 16px; gap: clamp(20px, 3vw, 42px); }
.footer-groups { gap: 10px; }
.footer-group { padding-top: 7px; }
.footer-group h3 { margin: 0 0 8px; font-size: 16px; font-weight: 400; line-height: 1.4; }
.footer-icons:not(.footer-platform-icons) { gap: 6px; }
.footer-icons:not(.footer-platform-icons) a,
.footer-platform-icons a { width: 44px; height: 44px; flex-basis: 44px; }
.footer-icons:not(.footer-platform-icons) img,
.footer-platform-icons img,
.footer-icons:not(.footer-platform-icons) a[aria-label="X"] img { width: 44px; height: 44px; flex-basis: 44px; max-width: 100%; }
.footer-platform-icons { gap: 6px; }
.footer-about p { font-size: 13px; line-height: 1.6; }
.footer-contact { gap: 8px; margin-top: 9px; font-size: 12px; }
@media (max-width: 820px) {
  .footer-main { padding: 18px 0 14px; gap: 14px; }
}
@media (max-width: 560px) {
  .footer-main { padding: 16px 0 12px; gap: 12px; }
  .footer-icons:not(.footer-platform-icons) { gap: 4px; }
  .footer-icons:not(.footer-platform-icons) a,
  .footer-platform-icons a { width: 38px; height: 38px; flex-basis: 38px; }
  .footer-icons:not(.footer-platform-icons) img,
  .footer-platform-icons img,
  .footer-icons:not(.footer-platform-icons) a[aria-label="X"] img { width: 38px; height: 38px; flex-basis: 38px; }
  .footer-about p { font-size: 12px; }
}

/* Footer finishing pass */
.footer-main { padding: 24px 0 18px; }
.footer-about { padding-top: 12px; }
.footer-about p { margin-top: 0; }
.footer-group { border-top-color: var(--brand-teal); }
.footer-contact { width: 100%; padding-top: 10px; border-top: 1px solid var(--brand-teal); }
.footer-contact-separator { color: var(--brand-teal); }
.footer-icons:not(.footer-platform-icons) { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; width: 100%; gap: 8px; }
.footer-icons:not(.footer-platform-icons) a,
.footer-platform-icons a { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; overflow: visible; }
.footer-icons:not(.footer-platform-icons) img { display: block; width: 44px; height: 44px; flex: 0 0 44px; max-width: 100%; object-fit: contain; }
.footer-platform-icons { display: flex; flex-wrap: nowrap; justify-content: flex-start; align-items: center; gap: 10px; }
.footer-icon-label { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.65); color: #fff; font-size: 11px; font-weight: 500; line-height: 1; white-space: nowrap; }
.footer-bottom { background: var(--brand-teal); color: #fff; }
@media (max-width: 820px) {
 .footer-main { padding: 20px 0 16px; }
 .footer-about { padding-top: 8px; }
 .footer-icons:not(.footer-platform-icons) { justify-content: space-between; }
 .footer-platform-icons { justify-content: center; }
}
@media (max-width: 560px) {
 .footer-main { padding: 16px 0 12px; }
 .footer-icons:not(.footer-platform-icons) { gap: 4px; }
 .footer-icons:not(.footer-platform-icons) a, .footer-platform-icons a,
 .footer-icons:not(.footer-platform-icons) img, .footer-icon-label { width: 40px; height: 40px; flex-basis: 40px; }
 .footer-icons:not(.footer-platform-icons) img { max-width: 40px; }
 .footer-icon-label { font-size: 10px; }
}
@media (max-width: 560px) {
 .footer-icons:not(.footer-platform-icons) a, .footer-platform-icons a,
 .footer-icons:not(.footer-platform-icons) img, .footer-icon-label { width: 36px; height: 36px; flex-basis: 36px; }
 .footer-icons:not(.footer-platform-icons) img { max-width: 36px; }
 .footer-icon-label { font-size: 9px; }
}

/* Side-by-side footer groups and compact aligned icon rows */
.footer-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 0; }
.footer-group { min-width: 0; border-top: 1px solid var(--brand-teal); padding: 8px 0 0; }
.footer-group + .footer-group { border-top-color: var(--brand-teal); border-inline-start: 1px solid var(--brand-teal); padding-inline-start: 12px; }
.footer-group h3 { font-size: 15px; font-weight: 400; margin: 0 0 8px; }
.footer-icons:not(.footer-platform-icons) { justify-content: space-between; gap: 4px; }
.footer-icons:not(.footer-platform-icons) a,
.footer-platform-icons a { width: 32px; height: 32px; flex: 0 0 32px; }
.footer-icons:not(.footer-platform-icons) img,
.footer-platform-icons img { width: 31px; height: 31px; flex: 0 0 31px; }
.footer-platform-icons { gap: 4px; }
.footer-icon-label { width: 31px; height: 31px; font-size: 9px; }
.footer-about p { max-width: 560px; }
@media (max-width: 820px) {
 .footer-groups { display: flex; flex-direction: column; gap: 12px; }
 .footer-group + .footer-group { border-inline-start: 0; padding-inline-start: 0; }
 .footer-about p { max-width: 560px; }
}
@media (max-width: 560px) {
 .footer-icons:not(.footer-platform-icons) a, .footer-platform-icons a { width: 26px; height: 26px; flex-basis: 26px; }
 .footer-icons:not(.footer-platform-icons) img, .footer-platform-icons img { width: 25px; height: 25px; flex-basis: 25px; }
 .footer-icon-label { width: 25px; height: 25px; font-size: 8px; }
 .footer-icons:not(.footer-platform-icons) { gap: 3px; }
 .footer-platform-icons { gap: 3px; }
}

/* Keep each compact icon row inside its own footer column */
.footer-icons:not(.footer-platform-icons) { justify-content: center; gap: 4px; }
.footer-icons:not(.footer-platform-icons) a,
.footer-platform-icons a { width: 28px; height: 28px; flex: 0 0 28px; }
.footer-icons:not(.footer-platform-icons) img,
.footer-platform-icons img { width: 27px; height: 27px; flex: 0 0 27px; }
.footer-platform-icons { justify-content: center; gap: 6px; }
.footer-icon-label { width: 27px; height: 27px; font-size: 8px; }
@media (max-width: 560px) {
 .footer-icons:not(.footer-platform-icons) { gap: 3px; }
 .footer-icons:not(.footer-platform-icons) a,
 .footer-platform-icons a { width: 25px; height: 25px; flex-basis: 25px; }
 .footer-icons:not(.footer-platform-icons) img,
 .footer-platform-icons img { width: 24px; height: 24px; flex-basis: 24px; }
 .footer-icon-label { width: 24px; height: 24px; font-size: 7px; }
}

/* Footer alignment: one clean divider between the two icon groups */
.footer-group,
.footer-group + .footer-group { border-top: 0; }
.footer-group + .footer-group { border-inline-start: 1px solid var(--brand-teal); }
.footer-group h3 { text-align: right; }
.footer-icons:not(.footer-platform-icons) {
 display: grid;
 grid-template-columns: repeat(7, 32px);
 justify-content: space-between;
 align-items: center;
 gap: 4px;
 direction: ltr;
}
.footer-icons:not(.footer-platform-icons) a,
.footer-platform-icons a {
 display: grid;
 place-items: center;
 width: 32px;
 height: 32px;
 flex: 0 0 32px;
 overflow: visible;
 transform: none;
}
.footer-icons:not(.footer-platform-icons) img,
.footer-icons:not(.footer-platform-icons) a[aria-label="X"] img,
.footer-platform-icons img {
 display: block;
 width: 30px;
 height: 30px;
 max-width: 100%;
 flex: 0 0 30px;
 object-fit: contain;
 transform: none;
}
.footer-icons:not(.footer-platform-icons) a[aria-label="X"] { align-self: center; }
.footer-platform-icons { justify-content: flex-start; direction: rtl; }
html[lang^="en"] .footer-group h3 { text-align: left; }
html[lang^="en"] .footer-platform-icons { direction: ltr; }
.footer-about p { text-align: justify; text-align-last: right; word-spacing: .04em; }
html[lang^="en"] .footer-about p { text-align: left; text-align-last: left; word-spacing: normal; }
@media (max-width: 820px) {
 .footer-group + .footer-group { border-inline-start: 0; }
 .footer-icons:not(.footer-platform-icons) { grid-template-columns: repeat(7, 28px); justify-content: center; gap: 4px; }
 .footer-platform-icons { justify-content: center; }
 .footer-group h3, html[lang^="en"] .footer-group h3 { text-align: center; }
 .footer-about p { text-align: center; text-align-last: center; }
}
@media (max-width: 560px) {
 .footer-icons:not(.footer-platform-icons) { grid-template-columns: repeat(7, 25px); gap: 3px; }
 .footer-icons:not(.footer-platform-icons) a,
 .footer-platform-icons a { width: 25px; height: 25px; flex-basis: 25px; }
 .footer-icons:not(.footer-platform-icons) img,
 .footer-icons:not(.footer-platform-icons) a[aria-label="X"] img,
 .footer-platform-icons img { width: 24px; height: 24px; flex-basis: 24px; }
}

/* Clear separation between social accounts and property platforms */
@media (min-width: 821px) {
 .footer-group:first-child {
  border-inline-end: 1px solid var(--brand-teal);
  padding-inline-end: 14px;
 }
 .footer-group + .footer-group {
  border-inline-start: 0;
  padding-inline-start: 14px;
 }
 .footer-icons:not(.footer-platform-icons) {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  justify-content: stretch;
 }
 .footer-icons:not(.footer-platform-icons) a {
  width: 100%;
  max-width: 32px;
  justify-self: center;
 }
}
@media (max-width: 820px) {
 .footer-group:first-child { border-inline-end: 0; padding-inline-end: 0; }
}

/* Footer headings with individual underlines and clearer icon spacing */
.footer-group h3 {
 display: block;
 width: fit-content;
 margin-bottom: 14px;
 padding-bottom: 5px;
 border-bottom: 1px solid var(--brand-teal);
}
html[lang^="en"] .footer-group h3 { margin-inline-start: 0; margin-inline-end: auto; }
html[lang^="ar"] .footer-group h3 { margin-inline-start: auto; margin-inline-end: 0; }
.footer-platform-icons { gap: 10px; }
.footer-icon-label { width: 30px; height: 30px; font-size: 9px; }
.footer-group:first-child { padding-inline-end: 20px; }
.footer-group + .footer-group { padding-inline-start: 20px; }
.footer-icons:not(.footer-platform-icons) { column-gap: 8px; }
@media (max-width: 820px) {
 .footer-groups { gap: 24px; }
 .footer-group h3,
 html[lang^="en"] .footer-group h3,
 html[lang^="ar"] .footer-group h3 {
  margin-inline: auto;
  margin-bottom: 14px;
 }
 .footer-group:first-child,
 .footer-group + .footer-group { padding-inline: 0; }
}
@media (max-width: 560px) {
 .footer-icons:not(.footer-platform-icons) { grid-template-columns: repeat(7, 31px); gap: 7px; }
 .footer-icons:not(.footer-platform-icons) a,
 .footer-platform-icons a { width: 31px; height: 31px; flex-basis: 31px; }
 .footer-icons:not(.footer-platform-icons) img,
 .footer-icons:not(.footer-platform-icons) a[aria-label="X"] img,
 .footer-platform-icons img { width: 30px; height: 30px; flex-basis: 30px; }
 .footer-platform-icons { gap: 10px; }
 .footer-icon-label { width: 30px; height: 30px; font-size: 9px; }
}

/* Match social icon scale to the property platform buttons and preserve Arabic RTL order */
.footer-icons:not(.footer-platform-icons) img,
.footer-icons:not(.footer-platform-icons) a[aria-label="X"] img { width: 36px; height: 36px; flex-basis: 36px; }
html[lang^="ar"] .footer-icons:not(.footer-platform-icons) { direction: rtl; }
html[lang^="ar"] .footer-platform-icons { direction: rtl; justify-content: flex-start; }
html[lang^="ar"] .footer-group h3 { text-align: right; }
@media (max-width: 820px) {
 html[lang^="ar"] .footer-group h3 { text-align: center; }
 html[lang^="ar"] .footer-platform-icons { justify-content: center; }
}

/* Correct Arabic desktop order: social accounts on the left, platforms on the right */
@media (min-width: 821px) {
 .footer-groups { direction: ltr; }
 .footer-group { direction: rtl; }
 .footer-group:first-child {
  border-inline-end: 0;
  border-right: 1px solid var(--brand-teal);
  padding-right: 14px;
  padding-left: 0;
 }
 .footer-group + .footer-group {
  border-right: 0;
  padding-left: 14px;
  padding-right: 0;
 }
 html[lang^="ar"] .footer-group h3 { text-align: right; margin-left: auto; margin-right: 0; }
 html[lang^="ar"] .footer-platform-icons { direction: rtl; justify-content: flex-start; }
 html[lang^="ar"] .footer-icons:not(.footer-platform-icons) { direction: rtl; }
}
.footer-icons:not(.footer-platform-icons) a,
.footer-platform-icons a {
 width: 36px !important;
 height: 36px !important;
 flex: 0 0 36px !important;
}
.footer-icons:not(.footer-platform-icons) img,
.footer-icons:not(.footer-platform-icons) a[aria-label="X"] img,
.footer-platform-icons img,
.footer-icon-label {
 width: 36px !important;
 height: 36px !important;
 flex: 0 0 36px !important;
}
.footer-icons:not(.footer-platform-icons) { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.footer-icons:not(.footer-platform-icons) a { max-width: 36px; justify-self: center; }
.footer-platform-icons { gap: 8px; }
@media (max-width: 820px) {
 .footer-groups { direction: rtl; }
 .footer-group:first-child,
 .footer-group + .footer-group { border: 0; padding-inline: 0; }
 .footer-icons:not(.footer-platform-icons) { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
 .footer-platform-icons { gap: 8px; }
}
@media (max-width: 380px) {
 .footer-icons:not(.footer-platform-icons) { gap: 3px; }
 .footer-icons:not(.footer-platform-icons) a,
 .footer-platform-icons a,
 .footer-icons:not(.footer-platform-icons) img,
 .footer-platform-icons img,
 .footer-icon-label { width: 32px !important; height: 32px !important; flex-basis: 32px !important; }
}

/* Keep the mobile drawer above header controls, with its backdrop below it */
@media (max-width: 820px) {
 body.menu-open .menu-backdrop { z-index: 5; }
 body.menu-open .main-navigation { z-index: 6; }
}

/* Individual property detail page */
.property-page { padding-bottom: 40px; }
.property-hero {
	position: relative;
	min-height: clamp(500px, 68vh, 760px);
	display: flex;
	align-items: center;
	background-color: var(--navy-deep);
	background-position: center;
	background-size: cover;
	color: #fff;
}
.property-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,19,35,.28), rgba(9,19,35,.6)); }
.property-hero-content { position: relative; z-index: 1; padding-top: 28px; padding-bottom: 120px; text-align: right; }
.property-back-link { display: inline-block; margin-bottom: 34px; color: rgba(255,255,255,.9); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.property-location { margin: 0 0 4px; color: rgba(255,255,255,.88); font-size: 17px; }
.property-hero h1 { max-width: 850px; margin: 0 0 22px; color: #fff; font-size: clamp(32px, 4vw, 56px); line-height: 1.25; font-weight: 700; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.property-gallery-jump { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border: 1px solid rgba(255,255,255,.8); border-radius: 3px; color: #fff; background: rgba(16,30,53,.22); }
.property-inquiry { position: absolute; z-index: 2; right: 50%; bottom: -38px; transform: translateX(50%); display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(calc(100% - 48px), 1170px); min-height: 92px; padding: 18px 22px; background: #fff; color: var(--navy); box-shadow: 0 8px 30px rgba(10,25,45,.18); }
.property-inquiry h2 { margin: 0; color: var(--ink); font-size: clamp(20px, 2vw, 27px); line-height: 1.35; }
.property-inquiry-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.property-inquiry-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 18px; border-radius: 3px; font-weight: 600; transition: filter .2s ease, transform .2s ease; }
.property-inquiry-actions a:hover { filter: brightness(.94); transform: translateY(-1px); }
.property-call { background: #e4e9ef; color: var(--navy-deep); }
.property-whatsapp { background: #a1bcae; color: #193a36; }
.property-content { padding-top: 100px; }
.property-section { margin: 0 0 58px; scroll-margin-top: 28px; }
.property-section-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; color: var(--navy); }
.property-section-heading span { flex: 1; height: 2px; background: var(--navy); }
.property-section-heading h2 { order: 1; margin: 0; font-size: clamp(25px, 2.3vw, 34px); font-weight: 600; white-space: nowrap; }
html[lang^="en"] .property-section-heading { flex-direction: row-reverse; }
.property-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.property-gallery figure { min-width: 0; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; background: #e8ebef; }
.property-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.property-gallery figure:hover img { transform: scale(1.025); }
.property-gallery.is-single figure { grid-column: 1 / -1; width: min(100%, 850px); margin-inline: auto; aspect-ratio: 16 / 9; }
.property-video { overflow: hidden; min-height: 250px; aspect-ratio: 16 / 9; max-height: 580px; background: #101b2a; }
.property-video video { display: block; width: 100%; height: 100%; object-fit: contain; }
.property-video-empty { display: flex; height: 100%; min-height: 250px; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: rgba(255,255,255,.84); background: linear-gradient(135deg, #1d3274, #101b2a); }
.property-video-empty svg { width: 58px; height: 58px; padding: 15px; border: 1px solid rgba(255,255,255,.56); border-radius: 50%; fill: currentColor; }
.property-video-empty p { margin: 0; }
.property-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; margin: 0; padding: 0 20px; border: 1px solid var(--line); background: #fafafa; }
.property-specs > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 62px; border-bottom: 1px solid var(--line); }
.property-specs dt { color: var(--muted); }
.property-specs dd { margin: 0; color: var(--navy); font-weight: 700; }
.property-map-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px; border: 1px solid var(--line); background: #fafafa; }
.property-map-card p { margin: 0; color: var(--ink); font-size: 18px; font-weight: 600; }
.property-map-card a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; background: var(--navy); color: #fff; border-radius: 3px; }
html[lang^="en"] .property-hero-content { text-align: left; }
html[lang^="en"] .property-inquiry { direction: ltr; }
@media (max-width: 820px) {
	.property-hero { min-height: 620px; align-items: flex-start; }
	.property-hero-content { padding-top: 54px; padding-bottom: 170px; }
	.property-back-link { margin-bottom: 28px; }
	.property-location { font-size: 15px; }
	.property-hero h1 { font-size: clamp(30px, 6vw, 44px); }
	.property-inquiry { bottom: -78px; flex-direction: column; align-items: stretch; gap: 14px; width: calc(100% - 32px); padding: 18px; text-align: center; }
	.property-inquiry-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.property-inquiry-actions a { padding-inline: 10px; font-size: 14px; }
	.property-content { padding-top: 122px; }
	.property-section { margin-bottom: 42px; }
	.property-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.property-gallery.is-single figure { grid-column: 1 / -1; }
	.property-specs { gap: 0 18px; }
}
@media (max-width: 560px) {
	.property-hero { min-height: 590px; }
	.property-hero-content { padding-top: 40px; padding-bottom: 175px; }
	.property-hero h1 { font-size: 32px; }
	.property-back-link { margin-bottom: 32px; }
	.property-inquiry { bottom: -82px; width: calc(100% - 24px); padding: 16px 14px; }
	.property-inquiry h2 { font-size: 20px; }
	.property-inquiry-actions { gap: 8px; }
	.property-inquiry-actions a { min-height: 46px; gap: 6px; padding: 8px 6px; font-size: 12px; }
	.property-inquiry-actions .offer-icon { width: 18px; height: 18px; }
	.property-content { padding-top: 126px; }
	.property-section-heading { gap: 10px; margin-bottom: 16px; }
	.property-section-heading h2 { font-size: 24px; }
	.property-gallery { grid-template-columns: 1fr; }
	.property-gallery.is-single figure { width: 100%; aspect-ratio: 4 / 3; }
	.property-specs { grid-template-columns: 1fr; padding-inline: 14px; }
	.property-specs > div { min-height: 54px; }
	.property-map-card { flex-direction: column; align-items: stretch; padding: 16px; }
	.property-map-card a { justify-content: center; }
}

/* Property type label only: 30% larger while keeping its current placement */
.offer-caption h2 { font-size: 19.5px !important; }
@media (max-width: 560px) {
 .offer-caption h2 { font-size: 16.9px !important; }
}

/* Latest offers: compact heading marker and full-width translucent photo caption */
.offers-heading {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 16px;
	direction: rtl;
	margin-bottom: 28px;
}
.offers-heading::before,
.offers-heading::after { display: none !important; }
.offers-heading-mark { display: block; order: 0; flex: 0 0 86px; width: 86px; height: 20px; border-radius: 99px; background: #b5a38e; }
.offers-heading h1 { order: 1; margin: 0; font-size: clamp(30px, 2.8vw, 38px); line-height: 1.35; text-align: right; }
.offer-media { aspect-ratio: 1 / 1; }
.offer-caption {
	inset: auto 0 0;
	width: 100%;
	max-width: none;
	min-height: 22%;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	gap: 2px;
	padding: 16px 20px;
	border-radius: 0;
	background: rgba(25,45,56,.84);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
	text-align: right;
}
.offer-caption h2 { font-size: clamp(19.5px, 1.7vw, 25px) !important; line-height: 1.4; }
.offer-caption-type { color: #c8b9a7; font-size: 15px; line-height: 1.45; font-weight: 600; }
html[lang^="en"] .offers-heading { direction: ltr; }
html[lang^="en"] .offers-heading h1 { order: 0; text-align: left; }
html[lang^="en"] .offers-heading-mark { order: 1; }
html[lang^="en"] .offer-caption { align-items: flex-start; text-align: left; }
@media (max-width: 820px) {
	.offers-heading { gap: 12px; margin-bottom: 22px; }
	.offers-heading-mark { flex-basis: 68px; width: 68px; height: 16px; }
	.offers-heading h1 { font-size: 30px; }
	.offer-caption { min-height: 23%; padding: 14px 17px; }
	.offer-caption h2 { font-size: 21px !important; }
	.offer-caption-type { font-size: 14px; }
}

/* Detail page: clear image, restrained section titles, working share and map areas */
.property-hero-shade { background: linear-gradient(90deg, rgba(9,19,35,.22), rgba(9,19,35,.4)); }
.property-back-link { padding: 8px 13px; border-radius: 3px; background: #fff; color: var(--navy); text-decoration: none; font-weight: 600; }
.property-gallery-jump { border-color: #fff; background: #fff; color: var(--navy); font-weight: 600; }
.property-section-heading { justify-content: flex-start; gap: 12px; }
.property-section-heading span { flex: 0 0 40px; width: 40px; height: 3px; border-radius: 3px; background: var(--brand-teal); }
.property-section-heading h2 { order: 0; }
html[lang^="en"] .property-section-heading { flex-direction: row; }
.property-inquiry-actions { align-items: center; }
.property-inquiry-actions a,
.property-inquiry-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 10px 17px; border: 0; border-radius: 3px; font: inherit; font-weight: 600; white-space: nowrap; cursor: pointer; transition: filter .2s ease, transform .2s ease; }
.property-inquiry-actions button:hover,
.property-inquiry-actions a:hover { filter: brightness(.94); transform: translateY(-1px); }
.property-share { background: #e8edf2; color: var(--navy-deep); }
.property-call, .property-whatsapp { color: #193a36; }
.property-gallery { grid-template-columns: 1fr; gap: 20px; }
.property-gallery figure,
.property-gallery.is-single figure { width: 100%; max-width: 930px; margin-inline: auto; aspect-ratio: 16 / 9; }
.property-gallery.is-single figure { grid-column: auto; }
.property-video { position: relative; height: auto; }
.property-video video { height: auto; aspect-ratio: 16 / 9; }
.property-video-note { margin: 0; padding: 10px 14px; color: #fff; background: #1d3274; font-size: 13px; text-align: center; }
.property-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.property-map-card { display: grid; grid-template-columns: 1fr; }
.property-map-embed { display: block; width: 100%; height: 420px; border: 0; background: #e8ebef; }
.property-map-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.property-map-actions a,
.property-map-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 14px; border: 0; border-radius: 3px; background: var(--navy); color: #fff; font: inherit; cursor: pointer; }
html[lang^="en"] .property-section-heading { flex-direction: row-reverse; }
@media (max-width: 820px) {
	.offers-track { grid-auto-columns: 100%; }
	.property-inquiry-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.property-inquiry-actions a, .property-inquiry-actions button { min-width: 0; padding: 9px 8px; font-size: 13px; }
	.property-gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
	.property-gallery figure, .property-gallery.is-single figure { grid-column: auto; width: 100%; aspect-ratio: 1 / 1; }
	.property-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.property-map-embed { height: 340px; }
}
@media (max-width: 560px) {
	.offers-heading { gap: 9px; margin-bottom: 18px; }
	.offers-heading-mark { flex-basis: 54px; width: 54px; height: 14px; }
	.offers-heading h1 { font-size: 27px; }
	.offer-caption { min-height: 24%; padding: 11px 13px; }
	.offer-caption h2 { font-size: 19px !important; }
	.offer-caption-type { font-size: 13px; }
	.property-inquiry-actions { grid-template-columns: 1fr; }
	.property-inquiry-actions a, .property-inquiry-actions button { width: 100%; min-height: 42px; font-size: 13px; }
	.property-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
	.property-gallery figure, .property-gallery.is-single figure { aspect-ratio: 1 / 1; }
	.property-section-heading span { flex-basis: 30px; width: 30px; }
	.property-map-embed { height: 300px; }
	.property-map-actions { display: grid; grid-template-columns: 1fr; }
}

/* Brand colors and a more restrained Latest Offers heading */
.offers-heading-mark { flex-basis: 70px; width: 70px; height: 16px; background: var(--brand-teal); }
.offers-heading h1 { font-size: clamp(24px, 2vw, 29px); }
.offer-caption { background: rgba(38,61,134,.86); }
.offer-caption-type { color: #72dedb; }
@media (max-width: 820px) {
	.offers-heading-mark { flex-basis: 60px; width: 60px; height: 14px; }
	.offers-heading h1 { font-size: 25px; }
}
@media (max-width: 560px) {
	.offers-heading-mark { flex-basis: 50px; width: 50px; height: 13px; }
	.offers-heading h1 { font-size: 22px; }
}

/* Restore the previous property caption colors */
.offer-caption { background: rgba(25,45,56,.84); }
.offer-caption-type { color: #c8b9a7; }

/* Restore the compact property-name badge, sized to its text */
.offer-caption {
	inset: auto;
	inset-block-end: 14px;
	inset-inline-start: 14px;
	width: fit-content;
	min-height: 0;
	max-width: calc(100% - 28px);
	display: block;
	padding: 6px 12px;
	border-radius: 3px;
	background: rgba(29,50,116,.78);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	text-align: start;
}
.offer-caption h2 { font-size: 19.5px !important; }
.offer-caption-type { display: block; margin-top: 1px; font-size: 13px; }
@media (max-width: 560px) {
	.offer-caption { inset: auto; inset-block-end: 10px; inset-inline-start: 10px; padding: 5px 10px; }
	.offer-caption h2 { font-size: 16.9px !important; }
	.offer-caption-type { font-size: 12px; }
}

/* Keep only the property title and enlarge it by 20% */
.offer-caption h2 { font-size: 23.4px !important; }
@media (max-width: 560px) {
	.offer-caption h2 { font-size: 20.3px !important; }
}

/* Home page video slider */
.video-highlights {
	padding: 30px 0 54px;
	background: #f6f7f9;
	border-top: 1px solid rgba(29, 50, 116, .1);
}
.video-section-heading {
	display: flex;
	align-items: center;
	gap: 18px;
	direction: rtl;
	margin: 0 0 22px;
	color: var(--navy);
}
.video-section-heading::after {
	content: "";
	flex: 1 1 auto;
	height: 2px;
	background: var(--navy);
}
.video-section-heading h2 {
	margin: 0;
	font-size: clamp(24px, 2vw, 29px);
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
}
.video-carousel { outline-offset: 5px; }
.video-track {
	--video-gap: 24px;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 2 * var(--video-gap)) / 3);
	gap: var(--video-gap);
	overflow-x: auto;
	padding: 2px 1px 5px;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
	direction: inherit;
}
.video-track::-webkit-scrollbar { display: none; }
.video-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid #d8dde5;
	border-radius: 3px;
	background: #fff;
	box-shadow: 0 5px 18px rgba(22, 39, 71, .06);
	scroll-snap-align: start;
}
.video-frame {
	position: relative;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: var(--navy);
}
.video-frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}
.video-carousel-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	margin-top: 20px;
	direction: inherit;
}
.video-carousel-arrow {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid rgba(29, 50, 116, .35);
	border-radius: 50%;
	background: #fff;
	color: var(--navy);
	cursor: pointer;
	transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.video-carousel-arrow:hover,
.video-carousel-arrow:focus-visible { border-color: var(--brand-teal); background: var(--brand-teal); color: #fff; }
.video-carousel-arrow svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.video-carousel-arrow[data-video-next] svg { transform: rotate(180deg); }
html[dir="rtl"] .video-carousel-arrow[data-video-prev] svg { transform: rotate(180deg); }
html[dir="rtl"] .video-carousel-arrow[data-video-next] svg { transform: none; }
.video-carousel-dots { display: flex; align-items: center; justify-content: center; gap: 11px; }
.video-carousel-dots button {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #a9adb4;
	cursor: pointer;
}
.video-carousel-dots button[aria-current="true"] { background: var(--brand-teal); }
@media (max-width: 1050px) {
	.video-track { --video-gap: 22px; grid-auto-columns: calc((100% - var(--video-gap)) / 2); }
}
@media (max-width: 820px) {
	.video-highlights { padding: 26px 0 42px; }
	.video-section-heading { gap: 12px; margin-bottom: 18px; }
	.video-section-heading h2 { font-size: 25px; }
	.video-track { --video-gap: 16px; grid-auto-columns: 100%; }
}
@media (max-width: 560px) {
	.video-highlights { padding: 22px 0 36px; }
	.video-section-heading { gap: 10px; margin-bottom: 16px; }
	.video-section-heading h2 { font-size: 22px; }
	.video-carousel-controls { gap: 12px; margin-top: 16px; }
	.video-carousel-arrow { width: 34px; height: 34px; }
	.video-carousel-dots { gap: 9px; }
}

/* The video carousel is the full-width homepage hero */
.home-hero-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
	padding: 0;
	border: 0;
	background: #101b2a;
}
.hero-slider-shell { position: relative; width: 100%; margin: 0; }
.home-hero-slider .video-carousel { position: relative; width: 100%; outline-offset: -5px; }
.home-hero-slider .video-track {
	--video-gap: 0px;
	grid-auto-columns: 100%;
	gap: 0;
	padding: 0;
	background: #101b2a;
}
.home-hero-slider .video-card { border: 0; border-radius: 0; background: #101b2a; box-shadow: none; }
.home-hero-slider .video-frame { aspect-ratio: 16 / 9; background: #101b2a; }
.home-hero-slider .homepage-video-dots { width: 100%; margin: 0; padding: 15px 0; background: var(--navy); gap: 14px; }
.home-hero-slider .homepage-video-dots button { flex: 0 0 11px; background: #aaa; }
.home-hero-slider .homepage-video-dots button[aria-current="true"] { background: var(--brand-teal); }
@media (max-width: 560px) { .home-hero-slider .homepage-video-dots { padding: 12px 0; gap: 14px; } }

/* Keep the homepage slider dots while removing the colored strip beneath the video. */
.home-hero-slider .homepage-video-dots { background: #fff; }
.home-hero-slider .video-frame iframe { pointer-events: none; }

/* Compact autoplaying homepage video hero */
.home-hero-slider .video-frame {
	height: clamp(260px, 33vw, 560px);
	aspect-ratio: auto;
}
.home-hero-slider .video-frame iframe { width: 100%; height: 100%; }
@media (max-width: 820px) {
	.home-hero-slider .video-frame { height: clamp(220px, 52vw, 380px); }
}
@media (max-width: 560px) {
	.home-hero-slider .video-frame { height: clamp(190px, 56vw, 270px); }
}

/* Align the desktop contact bar with the language control */
@media (min-width: 821px) {
	.topbar-inner { padding-inline-start: 24px; }
	.phone-link { width: 138px; flex: 0 0 138px; justify-content: flex-end; padding-inline-end: 10px; white-space: nowrap; }
}
/* Crop the embedded player vertically so the video fills the hero edge to edge */
.home-hero-slider .video-frame { position: relative; overflow: hidden; }
.home-hero-slider .video-frame iframe {
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	width: 100vw !important;
	height: 56.25vw !important;
	max-width: none !important;
	transform: translate(-50%, -50%) !important;
	pointer-events: none !important;
}

/* Restore the complete, uncropped 16:9 video on desktop and mobile */
.home-hero-slider .video-frame { height: auto; aspect-ratio: 16 / 9; }
.home-hero-slider .video-frame iframe {
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	transform: none !important;
}

/* Keep the complete mobile address and phone number visible */
@media (max-width: 820px) {
	.topbar-inner { min-width: 0; padding-inline: 0; overflow: visible; }
	.phone-link { width: auto; flex: 0 0 auto; justify-content: flex-start; padding-inline-end: 0; white-space: nowrap; }
	.location-link { flex: 1 1 auto; min-width: 0; }
	.language-switch { width: auto; }
}
@media (max-width: 560px) {
	.topbar { padding-block: 2px; }
	.topbar-inner { min-height: 44px; gap: 0; }
	.topbar-link { min-height: 40px; gap: 4px; font-size: clamp(10px, 2.8vw, 12px); line-height: 1.25; }
	.phone-link { gap: 4px; }
	.location-link { margin-left: 8px; padding-left: 8px; white-space: normal; }
	html[lang^="en"] .location-link { margin-left: 12px; padding-left: 12px; margin-right: 0; padding-right: 0; }
	.location-link span { overflow: visible; text-overflow: clip; white-space: normal; }
	.topbar-link .icon { width: 16px; height: 16px; }
}

/* Keep only centered previous and next arrows over the video */
.home-hero-slider .video-carousel-controls {
	top: 50%;
	bottom: auto;
	inset-inline: 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0;
	transform: translateY(-50%);
}
@media (max-width: 820px) {
	.home-hero-slider .video-carousel-controls { top: 50%; inset-inline: 12px; }
}

/* Keep the teal marker before the title in each language direction */
.offers-heading { direction: rtl; justify-content: flex-start; }
.offers-heading h1, .offers-heading h2 { order: 1; }
.offers-heading-mark { order: 0; }
html[lang^="en"] .offers-heading { direction: ltr; justify-content: flex-start; }
html[lang^="en"] .offers-heading h1,
html[lang^="en"] .offers-heading h2 { order: 1; }
html[lang^="en"] .offers-heading-mark { order: 0; }

/* Homepage offer collections and reserved statistics/partner areas */
.offer-category-section { padding-top: 8px; }
.offers-heading h2 { margin: 0; color: var(--navy); font-size: clamp(24px, 2vw, 29px); font-weight: 700; line-height: 1.35; text-align: right; }
html[lang^="en"] .offers-heading h2 { text-align: left; }
.all-offers-link { display: flex; align-items: center; justify-content: center; width: fit-content; min-width: 170px; min-height: 46px; margin: 25px auto 0; padding: 9px 24px; border: 1px solid var(--navy); border-radius: 4px; background: var(--navy); color: #fff; font-size: 16px; font-weight: 700; text-decoration: none; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.all-offers-link:hover, .all-offers-link:focus-visible { border-color: var(--navy-deep); background: var(--navy-deep); transform: translateY(-1px); }
.offers-empty-state { display: grid; place-items: center; min-height: 150px; border: 1px dashed #cbd4e1; border-radius: 5px; background: #f8fafc; color: #657186; font-size: 17px; text-align: center; }
.homepage-info-section { padding: 44px 0; background: #f6f8fb; }
.latest-offers { background: #fff; }
.homepage-advertisements,
.homepage-lowest-price { background: #f6f8fb; }
.homepage-sold-offers,
.homepage-partners { padding-top: 12px; background: #fff; }
.statistics-placeholder { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 124px; padding: 22px; border: 1px dashed #cbd4e1; border-radius: 5px; background: #fff; color: #657186; text-align: center; }
.statistics-placeholder svg { width: 30px; height: 30px; flex: 0 0 auto; fill: none; stroke: var(--brand-teal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.statistics-placeholder span { font-size: 15px; }
.partners-slider { outline-offset: 5px; }
.partners-track { --partner-gap: 20px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 7 * var(--partner-gap)) / 8); gap: var(--partner-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.partners-track::-webkit-scrollbar { display: none; }
html[lang^="en"] .partners-track { direction: ltr; }
.partner-logo-card { display: grid; min-width: 0; min-height: 0; aspect-ratio: 1 / 1; place-items: center; padding: 12px; border: 1px solid #d8dce2; border-radius: 2px; background: #fff; scroll-snap-align: start; }
.partner-logo-card img { display: block; width: min(100%, 116px); height: 116px; object-fit: contain; }
.partner-dots { margin-top: 18px; }
@media (max-width: 1200px) { .partners-track { --partner-gap: 16px; grid-auto-columns: calc((100% - 5 * var(--partner-gap)) / 6); } }
@media (max-width: 820px) { .partners-track { --partner-gap: 14px; grid-auto-columns: calc((100% - 3 * var(--partner-gap)) / 4); } }
@media (prefers-reduced-motion: reduce) { .partners-track { scroll-behavior: auto; } }
html[lang^="en"] .offers-heading { container-type: inline-size; }
html[lang^="en"] .offers-heading h1,
html[lang^="en"] .offers-heading h2 { flex: 0 1 auto; min-width: 0; white-space: nowrap; font-size: clamp(14px, 5cqw, 25px); letter-spacing: -.02em; }
.homepage-advertisements { padding-top: 12px; }
.homepage-advertisements .offers-container { width: min(calc(100% - 48px), 1295px); }
.ad-carousel { position: relative; width: 100%; margin-inline: auto; }
.ad-gallery-viewport { width: 100%; overflow: hidden; }
.ad-gallery-track { --ad-gap: 28px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--ad-gap)) / 3); gap: var(--ad-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.ad-gallery-track::-webkit-scrollbar { display: none; }
.ad-gallery-card { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; padding: 0; border: 1px solid #d8dee8; border-radius: 5px; background: #101b3d; cursor: pointer; scroll-snap-align: start; }
.ad-gallery-card > img:not(.public-ad-sold-stamp) { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ad-gallery-card:hover > img:not(.public-ad-sold-stamp), .ad-gallery-card:focus-visible > img:not(.public-ad-sold-stamp) { transform: scale(1.025); }
.ad-gallery-status { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 4; display: inline-flex; align-items: center; justify-content: center; min-width: 78px; min-height: 30px; padding: 4px 12px; border-radius: 18px; background: #718d7a; color: #fff; font-size: 13px; font-weight: 700; line-height: 1.35; text-align: center; text-shadow: 0 1px 2px rgba(0,0,0,.22); }
.ad-gallery-status-sold { background: #ba343b; }
.ad-gallery-status-reserved { background: #b2822b; }
.ad-gallery-card .public-ad-sold-stamp { position: absolute; top: 50%; left: 50%; z-index: 3; display: block; width: min(54%, 187.5px); height: auto; object-fit: contain; transform: translate(-50%,-50%) rotate(-15deg); pointer-events: none; }
.ad-gallery-play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid rgba(255,255,255,.82); border-radius: 50%; background: rgba(13,25,54,.58); color: #fff; transform: translate(-50%,-50%); transition: background .2s ease, scale .2s ease; }
.ad-gallery-card:hover .ad-gallery-play, .ad-gallery-card:focus-visible .ad-gallery-play { background: var(--brand-teal); scale: 1.06; }
.ad-gallery-play svg { display: block; width: 27px; height: 27px; fill: currentColor; }
.ad-gallery-dots { margin-top: 22px; }
.homepage-news { padding-top: 12px; }
.news-placeholder { display: grid; place-items: center; min-height: 124px; padding: 24px; border: 1px dashed #cbd4e1; border-radius: 5px; background: #f8fafc; color: #657186; font-size: 16px; text-align: center; }
.ad-video-dialog { position: fixed; inset: 0; width: min(620px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 54px 18px 18px; border: 0; border-radius: 8px; background: #0b1020; box-shadow: 0 18px 60px rgba(0,0,0,.4); }
.ad-video-dialog::backdrop { background: rgba(5,10,24,.84); backdrop-filter: blur(4px); }
.ad-video-dialog video { display: block; width: auto; height: min(78dvh, 900px); max-width: 100%; aspect-ratio: 9 / 16; margin: 0 auto; background: #000; object-fit: contain; }
.ad-video-close { position: absolute; top: 12px; inset-inline-end: 12px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; background: transparent; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.ad-video-close:hover, .ad-video-close:focus-visible { border-color: var(--brand-teal); background: var(--brand-teal); }
@media (max-width: 560px) {
	.homepage-advertisements .offers-container { width: min(calc(100% - 28px), 1295px); }
	.offer-category-section { padding-top: 0; }
	.all-offers-link { min-height: 43px; margin-top: 20px; font-size: 15px; }
	.offers-empty-state { min-height: 116px; font-size: 15px; }
	.homepage-info-section { padding: 32px 0; }
	.homepage-partners { padding-top: 8px; }
	.statistics-placeholder { min-height: 100px; padding: 16px 12px; gap: 10px; }
	.statistics-placeholder span { font-size: 13px; }
	.partners-track { --partner-gap: 12px; grid-auto-columns: calc((100% - 2 * var(--partner-gap)) / 3); }
	.partner-logo-card { min-height: 0; padding: 8px; }
	.partner-logo-card img { width: min(100%, 88px); height: 88px; }
	.news-placeholder { min-height: 100px; font-size: 14px; }
	.ad-video-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); padding: 48px 10px 10px; }
	.ad-video-dialog video { height: min(74dvh, 780px); }
	.ad-gallery-track { --ad-gap: 12px; grid-auto-columns: 100%; }
	.ad-gallery-play { width: 54px; height: 54px; }
}
@media (min-width: 561px) and (max-width: 820px) {
	.homepage-advertisements .offers-container { width: min(calc(100% - 28px), 1295px); }
	.ad-gallery-track { --ad-gap: 16px; grid-auto-columns: calc((100% - var(--ad-gap)) / 2); }
}

/* Search dialog and dedicated property results page */
.search-toggle {
	position: absolute;
	top: 50%;
	left: 80px;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid rgba(255,255,255,.32);
	border-radius: 3px;
	background: transparent;
	color: #fff;
	transform: translateY(-50%);
	cursor: pointer;
}
.search-toggle:hover, .search-toggle:focus-visible { border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.1); }
.search-toggle .icon { width: 18px; height: 18px; }
html[lang^="en"] .search-toggle { left: auto; right: 80px; }
.property-search-dialog {
	position: fixed;
	inset: 0;
	width: min(680px, calc(100vw - 32px));
	max-width: none;
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 0;
	overflow: auto;
	border: 1px solid rgba(38,61,134,.12);
	border-radius: 10px;
	background: #fff;
	color: var(--ink);
	box-shadow: 0 24px 80px rgba(8,17,35,.28);
}
.property-search-dialog::backdrop { background: rgba(8,17,35,.66); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.property-search-card { margin: 0; padding: clamp(22px, 4vw, 34px); }
.property-search-header { display: flex; align-items: center; justify-content: flex-start; direction: ltr; margin-bottom: 16px; }
.property-search-close { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.property-search-close:hover { border-color: var(--brand-teal); color: var(--navy); }
.property-search-close svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.property-search-use { min-width: 0; padding: 0; margin: 0 0 22px; border: 0; }
.property-search-use legend { padding: 0; margin: 0 0 10px; color: var(--ink); font-size: 14px; font-weight: 600; }
.property-search-choices { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.transaction-choice { position: relative; min-width: 0; cursor: pointer; }
.transaction-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.transaction-choice-card { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 66px; padding: 10px 14px; border: 1px solid #d7dce4; border-radius: 5px; background: #fff; color: var(--navy); font-weight: 600; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.transaction-choice-card svg { width: 23px; height: 23px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.transaction-choice input:checked + .transaction-choice-card { border-color: var(--brand-teal); background: rgba(0,168,172,.08); box-shadow: 0 0 0 2px rgba(0,168,172,.12); color: var(--navy-deep); }
.transaction-choice input:focus-visible + .transaction-choice-card { outline: 2px solid var(--brand-teal); outline-offset: 2px; }
.property-search-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.property-search-field { display: grid; gap: 7px; min-width: 0; color: var(--ink); font-size: 14px; font-weight: 600; }
.property-search-field select { width: 100%; min-height: 48px; padding: 9px 12px; border: 1px solid #d7dce4; border-radius: 4px; background: #fff; color: var(--navy); font: inherit; font-weight: 500; }
.property-search-field select:focus-visible { outline: 2px solid var(--brand-teal); outline-offset: 2px; }
.property-search-hint { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; font-weight: 400; }
.property-search-actions { display: flex; align-items: center; justify-content: flex-start; gap: 12px; margin-top: 26px; }
.property-search-cancel, .property-search-submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 4px; font: inherit; font-weight: 600; cursor: pointer; }
.property-search-cancel { border: 1px solid #d7dce4; background: #fff; color: var(--ink); }
.property-search-submit { border: 1px solid var(--brand-teal); background: var(--brand-teal); color: #fff; }
.property-search-submit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.property-search-cancel:hover { border-color: var(--navy); }
.property-search-submit:hover { filter: brightness(.95); }
.offers-results-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.offers-results-grid .offer-card { height: 100%; }
.offer-card[hidden] { display: none !important; }
.search-results-summary { margin: -12px 0 10px; color: var(--muted); font-size: 15px; }
.search-active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.search-active-filters[hidden] { display: none; }
.search-filter-chip { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 11px; border: 1px solid rgba(0,168,172,.24); border-radius: 30px; background: rgba(0,168,172,.08); color: var(--navy); font-size: 12px; font-weight: 600; }
.search-results-empty { margin: 22px 0 0; padding: 32px 18px; border: 1px dashed #cdd5df; border-radius: 6px; background: #fafbfd; color: var(--muted); text-align: center; }
.search-results-empty[hidden] { display: none; }
@media (max-width: 1050px) {
	.offers-results-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
}
@media (max-width: 820px) {
	.search-toggle { left: 58px; }
	html[lang^="en"] .search-toggle { left: auto; right: 58px; }
}
@media (max-width: 560px) {
	.property-search-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 8px; }
	.property-search-card { padding: 22px 18px; }
	.property-search-header { margin-bottom: 14px; }
	.property-search-use { margin-bottom: 18px; }
	.property-search-choices { gap: 9px; }
	.transaction-choice-card { min-height: 60px; padding: 9px; font-size: 14px; }
	.property-search-grid { grid-template-columns: 1fr; gap: 13px; }
	.property-search-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 22px; }
	.property-search-cancel, .property-search-submit { min-height: 44px; padding: 8px 10px; font-size: 13px; }
	.offers-results-grid { grid-template-columns: 1fr; gap: 16px; }
}
.language-switch:focus-visible { outline-width: 1px; outline-offset: 1px; }

/* News cards and article pages */
.homepage-news { padding: 42px 0 50px; background: #f6f8fb; }
.news-section-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; direction: rtl; }
.news-heading { display: flex; flex: 1 1 auto; align-items: center; gap: 14px; min-width: 0; margin: 0; color: var(--navy); }
.news-heading-mark { flex: 0 0 70px; width: 70px; height: 16px; border-radius: 99px; background: var(--brand-teal); }
.news-heading h1, .news-heading h2 { margin: 0; color: var(--navy); font-size: clamp(24px, 2vw, 29px); font-weight: 700; line-height: 1.35; white-space: nowrap; }
.news-see-all, .news-back-home { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; min-width: 146px; min-height: 44px; padding: 9px 18px; border: 1px solid var(--navy-deep); border-radius: 4px; background: var(--navy-deep); color: #fff; font-size: 15px; font-weight: 700; text-align: center; transition: background .18s ease, transform .18s ease; }
.news-see-all:hover, .news-see-all:focus-visible, .news-back-home:hover, .news-back-home:focus-visible { background: var(--navy); transform: translateY(-1px); }
.news-slider { outline-offset: 5px; }
.news-track { --news-gap: 20px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--news-gap)) / 4); gap: var(--news-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.news-track::-webkit-scrollbar { display: none; }
html[lang^="en"] .news-track { direction: ltr; }
.news-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid #d8dce2; border-radius: 3px; background: #fff; box-shadow: 0 2px 10px rgb(25 45 56 / 5%); scroll-snap-align: start; }
.news-card-media { position: relative; display: block; overflow: hidden; width: 100%; aspect-ratio: 16 / 11; background: #82918e; color: #fff; text-align: start; }
.news-card-media::after { position: absolute; inset: 0; z-index: 1; content: ""; background: linear-gradient(180deg, rgba(13,27,48,.08) 16%, rgba(13,27,48,.16) 45%, rgba(13,27,48,.84) 100%); }
.news-card-media > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.news-card-media:hover > img, .news-card-media:focus-visible > img { transform: scale(1.025); }
.news-category { position: absolute; top: 16px; inset-inline-start: 16px; z-index: 2; display: inline-flex; align-items: center; min-height: 27px; max-width: calc(100% - 32px); padding: 4px 13px; overflow: hidden; border-radius: 20px; background: #789b86; color: #fff; font-size: 12px; font-weight: 600; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.news-image-overlay { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 16px 17px 15px; }
.news-card-title { display: -webkit-box; overflow: hidden; color: #fff; font-size: clamp(16px, 1.18vw, 20px); font-weight: 700; line-height: 1.5; text-shadow: 0 1px 4px rgba(0,0,0,.28); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.news-title-accent { display: block; width: 58px; height: 5px; border-radius: 0; background: var(--brand-teal); }
.news-card-content { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 150px; padding: 14px 16px 0; }
.news-card-summary { display: -webkit-box; min-height: 4.9em; margin: 0 0 13px; overflow: hidden; color: #414853; font-size: 13px; line-height: 1.65; text-align: start; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.news-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 49px; margin-top: auto; border-top: 1px solid #e1e4e8; color: #8a9098; font-size: 12px; }
.news-card-footer time { white-space: nowrap; }
.news-read-more { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; padding: 6px 13px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; transition: color .18s ease, background .18s ease, transform .18s ease; }
.news-read-more:hover, .news-read-more:focus-visible { background: var(--navy); color: #fff; }
.news-read-more:hover { transform: translateY(-1px); }
.news-read-more-arrow { display: inline-flex; flex: 0 0 16px; align-items: center; justify-content: center; width: 16px; height: 16px; line-height: 0; }
.news-read-more-arrow svg { display: block; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .news-read-more-arrow svg { transform: scaleX(-1); }
.news-dots { margin-top: 20px; }
.news-archive-section { min-height: 55vh; padding-top: 42px; }
.news-slider-stack { display: grid; gap: 18px; }
.news-carousel-row { min-width: 0; }
.news-carousel-row .news-dots { margin-top: 10px; }
.news-track[dir="rtl"] { direction: rtl; }
.news-track[dir="ltr"] { direction: ltr; }
html[lang^="en"] .news-track[dir="rtl"] { direction: rtl; }
html[lang^="en"] .news-track[dir="ltr"] { direction: ltr; }
html[dir="rtl"] .news-card { direction: rtl; }
html[dir="ltr"] .news-card { direction: ltr; }
.news-back-home { background: #fff; color: var(--navy); }
.news-back-home:hover, .news-back-home:focus-visible { background: #f4f6fa; color: var(--navy-deep); }
.news-article-page { min-height: 70vh; padding: 36px 0 64px; background: #fff; }
.news-article-container { width: min(calc(100% - 48px), 1040px); margin-inline: auto; }
.news-article-actions { display: flex; align-items: center; justify-content: flex-start; gap: 12px; margin-bottom: 18px; }
.news-article-actions .news-back-home { min-width: 170px; text-decoration: none; }
.news-article-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--navy); font-size: 14px; font-weight: 700; }
.news-article-back:hover { color: var(--brand-teal); }
.news-article { overflow: hidden; border: 1px solid #e0e4e9; border-radius: 4px; background: #fff; }
.news-article-header { padding: clamp(20px, 4vw, 38px); }
.news-article-category { position: static; max-width: none; margin-bottom: 14px; }
.news-article-title { margin: 0; color: var(--navy); font-size: clamp(27px, 3vw, 40px); font-weight: 700; line-height: 1.5; }
.news-article-meta { display: flex; align-items: center; gap: 14px; margin-top: 14px; color: #7c8591; font-size: 14px; }
.news-article-source { padding-inline-start: 14px; border-inline-start: 1px solid #d6dbe1; }
.news-article-cover { width: 100%; aspect-ratio: 16 / 8; margin: 0; overflow: hidden; background: #82918e; }
.news-article-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.news-article-body { max-width: 850px; padding: clamp(22px, 4.5vw, 48px); margin-inline: auto; color: #303a47; font-size: 17px; line-height: 2; text-align: start; }
.news-article-body p { margin: 0 0 20px; }
.news-article-body .news-article-lead { color: #273b58; font-size: 19px; font-weight: 600; }
.news-article-body h2 { margin: 32px 0 12px; color: var(--navy); font-size: 24px; line-height: 1.5; }
.news-article-body ul { padding-inline-start: 28px; margin: -4px 0 20px; }
.news-article-body li { padding-inline-start: 4px; margin: 4px 0; }
.news-article-body a { color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--brand-teal); text-underline-offset: 3px; }
.news-inline-photo { display: block; width: min(100%, 760px); margin: 24px auto 30px; }
.news-inline-photo + .news-inline-photo { margin-top: 32px; }
.news-inline-photo img { display: block; width: 100%; max-height: 520px; aspect-ratio: 16 / 9; border-radius: 3px; object-fit: cover; }
.news-inline-photo figcaption { margin-top: 8px; color: #7c8591; font-size: 13px; text-align: center; }
html[lang^="en"] .news-section-header, html[lang^="en"] .news-heading { direction: ltr; }
html[lang^="en"] .news-heading h2, html[lang^="en"] .news-heading h1 { order: 1; text-align: left; }
html[lang^="en"] .news-heading-mark { order: 0; }
@media (max-width: 820px) { .news-track { --news-gap: 16px; grid-auto-columns: calc((100% - var(--news-gap)) / 2); } }
@media (max-width: 560px) {
	.homepage-news { padding: 30px 0 38px; }
	.news-section-header { gap: 10px; margin-bottom: 18px; }
	.news-heading { gap: 9px; }
	.news-heading-mark { flex-basis: 50px; width: 50px; height: 13px; }
	.news-heading h1, .news-heading h2 { font-size: 22px; }
	.news-see-all, .news-back-home { min-width: 94px; min-height: 38px; padding: 7px 10px; font-size: 12px; }
	.news-track { --news-gap: 12px; grid-auto-columns: 100%; }
	.news-card-media { aspect-ratio: 16 / 10; }
	.news-image-overlay { gap: 7px; padding: 13px 14px 12px; }
	.news-card-title { font-size: 18px; }
	.news-card-content { min-height: 130px; padding: 12px 13px 0; }
	.news-card-summary { min-height: 4.8em; font-size: 13px; }
	.news-card-footer { min-height: 46px; }
	.news-archive-section { min-height: 60vh; padding-top: 30px; }
	.news-article-page { padding: 22px 0 42px; }
	.news-article-container { width: min(calc(100% - 28px), 1040px); }
	.news-article-back { margin-bottom: 12px; }
	.news-article-actions { gap: 8px; margin-bottom: 12px; }
	.news-article-actions .news-back-home { min-width: 0; flex: 1 1 0; padding-inline: 8px; }
	.news-article-header { padding: 19px 16px; }
	.news-article-title { font-size: 24px; line-height: 1.55; }
	.news-article-meta { gap: 9px; margin-top: 10px; font-size: 12px; }
	.news-article-source { padding-inline-start: 9px; }
	.news-article-cover { aspect-ratio: 4 / 3; }
	.news-article-body { padding: 23px 17px; font-size: 15px; line-height: 1.9; }
	.news-article-body .news-article-lead { font-size: 16px; }
	.news-article-body h2 { margin-top: 25px; font-size: 20px; }
	.news-inline-photo img { aspect-ratio: 4 / 3; }
}

/* Place the property-type badge at the reading start side of each language. */
html[lang^="ar"] .offer-caption { left: auto; right: 14px; }
html[lang^="en"] .offer-caption { left: 14px; right: auto; }
@media (max-width: 560px) {
	html[lang^="ar"] .offer-caption { left: auto; right: 10px; bottom: 10px; }
	html[lang^="en"] .offer-caption { left: 10px; right: auto; bottom: 10px; }
}


/* Offer detail page refinements */
.property-hero {
	position: relative;
	display: block;
	width: 100%;
	height: clamp(390px, 43vw, 620px);
	min-height: 0;
	overflow: hidden;
	background: #182b4d;
}
.property-hero-image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
}
.property-hero-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(7,20,38,.28), rgba(7,20,38,.04) 42%, rgba(7,20,38,.13));
	pointer-events: none;
}
.property-back-link {
	position: absolute;
	z-index: 2;
	top: 22px;
	inset-inline-start: max(22px, calc((100% - 1295px)/2));
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 42px;
	padding: 8px 15px;
	border: 1px solid rgba(255,255,255,.55);
	border-radius: 999px;
	background: rgba(38,61,134,.94);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 5px 18px rgba(9,19,35,.2);
}
.property-back-link:hover { background: var(--navy-deep); color: #fff; }
.property-back-link .back-arrow { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.property-inquiry {
	position: relative;
	inset: auto;
	right: auto;
	bottom: auto;
	transform: none;
	display: block;
	width: min(calc(100% - 48px), 1170px);
	min-height: 0;
	margin: 24px auto 0;
	padding: 22px 24px;
	border: 1px solid #e2e6ec;
	background: #fff;
	color: var(--navy);
	box-shadow: 0 6px 24px rgba(10,25,45,.09);
}
.property-inquiry h2 { margin: 0 0 16px; color: var(--navy); font-size: clamp(21px, 2vw, 27px); text-align: start; }
.property-inquiry-actions {
	display: grid;
	grid-template-columns: minmax(190px, 1.12fr) repeat(2, minmax(175px, 1fr));
	align-items: stretch;
	gap: 12px;
	direction: inherit;
}
.property-call-stack { display: grid; gap: 9px; min-width: 0; }
.property-inquiry-actions a,
.property-inquiry-actions button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-width: 0;
	min-height: 48px;
	padding: 10px 15px;
	border: 0;
	border-radius: 4px;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
	white-space: normal;
	cursor: pointer;
	transition: filter .2s ease, transform .2s ease, background .2s ease;
}
.property-inquiry-actions a:hover,
.property-inquiry-actions button:hover { filter: brightness(.95); transform: translateY(-1px); }
html[lang^="ar"] .property-inquiry-actions a,
html[lang^="ar"] .property-inquiry-actions button { flex-direction: row-reverse; }
.property-call { background: var(--navy); color: #fff; }
.property-whatsapp { background: #a1bcae; color: #153b32; }
.property-download { background: var(--brand-teal); color: #fff; }
.property-share { background: #eef1f5; color: var(--navy); }
.property-inquiry-actions .offer-icon { width: 21px; height: 21px; flex: 0 0 auto; }
.property-title-wrap {
	display: flex;
	justify-content: flex-start;
	width: min(calc(100% - 48px), 1170px);
	margin: 22px auto 0;
}
.property-title-pill {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	max-width: 100%;
	margin: 0;
	padding: 10px 25px;
	border-radius: 999px;
	background: var(--navy);
	color: #fff;
	font-size: clamp(20px, 2.1vw, 29px);
	font-weight: 700;
	line-height: 1.4;
}
.property-content { width: min(calc(100% - 48px), 1170px); padding-top: 34px; }
.property-section { margin-bottom: 48px; scroll-margin-top: 24px; }
.property-section[hidden] { display: none !important; }
.property-section-heading { margin-bottom: 17px; }
.property-section-heading h2 { font-size: clamp(23px, 2vw, 29px); }
.property-gallery,
.property-video-slider {
	display: flex;
	gap: 16px;
	width: 100%;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding: 2px 1px 7px;
}
.property-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	overflow: visible;
}
.property-gallery::-webkit-scrollbar,
.property-video-slider::-webkit-scrollbar { display: none; }
.property-gallery .property-photo-card {
	flex: initial;
	width: auto;
	max-width: none;
	aspect-ratio: 1;
	margin: 0;
	overflow: hidden;
	scroll-snap-align: start;
	background: #e8ebef;
	border: 1px solid #dce1e8;
}
.property-photo-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .28s ease; }
.property-photo-card:hover img { transform: scale(1.025); }
.property-gallery-dots,
.property-video-dots { margin-top: 13px; }
@media (max-width: 820px) {
	.property-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.property-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
.property-video-card {
	flex: 0 0 calc((100% - 32px)/3);
	width: auto;
	aspect-ratio: 9 / 16;
	margin: 0;
	overflow: hidden;
	scroll-snap-align: start;
	background: #101b2a;
	border: 1px solid #dce1e8;
}
.property-video-card video { display: block; width: 100%; height: 100%; object-fit: contain; background: #101b2a; }
.property-video-dots { margin-top: 14px; }
.offer-content-card {
	padding: clamp(17px, 2.5vw, 27px);
	border: 1px solid #e0e5eb;
	background: #fff;
	box-shadow: 0 4px 18px rgba(13,34,61,.045);
}
.offer-overview-grid,
.offer-contact-grid { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; }
.offer-info-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-width: 0;
	min-height: 58px;
	padding: 10px 2px;
	border-bottom: 1px solid #e1e5e9;
}
.offer-info-row dt { color: #525d6d; font-size: 15px; }
.offer-info-row dd { margin: 0; color: var(--navy); font-size: 15px; font-weight: 700; text-align: end; overflow-wrap: anywhere; }
.offer-info-row dd a { color: inherit; text-decoration: underline; text-decoration-color: var(--brand-teal); text-underline-offset: 3px; }
.offer-content-subtitle { margin: 25px 0 10px; color: var(--navy); font-size: 19px; font-weight: 700; }
.offer-features { display: grid; grid-template-columns: 1fr; gap: 4px; margin: 0; padding-inline-start: 22px; color: var(--ink); }
.offer-features li { padding-inline-start: 4px; line-height: 1.75; }
.offer-contact-grid .offer-info-row:last-child,
.offer-overview-grid .offer-info-row:nth-last-child(-n+2) { border-bottom-color: #cfd6df; }
.property-map-card { gap: 15px; padding: 0; overflow: hidden; }
.property-map-card > p.property-map-label { display: inline-flex; align-items: center; gap: 9px; width: fit-content; max-width: calc(100% - 36px); margin: 16px 18px 0; padding: 9px 17px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 17px; font-weight: 700; }
.property-map-label .offer-icon { color: #fff; }
.property-map-snapshot { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #e8ebef; }
.property-map-card > a.property-map-snapshot { display: block; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; }
.property-map-snapshot[hidden], .property-map-embed[hidden] { display: none !important; }
.property-map-snapshot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.property-map-pin { position: absolute; left: var(--property-map-pin-x, 50%); top: var(--property-map-pin-y, 50%); width: 45px; height: 58px; fill: #e53935; stroke: #b42324; stroke-width: 1.5; filter: drop-shadow(0 2px 3px rgba(0,0,0,.4)); transform: translate(-50%, -100%); pointer-events: none; }
.property-map-pin circle { fill: #fff; stroke: none; }
.property-map-embed { width: 100%; height: 390px; }
.property-map-actions { padding: 0 18px 18px; }
.property-map-actions a,
.property-map-actions button { gap: 9px; }
html[lang^="ar"] .property-map-actions a,
html[lang^="ar"] .property-map-actions button { flex-direction: row-reverse; }
@media (max-width: 560px) {
	.property-map-card > p.property-map-label { margin: 14px 14px 0; max-width: calc(100% - 28px); font-size: 15px; }
	.property-map-pin { width: 36px; height: 48px; }
}

/* Offer document preparation and A4 print layout. */
.offer-document-progress[hidden] { display: none !important; }
.offer-document-progress {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgba(15, 28, 54, .56);
	font-family: "Thmanyah", sans-serif;
}
.offer-document-progress-card {
	display: grid;
	justify-items: center;
	gap: 12px;
	width: min(100%, 360px);
	padding: 30px 24px;
	border: 1px solid #d9e2ed;
	border-radius: 18px;
	background: #fff;
	color: var(--navy);
	box-shadow: 0 18px 55px rgba(10, 25, 45, .22);
	text-align: center;
}
.offer-document-progress-card strong { font-size: 21px; }
.offer-document-progress-card > span:last-child { color: #66758a; font-size: 14px; }
.offer-document-spinner {
	width: 42px;
	height: 42px;
	border: 4px solid #dce9ec;
	border-top-color: var(--brand-teal);
	border-radius: 50%;
	animation: offer-document-spin .75s linear infinite;
}
.offer-document-download-action {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	padding: 10px 24px;
	border-radius: 999px;
	background: var(--brand-teal, #00a9ad);
	color: #fff;
	font: 700 16px/1.4 "Thmanyah", sans-serif;
	text-decoration: none;
}
@keyframes offer-document-spin { to { transform: rotate(360deg); } }
#offer-document-print { display: none; }
#offer-document-print.offer-doc-preparing {
	position: fixed;
	left: -10000px;
	top: 0;
	display: block !important;
	visibility: hidden;
	width: 210mm;
}
.offer-doc-page {
	position: relative;
	width: 210mm;
	height: 297mm;
	min-height: 297mm;
	margin: 0 auto;
	overflow: hidden;
	background: #fff;
	color: #243c80;
	font-family: "Thmanyah", sans-serif;
	font-size: 16.2pt;
	font-weight: 400;
	line-height: 1.65;
	page-break-after: always;
	break-after: page;
	-webkit-print-color-adjust: exact;
	print-color-adjust: exact;
}
.offer-doc-page:last-child { page-break-after: auto; break-after: auto; }
.offer-doc-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.offer-doc-cover-number {
	position: absolute;
	left: 69mm;
	top: 262mm;
	width: 71.3mm;
	height: 14mm;
	display: grid;
	place-items: center;
	color: #fff;
	font-size: 32.4pt;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}
.offer-doc-page[lang="en"] .offer-doc-cover-number {
	left: 68.28mm;
	top: 261.12mm;
	width: 71.27mm;
	height: 13.97mm;
}
.offer-doc-sold-pill {
	position: absolute;
	left: 69mm;
	top: 278mm;
	width: 71.3mm;
	min-height: 9mm;
	display: grid;
	place-items: center;
	border-radius: 999px;
	background: #ba343b;
	color: #fff;
	font-size: 18pt;
	font-weight: 700;
	line-height: 1.2;
	-webkit-print-color-adjust: exact;
	print-color-adjust: exact;
}
.offer-doc-page[lang="en"] .offer-doc-sold-pill { left: 68.28mm; width: 71.27mm; }
.offer-doc-sold-stamp {
	position: absolute;
	top: 18mm;
	inset-inline-start: 15mm;
	z-index: 5;
	width: 48mm;
	height: auto;
	transform: rotate(-15deg);
	pointer-events: none;
}
.offer-doc-inner-content {
	position: absolute;
	inset: 45mm 20mm 20mm;
	padding: 0;
	color: #243c80;
}
.offer-doc-page--details .offer-doc-inner-content { top: 35mm; }
.offer-doc-heading {
	display: inline-flex;
	align-items: center;
	gap: 3mm;
	max-width: 100%;
	margin: 0 0 7mm;
	padding: 3mm 10mm;
	border: 0;
	border-radius: 999px;
	background: #00a8ac;
	color: #fff;
	font-size: 24pt;
	font-weight: 700;
	line-height: 1.25;
}
.offer-doc-heading-mark { display: none; }
.offer-doc-heading--line { padding: 0; border-radius: 0; background: transparent; color: #243c80; font-size: 26.4pt; }
.offer-doc-heading--line .offer-doc-heading-mark { display: inline-block; flex: 0 0 14mm; width: 14mm; height: 3mm; border-radius: 0; background: #00a8ac; }
.offer-doc-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 5mm;
	min-height: 14mm;
	padding: 2.5mm 0;
	border-bottom: 1px solid rgba(36, 60, 128, .48);
}
.offer-doc-row dt { color: #586476; font-size: 16.2pt; }
.offer-doc-row dd { margin: 0; color: #243c80; font-size: 16.8pt; font-weight: 700; text-align: end; overflow-wrap: anywhere; }
.offer-doc-spec-table,
.offer-doc-license-table { margin: 0; border: 1px solid rgba(36,60,128,.5); background: rgba(255,255,255,.94); }
.offer-doc-spec-table .offer-doc-row { min-height: 15mm; padding: 2mm 5mm; }
.offer-doc-spec-table .offer-doc-row dt,
.offer-doc-license-table .offer-doc-row dt { display: flex; flex: 0 0 38%; align-items: center; padding-inline-end: 5mm; border-inline-end: 1px solid rgba(36,60,128,.5); }
.offer-doc-spec-table .offer-doc-row dd,
.offer-doc-license-table .offer-doc-row dd { flex: 1 1 auto; min-width: 0; padding-inline-start: 5mm; text-align: start; }
.offer-doc-license-table .offer-doc-row dd { text-align: right; }
.offer-doc-spec-table .offer-doc-row:last-child,
.offer-doc-license-table .offer-doc-row:last-child { border-bottom: 0; }
.offer-doc-row--contents { align-items: stretch; }
.offer-doc-row--contents dt { align-items: flex-start !important; padding-top: 1mm; }
.offer-doc-row--contents dd { display: block; }
.offer-doc-inline-value { display: inline-flex; align-items: center; gap: 1.5mm; unicode-bidi: isolate; white-space: nowrap; }
.offer-doc-area-unit { font-size: .9em; }
.offer-doc-riyal-symbol { display: inline-block; width: 6mm; height: 6mm; object-fit: contain; }
.offer-doc-list { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; padding-inline-start: 7mm; color: #27364a; font-size: 14.4pt; line-height: 1.5; }
.offer-doc-list[data-count="17"], .offer-doc-list[data-count="18"], .offer-doc-list[data-count="19"], .offer-doc-list[data-count="20"],
.offer-doc-list[data-count="21"], .offer-doc-list[data-count="22"], .offer-doc-list[data-count="23"], .offer-doc-list[data-count="24"],
.offer-doc-list[data-count="25"], .offer-doc-list[data-count="26"], .offer-doc-list[data-count="27"], .offer-doc-list[data-count="28"],
.offer-doc-list[data-count="29"], .offer-doc-list[data-count="30"] { font-size: 12.6pt; line-height: 1.35; }
.offer-doc-list li { padding: 1mm 0; break-inside: avoid; }
.offer-doc-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4mm; padding: 0; border: 0; background: transparent; align-items: center; }
.offer-doc-media-grid[data-count="1"] { grid-template-columns: 1fr; }
.offer-doc-media-grid[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.offer-doc-page--photos .offer-doc-inner-content { display: flex; flex-direction: column; }
.offer-doc-page--photos .offer-doc-media-grid:not(.offer-doc-media-grid--videos) { flex: 1 1 auto; min-height: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.offer-doc-page--photos .offer-doc-media-grid:not(.offer-doc-media-grid--videos)[data-count="1"] { grid-template-rows: minmax(0, 1fr); }
.offer-doc-media-grid--videos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4mm; align-items: center; }
.offer-doc-media-grid--videos[data-count="1"] { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.offer-doc-media-grid--videos[data-count="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.offer-doc-photo {
	width: 100%;
	height: 100%;
	min-height: 0;
	aspect-ratio: auto;
	object-fit: cover;
	border: 1px solid rgba(0,168,172,.55);
	background: #fff;
}
.offer-doc-video-card {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border: 0;
	background: transparent;
}
.offer-doc-video-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.offer-doc-video-card--large { max-width: 100%; max-height: 205mm; }
.offer-doc-video-card--large img { object-fit: contain; }
.offer-doc-play {
	position: absolute;
	left: 50%; top: 50%;
	display: grid;
	width: 10mm; height: 10mm;
	place-items: center;
	border: 1px solid rgba(255,255,255,.85);
	border-radius: 50%;
	background: rgba(35, 61, 129, .84);
	color: #fff;
	font: 700 19.2pt/1 "Thmanyah", sans-serif;
	transform: translate(-50%, -50%);
}
.offer-document-notice-backdrop { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 20px; background: rgba(10, 20, 48, .66); }
.offer-document-notice { width: min(100%, 560px); padding: 28px; border: 1px solid #d9e1eb; border-radius: 18px; background: #fff; box-shadow: 0 24px 70px rgba(0, 0, 0, .28); color: #243c80; font-family: inherit; }
.offer-document-notice h2 { margin: 0 0 12px; color: #243c80; font-size: 22px; line-height: 1.35; }
.offer-document-notice p { margin: 0 0 22px; color: #334155; font-size: 16px; line-height: 1.7; }
.offer-document-notice-button { min-width: 100px; padding: 10px 22px; border: 0; border-radius: 999px; background: #243c80; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.offer-document-notice-button:hover { background: #00a8ac; }
.offer-doc-map-info-table { margin-bottom: 5mm; }
.offer-doc-map-info-table .offer-doc-row { min-height: 15mm; padding: 2mm 5mm; }
.offer-doc-map-info-table .offer-doc-map-term { gap: 2mm; }
.offer-doc-map-location-icon { display: block; width: 7mm; height: 7mm; flex: 0 0 auto; color: #00a8ac; }
.offer-doc-map-stage { position: relative; width: 100%; height: 142mm; overflow: hidden; border: 1px solid #d9e1eb; background: #edf1f5; }
.offer-doc-map-image { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; background: #243c80; }
.offer-doc-map-snapshot { display: block; width: 100%; height: 100%; object-fit: cover; }
.offer-doc-map-fallback { display: grid; align-content: center; justify-items: center; gap: 4mm; padding: 10mm; background: linear-gradient(135deg,#e8edf1,#d5dde5); color: #586476; font-weight: 700; text-align: center; }
.offer-doc-map-fallback-coordinates { padding: 3mm 5mm; border: 1px solid #d9e1eb; border-radius: 3mm; background: #fff; color: #243c80; direction: ltr; font-size: 15.6pt; }
.offer-doc-map-hitarea { position: absolute; inset: 0; z-index: 2; display: block; background: transparent; }
.offer-doc-map-attribution { position: absolute; z-index: 4; inset-inline-start: 2mm; bottom: 2mm; padding: .7mm 1.5mm; background: rgba(255,255,255,.88); color: #27364a; font: 8.4pt/1.2 Arial,sans-serif; }
.offer-doc-map-pin { position: absolute; z-index: 3; left: var(--offer-map-pin-x, 50%); top: var(--offer-map-pin-y, 50%); width: 13mm; height: 17mm; filter: drop-shadow(0 1.4mm 1mm rgba(0,0,0,.4)); transform: translate(-50%, -100%); pointer-events: none; }
.offer-doc-map-link { display: flex; align-items: center; justify-content: center; gap: 4mm; margin-top: 5mm; padding: 4mm 8mm; border-radius: 4mm; background: #223a80; color: #fff; font-weight: 700; font-size: 16.8pt; text-decoration: none; }
.offer-doc-map-link-icon { width: 8mm; height: 8mm; flex: 0 0 auto; }
.offer-doc-license-content { position: absolute; top: 160mm; left: 20mm; right: 20mm; color: #243c80; }
.offer-doc-license-content .offer-doc-heading { margin-bottom: 7mm; }
.offer-doc-license-table .offer-doc-row { min-height: 17mm; padding: 3mm 7mm; }
.offer-doc-license-table .offer-doc-row dt, .offer-doc-license-table .offer-doc-row dd { font-size: 20.4pt; }
.offer-doc-license-table .offer-doc-row:last-child { border-bottom: 0; }
.offer-doc-license-table a { color: #00a8ac; text-decoration: underline; text-underline-offset: 2px; }
.offer-doc-back-info {
	position: absolute;
	top: 42mm;
	left: 24mm;
	right: 24mm;
	padding: 10mm 12mm;
	border: 1px solid rgba(36,60,128,.18);
	background: rgba(255,255,255,.93);
	color: #243c80;
}
.offer-doc-back-info h1 { margin: 0 0 7mm; text-align: center; font-size: 25.2pt; }
.offer-doc-back-info .offer-doc-row { min-height: 12mm; }
.offer-doc-back-number {
	position: absolute;
	left: 68mm;
	top: 261.5mm;
	width: 72mm;
	height: 14mm;
	display: grid;
	place-items: center;
	color: #fff;
	font-size: 28.8pt;
	font-weight: 700;
}
.offer-doc-back-info a { color: #00a8ac; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 820px) {
	.property-hero { height: clamp(360px, 58vw, 520px); }
	.property-back-link { top: 18px; inset-inline-start: 18px; }
	.property-inquiry { width: min(calc(100% - 32px), 700px); padding: 20px; }
	.property-inquiry-actions { grid-template-columns: minmax(170px, 1.1fr) repeat(2, minmax(0, 1fr)); gap: 10px; }
	.property-inquiry-actions a, .property-inquiry-actions button { min-height: 46px; padding: 9px 10px; font-size: 13px; }
	.property-title-wrap, .property-content { width: min(calc(100% - 32px), 700px); }
	.property-gallery, .property-video-slider { gap: 12px; }
	.property-gallery .property-photo-card, .property-video-card { flex-basis: calc((100% - 12px)/2); }
	.offer-overview-grid, .offer-contact-grid { gap: 0 18px; }
	.property-map-embed { height: 340px; }
}
@media (max-width: 560px) {
	.property-hero { height: clamp(320px, 88vw, 430px); }
	.property-back-link { top: 13px; inset-inline-start: 13px; min-height: 38px; padding: 7px 12px; font-size: 14px; }
	.property-inquiry { width: calc(100% - 24px); margin-top: 16px; padding: 17px 15px; }
	.property-inquiry h2 { margin-bottom: 12px; font-size: 20px; }
	.property-inquiry-actions { grid-template-columns: 1fr; gap: 9px; }
	.property-call-stack { gap: 8px; }
	.property-inquiry-actions a, .property-inquiry-actions button { min-height: 44px; font-size: 14px; }
	.property-title-wrap, .property-content { width: calc(100% - 24px); }
	.property-title-wrap { margin-top: 16px; }
	.property-title-pill { padding: 8px 20px; font-size: 20px; }
	.property-content { padding-top: 27px; }
	.property-section { margin-bottom: 36px; }
	.property-section-heading { margin-bottom: 13px; }
	.property-section-heading h2 { font-size: 23px; }
	.property-gallery, .property-video-slider { gap: 10px; }
	.property-gallery .property-photo-card, .property-video-card { flex-basis: 100%; }
	.property-gallery-dots, .property-video-dots { gap: 10px; margin-top: 12px; }
	.offer-content-card { padding: 15px 14px; }
	.offer-overview-grid, .offer-contact-grid { grid-template-columns: 1fr; }
	.offer-info-row { min-height: 51px; gap: 10px; }
	.offer-info-row dt, .offer-info-row dd { font-size: 14px; }
	.offer-content-subtitle { margin-top: 20px; font-size: 17px; }
	.offer-features { grid-template-columns: 1fr; gap: 5px; }
	.property-map-embed { height: 300px; }
	.property-map-actions { display: grid; grid-template-columns: 1fr; padding: 0 14px 14px; }
}
@media print {
	@page { size: A4 portrait; margin: 0; }
	body > *:not(#offer-document-print) { display: none !important; }
	#offer-document-print { display: block !important; }
	.offer-doc-page { width: 210mm; height: 297mm; min-height: 297mm; margin: 0; }
	.offer-doc-page, .offer-doc-page * { visibility: visible !important; }
	.offer-doc-background { display: block !important; }
	.site-header, .site-footer, .back-to-top, .property-back-link, .property-inquiry,
	.property-gallery-dots, .property-video-section, .property-map-embed, .property-map-actions {
		display: none !important;
	}
	body, .property-page { min-height: 0; padding: 0; background: #fff !important; color: #111; }
	.property-hero { height: 72mm; min-height: 0; }
	.property-hero-image { object-position: center 40%; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.property-hero-shade { background: linear-gradient(180deg, rgba(7,20,38,.2), rgba(7,20,38,.06)); }
	.property-title-wrap { margin: 8mm auto 5mm; }
	.property-title-pill { padding: 3mm 7mm; font-size: 19pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.property-content { width: 100%; padding: 0 8mm; }
	.property-section { margin-bottom: 8mm; break-inside: avoid; }
	.property-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4mm; overflow: visible; }
	.property-gallery .property-photo-card { width: auto; aspect-ratio: 1; }
	.property-video-slider { display: none; }
	.offer-content-card { box-shadow: none; }
}

/* Offer detail: show title and location together, then separate the media and content areas. */
.property-title-wrap {
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	padding: 18px 22px;
	border: 1px solid #e3e8ef;
	background: #fff;
	box-shadow: 0 4px 18px rgba(13,34,61,.045);
}
.property-title-pill { margin: 0; }
.property-location-pill {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	max-width: 100%;
	margin: 0;
	padding: 10px 15px;
	border: 1px solid #dfe5ed;
	border-radius: 999px;
	background: #f4f7fb;
	color: var(--navy);
	font-size: 15px;
	font-weight: 700;
}
.property-location-pill .offer-icon,
.property-map-label .offer-icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.property-back-link { flex-direction: row; }
.property-section-heading { flex-direction: row; }
html[lang^="en"] .property-section-heading { flex-direction: row; }
.property-section--photos,
.property-section--content { background: #f3f6fa; }
.property-section--video,
.property-section--location { background: #fff; }
.property-section--photos,
.property-section--video,
.property-section--content,
.property-section--location {
	padding: clamp(16px, 2.3vw, 26px);
	border: 1px solid #e4e9ef;
	box-shadow: 0 4px 18px rgba(13,34,61,.035);
}
.property-gallery-dots,
.property-video-dots { justify-content: center; gap: 12px; min-height: 14px; }
.property-video-slider { justify-content: flex-start; }
.property-video-card {
	flex: 0 0 min(100%, 390px);
	max-width: 390px;
	border-radius: 3px;
}
.offer-content-card { background: #fff; }
.offer-content-block + .offer-content-block { margin-top: 22px; padding-top: 19px; border-top: 1px solid #d8e0e9; }
.offer-content-subtitle { margin: 0 0 10px; }
.offer-license-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; margin: 0; }
.offer-overview-grid .offer-info-row:last-child,
.offer-license-grid .offer-info-row:last-child,
.offer-contact-grid .offer-info-row:last-child { border-bottom-color: #cfd6df; }
.property-map-label { display: flex; align-items: center; gap: 9px; }
.property-map-label .offer-icon { color: var(--brand-teal); }
@media (max-width: 820px) {
	.property-title-wrap { padding: 16px; }
	.property-section--photos,
	.property-section--video,
	.property-section--content,
	.property-section--location { padding: 18px; }
	.property-video-card { flex-basis: min(76vw, 360px); max-width: 360px; }
	.offer-license-grid { gap: 0 18px; }
}
@media (max-width: 560px) {
	.property-title-wrap { justify-content: flex-start; gap: 9px; padding: 14px; }
	.property-title-pill { width: 100%; justify-content: center; padding: 8px 13px; font-size: 20px; }
	.property-location-pill { width: 100%; justify-content: center; padding: 9px 12px; font-size: 14px; }
	.property-section--photos,
	.property-section--video,
	.property-section--content,
	.property-section--location { padding: 14px 12px; }
	.property-video-card { flex-basis: 100%; max-width: 100%; }
	.offer-license-grid { grid-template-columns: 1fr; }
}

/* Match the home section markers and refine offer details on the page. */
.property-hero { height: clamp(340px, 34vw, 500px); min-height: 0; }
.property-hero-image { object-position: center 50%; }
.property-section-heading span {
	flex: 0 0 86px;
	width: 86px;
	height: 20px;
	border-radius: 999px;
}
.property-inquiry h2 { text-align: center; }
.offer-info-row { align-items: stretch; }
.offer-info-row dt {
	display: flex;
	flex: 0 0 38%;
	align-items: center;
	padding-inline-end: 14px;
	border-inline-end: 1px solid #d5dde7;
}
.offer-info-row dd {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
	padding-inline-start: 14px;
}
html[lang^="ar"] .offer-info-row dd { direction: rtl; text-align: start; }
html[lang^="en"] .offer-info-row dd { direction: ltr; text-align: start; }
.offer-info-unit { display: inline-flex; align-items: center; gap: 6px; direction: ltr; white-space: nowrap; }
.offer-info-riyal { display: inline-block; width: 19px; height: 19px; object-fit: contain; }
.offer-content-block--overview { margin-top: 0; padding-top: 0; border-top: 0; }
@media (max-width: 820px) {
	.property-hero { height: clamp(340px, 42vw, 420px); min-height: 0; }
	.property-section-heading span { flex-basis: 68px; width: 68px; height: 16px; }
}
@media (max-width: 560px) {
	.property-hero { height: clamp(250px, 65vw, 340px); min-height: 0; }
	.property-hero-image { object-position: center 40%; }
	.property-section-heading span { flex-basis: 54px; width: 54px; height: 14px; }
	.offer-info-row dt { flex-basis: 38%; padding-inline-end: 10px; }
	.offer-info-row dd { padding-inline-start: 10px; }
}

/* Keep property return actions above the offer photo, matching the news article. */
.property-navigation-actions {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	padding-block: 14px;
}
.property-navigation-actions .news-back-home { min-width: 170px; text-decoration: none; }
.property-navigation-actions.container { width: min(calc(100% - 48px), 1295px); }
@media (max-width: 1050px) {
	.property-navigation-actions.container { width: min(calc(100% - 36px), 1295px); }
}
@media (max-width: 560px) {
	.property-navigation-actions { gap: 8px; padding-block: 10px; }
	.property-navigation-actions.container { width: min(calc(100% - 28px), 1295px); }
	.property-navigation-actions .news-back-home { min-width: 0; flex: 1 1 0; padding-inline: 8px; font-size: 12px; }
}

/* Keep the existing tablet layout; large desktop uses a centered site canvas. */
@media (min-width: 1200px) and (max-width: 1499px) {
	.home-hero-slider { background: #fff; }
	.home-hero-slider .video-carousel {
		width: min(100%, 850px);
		margin-inline: auto;
	}
	.home-hero-slider .video-track { background: #fff; }
	.home-hero-slider .video-card { background: #fff; }
}

/* On phones and touch tablets, show the complete property image at its native ratio. */
@media screen and (max-width: 1024px), screen and (min-width: 1025px) and (max-width: 1440px) and (any-pointer: coarse) {
	.property-hero {
		height: auto !important;
		min-height: 0 !important;
		aspect-ratio: auto;
		overflow: visible;
		background: #fff;
	}
	.property-hero-image {
		position: relative;
		inset: auto;
		width: 100%;
		height: auto;
		object-fit: contain;
		object-position: center;
	}
	.property-hero-shade { display: none; }
}

/* Offer directory: sale total, live property-type filters, and three-card pages on desktop. */
.offers-results-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 22px;
}
.offers-results-title-row .offers-heading { flex: 1 1 auto; min-width: 0; margin: 0; }
.offers-results-title-row .offers-heading-mark { background: var(--brand-teal); }
.offers-results-title-row .offers-heading h1 { white-space: normal; }
.offers-count-pill {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 7px 16px;
	border: 1px solid #dce4ec;
	border-radius: 999px;
	background: #fff;
	color: var(--navy);
	font-size: 14px;
	font-weight: 600;
}
.offers-count-pill strong { display: grid; place-items: center; min-width: 28px; min-height: 28px; padding: 0 6px; border-radius: 50%; background: var(--brand-teal); color: #fff; font-size: 14px; }
.offer-type-filters {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
	gap: 14px;
	margin: 0 0 24px;
}
.offer-type-filter {
	display: flex;
	align-items: center;
	gap: 11px;
	min-width: 0;
	min-height: 72px;
	padding: 12px 14px;
	border: 1px solid #dce3eb;
	border-radius: 5px;
	background: #fff;
	color: var(--navy);
	text-align: start;
	font-weight: 600;
	cursor: pointer;
	transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.offer-type-filter:hover { border-color: var(--brand-teal); transform: translateY(-1px); }
.offer-type-filter[aria-pressed="true"] { border-color: var(--brand-teal); background: #edf8f8; box-shadow: 0 0 0 1px rgba(0,168,172,.12); }
.offer-type-filter-icon { display: grid; flex: 0 0 42px; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(0,168,172,.1); color: var(--brand-teal); }
.offer-type-filter-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.offer-type-filter-name { flex: 1 1 auto; min-width: 0; }
.offer-type-filter-count { display: grid; flex: 0 0 auto; place-items: center; min-width: 34px; height: 30px; padding: 0 8px; border-radius: 99px; background: #f0f3f7; color: var(--navy); font-size: 13px; }
.offer-type-filter[aria-pressed="true"] .offer-type-filter-count { background: var(--brand-teal); color: #fff; }
.offers-results-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	overflow: visible;
}
.offers-results-grid .offer-card { height: 100%; }
.search-results-summary:empty { display: none; }
.offers-dots[hidden] { display: none; }
@media (max-width: 1050px) {
	.offers-results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 560px) {
	.offers-results-title-row { align-items: flex-start; gap: 8px; margin-bottom: 17px; }
	.offers-results-title-row .offers-heading { gap: 9px; }
	.offers-results-title-row .offers-heading-mark { flex-basis: 42px; width: 42px; height: 12px; }
	.offers-results-title-row .offers-heading h1 { font-size: clamp(18px, 5.2vw, 25px); }
	.offers-count-pill { min-height: 36px; gap: 5px; padding: 4px 8px; font-size: 11px; white-space: nowrap; }
	.offers-count-pill strong { min-width: 25px; min-height: 25px; font-size: 12px; }
	.offer-type-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-bottom: 18px; }
	.offer-type-filter { gap: 7px; min-height: 60px; padding: 8px; font-size: 12px; }
	.offer-type-filter-icon { flex-basis: 34px; width: 34px; height: 34px; }
	.offer-type-filter-icon svg { width: 18px; height: 18px; }
	.offer-type-filter-count { min-width: 27px; height: 26px; padding-inline: 5px; font-size: 11px; }
	.offers-results-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* Keep listing filters direct and show every matching offer in a responsive grid. */
.offers-results-grid { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; }
.search-results-summary, .search-active-filters, .search-results-dots { display: none !important; }
.home-page > .latest-offers:not(.offer-category-section) { padding-top: 14px; }
.home-page > .latest-offers:not(.offer-category-section) .offers-heading { margin-bottom: 26px; }
.home-page > .homepage-sold-offers { padding-top: 26px; }
.home-page > .homepage-partners { padding-top: 28px; }
@media (max-width: 560px) {
	.home-page > .latest-offers:not(.offer-category-section) { padding-top: 10px; }
	.home-page > .latest-offers:not(.offer-category-section) .offers-heading { margin-bottom: 20px; }
	.home-page > .homepage-sold-offers { padding-top: 24px; }
	.home-page > .homepage-partners { padding-top: 24px; }
}

/* News archive carousel: four cards per desktop view, then two and one. */
.news-archive-section .news-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 3 * var(--news-gap)) / 4);
	grid-template-columns: none;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	overscroll-behavior-x: contain;
}

@media (max-width: 820px) {
	.news-archive-section .news-track { grid-auto-columns: calc((100% - var(--news-gap)) / 2); }
}
@media (max-width: 560px) {
	.news-archive-section .news-track { grid-auto-columns: 100%; }
}

@media screen and (min-width: 1500px) and (hover: hover) and (pointer: fine) {
	html { background: #f3f6fa; }
	body {
		width: min(calc(100% - 80px), 1440px);
		margin-inline: auto;
		background: #fff;
		box-shadow: 0 0 32px rgba(25, 46, 64, .06);
	}
	.home-hero-slider { background: #fff; }
	.home-hero-slider .video-carousel {
		width: 100%;
		max-width: none;
		margin-inline: 0;
	}
	.home-hero-slider .video-frame {
		height: clamp(420px, 58vh, 640px);
		aspect-ratio: auto;
	}
	.home-hero-slider .video-frame video {
		object-fit: cover;
		object-position: center center;
	}
}

.home-hero-slider .video-frame video {
	display: block;
	width: 100%;
	height: 100%;
	background: #101b2a;
	object-fit: contain;
	pointer-events: none;
}

/* Align the English footer labels with their icons on desktop. */
@media (min-width: 1200px) {
	html[lang^="en"] .footer-main {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
		gap: clamp(20px, 3vw, 42px);
	}
	html[lang^="en"] .footer-groups {
		grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
		align-items: start;
	}
	html[lang^="en"] .footer-group:first-child {
		display: flex;
		flex-direction: row;
		align-items: flex-start;
		direction: ltr;
		gap: 8px;
		border-right: 1px solid var(--brand-teal);
		padding: 8px 12px 0 0;
	}
	html[lang^="en"] .footer-group:first-child h3 {
		order: 2;
		flex: 0 0 auto;
		margin: 0;
		font-size: 13px;
		white-space: nowrap;
	}
	html[lang^="en"] .footer-group:first-child .footer-icons {
		order: 1;
		flex: 0 0 auto;
		display: grid;
		grid-template-columns: repeat(7, 22px);
		gap: 2px;
	}
	html[lang^="en"] .footer-group:first-child .footer-icons a,
	html[lang^="en"] .footer-group:first-child .footer-icons img {
		width: 22px !important;
		height: 22px !important;
		flex-basis: 22px !important;
	}
	html[lang^="en"] .footer-group + .footer-group {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		padding: 8px 0 0 12px;
	}
	html[lang^="en"] .footer-group + .footer-group h3 {
		align-self: flex-start;
		margin: 0 0 8px;
	}
	html[lang^="en"] .footer-group + .footer-group .footer-platform-icons {
		align-self: flex-start;
		justify-content: flex-start;
		margin: 0;
	}
}

/* Fill the homepage video frame at every viewport and crop from its center. */
.home-hero-slider .video-carousel {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}
.home-hero-slider .video-frame {
	height: clamp(160px, 40vw, 520px);
	aspect-ratio: auto;
}
.home-hero-slider .video-frame video {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	opacity: 0;
	transition: opacity .65s cubic-bezier(.22,.61,.36,1);
	pointer-events: none;
}
.home-hero-slider .video-frame video.is-active { opacity: 1; z-index: 1; }

/* Keep phone and tablet hero dimensions unchanged. */
@media screen and (hover: none), screen and (pointer: coarse) {
	.home-hero-slider .video-frame {
		height: auto;
		aspect-ratio: 16 / 9;
	}
}

/* Desktop web only: 115% of the current compact hero height. */
@media screen and (min-width: 1200px) and (hover: hover) and (pointer: fine) {
	.home-hero-slider .video-frame {
		height: clamp(184px, 46vw, 598px);
		aspect-ratio: auto;
	}
}



/* Header refresh: remove the old contact strip and keep quick actions beside the brand. */
.site-header { position: relative; z-index: 30; }
.topbar { display: none !important; }
.nav-shell { border-top: 4px solid var(--brand-teal); }
.nav-inner {
  min-height: 82px;
  grid-template-columns: minmax(235px, 1fr) auto minmax(235px, 1fr);
  grid-template-rows: minmax(82px, auto);
  padding-top: 0;
}
.brand-tools, html[lang^="en"] .brand-tools {
  grid-row: 1; display: flex; justify-self: end; align-items: center; width: auto; max-width: 100%;
  gap: 0; transform: none; direction: inherit;
}
.brand-tools { grid-column: 3; }
html[lang^="en"] .brand-tools { grid-column: 1; justify-self: start; }
.brand-link { min-width: 0; min-height: 72px; }
.brand-logo, html[lang^="en"] .brand-logo {
  display: block; width: min(18vw, 230px); height: auto; max-width: 230px; max-height: 62px; object-fit: contain;
}
.brand-logo-mobile { display: none !important; }
.header-actions {
  grid-column: 1; grid-row: 1; justify-self: start; align-self: center; display: flex; align-items: center;
  direction: ltr; gap: 7px; min-width: 0;
}
html[lang^="en"] .header-actions { grid-column: 3; justify-self: end; }
.header-action, .header-actions .search-toggle, .header-actions .language-switch {
  position: static; inset: auto; top: auto; left: auto; right: auto; transform: none;
  display: inline-flex; flex: 0 0 40px; align-items: center; justify-content: center;
  width: 40px; min-width: 40px; height: 40px; min-height: 40px; padding: 0;
  border: 1px solid rgba(255,255,255,.34); border-radius: 5px; background: transparent; color: #fff;
  cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.header-action:hover, .header-action:focus-visible, .header-actions .language-switch:hover, .header-actions .language-switch:focus-visible {
  border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.1); transform: translateY(-1px);
}
.header-action .icon { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.header-action .icon-whatsapp { width: 21px; height: 21px; }
.header-actions .search-toggle .icon { width: 20px; height: 20px; }
.header-actions .flag { width: auto; height: 16px; max-width: 27px; }
.header-actions .flag-sa { display: none; }
html[lang^="en"] .header-actions .flag-uk { display: none; }
html[lang^="en"] .header-actions .flag-sa { display: block; }
.header-actions .language-switch { gap: 0; }
.main-navigation { grid-column: 2; grid-row: 1; }
.menu-toggle { grid-column: 1; grid-row: 1; }
html[lang^="en"] .menu-toggle { grid-column: 3; }
@media (max-width: 1050px) and (min-width: 821px) {
  .nav-inner { grid-template-columns: minmax(215px, 1fr) auto minmax(215px, 1fr); }
  .header-actions { gap: 5px; }
  .header-action, .header-actions .search-toggle, .header-actions .language-switch { flex-basis: 36px; width: 36px; min-width: 36px; height: 36px; min-height: 36px; }
  .brand-logo, html[lang^="en"] .brand-logo { width: min(17vw, 190px); max-height: 56px; }
  .main-menu { gap: clamp(12px, 1.6vw, 22px); }
}
@media (max-width: 820px) {
  .nav-inner {
    min-height: 102px; grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-rows: 48px 38px;
    row-gap: 4px; padding-block: 8px 4px;
  }
  .brand-tools, html[lang^="en"] .brand-tools { grid-row: 1; min-width: 0; justify-self: end; transform: none; }
  .brand-tools { grid-column: 3; }
  html[lang^="en"] .brand-tools { grid-column: 1; justify-self: start; }
  .brand-link { min-height: 46px; }
  .brand-logo, html[lang^="en"] .brand-logo { width: min(34vw, 148px); max-height: 42px; }
  .header-actions, html[lang^="en"] .header-actions { position: static; grid-column: 1 / -1; grid-row: 2; justify-self: center; align-self: center; gap: 6px; }
  .header-action, .header-actions .search-toggle, .header-actions .language-switch {
    position: static; inset: auto; transform: none; flex: 0 0 34px; width: 34px; min-width: 34px; height: 34px; min-height: 34px;
  }
  .header-action .icon, .header-actions .search-toggle .icon { width: 18px; height: 18px; }
  .header-actions .icon-whatsapp { width: 19px; height: 19px; }
  .header-actions .flag { height: 14px; max-width: 24px; }
  .menu-toggle, html[lang^="en"] .menu-toggle { grid-row: 1; display: inline-flex; width: 36px; height: 36px; justify-self: start; align-self: center; }
  .menu-toggle { grid-column: 1; }
  html[lang^="en"] .menu-toggle { grid-column: 3; justify-self: end; }
}
@media (max-width: 380px) {
  .header-actions, html[lang^="en"] .header-actions { gap: 4px; }
  .header-action, .header-actions .search-toggle, .header-actions .language-switch {
    flex-basis: 31px; width: 31px; min-width: 31px; height: 32px; min-height: 32px;
  }
  .brand-logo, html[lang^="en"] .brand-logo { width: min(30vw, 112px); max-height: 38px; }
  .nav-inner { grid-template-columns: 36px minmax(0,1fr) auto; }
}

/* Keep English footer groups separate and aligned with the reference layout. */
html[lang^="en"] .footer-main {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(450px, 1fr); grid-template-areas: "about groups";
  align-items: start; gap: clamp(28px, 4vw, 58px); width: min(calc(100% - 48px), 1295px); direction: ltr;
}
html[lang^="en"] .footer-about { grid-area: about; min-width: 0; direction: ltr; text-align: left; }
html[lang^="en"] .footer-about p { max-width: none; text-align: left; text-align-last: left; line-height: 1.75; }
html[lang^="en"] .footer-groups {
  grid-area: groups; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(135px, 1fr);
  align-items: start; gap: 0; min-width: 0; direction: ltr;
}
html[lang^="en"] .footer-group,
html[lang^="en"] .footer-group:first-child,
html[lang^="en"] .footer-group + .footer-group {
  min-width: 0; margin: 0; padding: 0; border: 0; text-align: left; direction: ltr;
}
html[lang^="en"] .footer-group:first-child { border-right: 0; border-left: 1px solid var(--brand-teal); padding-left: 18px; }
html[lang^="en"] .footer-group + .footer-group { padding-left: 18px; }
html[lang^="en"] .footer-group h3 { width: fit-content; max-width: 100%; margin: 0 0 12px; text-align: left; white-space: normal; }
html[lang^="en"] .footer-icons:not(.footer-platform-icons) {
  display: grid; grid-template-columns: repeat(7, 32px); justify-content: start; gap: 4px; direction: ltr;
}
html[lang^="en"] .footer-icons:not(.footer-platform-icons) a,
html[lang^="en"] .footer-icons:not(.footer-platform-icons) img { width: 32px !important; height: 32px !important; flex-basis: 32px !important; }
html[lang^="en"] .footer-platform-icons { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 7px; direction: ltr; }
html[lang^="en"] .footer-platform-icons a,
html[lang^="en"] .footer-platform-icons .footer-icon-label { width: 44px !important; height: 44px !important; flex-basis: 44px !important; }
@media (max-width: 1099px) {
  html[lang^="en"] .footer-main { grid-template-columns: minmax(0,1fr); grid-template-areas: "about" "groups"; gap: 30px; }
  html[lang^="en"] .footer-groups { width: min(100%, 620px); margin-inline: auto; }
  html[lang^="en"] .footer-about { text-align: left; }
}
@media (max-width: 560px) {
  html[lang^="en"] .footer-main { width: min(calc(100% - 32px), 460px); }
  html[lang^="en"] .footer-groups { grid-template-columns: minmax(0,1.4fr) minmax(112px,1fr); }
  html[lang^="en"] .footer-group:first-child { padding-left: 10px; }
  html[lang^="en"] .footer-group + .footer-group { padding-left: 10px; }
  html[lang^="en"] .footer-icons:not(.footer-platform-icons) { grid-template-columns: repeat(4, 26px); gap: 3px; }
  html[lang^="en"] .footer-icons:not(.footer-platform-icons) a,
  html[lang^="en"] .footer-icons:not(.footer-platform-icons) img { width: 26px !important; height: 26px !important; flex-basis: 26px !important; }
  html[lang^="en"] .footer-platform-icons { gap: 5px; }
  html[lang^="en"] .footer-platform-icons a,
  html[lang^="en"] .footer-platform-icons .footer-icon-label { width: 34px !important; height: 34px !important; flex-basis: 34px !important; }
  html[lang^="en"] .footer-icon-label { font-size: 8px; }
}

/* Detail navigation feedback, homepage video loading, and responsive license row. */
.offer-action.is-loading { cursor: wait; pointer-events: none; }
.offer-action-spinner { display: inline-block; width: 21px; height: 21px; flex: 0 0 auto; border: 2px solid currentColor; border-inline-start-color: transparent; border-radius: 50%; animation: offer-action-spin .75s linear infinite; }
@keyframes offer-action-spin { to { transform: rotate(360deg); } }
.saudi-riyal { width: 14px; height: 16px; }
.home-hero-slider .video-frame { position: relative; }
.homepage-video-loading { position: absolute; z-index: 5; inset: 0; display: grid; place-items: center; background: rgba(8,16,30,.3); pointer-events: none; }
.homepage-video-loading[hidden] { display: none !important; }
.homepage-video-spinner { display: block; width: 34px; height: 34px; border: 3px solid rgba(255,255,255,.72); border-top-color: var(--brand-teal); border-radius: 50%; animation: homepage-video-spin .75s linear infinite; }
@keyframes homepage-video-spin { to { transform: rotate(360deg); } }
.footer-contact { min-width: 0; max-width: 100%; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.footer-contact-item { display: inline-flex; align-items: center; gap: 5px; min-width: 0; max-width: 100%; flex: 0 1 auto; overflow-wrap: anywhere; }
.footer-contact-item + .footer-contact-item::before { content: "|"; flex: 0 0 auto; margin-inline-end: 10px; color: var(--brand-teal); }
.footer-contact-item a { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.footer-contact-item bdi { unicode-bidi: isolate; white-space: nowrap; }
@media (max-width: 820px) {
  .footer-contact { justify-content: center; row-gap: 8px; }
}
@media (max-width: 560px) {
  .footer-contact { justify-content: center; gap: 6px 8px; font-size: 12px; }
  .footer-contact-item { font-size: 12px; }
  .footer-contact-item + .footer-contact-item::before { margin-inline-end: 7px; }
}


/* Final header alignment and section color rhythm. */
.nav-shell { border-top-width: 8px; }
@media (max-width: 820px) {
  .nav-inner {
    min-height: 72px; grid-template-columns: 36px auto minmax(0, 1fr); grid-template-rows: 64px;
    row-gap: 0; column-gap: 6px; padding-block: 4px;
  }
  .header-actions, html[lang^="en"] .header-actions {
    position: static; grid-column: 2; grid-row: 1; justify-self: start; align-self: center; display: flex;
    align-items: center; gap: 5px; width: max-content; max-width: 100%; transform: none;
  }
  .brand-tools, html[lang^="en"] .brand-tools { grid-row: 1; align-self: center; transform: none; min-width: 0; }
  .brand-tools { grid-column: 3; justify-self: end; }
  html[lang^="en"] .brand-tools { grid-column: 1; justify-self: start; }
  .brand-link { min-height: 48px; }
  .brand-logo, html[lang^="en"] .brand-logo { width: min(30vw, 112px); max-height: 42px; }
  .header-action, .header-actions .search-toggle, .header-actions .language-switch {
    position: static; inset: auto; top: auto; left: auto; right: auto; transform: none;
    flex: 0 0 34px; width: 34px; min-width: 34px; height: 34px; min-height: 34px;
  }
  .header-action .icon, .header-actions .search-toggle .icon { width: 18px; height: 18px; }
  .header-actions .icon-whatsapp { width: 19px; height: 19px; }
  .header-actions .flag { width: auto; height: 14px; max-width: 24px; }
  .menu-toggle, html[lang^="en"] .menu-toggle {
    display: inline-flex; grid-row: 1; align-self: center; width: 34px; height: 34px; justify-self: start;
  }
  .menu-toggle { grid-column: 1; }
  html[lang^="en"] .nav-inner { grid-template-columns: minmax(0, 1fr) auto 36px; }
  html[lang^="en"] .header-actions { grid-column: 2; justify-self: end; }
  html[lang^="en"] .menu-toggle { grid-column: 3; justify-self: end; }
}
@media (max-width: 380px) {
  .nav-inner { grid-template-columns: 31px auto minmax(0, 1fr); column-gap: 4px; }
  .header-actions, html[lang^="en"] .header-actions { gap: 3px; }
  .header-action, .header-actions .search-toggle, .header-actions .language-switch {
    flex-basis: 30px; width: 30px; min-width: 30px; height: 31px; min-height: 31px;
  }
  .menu-toggle, html[lang^="en"] .menu-toggle { width: 30px; height: 31px; }
  .brand-logo, html[lang^="en"] .brand-logo { width: min(30vw, 100px); max-height: 38px; }
  html[lang^="en"] .nav-inner { grid-template-columns: minmax(0, 1fr) auto 31px; }
}

/* Equal, aligned social and property platform buttons in both languages. */
.footer-icons { gap: 7px; }
.footer-icons:not(.footer-platform-icons) {
  display: flex !important; align-items: center; justify-content: flex-start; flex-wrap: nowrap; gap: 7px; width: auto;
}
.footer-icons:not(.footer-platform-icons) a,
.footer-platform-icons a {
  display: grid; place-items: center; width: 30px !important; height: 30px !important;
  min-width: 30px; flex: 0 0 30px !important; overflow: visible;
}
.footer-icons:not(.footer-platform-icons) img,
.footer-icons:not(.footer-platform-icons) a[aria-label="X"] img,
.footer-platform-icons img {
  display: block; width: 26px !important; height: 26px !important; max-width: 100%;
  flex: 0 0 26px !important; object-fit: contain;
}
.footer-platform-icons { display: flex; align-items: center; justify-content: flex-start; flex-wrap: nowrap; gap: 7px; }
.footer-platform-icons .footer-icon-label {
  display: grid; place-items: center; width: 30px !important; height: 30px !important;
  min-width: 30px; flex: 0 0 30px !important; font-size: 8px; line-height: 1; white-space: nowrap;
}
html[lang^="en"] .footer-icons:not(.footer-platform-icons) a,
html[lang^="en"] .footer-platform-icons a,
html[lang^="en"] .footer-icons:not(.footer-platform-icons) img,
html[lang^="en"] .footer-platform-icons img,
html[lang^="en"] .footer-platform-icons .footer-icon-label {
  width: 30px !important; height: 30px !important; min-width: 30px; flex-basis: 30px !important;
}
html[lang^="en"] .footer-icons:not(.footer-platform-icons) img,
html[lang^="en"] .footer-platform-icons img { width: 26px !important; height: 26px !important; flex-basis: 26px !important; }
@media (max-width: 560px) {
  .footer-groups, html[lang^="en"] .footer-groups {
    display: flex !important; flex-direction: column; align-items: stretch; gap: 18px;
    width: 100%; max-width: none; margin-inline: auto;
  }
  .footer-group, html[lang^="en"] .footer-group,
  .footer-group:first-child, html[lang^="en"] .footer-group:first-child,
  .footer-group + .footer-group, html[lang^="en"] .footer-group + .footer-group {
    width: 100%; padding: 0; border: 0; text-align: center;
  }
  .footer-group h3, html[lang^="en"] .footer-group h3 { margin-inline: auto; text-align: center; }
  .footer-icons:not(.footer-platform-icons),
  html[lang^="en"] .footer-icons:not(.footer-platform-icons) { justify-content: center; gap: 7px; width: 100%; }
  .footer-platform-icons, html[lang^="en"] .footer-platform-icons { justify-content: center; gap: 7px; }
  .footer-icons:not(.footer-platform-icons) a,
  .footer-platform-icons a,
  html[lang^="en"] .footer-icons:not(.footer-platform-icons) a,
  html[lang^="en"] .footer-platform-icons a,
  .footer-platform-icons .footer-icon-label,
  html[lang^="en"] .footer-platform-icons .footer-icon-label {
    width: 30px !important; height: 30px !important; min-width: 30px; flex-basis: 30px !important;
  }
  .footer-icons:not(.footer-platform-icons) img,
  .footer-icons:not(.footer-platform-icons) a[aria-label="X"] img,
  html[lang^="en"] .footer-icons:not(.footer-platform-icons) img,
  html[lang^="en"] .footer-icons:not(.footer-platform-icons) a[aria-label="X"] img {
    width: 26px !important; height: 26px !important; flex-basis: 26px !important;
  }
}

/* Requested homepage background rhythm: white, soft gray, dark, white, gray, white. */
.home-page > .latest-offers:not(.offer-category-section) { background: #fff; }
.home-page > .homepage-sold-offers { background: #f2f5f8; }
.home-page > .homepage-news { background: #1d3274; color: #fff; }
.home-page > .homepage-news .news-heading h1,
.home-page > .homepage-news .news-heading h2 { color: #fff; }
.home-page > .homepage-news .news-heading-mark { background: var(--brand-teal); }
.home-page > .homepage-news .news-see-all {
  border-color: rgba(255,255,255,.75); background: transparent; color: #fff;
}
.home-page > .homepage-news .news-see-all:hover,
.home-page > .homepage-news .news-see-all:focus-visible { border-color: var(--brand-teal); background: var(--brand-teal); }
.home-page > .homepage-advertisements { background: #fff; }
.home-page > .homepage-lowest-price { background: #f2f5f8; }
.home-page > .homepage-partners { background: #fff; }

/* Keep the English footer titles above their own rows of controls. */
html[lang^="en"] .footer-group:first-child {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  direction: ltr; border-left: 0; border-right: 1px solid var(--brand-teal);
  padding: 0 18px 0 0;
}
html[lang^="en"] .footer-group:first-child h3 {
  order: 0; align-self: flex-start; flex: 0 0 auto; margin: 0 0 8px;
  font-size: 15px; white-space: normal;
}
html[lang^="en"] .footer-group:first-child .footer-icons {
  order: 0; flex: 0 0 auto; display: flex; grid-template-columns: none; gap: 7px;
}
html[lang^="en"] .footer-group + .footer-group {
  display: flex; flex-direction: column; align-items: flex-start; padding: 0 0 0 18px;
}
html[lang^="en"] .footer-group + .footer-group h3 {
  align-self: flex-start; margin: 0 0 12px; font-size: 15px;
}
html[lang^="en"] .footer-group + .footer-group .footer-platform-icons {
  align-self: flex-start; justify-content: flex-start; margin: 0;
}
@media (max-width: 560px) {
  html[lang^="en"] .footer-group:first-child { border-right: 0; padding: 0; align-items: center; }
  html[lang^="en"] .footer-group + .footer-group { padding: 0; align-items: center; }
  html[lang^="en"] .footer-group:first-child h3,
  html[lang^="en"] .footer-group + .footer-group h3 { align-self: center; }
}


/* Phone only: make the homepage hero 15% taller without affecting tablets or desktop. */
@media (max-width: 560px) {
  .home-hero-slider .video-frame { height: auto; aspect-ratio: 320 / 207; }
}

/* Phone only: enlarge quick actions and menu targets by about 20% with more separation. */
@media (max-width: 560px) {
  .nav-inner { grid-template-columns: 41px auto minmax(0, 1fr); column-gap: 6px; }
  .header-actions, html[lang^="en"] .header-actions { gap: 8px; }
  .header-action, .header-actions .search-toggle, .header-actions .language-switch {
    flex-basis: 41px; width: 41px; min-width: 41px; height: 41px; min-height: 41px;
  }
  .header-action .icon, .header-actions .search-toggle .icon { width: 22px; height: 22px; }
  .header-actions .icon-whatsapp { width: 23px; height: 23px; }
  .header-actions .flag { height: 17px; max-width: 29px; }
  .menu-toggle, html[lang^="en"] .menu-toggle { width: 41px; height: 41px; }
  .icon-menu { width: 22px; height: 22px; }
  .brand-logo, html[lang^="en"] .brand-logo { width: min(28vw, 120px); max-height: 46px; }
  html[lang^="en"] .nav-inner { grid-template-columns: minmax(0, 1fr) auto 41px; }
}
@media (max-width: 380px) {
  .nav-inner { grid-template-columns: 36px auto minmax(0, 1fr); column-gap: 4px; }
  .header-actions, html[lang^="en"] .header-actions { gap: 6px; }
  .header-action, .header-actions .search-toggle, .header-actions .language-switch {
    flex-basis: 36px; width: 36px; min-width: 36px; height: 36px; min-height: 36px;
  }
  .header-action .icon, .header-actions .search-toggle .icon { width: 22px; height: 22px; }
  .menu-toggle, html[lang^="en"] .menu-toggle { width: 36px; height: 36px; }
  .brand-logo, html[lang^="en"] .brand-logo { width: min(27vw, 100px); max-height: 40px; }
  html[lang^="en"] .nav-inner { grid-template-columns: minmax(0, 1fr) auto 36px; }
}

/* Social account artwork is 20% larger at every viewport. */
.footer-icons:not(.footer-platform-icons) img,
.footer-icons:not(.footer-platform-icons) a[aria-label="X"] img,
html[lang^="en"] .footer-icons:not(.footer-platform-icons) img,
html[lang^="en"] .footer-icons:not(.footer-platform-icons) a[aria-label="X"] img,
html[lang^="en"] .footer-group:first-child .footer-icons img,
html[lang^="en"] .footer-group:first-child .footer-icons a[aria-label="X"] img {
  width: 31px !important; height: 31px !important; flex-basis: 31px !important;
}

/* Center English platform links only on phones. */
@media (max-width: 560px) {
  html[lang^="en"] .footer-group + .footer-group .footer-platform-icons {
    align-self: center !important; justify-content: center !important; margin-inline: auto;
  }
}


/* Homepage refinements from the latest review. */
.nav-shell { border-top-width: 16px; }
.home-page > .latest-offers:not(.offer-category-section) {
  background: #fff; padding-top: 14px;
}
.home-page > .latest-offers:not(.offer-category-section) .offers-heading { margin-bottom: 26px; }
.home-page > .homepage-sold-offers { background: #f2f5f8; padding-top: 26px; }
.home-page > .homepage-news { background: #fff; color: var(--ink); }
.home-page > .homepage-news .news-heading h1,
.home-page > .homepage-news .news-heading h2 { color: var(--navy); }
.home-page > .homepage-news .news-card { background: #f2f5f8; }
.home-page > .homepage-news .news-see-all {
  border-color: var(--navy-deep); background: var(--navy-deep); color: #fff;
}
.home-page > .homepage-news .news-see-all:hover,
.home-page > .homepage-news .news-see-all:focus-visible { border-color: var(--navy); background: var(--navy); color: #fff; }
.home-page > .homepage-advertisements { background: #dfe3e8; }
.home-page > .homepage-partners { background: #fff; padding-top: 28px; }
@media (max-width: 560px) {
  .home-page > .latest-offers:not(.offer-category-section) { padding-top: 10px; }
  .home-page > .latest-offers:not(.offer-category-section) .offers-heading { margin-bottom: 20px; }
  .home-page > .homepage-sold-offers { padding-top: 24px; }
  .home-page > .homepage-partners { padding-top: 24px; }
}

/* Homepage section actions sit beside their headings, matching the news section. */
.home-linked-section-header { margin-bottom: 22px; }
.home-linked-section-header .offers-heading { margin: 0; flex: 1 1 auto; min-width: 0; }
.home-linked-section-header .offers-heading h1,
.home-linked-section-header .offers-heading h2 { font-size: clamp(24px, 2vw, 30px); }
.home-page > .latest-offers:not(.offer-category-section) .home-linked-section-header { margin-bottom: 18px; }
.home-page > .homepage-advertisements .home-linked-section-header { margin-bottom: 24px; }
@media (max-width: 560px) {
  .home-linked-section-header { gap: 10px; margin-bottom: 17px; }
  .home-linked-section-header .offers-heading { gap: 8px; }
  .home-linked-section-header .offers-heading-mark { flex-basis: 44px; width: 44px; height: 13px; }
  .home-linked-section-header .offers-heading h1,
  .home-linked-section-header .offers-heading h2 { font-size: clamp(20px, 5.4vw, 25px); }
  .home-linked-section-header .news-see-all { min-width: 86px; min-height: 36px; padding: 6px 9px; font-size: 11px; }
}

/* Contact page */
.contact-section { padding: 42px 0 64px; background: #f2f5f8; }
.contact-section-header { align-items: flex-end; margin-bottom: 22px; }
.contact-section-header p { max-width: 520px; margin: 0; color: var(--muted); text-align: end; }
.contact-page-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; gap: 22px; }
.contact-info-card, .contact-map-card {
  min-width: 0; padding: 24px; border: 1px solid #dce3eb; background: #fff;
  box-shadow: 0 12px 30px rgba(26, 46, 75, .05);
}
.contact-info-card h2, .contact-map-heading h2 { margin: 0; color: var(--navy); font-size: 23px; }
.contact-methods { margin-top: 12px; border-top: 1px solid #e1e6ed; }
.contact-method { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid #e1e6ed; }
.contact-method-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(0,168,172,.1); color: var(--brand-teal); }
.contact-method-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-method-icon img { display: block; width: 22px; height: 22px; object-fit: contain; }
.contact-method-copy { display: grid; gap: 2px; min-width: 0; }
.contact-method-copy strong { color: var(--muted); font-size: 13px; font-weight: 500; }
.contact-method-copy a { color: var(--navy); font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
.contact-method-copy a:hover { color: var(--brand-teal); }
.contact-method-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.contact-action { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 5px 11px; border: 1px solid #dce3eb; border-radius: 999px; color: var(--navy); font-size: 12px; font-weight: 700; white-space: nowrap; }
.contact-action:hover { border-color: var(--brand-teal); color: var(--brand-teal); }
.contact-action-whatsapp { border-color: rgba(52,112,87,.2); background: #e9f2ed; color: #276044; }
.contact-action-link { background: #f3f6fa; }
.contact-social-block { padding-top: 20px; }
.contact-social-block h3, .contact-inquiry-form h3 { margin: 0 0 12px; color: var(--navy); font-size: 18px; }
.contact-social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-social-links a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #dce3eb; border-radius: 8px; background: #fff; transition: border-color .18s ease, transform .18s ease; }
.contact-social-links a:hover { border-color: var(--brand-teal); transform: translateY(-2px); }
.contact-social-links img { width: 24px; height: 24px; object-fit: contain; }
.contact-inquiry-form { display: grid; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid #e1e6ed; }
.contact-inquiry-form label { display: grid; gap: 5px; color: #4c5867; font-size: 13px; font-weight: 600; }
.contact-inquiry-form input, .contact-inquiry-form textarea { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid #dce3eb; border-radius: 5px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; resize: vertical; }
.contact-inquiry-form input:focus, .contact-inquiry-form textarea:focus { outline: 2px solid rgba(0,168,172,.2); border-color: var(--brand-teal); }
.contact-submit { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 10px 16px; border: 0; border-radius: 5px; background: var(--navy-deep); color: #fff; font-weight: 700; cursor: pointer; }
.contact-submit img { width: 22px; height: 22px; filter: brightness(0) invert(1); }
.contact-submit:hover { background: var(--brand-teal); }
.contact-form-note { margin: -5px 0 0; color: var(--muted); font-size: 12px; }
.contact-map-heading { display: flex; align-items: center; gap: 12px; min-height: 54px; margin-bottom: 16px; }
.contact-map-pin { display: grid; flex: 0 0 44px; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(0,168,172,.1); color: var(--brand-teal); }
.contact-map-pin svg, .contact-directions svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-map-heading p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.contact-map-frame { overflow: hidden; min-height: 410px; border: 1px solid #dce3eb; background: #e8edf2; }
.contact-map-frame iframe { display: block; width: 100%; height: 410px; border: 0; }
.contact-directions { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; margin-top: 12px; border-radius: 5px; background: var(--navy-deep); color: #fff; font-weight: 700; }
.contact-directions:hover { background: var(--brand-teal); }
html[lang^="en"] .contact-section-header p { text-align: left; }
html[lang^="en"] .contact-method-copy { direction: ltr; text-align: left; }
html[lang^="en"] .contact-inquiry-form label { text-align: left; }
html[lang^="en"] .contact-map-heading { direction: ltr; }
html[lang^="en"] .contact-page-grid { direction: ltr; }
@media (max-width: 900px) {
  .contact-page-grid { grid-template-columns: minmax(0,1fr); }
  .contact-section-header { align-items: flex-start; }
  .contact-section-header p { max-width: 420px; }
}
@media (max-width: 560px) {
  .contact-section { padding: 28px 0 40px; }
  .contact-section-header { flex-direction: column; align-items: stretch; gap: 8px; margin-bottom: 16px; }
  .contact-section-header p { text-align: start; font-size: 14px; }
  .contact-info-card, .contact-map-card { padding: 16px; }
  .contact-info-card h2, .contact-map-heading h2 { font-size: 20px; }
  .contact-method { grid-template-columns: 36px minmax(0,1fr); gap: 9px; }
  .contact-method-icon { grid-row: span 2; width: 36px; height: 36px; }
  .contact-method-actions { grid-column: 2; }
  .contact-map-frame, .contact-map-frame iframe { min-height: 320px; height: 320px; }
  .contact-social-links { gap: 8px; }
  .contact-social-links a { width: 40px; height: 40px; }
}

/* Keep the tablet hero taller while allowing the phone hero to stay compact. */
@media screen and (max-width: 1180px) and (any-pointer: coarse) {
  .home-hero-slider .video-frame { height: auto; aspect-ratio: 320 / 207; }
  .home-hero-slider, .home-page > .latest-offers:not(.offer-category-section) { border: 0; box-shadow: none; }
}

/* The latest phone request reduces the homepage video height by about 13%. */
@media screen and (max-width: 560px) and (any-pointer: coarse) {
  .home-hero-slider .video-frame { height: auto; aspect-ratio: 16 / 9; }
}

/* Keep all social links visible and centered in two rows on iPads only. */
@media screen and (min-width: 561px) and (max-width: 1180px) and (any-pointer: coarse) {
  .footer-groups, html[lang^="en"] .footer-groups {
    display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start; gap: 24px; width: 100%; max-width: 760px; margin-inline: auto;
  }
  .footer-group, html[lang^="en"] .footer-group,
  .footer-group:first-child, html[lang^="en"] .footer-group:first-child,
  .footer-group + .footer-group, html[lang^="en"] .footer-group + .footer-group {
    display: flex; flex-direction: column; align-items: center; min-width: 0;
    padding: 0; text-align: center;
  }
  .footer-group:first-child, html[lang^="en"] .footer-group:first-child {
    border: 0; border-inline-end: 1px solid var(--brand-teal); padding-inline-end: 24px;
  }
  .footer-group + .footer-group, html[lang^="en"] .footer-group + .footer-group { padding-inline-start: 0; }
  .footer-group h3, html[lang^="en"] .footer-group h3 { align-self: center; text-align: center; }
  .footer-group:first-child { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .footer-group:first-child h3 { align-self: center; text-align: center; }
  .footer-group:first-child .footer-icons:not(.footer-platform-icons) {
    display: grid !important; grid-template-columns: repeat(4, 38px); justify-content: center; gap: 8px 12px;
    width: max-content; max-width: 100%; margin-inline: auto;
  }
  .footer-group:first-child .footer-icons:not(.footer-platform-icons) a {
    width: 38px !important; height: 38px !important; min-width: 38px; flex-basis: 38px !important;
  }
  .footer-group:first-child .footer-icons:not(.footer-platform-icons) img,
  .footer-group:first-child .footer-icons:not(.footer-platform-icons) a[aria-label="X"] img {
    width: 31px !important; height: 31px !important; flex-basis: 31px !important;
  }
  html[lang^="en"] .footer-group:first-child { align-items: center; text-align: center; border-left: 0; padding: 0; }
  html[lang^="en"] .footer-group:first-child h3 { align-self: center; }
  html[lang^="en"] .footer-group:first-child .footer-icons:not(.footer-platform-icons) { justify-content: center; }
  .footer-group + .footer-group .footer-platform-icons,
  html[lang^="en"] .footer-group + .footer-group .footer-platform-icons { justify-content: center; align-self: center; }
}

/* Full advertisements page */
.advertisements-archive-section { min-height: 60vh; padding: 38px 0 62px; background: #f2f5f8; }
.advertisements-archive-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.advertisement-video-card { min-width: 0; overflow: hidden; border: 1px solid #dce3eb; background: #fff; box-shadow: 0 8px 24px rgba(26,46,75,.06); }
.advertisement-video-card video { display: block; width: 100%; max-height: 650px; aspect-ratio: 9 / 16; object-fit: cover; background: #101b2a; }
.advertisement-video-caption { padding: 13px 16px; color: var(--navy); font-weight: 700; }
.advertisements-section-header { margin-bottom: 24px; }
@media (max-width: 980px) { .advertisements-archive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; } }
@media (max-width: 560px) {
  .advertisements-archive-section { padding: 24px 0 40px; }
  .advertisements-archive-grid { grid-template-columns: 1fr; gap: 14px; }
  .advertisement-video-card { width: min(100%, 460px); margin-inline: auto; }
  .advertisement-video-card video { max-height: none; aspect-ratio: 9 / 14.2; object-position: center; }
  .advertisements-section-header { flex-direction: row; align-items: center; }
}

/* Final detail-page and responsive refinements requested for this update. */
.contact-page-grid { align-items: stretch; }
.contact-info-card, .contact-map-card { display: flex; flex-direction: column; height: 100%; }
.contact-primary-details { display: grid; gap: 8px; }
.contact-primary-phone { width: fit-content; color: var(--navy); font-size: 19px; font-weight: 700; direction: ltr; }
.contact-primary-phone:hover { color: var(--brand-teal); }
.contact-details-divider { width: 100%; margin: 7px 0 4px; border: 0; border-top: 1px solid #dce3eb; }
.contact-more-offers { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--muted); }
.contact-more-offers a { color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--brand-teal); text-underline-offset: 3px; overflow-wrap: anywhere; }
.contact-more-offers a:hover { color: var(--brand-teal); }
.contact-inquiry-form { margin-top: auto; }
.contact-map-frame { flex: 1 1 auto; }
.offers-count-pill > span { color: var(--muted); font-size: 13px; font-weight: 600; }
.offer-media { aspect-ratio: 1.1 / 1; }
.offer-details { padding: 14px 15px 9px; }
.offers-advertisements-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 980px; margin-inline: auto; }
.offers-advertisements .advertisement-video-card video { max-height: 650px; }
.ad-video-dialog video { object-fit: cover; object-position: center; }
@media (min-width: 1200px) and (hover: hover) and (pointer: fine) {
  .offers-advertisements-grid { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 24px; }
}

/* Public advertisements use landscape video framing so the full 16:9 clip remains visible. */
.advertisement-video-card .public-ad-media { position: relative; background: #fff; }
.advertisement-video-card .public-ad-media > video { display: block; width: 100%; height: auto; max-height: none; aspect-ratio: 16 / 9; object-fit: contain; object-position: center; background: #fff; }
.advertisement-video-card .public-ad-media > .offer-status { top: 12px; left: auto; right: auto; inset-inline-start: 12px; z-index: 4; }
.advertisement-video-card .public-ad-sold-stamp { position: absolute; top: 50%; left: 50%; z-index: 2; width: min(40.5%, 172.5px); height: auto; transform: translate(-50%, -50%) rotate(-15deg); pointer-events: none; }
@media (max-width: 820px) {
  .offers-advertisements-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .contact-inquiry-form { margin-top: 24px; }
}
@media (max-width: 560px) {
  .offers-advertisements-grid { grid-template-columns: 1fr; gap: 14px; }
  .offers-advertisements .advertisement-video-card { width: min(100%, 460px); }
  .offers-advertisements .advertisement-video-card video { max-height: none; aspect-ratio: 9 / 14.2; object-position: center; }
  .contact-inquiry-form { margin-top: 22px; }
  .contact-more-offers { align-items: flex-start; flex-direction: column; gap: 3px; }
  .contact-primary-phone { font-size: 18px; }
  .ad-video-dialog video { height: min(64dvh, 680px); }
  .offer-media { aspect-ratio: 1.1 / 1; }
  .offer-details { padding: 12px 13px 8px; }
}

@media screen and (min-width: 561px) and (max-width: 1180px) and (any-pointer: coarse) {
  .footer-group:first-child, html[lang^="en"] .footer-group:first-child {
    border: 0; border-inline-end: 1px solid var(--brand-teal); padding-inline: 0 24px;
  }
  .footer-group + .footer-group, html[lang^="en"] .footer-group + .footer-group { padding-inline: 0; }
}

/* Homepage section pills and their aligned title rows. */
.home-linked-section-header { align-items: center; }
.home-linked-section-header .offers-heading { align-items: center; }
.home-linked-section-header .offers-heading-mark { align-self: center; }
.home-page .home-linked-section-header .news-see-all[data-ar="الكل"] {
  display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center;
  width: max-content; min-width: 0; min-height: 42px; padding: 8px 22px;
  border-radius: 999px; background: var(--navy-deep); color: #fff;
  font-size: 18px; line-height: 1.2; white-space: nowrap;
}
.home-page .home-linked-section-header .news-see-all[data-ar="الكل"]:hover,
.home-page .home-linked-section-header .news-see-all[data-ar="الكل"]:focus-visible {
  background: var(--brand-teal); border-color: var(--brand-teal); color: #fff;
}

/* The sold homepage action opens the sold listings section directly. */
.offers-sold-section { scroll-margin-top: 18px; }

/* Offers directory sections use horizontal rows with three cards per desktop page. */
.offers-directory-slider { min-width: 0; overflow: hidden; }
.offers-directory-slider > .offers-track {
  display: grid; grid-auto-flow: column; grid-template-columns: none;
  grid-auto-columns: calc((100% - 2 * 22px) / 3); gap: 22px;
  width: 100%; overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.offers-directory-slider > .offers-track::-webkit-scrollbar { display: none; }
.offers-directory-slider > .offers-track > * { min-width: 0; scroll-snap-align: start; }
.offers-directory-slider .offer-card { height: 100%; }
.offers-directory-slider .offers-advertisements-grid {
  max-width: none; margin: 0; grid-template-columns: none; justify-content: initial;
}
.offers-page .search-results-section { background: #fff; }
.offers-page .offers-sold-section { background: #f2f5f8; }
.offers-page .offers-advertisements { background: #fff; }
.offers-page .offers-advertisements .offers-heading { margin-bottom: 22px; }
.offers-page .directory-dots { justify-content: center; min-height: 12px; margin-top: 20px; }
.offers-page .directory-dots button { width: 11px; height: 11px; }
.offers-page .offers-results-title-row { align-items: center; }

@media (max-width: 1050px) {
  .offers-directory-slider > .offers-track { grid-auto-columns: calc((100% - 18px) / 2); gap: 18px; }
}
@media (max-width: 820px) {
  .offers-directory-slider > .offers-track { grid-auto-columns: 100%; gap: 14px; }
}
@media (max-width: 560px) {
  .home-page .home-linked-section-header .news-see-all[data-ar="الكل"] {
    min-width: 0; min-height: 34px; padding: 6px 14px; font-size: 13.2px;
  }
  .home-linked-section-header { align-items: center; }
  .offers-directory-slider > .offers-track { gap: 14px; }
  .offers-page .offers-results-title-row { align-items: center; }
  .offers-page .offers-advertisements .offers-heading { margin-bottom: 18px; }
}

/* Contact information uses matching capsules and a compact desktop layout. */
.contact-primary-details h2,
.contact-pill-heading,
.contact-map-heading h2 {
  display: inline-flex; align-items: center; justify-content: center; width: fit-content;
  min-height: 38px; margin: 0; padding: 6px 16px; border-radius: 999px;
  background: #eef2f8; color: var(--navy); font-size: 17px; font-weight: 700;
}
.contact-primary-phone {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  width: fit-content; min-height: 42px; padding: 7px 16px; border-radius: 999px;
  background: var(--navy-deep); color: #fff; font-size: 17px;
}
.contact-primary-phone:hover { background: var(--navy); color: #fff; }
.contact-primary-phone img { width: 21px; height: 21px; filter: brightness(0) invert(1); }
.contact-more-offers {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
  width: fit-content; min-height: 40px; padding: 5px 7px 5px 15px; border-radius: 999px;
  background: var(--brand-teal); color: #fff; font-size: 14px; font-weight: 700;
}
.contact-more-offers > span:first-child { color: #fff; }
.contact-more-offers .contact-link-open {
  display: inline-flex; align-items: center; justify-content: center; min-height: 30px;
  padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.2); color: #fff;
  white-space: nowrap;
}
.contact-more-offers:hover { background: var(--navy); color: #fff; }
.contact-inquiry-form {
  gap: 8px; margin-top: 12px; padding: 13px; border: 1px solid #dce3eb;
  border-radius: 14px; background: #f8fafc;
}
.contact-pill-heading { min-height: 34px; margin: 0 0 2px; padding: 5px 14px; background: var(--navy-deep); color: #fff; }
.contact-inquiry-form label { gap: 3px; font-size: 12px; }
.contact-inquiry-form input, .contact-inquiry-form textarea { min-height: 36px; padding: 7px 10px; border-radius: 8px; font-size: 14px; }
.contact-inquiry-form textarea { min-height: 54px; height: 54px; resize: vertical; }
.contact-submit { min-height: 40px; border-radius: 999px; }
.contact-map-heading { width: fit-content; min-height: 40px; margin: 0 0 10px; padding: 4px 14px 4px 8px; border: 1px solid #dce3eb; border-radius: 999px; background: #f8fafc; }
.contact-map-heading h2 { min-height: 30px; padding: 3px 11px; background: var(--brand-teal); color: #fff; font-size: 15px; }
.contact-map-pin { flex-basis: 32px; width: 32px; height: 32px; }
.contact-map-pin svg { width: 19px; height: 19px; }
.contact-map-heading p { margin: 0; font-size: 12px; }
@media (min-width: 901px) {
  .contact-section { padding: 18px 0 26px; }
  .contact-section-header { margin-bottom: 12px; }
  .contact-page-grid { gap: 16px; }
  .contact-info-card, .contact-map-card { padding: 16px; }
  .contact-primary-details { gap: 7px; }
  .contact-map-frame { min-height: 180px; }
  .contact-map-frame iframe { height: 180px; }
  .contact-directions { min-height: 38px; margin-top: 8px; border-radius: 999px; }
  .contact-inquiry-form { margin-top: 10px; }
}
@media (max-width: 900px) {
  .contact-primary-details h2, .contact-map-heading h2 { font-size: 16px; }
  .contact-primary-phone { min-height: 40px; font-size: 16px; }
  .contact-more-offers { width: 100%; max-width: 100%; }
  .contact-map-heading { max-width: 100%; }
  .contact-map-heading p { overflow-wrap: anywhere; }
}

/* Contact page final alignment and map sizing. */
.contact-section { background: #fff; }
.contact-primary-details {
  display: flex; flex-direction: row; flex-wrap: wrap; align-items: center;
  justify-content: flex-start; gap: 12px;
}
.contact-primary-phone,
.contact-more-offers {
  width: fit-content; max-width: 100%; min-height: 48px; flex: 0 1 auto; justify-content: center;
}
.contact-primary-phone { font-size: 17px; }
.contact-more-offers { flex-direction: row; align-items: center; gap: 10px; font-size: 15px; white-space: nowrap; }
.contact-more-offers .contact-link-open { min-height: 30px; }
.contact-inquiry-form .contact-pill-heading { color: #fff; background: #718d7a; }
.contact-inquiry-form textarea { min-height: 180px; height: 180px; }
.contact-map-heading {
  width: fit-content; max-width: 100%; min-height: 42px; margin-bottom: 12px;
  padding: 5px 13px 5px 7px; gap: 10px;
}
.contact-map-pin { flex-basis: 34px; width: 34px; height: 34px; }
.contact-map-address {
  display: inline-flex; align-items: center; justify-content: center; min-height: 34px;
  margin: 0; padding: 6px 14px; border-radius: 999px; background: var(--brand-teal);
  color: #fff; font-size: 14px; font-weight: 700; line-height: 1.4;
}
.contact-map-heading .contact-map-address { color: #fff; font-size: 16px; }
.contact-map-frame { display: flex; flex: 1 1 auto; min-height: 350px; height: auto; background: #e8edf2; }
.contact-map-frame iframe { flex: 1 1 auto; width: 100%; height: 100%; min-height: 350px; }
.offers-page .offers-advertisements .offers-results-title-row { align-items: center; }
.offers-page .offers-advertisements .offers-results-title-row .offers-heading { align-items: center; margin: 0; }
.offers-page .offers-advertisements .offers-count-pill { align-self: center; }

/* Center the mobile "Latest" title and its All button on the same line. */
.home-page .home-linked-section-header { display: flex; align-items: center; }
.home-page .home-linked-section-header .offers-heading { display: flex; align-items: center; min-height: 42px; }
.home-page > .latest-offers:not(.offer-category-section) .home-linked-section-header .offers-heading {
  margin-bottom: 0;
}
.home-page .home-linked-section-header .news-see-all[data-ar="الكل"] {
  align-self: center; height: 42px; min-height: 42px; margin: 0; line-height: 1;
}
@media (max-width: 560px) {
  .contact-primary-details { flex-direction: column; align-items: stretch; gap: 10px; }
  .contact-primary-phone,
  .contact-more-offers { width: fit-content; max-width: 100%; min-height: 48px; flex: 0 1 auto; align-self: flex-start; }
  .contact-primary-phone { font-size: 17px; }
  .contact-more-offers { flex-direction: row; align-items: center; justify-content: center; font-size: 15px; }
  .contact-inquiry-form textarea { min-height: 180px; height: 180px; }
  .contact-map-heading { width: 100%; }
  .contact-map-heading .contact-map-address { min-width: 0; font-size: 15px; text-align: center; }
  .contact-map-frame, .contact-map-frame iframe { min-height: 320px; height: 320px; }
  .home-page .home-linked-section-header .offers-heading { min-height: 36px; }
  .home-page > .latest-offers:not(.offer-category-section) .home-linked-section-header .offers-heading {
    margin-bottom: 0;
  }
  .home-page .home-linked-section-header .news-see-all[data-ar="الكل"] {
    height: 36px; min-height: 36px; padding: 6px 14px; font-size: 13.2px;
  }
  .home-page > .homepage-sold-offers { margin-top: 0; padding-top: 24px; }
  .offers-page > .offers-sold-section { margin-top: 0; padding-top: 44px; }
  .offers-page .offers-advertisements .offers-results-title-row { align-items: center; }
  .offers-page .offers-advertisements .offers-results-title-row .offers-heading {
    align-items: center; margin: 0;
  }
  .offers-page .offers-advertisements .offers-count-pill { align-self: center; }
}

/* Full-screen image and video viewer shared by property, offer, news, and ad media. */
.media-viewer-dialog {
  position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 58px 76px 68px; border: 0; overflow: hidden;
  background: rgba(7, 13, 25, .97); color: #fff;
}
.media-viewer-dialog[open] { display: flex; align-items: center; justify-content: center; }
.media-viewer-dialog::backdrop { background: rgba(4, 9, 19, .88); backdrop-filter: blur(5px); }
.media-viewer-dialog [hidden] { display: none !important; }
.media-viewer-stage {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
  min-width: 0; min-height: 0; overflow: hidden; touch-action: none;
}
.media-viewer-image, .media-viewer-video {
  display: block; max-width: 100%; max-height: 100%; object-fit: contain; background: #05080e;
}
.media-viewer-image { width: 100%; height: 100%; cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.media-viewer-image.is-zoomed { cursor: grab; }
.media-viewer-image.is-zoomed:active { cursor: grabbing; }
.media-viewer-video { width: auto; height: auto; max-width: 100%; max-height: 100%; touch-action: auto; }
.media-viewer-close, .media-viewer-nav, .media-viewer-zoom button {
  display: grid; place-items: center; border: 1px solid rgba(255,255,255,.48);
  background: rgba(19, 35, 66, .88); color: #fff; cursor: pointer;
}
.media-viewer-close {
  position: absolute; z-index: 2; top: 15px; inset-inline-end: 18px; width: 46px; height: 46px;
  padding: 0; border-radius: 50%; font: 36px/1 Arial, sans-serif;
}
.media-viewer-nav {
  position: absolute; z-index: 2; top: 50%; width: 48px; height: 58px; padding: 10px;
  border-radius: 999px; transform: translateY(-50%);
}
.media-viewer-prev { inset-inline-start: 14px; }
.media-viewer-next { inset-inline-end: 14px; }
.media-viewer-nav svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .media-viewer-nav svg { transform: scaleX(-1); }
.media-viewer-zoom {
  position: absolute; z-index: 2; bottom: 18px; left: 50%; display: flex; align-items: center; gap: 8px;
  padding: 6px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px;
  background: rgba(19, 35, 66, .88); transform: translateX(-50%);
}
.media-viewer-zoom button { min-width: 40px; height: 38px; padding: 0 10px; border-radius: 999px; font-size: 20px; }
.media-viewer-zoom [data-zoom-reset] { min-width: 64px; font-size: 14px; }
.media-viewer-caption {
  position: absolute; inset-inline: 70px; bottom: 66px; margin: 0; color: #fff;
  font-size: 14px; line-height: 1.5; text-align: center; pointer-events: none;
}
.media-viewer-dialog button:hover { border-color: var(--brand-teal); background: var(--navy); }
.media-viewer-dialog button:focus-visible { outline: 3px solid var(--brand-teal); outline-offset: 3px; }
.property-hero-image, .property-gallery img, .offer-media > img:not(.offer-sold-stamp),
.news-card-media img, .news-article-cover img, .news-article-body img,
.advertisement-video-card img { cursor: zoom-in; }
@media (max-width: 600px) {
  .media-viewer-dialog { padding: 58px 42px 72px; }
  .media-viewer-close { top: 10px; inset-inline-end: 10px; width: 42px; height: 42px; }
  .media-viewer-nav { width: 38px; height: 48px; padding: 7px; }
  .media-viewer-prev { inset-inline-start: 4px; }
  .media-viewer-next { inset-inline-end: 4px; }
  .media-viewer-nav svg { width: 24px; height: 24px; }
  .media-viewer-zoom { bottom: 12px; }
  .media-viewer-caption { inset-inline: 48px; bottom: 62px; font-size: 12px; }
}

/* Four cards per desktop carousel page; touch layouts retain swipe and dots. */
.home-page .offers-track{--offer-gap:24px;grid-auto-columns:calc((100% - 3 * var(--offer-gap))/4)}
.offers-directory-slider>.offers-track{grid-auto-columns:calc((100% - 3 * 22px)/4);gap:22px}
.ad-gallery-track{--ad-gap:24px;grid-auto-columns:calc((100% - 3 * var(--ad-gap))/4)}
@media(max-width:1050px){
  .home-page .offers-track{--offer-gap:18px;grid-auto-columns:calc((100% - var(--offer-gap))/2)}
  .offers-directory-slider>.offers-track{grid-auto-columns:calc((100% - 18px)/2);gap:18px}
  .ad-gallery-track{--ad-gap:18px;grid-auto-columns:calc((100% - var(--ad-gap))/2)}
}
@media(max-width:820px){
  .home-page .offers-track{--offer-gap:14px;grid-auto-columns:100%}
  .offers-directory-slider>.offers-track{grid-auto-columns:100%;gap:14px}
}
@media(max-width:560px){
  .ad-gallery-track{--ad-gap:12px;grid-auto-columns:100%}
}

/* Compact desktop property filters inspired by the reference layout. */
@media (min-width:1181px) and (hover:hover) and (pointer:fine) {
  .offers-page .offer-type-filters {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));
    gap:10px;
    margin:0 0 18px;
  }
  .offers-page .offer-type-filter {
    justify-content:flex-start;
    gap:8px;
    min-height:48px;
    padding:7px 13px;
    border:1px solid #e6e1dd;
    border-radius:4px;
    background:#e9e4e0;
    font-size:14px;
  }
  .offers-page .offer-type-filter:hover { border-color:#b7a994; background:#e2dcd7; }
  .offers-page .offer-type-filter[aria-pressed="true"] {
    border-color:#b7a994;
    background:#ddd6d0;
    box-shadow:inset 0 -2px 0 #b7a994;
  }
  .offers-page .offer-type-filter-icon { display:none; }
  .offers-page .offer-type-filter-name { flex:0 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .offers-page .offer-type-filter-count { min-width:28px; height:26px; padding:0 7px; background:#fff; font-size:12px; }
  .offers-page .offer-type-filter[aria-pressed="true"] .offer-type-filter-count { background:var(--brand-teal); color:#fff; }

  .home-page .offer-status,.offers-page .offer-status {
    top:15px; min-width:70px; padding:2px 11px; font-size:11px; line-height:1.45;
  }
  .home-page .offer-location-badge,.offers-page .offer-location-badge {
    top:15px; max-width:calc(100% - 122px); gap:4px; padding:3px 9px; font-size:10px; line-height:1.4;
  }
  .home-page .offer-location-icon,.offers-page .offer-location-icon { width:15px; height:15px; }
  .home-page .offer-caption,.offers-page .offer-caption { min-height:20%; padding:11px 15px; }
  .home-page .offer-caption h2,.offers-page .offer-caption h2 {
    font-size:clamp(15.5px,1.35vw,20px) !important;
    line-height:1.32;
  }
}

/* Keep offer labels compact and filters aligned to the right on desktop. */
@media (min-width:1181px) {
  .home-page .offer-caption,.offers-page .offer-caption {
    inset-inline-start:auto;inset-inline-end:14px;bottom:14px;width:fit-content;max-width:calc(100% - 28px);
    min-height:0;padding:7px 12px;border-radius:4px;
  }
  .offers-page .offer-type-filters {
    display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:9px;
    margin:0 0 18px;
  }
  .offers-page .offer-type-filter {
    flex:0 0 auto;width:auto;min-width:0;min-height:42px;gap:7px;padding:6px 11px;
    border:1px solid #e6e1dd;border-radius:4px;background:#e9e4e0;font-size:14px;
  }
  .offers-page .offer-type-filter:hover { border-color:#b7a994;background:#e2dcd7; }
  .offers-page .offer-type-filter[aria-pressed="true"] { border-color:#b7a994;background:#ddd6d0;box-shadow:inset 0 -2px 0 #b7a994; }
  .offers-page .offer-type-filter-icon { display:none; }
  .offers-page .offer-type-filter-name { flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
  .offers-page .offer-type-filter-count { min-width:28px;height:26px;padding:0 7px;background:#fff;font-size:12px; }
  .offers-page .offer-type-filter[aria-pressed="true"] .offer-type-filter-count { background:var(--brand-teal);color:#fff; }
}

/* Contact phone and listings link are simple inline links without capsules. */
.contact-primary-phone {
  min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;color:var(--navy)!important;
  font-size:17px;font-weight:700;text-decoration:none;
}
.contact-primary-phone:hover { background:transparent!important;color:var(--brand-teal)!important; }
.contact-primary-phone img { width:20px;height:20px;filter:none; }
.contact-more-offers {
  min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;color:var(--navy)!important;
  font-size:15px;font-weight:700;text-decoration:none;
}
.contact-more-offers>span:first-child { color:var(--navy)!important; }
.contact-more-offers .contact-link-open {
  min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;color:var(--brand-teal)!important;text-decoration:underline;
  text-decoration-color:var(--brand-teal);text-underline-offset:3px;
}
.contact-more-offers:hover,.contact-more-offers:hover .contact-link-open { background:transparent!important;color:var(--navy)!important; }

/* Contact details are centered inline text with separators and an underline. */
.contact-primary-details{display:flex;flex-direction:column;align-items:center;gap:9px}
.contact-summary-line{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px 13px;width:100%;color:var(--navy);font-size:15px;font-weight:700;text-align:center}
.contact-summary-phone-label{display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap}
.contact-summary-phone-label a{color:var(--navy);font-weight:700;text-decoration:none;direction:ltr}
.contact-summary-phone-label a:hover,.contact-summary-link:hover{color:var(--brand-teal)}
.contact-summary-separator{color:#8b96a7;font-weight:400}
.contact-summary-link{color:var(--brand-teal);font-weight:700;text-decoration:underline;text-decoration-color:var(--brand-teal);text-underline-offset:3px;white-space:nowrap}
.contact-summary-underline{display:block;width:100%;height:1px;margin:1px 0 0;border:0;background:#dce3eb}
.contact-map-heading .contact-map-address{color:#fff;font-size:16px}
@media(max-width:760px){
  .contact-primary-details{align-items:stretch}
  .contact-summary-line{flex-direction:column;gap:7px;font-size:15px}
  .contact-summary-separator{display:none}
  .contact-summary-underline{margin-top:3px}
  .contact-map-heading .contact-map-address{font-size:14px}
}

/* Reduce property title overlays consistently across all public offer sliders. */
.offer-card .offer-caption{transform:scale(.95);transform-origin:bottom right}
html[lang^="en"] .offer-card .offer-caption{transform-origin:bottom left}
.offer-card .offer-status-sold{background:#ba343b}

/* Keep offer-type filters visually consistent across desktop, tablet, and mobile. */
.offers-page .offer-type-filters{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:9px;margin:0 0 18px}
.offers-page .offer-type-filter{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-start;gap:7px;width:auto;min-width:0;min-height:42px;padding:6px 11px;border:1px solid #e6e1dd;border-radius:4px;background:#e9e4e0;color:var(--navy);font-size:14px;text-align:start}
.offers-page .offer-type-filter:hover{border-color:#b7a994;background:#e2dcd7}
.offers-page .offer-type-filter[aria-pressed="true"]{border-color:#b7a994;background:#ddd6d0;box-shadow:inset 0 -2px 0 #b7a994}
.offers-page .offer-type-filter-icon{display:none}
.offers-page .offer-type-filter-name{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.offers-page .offer-type-filter-count{display:grid;flex:0 0 auto;place-items:center;min-width:28px;height:26px;padding:0 7px;border-radius:99px;background:#fff;color:var(--navy);font-size:12px}
.offers-page .offer-type-filter[aria-pressed="true"] .offer-type-filter-count{background:var(--brand-teal);color:#fff}
@media(min-width:561px) and (max-width:1180px){
	.offers-page .offer-type-filters{gap:8px}
	.offers-page .offer-type-filter{min-height:39px;padding:5px 10px;font-size:13px}
	.offers-page .offer-type-filter-count{min-width:26px;height:24px;padding-inline:6px;font-size:11px}
}
@media(max-width:560px){
	.offers-page .offer-type-filters{gap:7px;margin-bottom:18px}
	.offers-page .offer-type-filter{min-height:36px;padding:5px 9px;font-size:12px}
	.offers-page .offer-type-filter-count{min-width:24px;height:22px;padding-inline:5px;font-size:11px}
}

/* Mobile contact information uses two rows separated by a horizontal rule. */
@media(max-width:760px){
	.contact-summary-line{display:flex;flex-direction:column;align-items:stretch;gap:0;font-size:15px}
	.contact-summary-phone-label{width:100%;padding:2px 0 9px}
	.contact-summary-separator{display:block;flex:0 0 1px;width:100%;height:1px;overflow:hidden;background:#dce3eb;color:transparent;font-size:0;line-height:0}
	.contact-summary-offers{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;padding:8px 0 2px}
	.contact-summary-offers-separator{display:none}
	.contact-summary-underline{display:none}
}

/* Desktop offer details place translucent navigation over a larger, uncropped photo. */
@media screen and (min-width:561px) and (max-width:1440px) and (any-pointer:coarse){
	.property-page{position:relative}
	.property-navigation-actions.container{position:absolute;inset-inline:0;top:12px;z-index:5;width:min(calc(100% - 36px),1120px);margin-inline:auto;padding:0;pointer-events:none}
	.property-navigation-actions .news-back-home{min-width:0;min-height:40px;flex:0 1 auto;padding:8px 14px;border:1px solid rgba(255,255,255,.68);border-radius:7px;background:rgba(29,50,116,.3);backdrop-filter:blur(6px);color:#fff;box-shadow:0 4px 16px rgba(10,25,45,.14);pointer-events:auto}
	.property-navigation-actions .news-back-home:hover,.property-navigation-actions .news-back-home:focus-visible{background:rgba(29,50,116,.58);color:#fff}
	.property-hero{position:relative;width:100%;margin:0;background:#182b4d}
	.property-hero-image{object-position:center 50%}
	.property-hero-shade{display:block;background:linear-gradient(180deg,rgba(7,20,38,.18),transparent 24%)}
}
@media(min-width:1181px) and (hover:hover) and (pointer:fine){
	.property-page{position:relative}
	.property-navigation-actions.container{position:absolute;inset-inline:0;top:18px;z-index:5;width:min(calc(100% - 48px),1295px);margin-inline:auto;padding:0;pointer-events:none}
	.property-navigation-actions .news-back-home{min-width:170px;min-height:42px;padding:8px 15px;border:1px solid rgba(255,255,255,.62);background:rgba(29,50,116,.28);backdrop-filter:blur(6px);color:#fff;box-shadow:0 4px 16px rgba(10,25,45,.14);pointer-events:auto}
	.property-navigation-actions .news-back-home:hover,.property-navigation-actions .news-back-home:focus-visible{background:rgba(29,50,116,.58);color:#fff}
	.property-hero{height:min(61.2vh,680px);min-height:476px;background:#182b4d}
	.property-hero-image{object-fit:cover;object-position:center center;background:#182b4d}
	.property-hero-shade{background:linear-gradient(180deg,rgba(7,20,38,.18),transparent 27%)}
}

/* Keep the full office address on one line on phones, and keep the offers link row compact. */
@media(max-width:760px){
	.contact-map-heading{width:100%;min-width:0;flex-wrap:nowrap;gap:6px;padding-inline:5px}
	.contact-map-pin{flex:0 0 30px;width:30px;height:30px}
	.contact-map-heading .contact-map-address{flex:1 1 0;min-width:0;padding:5px 4px;font-size:clamp(9px,2.9vw,13px);letter-spacing:-.02em;white-space:nowrap;overflow:visible}
	.contact-summary-offers{flex-wrap:nowrap;white-space:nowrap;font-size:clamp(11px,3.7vw,15px)}
	.contact-summary-offers-label{white-space:nowrap}
}

/* Phone detail pages keep the photo at the top with transparent return buttons over it. */
@media(max-width:560px){
	.property-page{position:relative}
	.property-navigation-actions.container{position:absolute;inset-inline:0;top:12px;z-index:5;width:calc(100% - 24px);margin-inline:auto;padding:0;pointer-events:none}
	.property-navigation-actions .news-back-home{min-width:0;min-height:38px;flex:1 1 0;padding:7px 8px;border:1px solid rgba(255,255,255,.62);border-radius:6px;background:rgba(29,50,116,.28);backdrop-filter:blur(6px);color:#fff;box-shadow:0 4px 16px rgba(10,25,45,.14);font-size:12px;pointer-events:auto}
	.property-navigation-actions .news-back-home:hover,.property-navigation-actions .news-back-home:focus-visible{background:rgba(29,50,116,.58);color:#fff}
	.property-hero{height:85vw!important;min-height:0!important;aspect-ratio:auto;overflow:hidden;background:#182b4d}
	.property-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center}
	.property-hero-shade{display:block;background:linear-gradient(180deg,rgba(7,20,38,.2),transparent 45%,rgba(7,20,38,.1))}
}

/* Keep a home link beside the contact heading at every viewport width. */
.contact-section-header .contact-home-link{flex:0 0 auto;min-width:146px;border-radius:999px;text-decoration:none}
@media(max-width:560px){
	.contact-section-header{flex-direction:row;align-items:center;justify-content:space-between;gap:8px}
	.contact-section-header .news-heading{min-width:0}
	.contact-section-header .contact-home-link{min-width:0;min-height:36px;padding:6px 9px;font-size:11px;white-space:nowrap}
}

/* Keep advertisement videos in full landscape framing at every viewport size. */
.advertisements-archive-grid .advertisement-video-card .public-ad-media > video,
.offers-advertisements .advertisement-video-card .public-ad-media > video {
	width: 100%;
	height: auto;
	max-height: none;
	aspect-ratio: 16 / 9;
	object-fit: contain;
	object-position: center;
	background: #fff;
}

/* Embedded offer map follows the saved Google Maps point and shows its red pin. */
.property-map-embed-wrap{position:relative;width:100%;height:390px;overflow:hidden;background:#243c80}
.property-map-embed-wrap[hidden]{display:none!important}
.property-map-embed-wrap .property-map-embed{display:block;width:100%;height:100%;border:0;object-fit:cover;background:#243c80}
.property-map-loading{position:absolute;inset:0;z-index:4;display:grid;place-items:center;background:#243c80}
.property-map-loading[hidden],.property-map-error[hidden]{display:none!important}
.property-map-loading .homepage-photo-loader-spinner{width:42px;height:42px;border:4px solid rgba(255,255,255,.42);border-top-color:#fff;border-right-color:#00a8ac;border-radius:50%;animation:homepage-image-load-spin .8s linear infinite}
.property-map-error{position:absolute;inset:0;z-index:4;display:grid;place-items:center;margin:0;padding:24px;background:#243c80;color:#fff;text-align:center;font-weight:700;line-height:1.7}
.property-map-attribution{position:absolute;z-index:5;inset-inline-start:8px;bottom:8px;padding:3px 6px;border-radius:3px;background:rgba(255,255,255,.88);color:#27364a;font:10px/1.2 Arial,sans-serif;pointer-events:none}
.property-map-embed-pin{position:absolute;z-index:2;left:50%;top:50%;width:42px;height:56px;fill:#e53935;stroke:#b42324;stroke-width:1.5;filter:drop-shadow(0 2px 3px rgba(0,0,0,.4));transform:translate(-50%,-100%);pointer-events:none}
.property-map-embed-pin circle{fill:#fff;stroke:none}
@media(max-width:560px){.property-map-embed-wrap{height:300px}.property-map-embed-pin{width:36px;height:48px}}

/* Remove the social-section divider on iPads only. */
@media screen and (min-width:561px) and (max-width:1180px) and (pointer:coarse) {
  .footer-group:first-child,html[lang^="en"] .footer-group:first-child{border:0!important;padding-inline:0!important}
}

/* Ajel brand treatment for the homepage video hero. */
.home-hero-slider .video-frame::after {
	position: absolute;
	z-index: 2;
	inset: auto 0 0;
	height: 58%;
	background: linear-gradient(180deg, transparent 0%, rgba(12, 28, 67, .18) 30%, rgba(12, 28, 67, .76) 100%);
	content: "";
	pointer-events: none;
}
.home-hero-slider .video-frame::before {
	position: absolute;
	z-index: 2;
	top: 5%;
	left: 0;
	width: min(36%, 520px);
	height: 68%;
	background-image: radial-gradient(circle, rgba(48, 222, 219, .88) 1.35px, transparent 1.8px);
	background-size: 17px 17px;
	-webkit-mask-image: linear-gradient(135deg, #000 0%, rgba(0,0,0,.82) 38%, transparent 100%);
	mask-image: linear-gradient(135deg, #000 0%, rgba(0,0,0,.82) 38%, transparent 100%);
	content: "";
	opacity: .42;
	animation: homepage-video-pattern 12s ease-in-out infinite alternate;
	pointer-events: none;
}
.homepage-video-brand-message {
	position: absolute;
	z-index: 3;
	right: clamp(28px, 7vw, 138px);
	bottom: clamp(28px, 6vw, 88px);
	width: min(70%, 860px);
	padding: 0;
	color: #fff;
	text-align: right;
}
.homepage-video-brand-mark {
	display: block;
	width: clamp(42px, 5vw, 74px);
	height: 5px;
	margin: 0 0 16px auto;
	border-radius: 8px;
	background: linear-gradient(90deg, #5ce1dc, var(--brand-teal));
	box-shadow: 0 0 18px rgba(0, 168, 172, .5);
}
.homepage-video-brand-copy {
	display: block;
	text-align: right;
}
.homepage-video-brand-copy strong {
	display: block;
	font-size: clamp(32px, 4.2vw, 68px);
	font-weight: 750;
	line-height: 1.2;
	text-shadow: 0 3px 18px rgba(0, 0, 0, .42);
}
.homepage-video-brand-copy span {
	color: rgba(255, 255, 255, .88);
	display: block;
	margin-top: 5px;
	font-size: clamp(16px, 2.15vw, 31px);
	line-height: 1.4;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}
html[dir="ltr"] .homepage-video-brand-message { right: auto; left: clamp(28px, 7vw, 138px); text-align: left; }
html[dir="ltr"] .homepage-video-brand-mark { margin-left: 0; margin-right: auto; }
html[dir="ltr"] .homepage-video-brand-copy { text-align: left; }
@keyframes homepage-video-pattern {
	from { transform: translate3d(0, 0, 0); opacity: .28; }
	to { transform: translate3d(8px, 12px, 0); opacity: .5; }
}
@media (prefers-reduced-motion: reduce) {
	.home-hero-slider .video-frame::before { animation: none; }
}
@media (max-width: 560px) {
	.home-hero-slider .video-frame::before { width: 42%; height: 62%; background-size: 13px 13px; }
	.homepage-video-brand-message { right: 18px; bottom: 22px; width: calc(100% - 36px); }
	html[dir="ltr"] .homepage-video-brand-message { right: auto; left: 18px; }
	.homepage-video-brand-mark { width: 42px; height: 4px; margin-bottom: 10px; }
	.homepage-video-brand-copy strong { font-size: clamp(27px, 8vw, 38px); }
	.homepage-video-brand-copy span { margin-top: 3px; font-size: clamp(14px, 4.2vw, 18px); }
}

/* Sumou-inspired photo hero: black and gold palette, restrained desktop width, and a slow cinematic zoom. */
.home-hero-slider {
	width: 100%;
	background: transparent;
	color: #fff;
}
.hero-slider-shell {
	width: 100%;
	max-width: none;
	margin: 0;
}
.home-hero-slider .photo-carousel {
	position: relative;
	width: 100%;
	max-width: none;
	margin: 0;
	overflow: hidden;
	background: #090909;
	isolation: isolate;
	outline-offset: 5px;
}
.home-hero-slider .photo-frame {
	position: relative;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #090909;
}
.homepage-hero-photo {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	opacity: 0;
	transform: scale(1);
	transition: opacity 1.1s cubic-bezier(.22,.61,.36,1);
	pointer-events: none;
}
.homepage-hero-photo.is-active {
	z-index: 1;
	opacity: 1;
	animation: homepage-photo-zoom 7.4s ease-out both;
}
.home-hero-slider .photo-frame::after {
	position: absolute;
	z-index: 2;
	inset: 0;
	background: linear-gradient(0deg, rgba(0,0,0,.68) 0%, rgba(0,0,0,.18) 37%, rgba(0,0,0,.04) 74%), linear-gradient(90deg, rgba(0,0,0,.18), transparent 55%);
	content: "";
	pointer-events: none;
}
.home-hero-slider .photo-frame::before {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	width: min(55%, 780px);
	height: 82%;
	background-image: radial-gradient(circle, rgba(224, 197, 126, .95) 1.35px, transparent 1.8px);
	background-size: 18px 18px;
	-webkit-mask-image: linear-gradient(135deg, #000 0%, rgba(0,0,0,.76) 38%, transparent 100%);
	mask-image: linear-gradient(135deg, #000 0%, rgba(0,0,0,.76) 38%, transparent 100%);
	content: "";
	opacity: .46;
	animation: homepage-gold-pattern 12s ease-in-out infinite alternate;
	pointer-events: none;
}
.homepage-video-brand-message {
	z-index: 3;
	right: clamp(36px, 8vw, 150px);
	bottom: clamp(32px, 6.5vw, 94px);
	width: min(72%, 900px);
	color: #fff;
}
.homepage-video-brand-mark {
	width: clamp(50px, 6vw, 104px);
	height: 7px;
	background: linear-gradient(90deg, #f3e4b4, #b49a5b);
	box-shadow: 0 0 20px rgba(218, 190, 119, .42);
}
.homepage-video-brand-copy strong {
	font-size: clamp(34px, 4.3vw, 70px);
	text-shadow: 0 3px 18px rgba(0, 0, 0, .55);
}
.homepage-video-brand-copy span {
	color: rgba(255,255,255,.93);
	font-size: clamp(17px, 2.2vw, 32px);
	text-shadow: 0 2px 14px rgba(0, 0, 0, .56);
}
html[dir="ltr"] .homepage-video-brand-message { right: auto; left: clamp(36px, 8vw, 150px); }
@keyframes homepage-photo-zoom {
	from { transform: scale(1); }
	to { transform: scale(1.13); }
}
@keyframes homepage-gold-pattern {
	from { transform: translate3d(0,0,0); opacity: .32; }
	to { transform: translate3d(8px,12px,0); opacity: .5; }
}
@media screen and (min-width: 1200px) and (hover: hover) and (pointer: fine) {
	.hero-slider-shell {
		width: min(calc(100% - 72px), 1840px);
		margin: 32px auto 36px;
	}
	.home-hero-slider .photo-frame {
		height: clamp(400px, 31.5vw, 620px);
		aspect-ratio: auto;
	}
}
@media screen and (hover: none), screen and (pointer: coarse) {
	.hero-slider-shell { width: 100%; margin: 0; }
	.home-hero-slider .photo-frame { height: auto; aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
	.hero-slider-shell { width: 100%; margin: 0; }
	.home-hero-slider .photo-frame {
		height: clamp(360px, 112.5vw, 520px);
		aspect-ratio: auto;
	}
	.home-hero-slider .photo-frame::before { width: 58%; height: 68%; background-size: 14px 14px; }
	.homepage-video-brand-message { right: 18px; bottom: 22px; width: calc(100% - 36px); }
	html[dir="ltr"] .homepage-video-brand-message { right: auto; left: 18px; }
	.homepage-video-brand-mark { width: 48px; height: 5px; margin-bottom: 10px; }
	.homepage-video-brand-copy strong { font-size: clamp(28px, 8vw, 39px); }
	.homepage-video-brand-copy span { margin-top: 3px; font-size: clamp(15px, 4.3vw, 20px); }
}
@media (prefers-reduced-motion: reduce) {
	.homepage-hero-photo.is-active, .home-hero-slider .photo-frame::before { animation: none; }
	.homepage-hero-photo { transition-duration: .25s; }
}

/* Refine the hero entrance and align its width with the page content. */
.nav-shell { border-top-color: var(--navy) !important; }
.hero-slider-shell { width: 100%; max-width: none; margin: 5px auto 0; }
.home-hero-slider .photo-frame::after {
	background: linear-gradient(0deg, rgba(0,0,0,.43) 0%, rgba(0,0,0,.1) 34%, transparent 72%), linear-gradient(90deg, rgba(0,0,0,.1), transparent 55%);
}
.home-hero-slider .photo-frame::before {
	z-index: 3;
	width: min(58%, 820px);
	height: 86%;
	background-image: radial-gradient(circle, rgba(255, 255, 255, .98) 0 3.1px, transparent 3.9px);
	background-size: 31px 31px;
	background-position: 0 0;
	-webkit-mask-image: linear-gradient(135deg, #000 0%, rgba(0,0,0,.88) 38%, transparent 100%);
	mask-image: linear-gradient(135deg, #000 0%, rgba(0,0,0,.88) 38%, transparent 100%);
	opacity: 0;
	transform: translate3d(0,-80px,0) rotate(var(--hero-pattern-angle, -17deg));
	transform-origin: left top;
	animation: none;
}
.home-hero-slider[data-pattern-variant="0"] .photo-frame::before { --hero-pattern-angle: -17deg; --hero-pattern-shift-x: 0px; --hero-pattern-shift-y: 0px; }
.home-hero-slider[data-pattern-variant="1"] .photo-frame::before { --hero-pattern-angle: -9deg; --hero-pattern-shift-x: 14px; --hero-pattern-shift-y: 2px; }
.home-hero-slider[data-pattern-variant="2"] .photo-frame::before { --hero-pattern-angle: -24deg; --hero-pattern-shift-x: -12px; --hero-pattern-shift-y: 8px; }
.home-hero-slider[data-pattern-variant="3"] .photo-frame::before { --hero-pattern-angle: -5deg; --hero-pattern-shift-x: 9px; --hero-pattern-shift-y: 12px; }
.home-hero-slider[data-pattern-variant="4"] .photo-frame::before { --hero-pattern-angle: -20deg; --hero-pattern-shift-x: -7px; --hero-pattern-shift-y: -5px; }
.homepage-video-brand-message {
	z-index: 4;
	opacity: 0;
	transform: translate3d(76px,0,0);
	animation: none;
}
.homepage-video-brand-copy strong,
.homepage-video-brand-copy span {
	font-size: clamp(27px, 3.1vw, 53px);
	text-shadow: 0 3px 14px rgba(0, 0, 0, .72), 0 10px 24px rgba(0, 0, 0, .46);
}
.homepage-video-brand-copy span { margin-top: 4px; }
.home-hero-slider.is-hero-ready .homepage-video-brand-message {
	animation: homepage-copy-enter .9s cubic-bezier(.2,.72,.25,1) .18s both;
}
html[dir="ltr"] .home-hero-slider.is-hero-ready .homepage-video-brand-message {
	animation-name: homepage-copy-enter-ltr;
}
.home-hero-slider.is-pattern-entering .photo-frame::before {
	animation: homepage-white-pattern-drop 1.2s cubic-bezier(.2,.72,.25,1) .08s both;
}
html[dir="ltr"] .homepage-video-brand-message { transform: translate3d(-76px,0,0); }
@keyframes homepage-copy-enter {
	from { opacity: 0; transform: translate3d(76px,0,0); }
	to { opacity: 1; transform: translate3d(0,0,0); }
}
@keyframes homepage-copy-enter-ltr {
	from { opacity: 0; transform: translate3d(-76px,0,0); }
	to { opacity: 1; transform: translate3d(0,0,0); }
}
@keyframes homepage-white-pattern-drop {
	from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate3d(var(--hero-pattern-shift-x, 0px),-80px,0) rotate(var(--hero-pattern-angle, -17deg)); }
	to { opacity: .82; clip-path: inset(0 0 0 0); transform: translate3d(var(--hero-pattern-shift-x, 0px),var(--hero-pattern-shift-y, 0px),0) rotate(var(--hero-pattern-angle, -17deg)); }
}
@media screen and (min-width: 1200px) and (hover: hover) and (pointer: fine) {
	.hero-slider-shell { width: 100%; margin: 6px auto 28px; }
}
@media screen and (hover: none), screen and (pointer: coarse) {
	.hero-slider-shell { width: 100%; margin: 4.5px auto 0; }
}
@media (max-width: 560px) {
	.hero-slider-shell { width: 100%; margin: 3.5px auto 0; }
	.home-hero-slider .photo-frame::before { width: 60%; height: 70%; }
	.homepage-video-brand-copy strong,
	.homepage-video-brand-copy span { font-size: clamp(23px, 6.3vw, 31px); }
	.homepage-video-brand-message { bottom: 22px; }
	html[dir="ltr"] .homepage-video-brand-message { transform: translate3d(-46px,0,0); }
	@keyframes homepage-copy-enter {
		from { opacity: 0; transform: translate3d(46px,0,0); }
		to { opacity: 1; transform: translate3d(0,0,0); }
	}
	@keyframes homepage-copy-enter-ltr {
		from { opacity: 0; transform: translate3d(-46px,0,0); }
		to { opacity: 1; transform: translate3d(0,0,0); }
	}
}
@media (prefers-reduced-motion: reduce) {
	.homepage-video-brand-message { opacity: 1; transform: none; animation: none !important; }
	.home-hero-slider .photo-frame::before { opacity: .82; clip-path: none; transform: translate3d(var(--hero-pattern-shift-x, 0px),var(--hero-pattern-shift-y, 0px),0) rotate(var(--hero-pattern-angle, -17deg)); animation: none !important; }
}

/* Property photos use a large, auto-advancing slideshow like the homepage hero. */
.property-gallery-slider { position: relative; width: 100%; }
.property-gallery-slider .property-gallery {
	position: relative;
	display: block;
	width: 100%;
	height: clamp(360px, 54vw, 660px);
	min-height: 320px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid #dce3eb;
	background: #101b2a;
	touch-action: pan-y;
}
.property-gallery .property-photo-card {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 0;
	background: #101b2a;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .65s ease, visibility .65s ease;
}
.property-gallery .property-photo-card.is-active {
	z-index: 1;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}
.property-gallery .property-photo-card img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
}
.property-gallery .property-photo-card img.is-zooming { animation: property-detail-photo-zoom 6.8s ease-out both; }
.property-gallery-slider .property-gallery::after {
	position: absolute;
	z-index: 2;
	inset: 48% 0 0;
	background: linear-gradient(180deg, transparent, rgba(8,18,34,.32));
	content: "";
	pointer-events: none;
}
.property-gallery-nav {
	position: absolute;
	top: 50%;
	z-index: 4;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 1px solid rgba(255,255,255,.78);
	border-radius: 50%;
	background: rgba(29,50,116,.76);
	color: #fff;
	box-shadow: 0 4px 15px rgba(0,0,0,.2);
	transform: translateY(-50%);
	cursor: pointer;
	transition: background .2s ease, scale .2s ease;
}
.property-gallery-nav:hover { background: var(--brand-teal); scale: 1.06; }
.property-gallery-nav[hidden] { display: none !important; }
.property-gallery-nav svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.property-gallery-prev { inset-inline-start: 18px; }
.property-gallery-next { inset-inline-end: 18px; }
html[dir="rtl"] .property-gallery-prev svg,
html[dir="ltr"] .property-gallery-next svg { transform: scaleX(-1); }
.property-gallery-count {
	position: absolute;
	bottom: 18px;
	left: 50%;
	z-index: 4;
	min-width: 72px;
	padding: 6px 13px;
	border: 1px solid rgba(255,255,255,.35);
	border-radius: 20px;
	background: rgba(29,50,116,.72);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	direction: ltr;
	transform: translateX(-50%);
}
.property-gallery-count[hidden] { display: none !important; }
@keyframes property-detail-photo-zoom {
	from { transform: scale(1); }
	to { transform: scale(1.09); }
}
@media (max-width: 820px) {
	.property-gallery-slider .property-gallery { height: clamp(360px, 62vw, 600px); }
	.property-gallery-nav { width: 48px; height: 48px; }
}
@media (max-width: 560px) {
	.property-gallery-slider .property-gallery { height: clamp(320px, 86vw, 520px); }
	.property-gallery-prev { inset-inline-start: 10px; }
	.property-gallery-next { inset-inline-end: 10px; }
	.property-gallery-nav { width: 43px; height: 43px; }
	.property-gallery-count { bottom: 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
	.property-gallery .property-photo-card { transition: none; }
	.property-gallery .property-photo-card img.is-zooming { animation: none; transform: none; }
}
@media print {
	.property-gallery-slider { width: 100%; }
	.property-gallery-slider .property-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4mm; height: auto; min-height: 0; aspect-ratio: auto; overflow: visible; border: 0; background: transparent; }
	.property-gallery-slider .property-gallery::after,
	.property-gallery-nav,
	.property-gallery-count { display: none !important; }
	.property-gallery .property-photo-card,
	.property-gallery .property-photo-card.is-active { position: static; display: block; width: auto; height: auto; aspect-ratio: 1; opacity: 1; visibility: visible; pointer-events: auto; break-inside: avoid; }
	.property-gallery .property-photo-card img,
	.property-gallery .property-photo-card img.is-zooming { height: 100%; animation: none; transform: none; }
}

/* V3.8.9: center empty-state capsules and present public ads as wide cover cards. */
.live-empty-state,
.search-results-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	max-width: calc(100% - 32px);
	min-height: 48px;
	margin: 24px auto 0;
	padding: 10px 24px;
	border: 1px solid #d9e2ee;
	border-radius: 999px;
	background: #fff;
	color: var(--navy);
	font-size: 16px;
	line-height: 1.5;
	text-align: center;
	box-shadow: 0 5px 18px rgba(25,48,91,.07);
}
.search-results-empty[hidden] { display: none !important; }
.advertisements-archive-section .offers-container,
.offers-page .offers-advertisements .offers-container {
	width: min(calc(100% - 48px), 1920px);
}
.advertisements-archive-grid {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 3 * 22px) / 4);
	grid-template-columns: none;
	width: 100%;
	max-width: 1920px;
	margin-inline: auto;
	gap: 22px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
.advertisements-archive-grid::-webkit-scrollbar { display: none; }
.advertisements-archive-grid > * { min-width: 0; scroll-snap-align: start; }
.offers-directory-slider .offers-advertisements-grid {
	grid-template-columns: none;
	grid-auto-columns: calc((100% - 3 * 22px) / 4);
	max-width: none;
	margin: 0;
}
@media (max-width: 1050px) {
	.advertisements-archive-grid { --archive-ad-gap: 18px; grid-auto-columns: calc((100% - var(--archive-ad-gap)) / 2); gap: var(--archive-ad-gap); }
	.offers-directory-slider .offers-advertisements-grid { grid-auto-columns: calc((100% - 18px) / 2); }
}
@media (max-width: 820px) {
	.advertisements-archive-grid { grid-auto-columns: 100%; gap: 14px; }
	.offers-directory-slider .offers-advertisements-grid { grid-auto-columns: 100%; }
}
@media (max-width: 560px) {
	.live-empty-state,
	.search-results-empty {
		max-width: calc(100% - 24px);
		min-height: 44px;
		margin-top: 18px;
		padding: 9px 18px;
		font-size: 14px;
	}
	.advertisements-archive-section .offers-container,
	.offers-page .offers-advertisements .offers-container {
		width: min(calc(100% - 28px), 1920px);
	}
}
.advertisements-archive-dots { justify-content: center; min-height: 12px; margin-top: 22px; }

/* V3.8.7: mobile hero placement, left-side availability labels, and a clean detail-photo transition. */
@media (max-width: 560px) {
	.home-hero-slider .homepage-video-brand-message { bottom: clamp(38px, 14vw, 68px); }
}
.home-page .offer-status,
.offers-page .offer-status,
.ad-gallery-status,
.advertisement-video-card .public-ad-media > .offer-status {
	left: 12px;
	right: auto;
	inset-inline-start: auto;
}
.property-page {
	padding-top: 7px;
	background-color: #fff;
}
.property-page > .property-hero .property-hero-shade {
	display: block;
	background: linear-gradient(0deg, rgba(8,18,34,.30) 0%, rgba(8,18,34,.12) 20%, transparent 42%);
}

/* V3.8.8: wait for the first real hero photo, keep direction changes calm, and mirror the falling pattern on offer details. */
.home-hero-slider .photo-frame,
.home-hero-slider .photo-carousel { background: var(--navy, #263d86); }
.homepage-photo-loader {
	position: absolute;
	z-index: 7;
	inset: 0;
	display: grid;
	place-items: center;
	background: var(--navy, #263d86);
	opacity: 0;
	visibility: hidden;
	transition: opacity .22s ease, visibility .22s ease;
	pointer-events: none;
}
.photo-carousel[aria-busy="true"] .homepage-photo-loader { opacity: 1; visibility: visible; }
.homepage-photo-loader-spinner {
	width: 48px;
	height: 48px;
	border: 4px solid rgba(255,255,255,.32);
	border-top-color: var(--brand-teal, #00a9ad);
	border-radius: 50%;
	animation: homepage-image-load-spin .8s linear infinite;
}
@keyframes homepage-image-load-spin { to { transform: rotate(360deg); } }
.ad-gallery-card { background: var(--navy, #263d86); }
.ad-gallery-loading {
	position: absolute;
	z-index: 2;
	inset: 0;
	display: grid;
	place-items: center;
	background: var(--navy, #263d86);
	opacity: 0;
	visibility: hidden;
	transition: opacity .18s ease, visibility .18s ease;
	pointer-events: none;
}
.ad-gallery-card.is-ad-poster-loading .ad-gallery-loading { opacity: 1; visibility: visible; }
.ad-gallery-loading-spinner {
	width: 38px;
	height: 38px;
	border: 4px solid rgba(255,255,255,.32);
	border-top-color: var(--brand-teal, #00a9ad);
	border-radius: 50%;
	animation: homepage-image-load-spin .8s linear infinite;
}
.ad-gallery-play { z-index: 5; }
.property-page > .property-hero { background: var(--navy, #263d86); }
.property-page > .property-hero[aria-busy="true"] .property-hero-image { opacity: 0; }
.property-page > .property-hero .property-hero-image { transition: opacity .24s ease; }
.property-photo-loader {
	position: absolute;
	z-index: 4;
	inset: 0;
	display: grid;
	place-items: center;
	background: var(--navy, #263d86);
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s ease, visibility .2s ease;
	pointer-events: none;
}
.property-page > .property-hero[aria-busy="true"] .property-photo-loader { opacity: 1; visibility: visible; }
.property-photo-loader .homepage-photo-loader-spinner { width: 48px; height: 48px; }
@media (max-width: 1050px) {
	.ad-gallery-track { --ad-gap: 18px; grid-auto-columns: calc((100% - var(--ad-gap)) / 2); }
}
@media (max-width: 820px) {
	.ad-gallery-track { --ad-gap: 14px; grid-auto-columns: 100%; }
}
.homepage-video-brand-message { --hero-copy-enter-x: 76px; }
html[dir="ltr"] .homepage-video-brand-message { --hero-copy-enter-x: -76px; }
.home-hero-slider.is-hero-ready .homepage-video-brand-message,
html[dir="ltr"] .home-hero-slider.is-hero-ready .homepage-video-brand-message { animation-name: homepage-copy-enter; }
@keyframes homepage-copy-enter {
	from { opacity: 0; transform: translate3d(var(--hero-copy-enter-x, 76px),0,0); }
	to { opacity: 1; transform: translate3d(0,0,0); }
}
.property-page > .property-hero { isolation: isolate; }
.property-page > .property-hero::before {
	position: absolute;
	z-index: 3;
	top: 0;
	left: 0;
	width: min(58%, 820px);
	height: 86%;
	background-image: radial-gradient(circle, rgba(255,255,255,.98) 0 3.1px, transparent 3.9px);
	background-size: 31px 31px;
	-webkit-mask-image: linear-gradient(135deg, #000 0%, rgba(0,0,0,.88) 38%, transparent 100%);
	mask-image: linear-gradient(135deg, #000 0%, rgba(0,0,0,.88) 38%, transparent 100%);
	content: "";
	opacity: 0;
	transform: translate3d(0,-80px,0) rotate(-17deg);
	transform-origin: left top;
	pointer-events: none;
}
.property-page > .property-hero.is-detail-pattern-entering::before {
	animation: homepage-white-pattern-drop 1.2s cubic-bezier(.2,.72,.25,1) .08s both;
}
@media (max-width: 560px) {
	.homepage-video-brand-message { --hero-copy-enter-x: 46px; }
	html[dir="ltr"] .homepage-video-brand-message { --hero-copy-enter-x: -46px; }
	.home-hero-slider .homepage-video-brand-message { bottom: clamp(38px, 14vw, 68px); }
	.property-page > .property-hero::before { width: 62%; background-size: 25px 25px; }
}
@media (prefers-reduced-motion: reduce) {
	.homepage-photo-loader-spinner { animation: none; }
	.property-page > .property-hero.is-detail-photo-ready::before {
		opacity: .82;
		clip-path: none;
		transform: translate3d(0,0,0) rotate(-17deg);
		animation: none;
	}
}

/* Keep offer details from collapsing to a header and footer while their record loads. */
.property-page[data-offer-state="loading"],
.property-page[data-offer-state="error"] {
	min-height: min(72vh, 760px);
	padding: 0;
	display: grid;
	place-items: stretch;
	background: var(--navy, #263d86);
}
.property-page[data-offer-state="loading"] > :not([data-property-load-state]),
.property-page[data-offer-state="error"] > :not([data-property-load-state]) { display: none !important; }
.property-load-state {
	min-height: inherit;
	display: grid;
	place-items: center;
	padding: 32px 20px;
	background: var(--navy, #263d86);
	color: #fff;
	text-align: center;
}
.property-load-state[hidden] { display: none !important; }
.property-load-state-card { width: min(100%, 520px); display: grid; justify-items: center; gap: 16px; }
.property-load-state-card > strong { font-size: clamp(1.25rem, 3vw, 1.75rem); }
.property-load-state-card > p { margin: 0; color: rgba(255,255,255,.86); line-height: 1.8; }
.property-load-state-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.property-load-retry,
.property-load-back {
	min-height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 22px;
	border: 1px solid rgba(255,255,255,.62);
	border-radius: 999px;
	background: rgba(255,255,255,.12);
	color: #fff;
	font: inherit;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}
.property-load-retry:hover,
.property-load-back:hover { background: rgba(255,255,255,.22); }
.property-load-retry[hidden],
.property-load-back[hidden] { display: none !important; }
@media (max-width: 560px) {
	.property-page[data-offer-state="loading"],
	.property-page[data-offer-state="error"] { min-height: 68vh; }
	.property-load-state { padding-inline: 24px; }
}


/* Public content carousels show one responsive row per slide. */
.live-carousel-track {
  display: flex !important;
  grid-template-columns: none !important;
  grid-auto-flow: initial !important;
  grid-auto-columns: initial !important;
  width: 100%;
  gap: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}
.live-carousel-track::-webkit-scrollbar { display: none; }
.offers-track > *, .ad-gallery-track > *, .news-track > *, .partners-track > *, .advertisements-archive-grid > * { scroll-snap-stop: always; }
.offers-directory-slider > .offers-track > * { scroll-snap-stop: always; }
.live-carousel-page {
  display: grid;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: auto;
  align-content: start;
  align-items: stretch;
  gap: 20px;
  padding: 0 1px 2px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.live-carousel-page[hidden] { display: none !important; }
.offers-directory-slider .live-carousel-page--partial {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.offers-directory-slider .live-carousel-page--partial > * {
  flex: 0 0 calc((100% - 3 * var(--offer-gap, 22px)) / 4);
}
.home-page .offers-track .live-carousel-page,
.offers-directory-slider .offers-track .live-carousel-page { gap: var(--offer-gap, 22px); }
.news-track .live-carousel-page { gap: var(--news-gap, 20px); }
.partners-track .live-carousel-page { gap: var(--partner-gap, 20px); }
.advertisements-archive-grid .live-carousel-page,
.offers-advertisements-grid .live-carousel-page { gap: 20px; }
@media (max-width: 1050px) {
  .live-carousel-page { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .offers-directory-slider .offers-track .live-carousel-page--partial { gap: 16px; }
  .offers-directory-slider .offers-track .live-carousel-page--partial > * { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 560px) {
  .live-carousel-page { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 14px; }
  .live-carousel-page > * { width: 100%; }
  .offers-directory-slider .offers-track .live-carousel-page--partial { gap: 14px; }
  .offers-directory-slider .offers-track .live-carousel-page--partial > * { flex-basis: 100%; }
}

/* V3.34: match the home advertisement carousel size and align it with offer sections. */
.offers-page .offers-advertisements .offers-container { width: min(calc(100% - 48px), 1295px); }
.offers-page .offers-advertisements-grid { width: 100%; max-width: none; margin: 0; }
.offers-page .offers-advertisements-grid.live-carousel-track { display: flex !important; grid-template-columns: none !important; gap: 0 !important; }
.offers-page .offers-advertisements-grid .live-carousel-page { display: grid; flex: 0 0 100%; width: 100%; min-width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.offers-page .offers-advertisements .ad-gallery-card { width: 100%; min-width: 0; height: auto; aspect-ratio: 9 / 16; }
.offers-page #sold,
.offers-page #advertisements,
.offers-page #search-results { scroll-margin-top: 108px; }
@media (max-width: 1050px) {
  .offers-page .offers-advertisements-grid .live-carousel-page { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 560px) {
  .offers-page .offers-advertisements .offers-container { width: min(calc(100% - 28px), 1295px); }
  .offers-page .offers-advertisements-grid .live-carousel-page { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* Give the news navigation room around the article frame and center both actions. */
.news-article-actions { justify-content: center; margin: 18px auto 22px; }
.news-article-actions .news-back-home { flex: 0 1 210px; }
@media (max-width: 560px) {
  .news-article-actions { justify-content: center; gap: 8px; margin: 15px auto 18px; }
  .news-article-actions .news-back-home { flex: 1 1 0; }
}

/* V3.44.17: use consistent square corners on public site controls, labels, and section markers. */
.offers-heading-mark,
.news-heading-mark,
.property-section-heading span { border-radius: 0; }

.all-offers-link,
.news-see-all,
.news-back-home,
.news-read-more,
.contact-home-link,
.contact-submit,
.contact-action,
.contact-directions,
.property-back-link,
.property-title-pill,
.property-location-pill,
.property-map-card > p.property-map-label,
.property-inquiry-actions a,
.property-inquiry-actions button,
.property-map-actions a,
.property-map-actions button,
.offer-action,
.offer-status,
.offer-location-badge,
.offer-caption,
.ad-gallery-status,
.news-category,
.offers-count-pill,
.offer-type-filter,
.offer-type-filter-count,
.offers-page .offer-type-filter,
.offers-page .offer-type-filter-count { border-radius: 0; }

.contact-section-header .contact-home-link,
.property-navigation-actions .news-back-home,
.contact-map-heading,
.contact-map-heading h2,
.contact-pill-heading { border-radius: 0; }

.property-section--photos,
.property-section--video,
.property-section--content,
.property-section--location,
.property-gallery .property-photo-card,
.property-video-card,
.offer-content-card,
.property-specs,
.property-map-card { border-radius: 0; }


/* V3.44.20: keep every homepage section action square, including the former pill-style All button. */
.home-page .home-linked-section-header .news-see-all,
.home-page .home-linked-section-header .news-see-all[data-ar="الكل"] { border-radius: 0; }

/* V3.44.22: align the three footer contact values on one type scale. */
.footer-contact-item,
.footer-contact-item > span,
.footer-contact-item > a,
.footer-contact-item > bdi,
.footer-contact-item a bdi { font-size: 14px !important; line-height: 1.5; }

/* Keep every homepage section action square, including the news link. */
.home-page .homepage-news .news-see-all { border-radius: 0; }

/* Keep each card at its responsive display width after grouped pages are flattened for one-card navigation. */
.ajel-carousel-track-one-card {
	display: flex !important;
	grid-template-columns: none !important;
	grid-auto-flow: initial !important;
	grid-auto-columns: initial !important;
	width: 100%;
	gap: 0 !important;
	overflow-x: auto !important;
	overflow-y: hidden !important;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-inline: contain;
	-webkit-overflow-scrolling: touch;
}
.ajel-carousel-track-one-card::-webkit-scrollbar { display: none; }
.ajel-carousel-track-one-card.offers-track { gap: var(--offer-gap, 22px) !important; }
.offers-directory-slider > .ajel-carousel-track-one-card.offers-track { --offer-gap: 22px; }
.ajel-carousel-track-one-card.ad-gallery-track { gap: var(--ad-gap, 22px) !important; }
.ajel-carousel-track-one-card.news-track { gap: var(--news-gap, 20px) !important; }
.ajel-carousel-track-one-card.partners-track { gap: var(--partner-gap, 20px) !important; }
.ajel-carousel-track-one-card.advertisements-archive-grid { gap: var(--archive-ad-gap, 22px) !important; }
.ajel-carousel-track-one-card.offers-track > *,
.ajel-carousel-track-one-card.ad-gallery-track > *,
.ajel-carousel-track-one-card.advertisements-archive-grid > * {
	flex: 0 0 calc((100% - 3 * var(--offer-gap, 22px)) / 4);
	min-width: 0;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}
.ajel-carousel-track-one-card.ad-gallery-track > * { flex-basis: calc((100% - 3 * var(--ad-gap, 22px)) / 4); }
.ajel-carousel-track-one-card.advertisements-archive-grid > * { flex-basis: calc((100% - 3 * var(--archive-ad-gap, 22px)) / 4); }
.ajel-carousel-track-one-card.news-track > * {
	flex: 0 0 calc((100% - 3 * var(--news-gap, 20px)) / 4);
	min-width: 0;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}
.ajel-carousel-track-one-card.partners-track > * {
	flex: 0 0 calc((100% - 7 * var(--partner-gap, 20px)) / 8);
	min-width: 0;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}
@media (max-width: 1050px) {
	.ajel-carousel-track-one-card.offers-track { --offer-gap: 18px; }
	.ajel-carousel-track-one-card.ad-gallery-track { --ad-gap: 18px; }
	.ajel-carousel-track-one-card.offers-track > *,
	.ajel-carousel-track-one-card.ad-gallery-track > * { flex-basis: calc((100% - var(--offer-gap, 18px)) / 2); }
	.ajel-carousel-track-one-card.ad-gallery-track > * { flex-basis: calc((100% - var(--ad-gap, 18px)) / 2); }
	.offers-directory-slider > .ajel-carousel-track-one-card.offers-track { --offer-gap: 18px; }
}
@media (max-width: 980px) {
	.ajel-carousel-track-one-card.advertisements-archive-grid { --archive-ad-gap: 18px; }
	.ajel-carousel-track-one-card.advertisements-archive-grid > * { flex-basis: calc((100% - var(--archive-ad-gap, 18px)) / 2); }
}
@media (max-width: 820px) {
	.ajel-carousel-track-one-card.news-track { --news-gap: 16px; }
	.ajel-carousel-track-one-card.news-track > * { flex-basis: calc((100% - var(--news-gap, 16px)) / 2); }
	.ajel-carousel-track-one-card.partners-track { --partner-gap: 14px; }
	.ajel-carousel-track-one-card.partners-track > * { flex-basis: calc((100% - 3 * var(--partner-gap, 14px)) / 4); }
	.offers-directory-slider > .ajel-carousel-track-one-card.offers-track { --offer-gap: 14px; }
	.offers-directory-slider > .ajel-carousel-track-one-card.offers-track > * { flex-basis: 100%; }
}
@media (max-width: 560px) {
	.home-page .ajel-carousel-track-one-card.offers-track { --offer-gap: 14px; }
	.home-page .ajel-carousel-track-one-card.offers-track > *,
	.ajel-carousel-track-one-card.ad-gallery-track > *,
	.ajel-carousel-track-one-card.advertisements-archive-grid > *,
	.ajel-carousel-track-one-card.news-track > * { flex-basis: 100%; }
	.ajel-carousel-track-one-card.ad-gallery-track { --ad-gap: 12px; }
	.ajel-carousel-track-one-card.advertisements-archive-grid { --archive-ad-gap: 14px; }
	.ajel-carousel-track-one-card.news-track { --news-gap: 12px; }
	.ajel-carousel-track-one-card.partners-track { --partner-gap: 12px; }
	.ajel-carousel-track-one-card.partners-track > * { flex-basis: calc((100% - 2 * var(--partner-gap, 12px)) / 3); }
}
