/**
 * Arabic home — Variation 1 "Manuscript" (New style/v1.jsx).
 * Fonts: Noto Naskh Arabic, Amiri, Cormorant Garamond, JetBrains Mono, Reem Kufi.
 * Scoped: body.edhh-home-ar-v1
 */
body.edhh-home-ar-v1 {
	--ivory: #f7f3ea;
	--parchment: #efe7d5;
	--parchment-2: #e6dcc4;
	--ink: #1c2620;
	--ink-soft: #3a4640;
	--muted: #857c66;
	--rule: #d9cfb6;
	--emerald: #116652;
	--emerald-soft: #e0ede7;
	--brass: #bd934c;
	--brass-soft: #f2e8d3;

	background: var(--ivory) !important;
	color: var(--ink);
	font-family: "Noto Naskh Arabic", serif;
	font-size: 16px;
	line-height: 1.65;
}

body.edhh-home-ar-v1 .font-mono {
	font-family: "JetBrains Mono", ui-monospace, monospace;
}

body.edhh-home-ar-v1 .font-amiri,
body.edhh-home-ar-v1 .assilah {
	font-family: "Amiri", serif !important;
}

/* Override global heading font lock for this V1 page only */
body.edhh-home-ar-v1 h1,
body.edhh-home-ar-v1 h2,
body.edhh-home-ar-v1 h3,
body.edhh-home-ar-v1 h4,
body.edhh-home-ar-v1 h5,
body.edhh-home-ar-v1 h6 {
	font-family: "Amiri", serif !important;
}

body.edhh-home-ar-v1 .font-cormorant {
	font-family: "Cormorant Garamond", serif;
}

body.edhh-home-ar-v1 .edhh-v1-page-top-rule {
	display: none;
}

/* ——— Top utility bar ——— */
body.edhh-home-ar-v1 .edhh-v1-topbar {
	background: var(--emerald);
	color: #f0e9d6;
	font-family: "Noto Naskh Arabic", serif !important;
	font-size: 12px !important;
	line-height: 1.4;
	text-align: initial;
}

body.edhh-home-ar-v1 .edhh-v1-topbar * {
	font-family: inherit !important;
	font-size: inherit !important;
}

body.edhh-home-ar-v1 .edhh-v1-topbar__inner { 
	width: 100%;
	margin: 0 auto;
	padding: 0.5rem 2.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
}

body.edhh-home-ar-v1 .edhh-v1-topbar__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.75rem;
	opacity: 0.88;
}

body.edhh-home-ar-v1 .edhh-v1-topbar__sep {
	opacity: 0.6;
}

body.edhh-home-ar-v1 .edhh-v1-topbar__lang {
	display: flex;
	gap: 1rem;
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

body.edhh-home-ar-v1 .edhh-v1-topbar__lang-link {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	opacity: 0.55;
}

body.edhh-home-ar-v1 .edhh-v1-topbar__lang-link.is-active {
	opacity: 1;
	border-bottom-color: var(--brass);
}

body.edhh-home-ar-v1 .edhh-v1-topbar__lang-link:hover {
	opacity: 1;
}

/* ——— Vine band ——— */
body.edhh-home-ar-v1 .edhh-v1-vine-band {
	background: var(--ivory);
	border-bottom: 1px solid var(--rule);
	color: var(--brass);
}

body.edhh-home-ar-v1 .edhh-v1-vine-band__inner {
	max-width: 1280px;
	width: 100%;
	margin: 0 auto;
	padding: 0.4rem 2.5rem;
	min-height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
}

body.edhh-home-ar-v1 .edhh-v1-vine-band__svg {
	display: block;
	width: min(900px, 100%);
	height: 28px;
	color: var(--brass);
	opacity: 0.75;
}

/* ——— Main header ——— */
body.edhh-home-ar-v1 .site-header.site-header--edhh-v1 {
	background: rgba(247, 243, 234, 0.93) !important;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--rule) !important;
	position: sticky;
	top: 0;
	z-index: 30;
	box-shadow: none !important;
	overflow: visible !important;
}

body.edhh-home-ar-v1 .site-header .flower-holder,
body.edhh-home-ar-v1 .site-header > img.absolute {
	display: none !important;
}

body.edhh-home-ar-v1 .site-header .edhh-v1-header-main {
	display: grid !important;
	grid-template-columns: minmax(0, auto) minmax(0, 1fr) minmax(0, auto);
	align-items: center;
	gap: 1rem 2rem;
	box-shadow: none !important;
	padding: 1rem 2.5rem 1.1rem; 
	width: 100%;
	margin: 0 auto;
	position: relative;
	overflow: visible !important;
}

body.edhh-home-ar-v1 .site-header .edhh-v1-header-main::before,
body.edhh-home-ar-v1 .site-header .edhh-v1-header-main::after {
	content: none;
}

body.edhh-home-ar-v1 .edhh-v1-header-corner {
	width: 64px;
	height: 64px;
	color: var(--brass);
}

body.edhh-home-ar-v1 .site-header .header-logo {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.75rem;
	margin: 0 !important;
}

body.edhh-home-ar-v1 .site-header .header-logo > a {
	position: relative !important;
	height: auto !important;
	min-height: 0 !important;
}

/* V1 header logo — matches header h-16 / max-h-[84px]; caps width on small viewports */
body.edhh-home-ar-v1 .site-header .edhh-v1-brand-cluster img {
	height: auto !important;
	width: auto !important;
	max-height: 60px !important;
	max-width: min(300px, 52vw);
	object-fit: contain;
}

body.edhh-home-ar-v1 .site-header .header-navigation {
	display: flex;
	justify-content: center;
	flex-wrap: nowrap;
	flex-direction: row;
	align-items: center;
	gap: 0.25rem !important;
	border: none !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	overflow: visible !important;
	position: relative;
	z-index: 2;
}

/*
 * Primary bar — two WordPress shapes:
 * (A) Real menu: <nav><ul class="menu main-menu">…</ul></nav>
 * (B) Fallback (no menu at location): <nav><div class="main-menu"><ul>…page_item…</ul></div></nav>
 * In (B), menu_class is on the div; .main-menu > li never matches (direct child is ul).
 */
body.edhh-home-ar-v1 .site-header.site-header--edhh-v1 nav.header-navigation > ul.menu,
body.edhh-home-ar-v1 .site-header.site-header--edhh-v1 .header-navigation > ul.menu.main-menu,
body.edhh-home-ar-v1 .site-header.site-header--edhh-v1 .header-navigation div.main-menu > ul {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.25rem !important;
	list-style: none !important;
	list-style-type: none !important;
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	overflow: visible !important;
}

body.edhh-home-ar-v1 .site-header .header-navigation .main-menu li > a,
body.edhh-home-ar-v1 .site-header .header-navigation .main-menu .menu-link {
	font-family: "Noto Naskh Arabic", serif !important;
	font-size: 14px !important;
	color: var(--ink-soft) !important;
	padding: 0.5rem 0.85rem !important;
	border-radius: 9999px;
	transition: background 0.2s, color 0.2s;
}

body.edhh-home-ar-v1 .site-header .header-navigation .main-menu li > a:hover,
body.edhh-home-ar-v1 .site-header .header-navigation .main-menu .menu-link:hover {
	background: var(--emerald-soft) !important;
	color: var(--emerald) !important;
}

body.edhh-home-ar-v1 .site-header .header-navigation .main-menu li.current-menu-item > a,
body.edhh-home-ar-v1 .site-header .header-navigation .main-menu li.current_page_item > a {
	font-weight: 700 !important;
	color: var(--emerald) !important;
}

body.edhh-home-ar-v1 .site-header.site-header--edhh-v1 .header-navigation > ul.menu > li,
body.edhh-home-ar-v1 .site-header.site-header--edhh-v1 .header-navigation div.main-menu > ul > li {
	position: relative !important;
	flex: 0 0 auto !important;
	max-width: none !important;
	width: auto !important;
	list-style: none !important;
	list-style-type: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Nav menu dropdowns — overflow must stay visible on ancestors; beat Astra opacity/visibility/transform */
body.edhh-home-ar-v1 .site-header.site-header--edhh-v1 .header-navigation .main-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	z-index: 100;
	margin: 0;
	padding: 0.35rem 0;
	list-style: none;
	display: none !important;
	flex-direction: column !important;
	align-items: stretch !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	pointer-events: auto !important;
	clip: auto !important;
	clip-path: none !important;
	max-height: none !important;
	overflow: visible !important;
}

body.edhh-home-ar-v1 .site-header.site-header--edhh-v1 .header-navigation .main-menu li:hover > .sub-menu,
body.edhh-home-ar-v1 .site-header.site-header--edhh-v1 .header-navigation .main-menu li:focus-within > .sub-menu,
body.edhh-home-ar-v1 .site-header.site-header--edhh-v1 .header-navigation .main-menu li.ast-submenu-expanded > .sub-menu {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* Page-tree fallback (Walker_Page) uses ul.children */
body.edhh-home-ar-v1 .site-header .header-navigation .main-menu ul.children {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	z-index: 50;
	margin: 0;
	padding: 0.35rem 0;
	list-style: none;
	display: none !important;
	flex-direction: column !important;
	align-items: stretch !important;
	background: #fff !important;
	border: 1px solid var(--rule) !important;
	box-shadow: 0 12px 32px rgba(28, 38, 32, 0.1);
}

body.edhh-home-ar-v1 .site-header .header-navigation .main-menu li:hover > ul.children,
body.edhh-home-ar-v1 .site-header .header-navigation .main-menu li:focus-within > ul.children {
	display: block !important;
}

body.edhh-home-ar-v1 .site-header .header-navigation .main-menu ul.children ul.children {
	top: 0;
	left: 100%;
}

body.rtl.edhh-home-ar-v1 .site-header .header-navigation .main-menu ul.children {
	left: auto;
	right: 0;
}

body.rtl.edhh-home-ar-v1 .site-header .header-navigation .main-menu ul.children ul.children {
	left: auto;
	right: 100%;
}

body.edhh-home-ar-v1 .site-header .sub-menu {
	background: #fff !important;
	border: 1px solid var(--rule) !important;
	border-radius: 0;
	box-shadow: 0 12px 32px rgba(28, 38, 32, 0.1);
}

body.edhh-home-ar-v1 .site-header .sub-menu .sub-menu {
	top: 0;
	left: 100%;
	z-index: 101;
}

body.rtl.edhh-home-ar-v1 .site-header .main-menu .sub-menu {
	left: auto;
	right: 0;
}

body.rtl.edhh-home-ar-v1 .site-header .sub-menu .sub-menu {
	left: auto;
	right: 100%;
}

body.edhh-home-ar-v1 .edhh-v1-header-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: nowrap;
	justify-content: flex-end;
	justify-self: end;
	min-width: max-content;
	font-family: "Noto Naskh Arabic", serif;
}

body.edhh-home-ar-v1 .edhh-v1-icon-btn {
	width: 38px;
	height: 38px;
	min-width: 38px;
	min-height: 38px;
	padding: 0 !important;
	line-height: 1;
	border-radius: 9999px !important;
	border: 1px solid var(--rule);
	background: transparent;
	color: var(--ink-soft);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 38px;
	cursor: pointer;
}

body.edhh-home-ar-v1 .edhh-v1-icon-btn:hover {
	background: var(--emerald-soft);
	color: var(--emerald);
}

body.edhh-home-ar-v1 .edhh-v1-icon-btn svg {
	width: 14px;
	height: 14px;
	display: block;
}

body.edhh-home-ar-v1 .edhh-v1-pill-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 1rem;
	border-radius: 9999px;
	border: 1px solid var(--rule);
	font-size: 12px;
	font-family: "Noto Naskh Arabic", serif;
	font-weight: 500;
	color: var(--ink-soft);
	text-decoration: none;
	white-space: nowrap;
}

body.edhh-home-ar-v1 .edhh-v1-pill-btn:hover {
	background: #fff;
	color: var(--emerald);
}

body.edhh-home-ar-v1 .sidebar .rounded-full {
	border: 1px solid var(--rule);
	background: #fff !important;
}

/* Social rail — fixed on the side (was flowing at top of document as a full-width block). */
@media (min-width: 768px) {
	body.edhh-home-ar-v1 .sidebar.edhh-social-rail {
		position: fixed !important;
		inset-inline-start: 0.5rem;
		top: 50%;
		transform: translateY(-50%);
		z-index: 35;
		display: flex !important;
		flex-direction: column;
		align-items: center;
		width: auto;
		margin: 0 !important;
		padding: 0.5rem 0.25rem !important;
		pointer-events: auto;
	}

	body.edhh-home-ar-v1 .sidebar.edhh-social-rail .flex.flex-col {
		margin-inline-start: 0 !important;
		margin-inline-end: 0 !important;
	}
}

/* Desktop V1: hide Astra’s duplicate mobile toggle controls inside the horizontal bar. */
@media (min-width: 768px) {
	body.edhh-home-ar-v1 .site-header.site-header--edhh-v1 .header-navigation .ast-menu-toggle {
		display: none !important;
	}
}

/* Dropdown panels — column stack only (never inherit top bar flex). */
body.edhh-home-ar-v1 .site-header .header-navigation .main-menu .sub-menu > li {
	display: block !important;
	width: 100%;
	min-width: 0;
	position: relative;
}

body.edhh-home-ar-v1 #mobile-menu-toggle svg {
	stroke: var(--emerald) !important;
	fill: var(--emerald) !important;
}

/* ——— Hero ——— */
body.edhh-home-ar-v1 .edhh-v1-hero {
	position: relative;
	overflow: hidden;
	background: var(--ivory);
	padding: 3rem 0 2rem;
}

body.edhh-home-ar-v1 .edhh-v1-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.05;
	background-image: radial-gradient(circle at 20% 30%, var(--emerald) 0, transparent 40%),
		radial-gradient(circle at 80% 70%, var(--emerald) 0, transparent 35%);
	pointer-events: none;
}

body.edhh-home-ar-v1 #hero .hero-carousel {
	background: transparent !important;
}

/* ——— Owl Carousel: dots off + nav anchored to each carousel (Arabic home V1) ——— */
body.edhh-home-ar-v1 .owl-carousel {
	position: relative;
	overflow: visible;
}

body.edhh-home-ar-v1 .owl-carousel .owl-dots {
	display: none !important;
}

body.edhh-home-ar-v1 .owl-carousel .owl-nav {
	position: absolute;
	top: 50%;
	left: 50%;
	right: auto;
	/* Wider bar so arrows clear card content; half of extra width sticks out each side */
	width: calc(100% + clamp(56px, 14vw, 180px));
	max-width: none;
	transform: translate(-50%, -50%);
	display: flex !important;
	flex-direction: row;
	/* Page is RTL: without this, flex puts .owl-prev on the right — match LTR “prev left / next right”. */
	direction: ltr;
	justify-content: space-between;
	align-items: center;
	margin: 0 !important;
	padding: 0 clamp(4px, 1vw, 10px);
	pointer-events: none;
	z-index: 12;
	box-sizing: border-box;
}

body.edhh-home-ar-v1 .owl-carousel .owl-nav.disabled {
	display: none !important;
}

body.edhh-home-ar-v1 .owl-carousel .owl-nav button.owl-prev,
body.edhh-home-ar-v1 .owl-carousel .owl-nav button.owl-next {
	position: static !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	inset: auto !important;
	float: none !important;
	pointer-events: auto;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	width: 38px;
	height: 38px;
	border: 1px solid var(--rule) !important;
	background: rgba(247, 243, 234, 0.96) !important;
	color: var(--emerald) !important;
	border-radius: 0;
	font-size: 14px;
	line-height: 1;
}

/* Nudge arrows past the slide edge (works with flex ends + wider .owl-nav) */
body.edhh-home-ar-v1 .owl-carousel .owl-nav button.owl-prev {
	transform: translateX(clamp(-6px, -2vw, -22px)) !important;
}

body.edhh-home-ar-v1 .owl-carousel .owl-nav button.owl-next {
	transform: translateX(clamp(6px, 2vw, 22px)) !important;
}

body.edhh-home-ar-v1 .owl-carousel .owl-nav button.owl-prev:hover,
body.edhh-home-ar-v1 .owl-carousel .owl-nav button.owl-next:hover {
	background: var(--emerald) !important;
	color: #fff !important;
}

body.edhh-home-ar-v1 #hero .hero-carousel .owl-nav button.owl-prev,
body.edhh-home-ar-v1 #hero .hero-carousel .owl-nav button.owl-next {
	width: 42px;
	height: 42px;
	border-radius: 9999px;
}

body.edhh-home-ar-v1 #hero .hero-carousel .owl-nav button.owl-prev {
	transform: translateX(clamp(-8px, -2.25vw, -26px)) !important;
}

body.edhh-home-ar-v1 #hero .hero-carousel .owl-nav button.owl-next {
	transform: translateX(clamp(8px, 2.25vw, 26px)) !important;
}

body.edhh-home-ar-v1 #hero .hero-carousel .item {
	background: transparent !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 0;
	padding: 0 !important;
	box-shadow: none !important;
}

body.edhh-home-ar-v1 #hero .hero-carousel .edhh-ar-hero-heading {
	font-family: "Amiri", serif !important;
	font-weight: 700 !important;
	font-size: 52px !important;
	line-height: 1.2 !important;
	color: var(--emerald) !important;
}

@media (max-width: 1023px) {
	body.edhh-home-ar-v1 #hero .edhh-ar-hero-slide {
		grid-template-columns: 1fr !important;
	}
}

body.edhh-home-ar-v1 #hero .hero-carousel a.bg-primary {
	background: var(--emerald) !important;
	color: #fff !important;
	border-radius: 0 !important;
	font-weight: 700;
	font-size: 15px;
	padding: 0.85rem 1.75rem !important;
}

body.edhh-home-ar-v1 #hero .service-slider {
	padding-bottom: 3rem;
}

body.edhh-home-ar-v1 .edhh-v1-legacy-quicklinks {
	display: none;
}

body.edhh-home-ar-v1 .edhh-v1-quicklinks-v1 .service-slider {
	padding-bottom: 0;
}

/* Override legacy theme .service-slider .item styles */
body.edhh-home-ar-v1 .edhh-v1-quicklinks-v1 .service-slider .item {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	height: auto !important;
	margin: 0 !important;
	border-radius: 0 !important;
	display: block !important;
	flex-direction: initial !important;
	align-items: initial !important;
	justify-content: initial !important;
	cursor: default;
	user-select: auto;
	-webkit-user-select: auto;
	-moz-user-select: auto;
	-ms-user-select: auto;
	-ms-touch-action: auto;
	touch-action: auto;
}

/* Keep Owl carousel behavior: show 4, slide the rest */
body.edhh-home-ar-v1 #hero .service-slider.service-slider-1.owl-carousel .owl-stage-outer {
	overflow: hidden;
}

body.edhh-home-ar-v1 #hero .service-slider.service-slider-1 .item {
	padding: 0 !important;
	height: 100%;
}

body.edhh-home-ar-v1 .edhh-v1-quicklinks-v1 .service-slider.service-slider-1 .item {
	padding: 0 !important;
	height: 100%;
}

/* Hard reset leaking global .service-slider .item styles */
body.edhh-home-ar-v1 #hero .service-slider .item,
body.edhh-home-ar-v1 section[dir='rtl'] .service-slider .item {
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	direction: rtl !important;
	display: block !important;
}

body.edhh-home-ar-v1 #hero .service-slider .item a {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	background: #fff;
	border: 1px solid var(--rule);
	padding: 1.75rem;
	border-radius: 0;
	transition: transform 0.2s, box-shadow 0.2s;
	min-height: 132px;
	height: 100%;
}

body.edhh-home-ar-v1 .edhh-v1-quicklinks-v1 .service-slider .item a {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	justify-content: space-between;
	background: #fff;
	border: 1px solid var(--rule);
	padding: 1rem 1.1rem;
	border-radius: 0;
	transition: transform 0.2s, box-shadow 0.2s;
	min-height: 96px;
	height: 100%;
}

body.edhh-home-ar-v1 #hero .service-slider .item a:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(28, 38, 32, 0.08);
}

body.edhh-home-ar-v1 .edhh-v1-quicklinks-v1 .service-slider .item a:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(28, 38, 32, 0.08);
}

body.edhh-home-ar-v1 #hero .service-slider h5.text-white {
	color: var(--emerald) !important;
	font-family: "Noto Naskh Arabic", serif !important;
	font-weight: 700;
	font-size: 16px !important;
	line-height: 1.45;
	margin: 0 !important;
	text-align: right;
}

body.edhh-home-ar-v1 .edhh-v1-quicklinks-v1 .service-slider h4 {
	color: var(--emerald) !important;
	font-family: "Noto Naskh Arabic", serif !important;
	font-weight: 700;
	font-size: 16px !important;
	line-height: 1.4;
	margin: 0 0 0.25rem !important;
	text-align: right;
}

body.edhh-home-ar-v1 .edhh-v1-quicklinks-v1 .service-slider p {
	font-size: 13px !important;
	line-height: 1.55 !important;
	margin: 0;
}

body.edhh-home-ar-v1 #hero .service-slider .item a > svg:first-child,
body.edhh-home-ar-v1 #hero .service-slider .item a > svg {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	padding: 0.5rem;
	border: 1px solid var(--rule);
	background: var(--brass-soft);
	display: flex;
	align-items: center;
	justify-content: center;
}

body.edhh-home-ar-v1 .edhh-v1-quicklinks-v1 .service-slider .item a > div:first-child {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	padding: 0.45rem;
	border: 1px solid var(--rule);
	background: var(--brass-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	order: 2;
}

body.edhh-home-ar-v1 .edhh-v1-quicklinks-v1 .service-slider .item a > div:last-child {
	order: 1;
	flex: 1;
	min-width: 0;
}

body.edhh-home-ar-v1 .edhh-v1-quicklinks-v1 .service-slider .item h4 {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

body.edhh-home-ar-v1 .edhh-v1-quicklinks-v1 .service-slider .item p {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Prevent oversized cards on very wide screens */
@media (min-width: 1600px) {
	body.edhh-home-ar-v1 .edhh-v1-quicklinks-v1 > div {
		max-width: 1500px;
		margin-inline: auto;
	}
}

body.edhh-home-ar-v1 #hero .service-slider svg path[fill="white"],
body.edhh-home-ar-v1 #hero .service-slider .ssst0,
body.edhh-home-ar-v1 #hero .service-slider .ssst1 {
	fill: var(--brass) !important;
	stroke: var(--brass) !important;
}

/* ——— Featured (حدث بارز) ——— */
body.edhh-home-ar-v1 .edhh-v1-feature-strip--v1 {
	overflow: hidden;
}

body.edhh-home-ar-v1 .edhh-v1-feature-strip--v1 .edhh-v1-feature-strip__pattern {
	position: absolute;
	inset: 0;
	color: var(--emerald);
	opacity: 0.05;
	pointer-events: none;
}

body.edhh-home-ar-v1 .edhh-v1-feature-strip--v1 .edhh-v1-feature-strip__grid {
	position: relative;
	z-index: 1;
	max-width: 1160px;
	margin-inline: auto;
}

body.edhh-home-ar-v1 .edhh-v1-feature-strip--v1 .edhh-v1-feature-poster {
	max-width: 420px;
}

body.edhh-home-ar-v1 .edhh-v1-feature-strip--v1 p {
	text-align: justify;
}

@media (max-width: 1023px) {
	body.edhh-home-ar-v1 .edhh-v1-feature-strip--v1 .edhh-v1-feature-strip__grid {
		grid-template-columns: 1fr !important;
		padding-left: 1rem;
		padding-right: 1rem;
	}
}

/* ——— Latest activities & إعلانات المؤسسة (shared V1 header + cards) ——— */
body.edhh-home-ar-v1 .edhh-v1-news-wrap {
	padding: 4rem 0;
	position: relative;
}

body.edhh-home-ar-v1 .edhh-v1-announcements-wrap {
	padding: 4rem 0;
	position: relative;
	background: var(--parchment);
	border-top: 1px solid var(--rule);
}

body.edhh-home-ar-v1 .edhh-v1-news-wrap #news > div:first-child {
	margin-bottom: 0;
}

body.edhh-home-ar-v1 :is(.edhh-v1-news-wrap, .edhh-v1-announcements-wrap, .edhh-v1-publications-wrap) .edhh-v1-news-kicker {
	font-family: "JetBrains Mono", monospace;
	font-size: 11px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--brass);
	margin-bottom: 0.75rem;
}

body.edhh-home-ar-v1 :is(.edhh-v1-news-wrap, .edhh-v1-announcements-wrap, .edhh-v1-publications-wrap) .edhh-v1-news-title {
	margin: 0;
	font-family: "Amiri", serif !important;
	font-weight: 700;
	font-size: 3rem !important;
	line-height: 1.1;
	color: var(--emerald) !important;
}

body.edhh-home-ar-v1 :is(.edhh-v1-news-wrap, .edhh-v1-announcements-wrap, .edhh-v1-publications-wrap) .edhh-v1-news-subtitle {
	font-family: "Cormorant Garamond", serif;
	font-style: italic;
	font-size: 1.125rem;
	color: var(--muted);
	margin-top: 0.5rem;
}

body.edhh-home-ar-v1 :is(.edhh-v1-news-wrap, .edhh-v1-announcements-wrap, .edhh-v1-publications-wrap) .edhh-v1-news-ornament {
	margin-top: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	color: var(--brass);
	width: 180px;
	margin-inline: auto;
}

body.edhh-home-ar-v1 :is(.edhh-v1-news-wrap, .edhh-v1-announcements-wrap, .edhh-v1-publications-wrap) .edhh-v1-news-ornament__line {
	flex: 1;
	height: 1px;
	background: linear-gradient(to left, transparent, var(--brass), transparent);
}

body.edhh-home-ar-v1 :is(.edhh-v1-news-wrap, .edhh-v1-announcements-wrap, .edhh-v1-publications-wrap) .edhh-v1-news-ornament__line:last-child {
	background: linear-gradient(to right, transparent, var(--brass), transparent);
}

body.edhh-home-ar-v1 .edhh-v1-news-wrap .edhh-v1-news-tabs {
	margin-top: 2.5rem;
}

body.edhh-home-ar-v1 .edhh-v1-news-wrap .edhh-v1-news-tabs button.tablinks {
	font-size: 14px;
	padding: 0.5rem 1.25rem;
	border: 0 !important;
	background: transparent;
	color: var(--muted) !important;
	cursor: pointer;
	opacity: 0.6;
	box-shadow: none !important;
	border-radius: 0 !important;
}

body.edhh-home-ar-v1 .edhh-v1-news-wrap .edhh-v1-news-tabs button.tablinks.active {
	font-weight: 700;
	color: var(--emerald) !important;
	border-bottom: 2px solid var(--brass) !important;
	border-radius: 0;
	opacity: 1;
}

body.edhh-home-ar-v1 :is(.edhh-v1-news-wrap, .edhh-v1-announcements-wrap) .owl-item .item,
body.edhh-home-ar-v1 .edhh-v1-news-wrap #news .item {
	background: #fff !important;
	border: 1px solid var(--rule) !important;
	overflow: hidden !important;
	transition: transform 0.2s;
	display: flex !important;
	flex-direction: column !important;
	height: auto !important;
	width: 100% !important;
	padding: 0 !important;
	direction: rtl !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}

body.edhh-home-ar-v1 :is(.edhh-v1-news-wrap, .edhh-v1-announcements-wrap) .news-slider .owl-stage {
	display: flex;
	align-items: stretch;
}

body.edhh-home-ar-v1 :is(.edhh-v1-news-wrap, .edhh-v1-announcements-wrap) .news-slider .owl-item {
	display: flex;
	height: auto !important;
}

body.edhh-home-ar-v1 .edhh-v1-news-wrap #news .item:hover,
body.edhh-home-ar-v1 .edhh-v1-announcements-wrap .owl-item .item:hover {
	transform: translateY(-3px);
}

body.edhh-home-ar-v1 :is(.edhh-v1-news-wrap, .edhh-v1-announcements-wrap) figure {
	background: var(--parchment-2);
	border: none;
	margin: 0;
	aspect-ratio: 4 / 3;
	height: auto !important;
	max-height: none !important;
	overflow: hidden;
}

body.edhh-home-ar-v1 :is(.edhh-v1-news-wrap, .edhh-v1-announcements-wrap) figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	margin: 0 !important;
	padding: 0 !important;
}

@media (max-width: 767px) {
	body.edhh-home-ar-v1 :is(.edhh-v1-news-wrap, .edhh-v1-announcements-wrap) figure {
		height: auto !important;
		max-height: none !important;
	}
}

body.edhh-home-ar-v1 :is(.edhh-v1-news-wrap, .edhh-v1-announcements-wrap) .post_date {
	font-family: "JetBrains Mono", monospace;
	font-size: 10px !important;
	letter-spacing: 0.16em !important;
	text-transform: uppercase !important;
	color: var(--brass);
	color: var(--brass) !important;
	padding-top: 0 !important;
	margin: 0 !important;
	font-weight: 400 !important;
	line-height: 1.6 !important;
}

body.edhh-home-ar-v1 :is(.edhh-v1-news-wrap, .edhh-v1-announcements-wrap) .post-link {
	color: var(--ink) !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	line-height: 1.6 !important;
	display: block;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
	min-height: calc(1.6em * 2);
}

body.edhh-home-ar-v1 :is(.edhh-v1-news-wrap, .edhh-v1-announcements-wrap) .lines-overflow-2 {
	display: block !important;
	height: auto !important;
	min-height: 0 !important;
	overflow: visible !important;
	padding: 0 !important;
	flex: 1;
}

body.edhh-home-ar-v1 :is(.edhh-v1-news-wrap, .edhh-v1-announcements-wrap) .edhh-v1-news-card {
	background: #fff !important;
	border: 1px solid var(--rule) !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
}

body.edhh-home-ar-v1 :is(.edhh-v1-news-wrap, .edhh-v1-announcements-wrap) .edhh-v1-news-card__content {
	padding: 1rem;
}

body.edhh-home-ar-v1 :is(.edhh-v1-news-wrap, .edhh-v1-announcements-wrap) .edhh-v1-news-card figure,
body.edhh-home-ar-v1 :is(.edhh-v1-news-wrap, .edhh-v1-announcements-wrap) .edhh-v1-news-card figure img {
	padding: 0 !important;
}

body.edhh-home-ar-v1 :is(.edhh-v1-news-wrap, .edhh-v1-announcements-wrap) .edhh-v1-news-readmore {
	font-family: "JetBrains Mono", monospace;
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--brass);
	padding-bottom: 0.2rem;
	color: var(--emerald) !important;
	text-decoration: none;
}

body.edhh-home-ar-v1 :is(.edhh-v1-news-wrap, .edhh-v1-announcements-wrap) .read-more a {
	font-family: "JetBrains Mono", monospace;
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--brass);
	padding-bottom: 0.25rem;
	color: var(--emerald) !important;
	text-decoration: none;
}

/* إعلانات المؤسسة — slider card tweaks (5:3 media, V1 read-more) */
body.edhh-home-ar-v1 .edhh-v1-announcements-wrap .edhh-v1-announcement-card > a {
	color: inherit;
}

body.edhh-home-ar-v1 .edhh-v1-announcements-wrap .edhh-v1-announcement-card > a > div:first-child {
	overflow: hidden;
}

body.edhh-home-ar-v1 .edhh-v1-announcements-wrap .edhh-v1-announcement-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

body.edhh-home-ar-v1 .edhh-v1-announcements-wrap .edhh-v1-announcement-card .edhh-v1-news-card__content {
	padding: 1.25rem !important;
}

body.edhh-home-ar-v1 .edhh-v1-announcements-wrap .edhh-v1-announcement-card h5,
body.edhh-home-ar-v1 .edhh-v1-announcements-wrap .edhh-v1-announcement-card__title {
	margin: 0 0 0.75rem;
	font-weight: 600;
	color: var(--ink);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
	min-height: calc(1.6em * 2);
}

body.edhh-home-ar-v1 .edhh-v1-announcements-wrap .edhh-v1-announcements-carousel.owl-carousel .owl-item > .item {
	width: 100%;
}

/* إصدارات المؤسسة — V1 tabs + Owl slider per tab */
body.edhh-home-ar-v1 .edhh-v1-publications-wrap .edhh-v1-books-slider.owl-carousel .owl-stage {
	display: flex;
	align-items: stretch;
}

body.edhh-home-ar-v1 .edhh-v1-publications-wrap .edhh-v1-books-slider.owl-carousel .owl-item {
	display: flex;
	height: auto;
}

body.edhh-home-ar-v1 .edhh-v1-publications-wrap .edhh-v1-books-slider.owl-carousel .owl-item > .edhh-v1-pub-card {
	width: 100%;
}

body.edhh-home-ar-v1 .edhh-v1-publications-wrap .edhh-v1-books-slider .owl-nav button {
	margin-top: 0 !important;
}

body.edhh-home-ar-v1 .edhh-v1-publications-wrap .edhh-v1-publications-tabs {
	border-color: var(--rule) !important;
	margin-top: 0;
}

body.edhh-home-ar-v1 .edhh-v1-publications-wrap .edhh-v1-publications-tabs .tablinks {
	font-size: 14px !important;
	color: var(--muted) !important;
	opacity: 0.6;
	box-shadow: none !important;
	border-radius: 0 !important;
}

body.edhh-home-ar-v1 .edhh-v1-publications-wrap .edhh-v1-publications-tabs .tablinks.active {
	font-weight: 700;
	color: var(--emerald) !important;
	border-bottom: 2px solid var(--brass) !important;
	opacity: 1;
}

body.edhh-home-ar-v1 .edhh-v1-pub-card {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.5rem 0.75rem;
	align-items: start;
}

body.edhh-home-ar-v1 .edhh-v1-pub-card__text {
	grid-column: 1;
	grid-row: 2;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	align-self: start;
}

body.edhh-home-ar-v1 .edhh-v1-pub-card .edhh-v1-pub-stats {
	margin: 0;
	color: var(--muted);
}

body.edhh-home-ar-v1 .edhh-v1-pub-card figure.h-88 {
	grid-column: 1 / -1;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: auto !important;
	min-height: 0;
	margin: 0;
	aspect-ratio: 3 / 4;
	padding: 1.5rem;
	border: 1px solid var(--rule);
	background: linear-gradient(180deg, var(--parchment), var(--parchment-2));
	box-sizing: border-box;
}

body.edhh-home-ar-v1 .edhh-v1-pub-card figure.h-88::before,
body.edhh-home-ar-v1 .edhh-v1-pub-card figure.h-88::after {
	content: "";
	position: absolute;
	left: 0.75rem;
	right: 0.75rem;
	height: 1px;
	background: linear-gradient(to left, transparent, var(--brass), transparent);
	pointer-events: none;
}

body.edhh-home-ar-v1 .edhh-v1-pub-card figure.h-88::before {
	top: 0.75rem;
}

body.edhh-home-ar-v1 .edhh-v1-pub-card figure.h-88::after {
	bottom: 0.75rem;
}

body.edhh-home-ar-v1 .edhh-v1-pub-card figure.h-88 .h-full {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

body.edhh-home-ar-v1 .edhh-v1-pub-card figure.h-88 img {
	max-height: 100%;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	margin: 0 !important;
}

body.edhh-home-ar-v1 .edhh-v1-pub-card__title,
body.edhh-home-ar-v1 .edhh-v1-pub-card h4,
body.edhh-home-ar-v1 .edhh-v1-pub-card h5 {
	font-size: 14px;
	line-height: 1.5;
	font-weight: 600;
	color: var(--ink);
	margin: 0;
	min-width: 0;
}

body.edhh-home-ar-v1 .edhh-v1-pub-card .flex.justify-between.w-full {
	grid-column: 2;
	grid-row: 2;
	margin-top: 0;
	gap: 0.375rem;
	flex-wrap: wrap;
	justify-content: flex-end !important;
	align-self: start;
}

@media (max-width: 639px) {
	body.edhh-home-ar-v1 .edhh-v1-pub-card {
		grid-template-columns: 1fr;
	}

	body.edhh-home-ar-v1 .edhh-v1-pub-card__text {
		grid-column: 1;
		grid-row: auto;
	}

	body.edhh-home-ar-v1 .edhh-v1-pub-card .flex.justify-between.w-full {
		grid-column: 1;
		grid-row: auto;
		justify-content: flex-start !important;
	}
}

body.edhh-home-ar-v1 .edhh-v1-pub-card .flex.justify-between.w-full a {
	flex: 0 0 auto !important;
	width: auto !important;
	padding: 0.25rem 0.625rem !important;
	font-size: 11px !important;
	line-height: 1.3 !important;
	border: 1px solid var(--rule) !important;
	background: transparent !important;
	color: var(--ink) !important;
	text-decoration: none !important;
	border-radius: 0 !important;
	transition: background 0.15s ease;
}

body.edhh-home-ar-v1 .edhh-v1-pub-card .flex.justify-between.w-full a:hover {
	background: var(--brass-soft);
}

/* Dates section moved to Tailwind source file (assets/css/src/home-ar.tailwind.css) */

body.edhh-home-ar-v1 .edhh-v1-calendar-intro {
	padding-top: 2rem;
}

body.edhh-home-ar-v1 .edhh-v1-calendar-intro h3::before {
	content: "Important Dates";
	display: block;
	font-family: "JetBrains Mono", monospace;
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--brass);
	margin-bottom: 0.35rem;
}

body.edhh-home-ar-v1 .edhh-v1-calendar-intro h3::after {
	content: "Academic & cultural calendar";
	display: block;
	font-family: "Cormorant Garamond", serif;
	font-style: italic;
	font-size: 1rem;
	color: var(--muted);
	margin-top: 0.25rem;
}

body.edhh-home-ar-v1 .edhh-v1-calendar-intro h3 {
	font-family: "Amiri", serif !important;
	color: var(--emerald) !important;
}

body.edhh-home-ar-v1 .edhh-v1-calendar-row {
	background: var(--parchment);
	border: 1px solid var(--rule);
	padding: 2rem 1.25rem !important;
	position: relative;
}

body.edhh-home-ar-v1 .edhh-v1-calendar-row::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.05;
	background-image: radial-gradient(circle, var(--emerald) 1px, transparent 1.5px);
	background-size: 18px 18px;
	pointer-events: none;
}

body.edhh-home-ar-v1 .edhh-v1-calendar-row > * {
	position: relative;
	z-index: 1;
}

body.edhh-home-ar-v1 .edhh-v1-calendar-row .bg-primary {
	background: var(--emerald) !important;
	font-family: "Cormorant Garamond", serif;
}

body.edhh-home-ar-v1 .edhh-v1-calendar-row .bg-white {
	border: 1px solid var(--rule) !important;
	background: #fff !important;
}

/* ——— Dates V1 hard match scope ——— */
body.edhh-home-ar-v1 .edhh-v1-dates-v1 {
	background: var(--parchment) !important;
	padding-top: 4rem !important;
	padding-bottom: 4rem !important;
	position: relative;
}

body.edhh-home-ar-v1 .edhh-v1-dates-v1 .edhh-v1-dates-v1__inner {
	max-width: 1280px !important;
	padding-left: 1.5rem !important;
	padding-right: 1.5rem !important;
}

body.edhh-home-ar-v1 .edhh-v1-dates-v1 .edhh-v1-dates-v1__grid {
	display: grid !important;
	grid-template-columns: 1fr 1.2fr 1fr !important;
	gap: 1.75rem !important;
	align-items: start !important;
}

body.edhh-home-ar-v1 .edhh-v1-dates-v1 .edhh-v1-dates-v1__upcoming {
	min-height: 350px;
}

body.edhh-home-ar-v1 .edhh-v1-dates-v1 h2.font-amiri {
	font-family: "Amiri", serif !important;
	font-size: 3rem !important;
	line-height: 1.1 !important;
	color: var(--emerald) !important;
}

body.edhh-home-ar-v1 .edhh-v1-dates-v1 .edhh-v1-dates-v1__calendar {
	background: #fff !important;
	border: 1px solid var(--rule) !important;
}

body.edhh-home-ar-v1 .edhh-v1-dates-v1 .edhh-v1-dates-v1__calendar table {
	border-collapse: separate;
	border-spacing: 0;
}

body.edhh-home-ar-v1 .edhh-v1-dates-v1 .edhh-v1-dates-v1__list-item {
	background: #fff !important;
	border: 1px solid var(--rule) !important;
}

body.edhh-home-ar-v1 .edhh-v1-dates-v1 .edhh-v1-dates-v1__upcoming .font-cormorant {
	font-family: "Cormorant Garamond", serif !important;
	font-size: 120px !important;
	line-height: .85 !important;
	font-weight: 500 !important;
	color: var(--brass) !important;
}

body.edhh-home-ar-v1 .edhh-v1-dates-v1 .edhh-v1-dates-v1__upcoming .font-amiri {
	font-family: "Amiri", serif !important;
	font-size: 22px !important;
	font-weight: 700 !important;
}

body.edhh-home-ar-v1 .edhh-v1-dates-v1 .edhh-v1-dates-v1__upcoming {
	background: var(--emerald) !important;
	color: #fff !important;
}

body.edhh-home-ar-v1 .edhh-v1-dates-v1 .edhh-v1-dates-v1__upcoming .font-mono,
body.edhh-home-ar-v1 .edhh-v1-dates-v1 .edhh-v1-dates-v1__upcoming .text-\[13px\] {
	color: #fff !important;
}

body.edhh-home-ar-v1 .edhh-v1-dates-v1 .edhh-v1-dates-v1__upcoming .font-mono {
	opacity: .72 !important;
}

body.edhh-home-ar-v1 .edhh-v1-dates-v1 .edhh-v1-dates-v1__upcoming .text-\[13px\] {
	opacity: .9 !important;
}

body.edhh-home-ar-v1 .edhh-v1-dates-v1 .edhh-v1-dates-v1__calendar h4 {
	color: var(--emerald) !important;
}

body.edhh-home-ar-v1 .edhh-v1-dates-v1 .edhh-v1-dates-v1__calendar button {
	width: 28px !important;
	height: 28px !important;
	border: 1px solid var(--rule) !important;
	background: transparent !important;
	color: var(--muted) !important;
	border-radius: 0 !important;
	line-height: 1 !important;
	padding: 0 !important;
}

body.edhh-home-ar-v1 .edhh-v1-dates-v1 .edhh-v1-dates-nav-btn {
	-webkit-appearance: none !important;
	appearance: none !important;
	min-width: 28px !important;
	min-height: 28px !important;
	width: 28px !important;
	height: 28px !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	color: var(--muted) !important;
	border: 1px solid var(--rule) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-family: "Noto Naskh Arabic", serif !important;
	font-weight: 400 !important;
	font-size: 15px !important;
	line-height: 1 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	vertical-align: middle !important;
}

body.edhh-home-ar-v1 .edhh-v1-dates-v1 button.edhh-v1-dates-nav-btn,
body.edhh-home-ar-v1 .edhh-v1-dates-v1 button.edhh-v1-dates-nav-btn:focus,
body.edhh-home-ar-v1 .edhh-v1-dates-v1 button.edhh-v1-dates-nav-btn:active,
body.edhh-home-ar-v1 .edhh-v1-dates-v1 button.edhh-v1-dates-nav-btn:hover {
	padding: 0 !important;
	margin: 0 !important;
	border: 1px solid var(--rule) !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	color: var(--muted) !important;
	line-height: 1 !important;
	box-shadow: none !important;
	text-transform: none !important;
}

body.edhh-home-ar-v1 .edhh-v1-dates-v1 .edhh-v1-dates-nav-btn:hover {
	background: var(--brass-soft) !important;
	color: var(--ink) !important;
}

body.edhh-home-ar-v1 .edhh-v1-dates-v1 .edhh-v1-dates-v1__calendar th {
	font-weight: 400 !important;
	color: var(--muted) !important;
}

body.edhh-home-ar-v1 .edhh-v1-dates-v1 .edhh-v1-dates-v1__calendar td {
	border: 0 !important;
}

body.edhh-home-ar-v1 .edhh-v1-dates-v1 .edhh-v1-dates-v1__calendar table {
	background: #fff !important;
}

/* ——— Stats (V1: Institution by Numbers) ——— */
body.edhh-home-ar-v1 .edhh-v1-stats-heading {
	font-family: "Amiri", serif !important;
	color: var(--emerald) !important;
	margin-top: 3rem !important;
}

body.edhh-home-ar-v1 .edhh-v1-stats-heading::before {
	content: "Institution by Numbers";
	display: block;
	font-family: "JetBrains Mono", monospace;
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--brass);
	margin-bottom: 0.35rem;
}

body.edhh-home-ar-v1 .edhh-v1-stats-v1 {
	border-top: 1px solid var(--rule);
}

body.edhh-home-ar-v1 .edhh-v1-stats-v1__viewport {
	overflow: hidden;
	position: relative;
	width: 100%;
	margin-inline: 0;
}

body.edhh-home-ar-v1 .edhh-v1-stats-v1__track {
	display: flex;
	flex-direction: column;
	transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}

body.edhh-home-ar-v1 .edhh-v1-stats-v1__slide {
	flex: 0 0 auto;
	width: 100%;
}

body.edhh-home-ar-v1 .edhh-v1-stats-v1 .edhh-v1-stats__grid {
	width: 100%;
	align-items: stretch;
	margin: 0;
}

body.edhh-home-ar-v1 .edhh-v1-stats-v1__dots {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1.75rem;
}

body.edhh-home-ar-v1 .edhh-v1-stats-v1__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 1px solid var(--rule);
	border-radius: 999px;
	background: transparent;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s;
}

body.edhh-home-ar-v1 .edhh-v1-stats-v1__dot:hover {
	border-color: var(--brass);
}

body.edhh-home-ar-v1 .edhh-v1-stats-v1__dot.is-active {
	background: var(--brass);
	border-color: var(--brass);
}

@media (prefers-reduced-motion: reduce) {
	body.edhh-home-ar-v1 .edhh-v1-stats-v1__track {
		transition: none !important;
	}
}

body.edhh-home-ar-v1 .edhh-v1-stats-v1 .edhh-v1-stats__cell {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;
	padding: 3rem 1.5rem;
	min-height: 100%;
	border-inline-start: 1px solid var(--rule);
}

body.edhh-home-ar-v1 .edhh-v1-stats-v1 .edhh-v1-stats__cell:nth-child(4n + 1) {
	border-inline-start: none;
}

body.edhh-home-ar-v1 .edhh-v1-stats-v1 .edhh-v1-stats__value {
	font-family: "Cormorant Garamond", serif;
	font-weight: 600;
	font-size: 60px;
	line-height: 1.05;
	color: var(--emerald);
	display: flex;
	flex-direction: row;
	align-items: baseline;
	justify-content: center;
	flex-wrap: nowrap;
	gap: 0.12rem;
}

body.edhh-home-ar-v1 .edhh-v1-stats-v1 .edhh-v1-stats__plus {
	font-weight: 600;
	line-height: 0;
	font-size: 0.47em;
	color: var(--brass);
	position: relative;
	top: -0.2em;
	margin: 0;
	padding: 0;
}

body.edhh-home-ar-v1 .edhh-v1-stats-v1 .edhh-v1-stats__label {
	color: var(--muted);
	max-width: min(100%, 17rem);
	margin-inline: auto;
	margin-top: 0.65rem;
	line-height: 1.55;
	font-size: 15px;
}

body.edhh-home-ar-v1 .edhh-v1-stats-v1 .edhh-v1-stats__latin {
	color: var(--rule);
	max-width: min(100%, 17rem);
	margin-inline: auto;
	margin-top: 0.35rem;
	line-height: 1.5;
	font-size: 13px;
}

body.edhh-home-ar-v1 .edhh-v1-stats-v1 .edhh-v1-stats__icon {
	flex-shrink: 0;
	margin-inline: auto;
}

@media (max-width: 767px) {
	body.edhh-home-ar-v1 .edhh-v1-stats-v1 .edhh-v1-stats__cell {
		padding: 1.75rem 0.875rem 2rem;
	}

	body.edhh-home-ar-v1 .edhh-v1-stats-v1 .edhh-v1-stats__cell:nth-child(odd) {
		border-inline-start: none;
	}

	body.edhh-home-ar-v1 .edhh-v1-stats-v1 .edhh-v1-stats__cell:nth-child(even) {
		border-inline-start: 1px solid var(--rule);
	}

	body.edhh-home-ar-v1 .edhh-v1-stats-v1 .edhh-v1-stats__label,
	body.edhh-home-ar-v1 .edhh-v1-stats-v1 .edhh-v1-stats__latin {
		max-width: 100%;
	}

	body.edhh-home-ar-v1 .edhh-v1-stats-v1 .edhh-v1-stats__value {
		font-size: clamp(2.5rem, 12vw, 3.25rem) !important;
	}
}

/* Legacy stats layout (if still used elsewhere) */
body.edhh-home-ar-v1 .edhh-v1-stats:not(.edhh-v1-stats-v1) {
	border-top: 1px solid var(--rule);
	padding: 2.5rem 0 3rem;
}

body.edhh-home-ar-v1 .edhh-v1-stats .stats-square {
	background: transparent !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	border-left: 1px solid var(--rule);
}

body.edhh-home-ar-v1 .edhh-v1-stats .stats-holder .stats-square:first-child {
	border-left: none;
}

body.edhh-home-ar-v1 .edhh-v1-stats .stats-square > div[style*="absolute"] {
	background: var(--brass-soft) !important;
	border: 1px solid var(--rule) !important;
	border-radius: 0 !important;
	width: 48px !important;
	height: 48px !important;
	color: var(--brass) !important;
}

body.edhh-home-ar-v1 .edhh-v1-stats .stats-square h2 {
	font-family: "Cormorant Garamond", serif !important;
	font-weight: 600 !important;
	font-size: clamp(2.5rem, 5vw, 3.75rem) !important;
	color: var(--emerald) !important;
	line-height: 1 !important;
}

body.edhh-home-ar-v1 .edhh-v1-stats .stats-square > div:not([style*="absolute"]) {
	font-family: "Amiri", serif !important;
	color: var(--muted) !important;
}

body.edhh-home-ar-v1 .edhh-v1-stats .stats-square div,
body.edhh-home-ar-v1 .edhh-v1-stats .stats-square p {
	color: inherit !important;
}

/* ——— Publications ——— */
body.edhh-home-ar-v1 .edhh-v1-pub-heading {
	padding: 2.5rem 1rem 0;
}

body.edhh-home-ar-v1 .edhh-v1-pub-heading h3::before {
	content: "Publications";
	display: block;
	font-family: "JetBrains Mono", monospace;
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--brass);
	margin-bottom: 0.35rem;
}

body.edhh-home-ar-v1 .edhh-v1-pub-heading h3::after {
	content: "Journals · Books · Treatises";
	display: block;
	font-family: "Cormorant Garamond", serif;
	font-style: italic;
	font-size: 1rem;
	color: var(--muted);
	margin-top: 0.25rem;
}

body.edhh-home-ar-v1 .edhh-v1-pub-heading h3 {
	font-family: "Amiri", serif !important;
	color: var(--emerald) !important;
}

body.edhh-home-ar-v1 .edhh-v1-pub-wrap {
	padding-bottom: 3rem;
}

body.edhh-home-ar-v1 .edhh-v1-pub-wrap .tabs {
	border-bottom: 1px solid var(--rule);
	margin-bottom: 2rem !important;
	justify-content: center;
}

body.edhh-home-ar-v1 .edhh-v1-pub-wrap .tabs button.tablinks {
	border: none;
	background: transparent;
	padding: 0.75rem 1.75rem;
	margin-bottom: -1px;
	font-size: 14px;
	color: var(--muted);
}

body.edhh-home-ar-v1 .edhh-v1-pub-wrap .tabs button.tablinks.active {
	font-weight: 700;
	color: var(--emerald);
	border-bottom: 2px solid var(--brass);
}

body.edhh-home-ar-v1 #publications .owl-item .item,
body.edhh-home-ar-v1 #publications figure {
	border: 1px solid var(--rule);
	background: linear-gradient(180deg, var(--parchment), var(--parchment-2));
}

/* ——— Library (V1 collage + stats) ——— */
body.edhh-home-ar-v1 .edhh-v1-library-v1 {
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
}

body.edhh-home-ar-v1 .edhh-v1-library-v1__visual {
	min-height: clamp(220px, 42vw, 420px);
}

@media (min-width: 1024px) {
	body.edhh-home-ar-v1 .edhh-v1-library-v1__visual {
		min-height: 360px;
	}
}

body.edhh-home-ar-v1 .edhh-v1-library-v1__copy > p.mb-7 {
	text-align: justify;
	hyphens: auto;
}

body.edhh-home-ar-v1 .edhh-v1-library-v1__stat {
	min-height: 4.5rem;
}

body.edhh-home-ar-v1 .edhh-v1-library-v1__copy a.bg-emerald {
	border-radius: 0;
}

body.edhh-home-ar-v1 .edhh-v1-library-v1__copy a.bg-emerald:hover {
	opacity: 0.92;
}

@media (max-width: 639px) {
	body.edhh-home-ar-v1 .edhh-v1-library-v1__stats {
		grid-template-columns: 1fr;
	}
}

/* ——— Partners (V1 — theme.html) ——— */
body.edhh-home-ar-v1 .edhh-v1-partners-v1 {
	background: var(--ivory);
}

body.edhh-home-ar-v1 .edhh-v1-partners-v1__tabs button.edhh-v1-partners-v1__tab {
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	font-family: "Noto Naskh Arabic", serif;
	border: 1px solid var(--rule);
	background: transparent;
	color: var(--muted);
	opacity: 0.72;
	font-weight: 400;
}

body.edhh-home-ar-v1 .edhh-v1-partners-v1__tabs button.edhh-v1-partners-v1__tab:hover {
	opacity: 1;
}

body.edhh-home-ar-v1 .edhh-v1-partners-v1__tabs button.edhh-v1-partners-v1__tab.active {
	background: #fff;
	color: var(--emerald);
	opacity: 1;
	font-weight: 700;
}

body.edhh-home-ar-v1 #partners .edhh-v1-partners-v1__slider.owl-carousel .owl-stage-outer {
	border: 1px solid var(--rule);
	background: #fff;
}

body.edhh-home-ar-v1 #partners .edhh-v1-partners-v1__slider.owl-carousel .owl-item {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body.edhh-home-ar-v1 #partners .edhh-v1-partners-v1__slider .owl-item .item {
	height: 100%;
}

body.edhh-home-ar-v1 #partners .edhh-v1-partners-v1__slider .edhh-v1-partners-v1__cell {
	min-height: clamp(104px, 26vw, 168px);
	aspect-ratio: 5 / 3;
	border-inline-start: 1px solid var(--rule);
	background: #fff;
}

body.edhh-home-ar-v1 #partners .edhh-v1-partners-v1__slider .edhh-v1-partners-v1__cell img {
	max-height: 5.5rem;
	width: 100%;
	object-fit: contain;
}

body.edhh-home-ar-v1 #partners .edhh-v1-partners-v1__slider.owl-carousel .owl-nav button.owl-prev,
body.edhh-home-ar-v1 #partners .edhh-v1-partners-v1__slider.owl-carousel .owl-nav button.owl-next {
	background: #fff !important;
}

body.edhh-home-ar-v1 #partners .edhh-v1-partners-v1__slider.owl-carousel .owl-nav button.owl-prev:hover,
body.edhh-home-ar-v1 #partners .edhh-v1-partners-v1__slider.owl-carousel .owl-nav button.owl-next:hover {
	background: var(--brass-soft) !important;
	color: var(--emerald) !important;
}

body.edhh-home-ar-v1 .read-more a,
body.edhh-home-ar-v1 .edhh-v1-news-wrap .p-8 a {
	font-family: "JetBrains Mono", monospace;
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--emerald) !important;
	border-bottom: 1px solid var(--brass);
	padding-bottom: 2px;
	background: transparent !important;
	border-radius: 0 !important;
}

body.edhh-home-ar-v1 .text-secondary {
	color: var(--emerald) !important;
}

body.edhh-home-ar-v1 .bg-primary,
body.edhh-home-ar-v1 a.bg-primary {
	background-color: var(--emerald) !important;
}

@media (max-width: 1023px) {
	body.edhh-home-ar-v1 .site-header .edhh-v1-header-main {
		grid-template-columns: 1fr;
		justify-items: stretch;
	}

	body.edhh-home-ar-v1 .site-header .header-navigation {
		justify-content: center;
	}

	body.edhh-home-ar-v1 .edhh-v1-header-actions {
		justify-content: center;
	}
}

@media (max-width: 767px) {
	body.edhh-home-ar-v1 .edhh-v1-news-wrap #news > div:first-child {
		flex-direction: column;
		align-items: stretch;
	}

	body.edhh-home-ar-v1 .edhh-v1-news-wrap #news > div:first-child .tabs {
		margin-inline-start: 0;
	}

	body.edhh-home-ar-v1 .edhh-v1-stats:not(.edhh-v1-stats-v1) .stats-square {
		border-left: none;
		border-bottom: 1px solid var(--rule);
	}
}

/* Global proportion rebalance after full-width layout */
body.edhh-home-ar-v1 .edhh-v1-feature-strip--v1 p {
	font-size: clamp(15px, 1.05vw, 18px) !important;
	line-height: 1.85 !important;
}

body.edhh-home-ar-v1 .edhh-v1-quicklinks-v1 .service-slider .item a,
body.edhh-home-ar-v1 #hero .service-slider .item a {
	padding: 1.25rem !important;
	min-height: 118px;
}

body.edhh-home-ar-v1 .edhh-v1-quicklinks-v1 .service-slider .item h4,
body.edhh-home-ar-v1 #hero .service-slider .item h5 {
	font-size: 16px !important;
	line-height: 1.4 !important;
}

body.edhh-home-ar-v1 .edhh-v1-quicklinks-v1 .service-slider .item p {
	font-size: 13px !important;
	line-height: 1.55 !important;
}

body.edhh-home-ar-v1 .edhh-v1-feature-strip--v1 .edhh-v1-feature-strip__grid {
	grid-template-columns: minmax(300px, 0.9fr) minmax(560px, 1.2fr) !important;
}

body.edhh-home-ar-v1 .edhh-v1-feature-strip--v1 .edhh-v1-feature-poster {
	max-width: 420px;
}

body.edhh-home-ar-v1 .edhh-v1-feature-strip--v1 h3 {
	font-size: clamp(2rem, 2.5vw, 2.35rem) !important;
}

body.edhh-home-ar-v1 .edhh-v1-feature-strip--v1 .font-cormorant.italic.text-\[34px\] {
	font-size: clamp(26px, 2vw, 34px) !important;
}

body.edhh-home-ar-v1 :is(.edhh-v1-news-wrap, .edhh-v1-announcements-wrap) .post-link {
	font-size: 15px !important;
}

