/* ==========================================================================
   Mourabitoune Centre — Main stylesheet
   Brand palette taken from the original React artifact:
   --green: #0B3D2E | --gold: #C5A46D | --cream: #F9F6F0
   ========================================================================== */

:root {
	--green: #0B3D2E;
	--green-dark: #10201A;
	--gold: #C5A46D;
	--gold-dark: #8C7340;
	--cream: #F9F6F0;
	--white: #ffffff;
	--ink: #1f2a26;
	--gray: #9CA3AF;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(11, 61, 46, 0.08);
	--container: 1400px;
}

/* ---------- Reset-ish ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: "Cairo", "Tahoma", "Segoe UI", sans-serif;
	background: var(--white);
	color: var(--ink);
	line-height: 1.8;
	direction: rtl;
	text-align: right;
	-webkit-font-smoothing: antialiased;
}
/* LTR layout for French / English (Polylang) */
html[dir="ltr"] body { direction: ltr; text-align: left; }
html[dir="ltr"] .main-navigation a::after { left: 0; right: auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4, h5, h6 { color: var(--green); line-height: 1.4; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-block;
	padding: 12px 26px;
	border-radius: 10px;
	font-weight: 600;
	font-size: 15px;
	transition: all 0.25s ease;
	cursor: pointer;
	line-height: 1.5;
}
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--gold-dark); color: var(--white); }
.btn--outline { border: 1px solid var(--green); color: var(--green); }
.btn--outline:hover { background: var(--green); color: var(--white); }
.btn--ghost { color: var(--gold-dark); }

/* ---------- Header ---------- */
.site-header { background: var(--green); position: sticky; top: 0; z-index: 100; }
.site-header__top-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 76px;
}
.site-header__brand { display: flex; align-items: center; gap: 14px; }
.site-header__brand .custom-logo-link { line-height: 0; display: inline-flex; flex-shrink: 0; }
.site-header__brand .custom-logo {
	max-height: 76px;
	width: 76px;
	height: 76px;
	object-fit: cover;
	border-radius: 50%;
	border: 3px solid rgba(197, 164, 109, 0.7);
	box-shadow: 0 0 0 3px rgba(197, 164, 109, 0.15), 0 8px 20px rgba(0, 0, 0, 0.25);
	display: block;
}
/* logo منتصف الدائرة */
.site-header__brand .custom-logo-link img { object-position: center; }
.site-title { color: var(--gold); font-weight: 800; font-size: 20px; }
.main-navigation ul {
	display: flex;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.main-navigation a {
	color: var(--cream);
	font-weight: 500;
	font-size: 15px;
	padding: 8px 4px;
	position: relative;
}
.main-navigation a::after {
	content: "";
	position: absolute;
	bottom: 2px;
	right: 0;
	width: 0;
	height: 2px;
	background: var(--gold);
	transition: width 0.25s;
}
.main-navigation a:hover, .main-navigation li.current-menu-item a { color: var(--gold); }
.main-navigation a:hover::after { width: 100%; }
.menu-toggle { display: none; background: none; border: 0; }
.menu-toggle span {
	display: block;
	width: 26px;
	height: 3px;
	background: var(--cream);
	margin: 5px 0;
	border-radius: 2px;
}

/* ---------- Language switcher (Polylang) — كبسولة مثل الأصل ---------- */
.lang-switcher {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	border: 1px solid rgba(197, 164, 109, 0.45);
	border-radius: 999px;
	padding: 3px;
	font-size: 11px;
	font-weight: 700;
	background: rgba(255, 255, 255, 0.06);
}
.lang-switcher__item {
	color: var(--cream);
	padding: 4px 10px;
	border-radius: 999px;
	line-height: 1;
	transition: all 0.2s;
}
.lang-switcher__item:hover { color: var(--gold); }
.lang-switcher__item.is-active {
	background: var(--gold);
	color: var(--green-dark);
}
/* static fallback (inside s23، بلا Polylang) */
.lang-switcher__link {
	color: var(--cream);
	border: 1px solid rgba(197, 164, 109, 0.4);
	border-radius: 999px;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 700;
	transition: all 0.2s;
}
.lang-switcher__link:hover { color: var(--gold); border-color: var(--gold); }
.lang-switcher__link.is-active { background: var(--gold); color: var(--green-dark); }
.lang-switcher__link--static { color: var(--white); }
.lang-switcher__link--static.is-active { background: var(--gold); color: var(--green-dark); }

/* ---------- Hero (s1) — فاخر ---------- */
.section--hero {
	position: relative;
	background: var(--green-dark);
	background: linear-gradient(135deg, #0a241c 0%, #0B3D2E 55%, #114a38 100%);
	color: var(--cream);
	overflow: hidden;
	padding: 60px 0 90px;
}
.section--hero__bg {
	position: absolute;
	inset: 0;
	opacity: 0.12;
	background-size: cover;
	background-position: center;
	mix-blend-mode: soft-light;
	pointer-events: none;
}
.section--hero__art {
	position: absolute;
	left: 50%;
	top: 30px;
	width: 900px;
	height: 600px;
	transform: translateX(-50%);
	opacity: 0.08;
	pointer-events: none;
}
.section--hero__inner {
	position: relative;
	z-index: 2;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 20px;
	display: grid;
	grid-template-columns: 360px 1fr;
	align-items: center;
	gap: 60px;
}
/* صورة الرئيس */
.section--hero__media { position: relative; width: 100%; max-width: 360px; margin: 0 auto; }
.section--hero__photo-frame {
	position: relative;
	border-radius: 24px;
	padding: 8px;
	background: linear-gradient(140deg, #d9b98a, #8c7340);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.section--hero__photo-frame::before {
	content: "";
	position: absolute;
	inset: -6px;
	border-radius: 30px;
	background: linear-gradient(140deg, rgba(197, 164, 109, 0.6), transparent 55%, rgba(197, 164, 109, 0.35));
	filter: blur(10px);
	z-index: -1;
}
.section--hero__photo {
	display: block;
	width: 100%;
	height: 400px;
	object-fit: cover;
	object-position: top center;
	border-radius: 18px;
	border: 3px solid var(--gold);
}
.section--hero__caption {
	position: absolute;
	bottom: 22px;
	left: 20px;
	right: 20px;
	background: rgba(0, 0, 0, 0.65);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: #fff;
	font-size: 12px;
	border-radius: 14px;
	padding: 10px 14px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}
.section--hero__caption-badge {
	background: var(--gold);
	color: #0B3D2E;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 800;
	white-space: nowrap;
}
/* المحتوى */
.section--hero__content { color: #fff; }
.section--hero__badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(197, 164, 109, 0.35);
	border-radius: 999px;
	padding: 6px 18px;
	font-size: 12px;
	letter-spacing: 0.14em;
	font-weight: 700;
	color: var(--gold);
}
.section--hero__tagline {
	color: var(--gold);
	font-weight: 700;
	letter-spacing: 0.12em;
	font-size: 13px;
	margin: 16px 0 10px;
}
.section--hero__title {
	color: #fff;
	font-size: clamp(30px, 4.6vw, 50px);
	font-weight: 900;
	line-height: 1.1;
	margin: 0;
}
.section--hero__lang { display: flex; flex-wrap: wrap; gap: 10px; font-size: 11px; opacity: 0.85; margin-top: 12px; color: var(--cream); }
.section--hero__subtitle {
	color: rgba(255, 255, 255, 0.82);
	font-size: 15px;
	line-height: 1.9;
	max-width: 640px;
	margin: 18px 0 0;
}
.section--hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn--glass {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(197, 164, 109, 0.55);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	color: #fff;
	border-radius: 999px;
	padding: 12px 24px;
	font-weight: 800;
	font-size: 14px;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
	transition: all 0.25s ease;
}
.btn--glass:hover {
	background: var(--gold);
	color: #0B3D2E;
	border-color: var(--gold);
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(197, 164, 109, 0.35);
}
.section--hero__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 130px));
	gap: 14px;
	margin-top: 34px;
	max-width: 480px;
}
.section--hero__stat {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	padding: 14px 10px;
	text-align: center;
}
.section--hero__stat-value { display: block; font-size: 26px; font-weight: 900; color: var(--gold); }
.section--hero__stat-label { display: block; font-size: 11px; opacity: 0.75; margin-top: 2px; }
/* LTR */
html[dir="ltr"] .section--hero__actions, html[dir="ltr"] .section--hero__stats { justify-content: start; }

/* ---------- Breaking news ticker ---------- */
.ticker {
	display: flex;
	align-items: stretch;
	background: #000;
	color: var(--gold);
	border-top: 1px solid rgba(197, 164, 109, 0.35);
	border-bottom: 1px solid rgba(197, 164, 109, 0.35);
	overflow: hidden;
	height: 44px;
}
.ticker__label {
	display: grid;
	place-items: center;
	background: var(--gold);
	color: #0B3D2E;
	font-weight: 900;
	font-size: 13px;
	padding: 0 20px;
	flex-shrink: 0;
	z-index: 2;
	clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
	margin-inline-end: -12px;
}
.ticker__viewport { flex: 1; overflow: hidden; display: flex; align-items: center; }
.ticker__track {
	display: inline-flex;
	align-items: center;
	gap: 40px;
	white-space: nowrap;
	min-width: max-content;
	animation: ticker-scroll 40s linear infinite;
	padding-inline-start: 20px;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
	color: var(--gold);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	transition: color 0.2s;
}
.ticker__item::before { content: "◆"; color: var(--gold); font-size: 9px; }
.ticker__item:hover { color: #fff; }
html[dir="ltr"] .ticker__label { clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%); margin-inline-end: 0; margin-inline-start: -12px; }
@keyframes ticker-scroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(50%); }
}
html[dir="ltr"] .ticker__track { animation-name: ticker-scroll-ltr; }
@keyframes ticker-scroll-ltr {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.ticker__track { animation: none; }
}

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section--alt { background: var(--cream); }
.section--subscribe {
	background: var(--green);
	color: var(--cream);
	text-align: center;
}
.section--subscribe .section__title { color: var(--gold); }

.section__header { text-align: center; margin-bottom: 52px; }
.section__title { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin: 0 0 6px; }
.section__title a { color: inherit; }
.section__title a:hover { color: var(--gold-dark); }
.section__eyebrow {
	display: inline-block;
	color: var(--gold-dark);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.5px;
	background: var(--cream);
	border: 1px solid var(--gold);
	border-radius: 999px;
	padding: 4px 16px;
	margin-bottom: 12px;
}
.section--alt .section__eyebrow { background: var(--white); }
.section__more {
	display: block;
	margin-top: 18px;
	color: var(--gold-dark);
	font-weight: 600;
}
.section__empty { text-align: center; color: var(--gray); }

/* ---------- Grids ---------- */
.grid {
	display: grid;
	gap: 28px;
}
.grid--members { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid--units { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid--list { grid-template-columns: 1fr; }
.grid--books { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.grid--articles { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid--events { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid--partners { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.grid--gallery { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid--archive { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* ---------- Section notes / chips (s17, s18) ---------- */
.section__note {
	display: inline-block;
	background: #fffbeb;
	border: 1px solid #fde68a;
	background: var(--cream);
	border-color: var(--gold-light);
	color: var(--green);
	border-radius: 999px;
	padding: 8px 18px;
	font-size: 13px;
	margin: 0 0 28px;
}
.chip-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.chip-grid__item {
	background: var(--cream);
	border: 1px solid rgba(197, 164, 109, 0.25);
	border-radius: 12px;
	padding: 14px;
	text-align: center;
	font-weight: 700;
	font-size: 14px;
	color: var(--green);
}
.chip-grid--dark .chip-grid__item {
	background: var(--green);
	color: var(--white);
	border-color: var(--green);
}

/* ---------- Media centre (s19) ---------- */
.media-centre {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 16px;
}
.media-centre__col {
	background: var(--cream);
	border: 1px solid rgba(197, 164, 109, 0.25);
	border-radius: 16px;
	padding: 20px;
}
.media-centre__col--dark {
	background: var(--green);
	border-color: transparent;
}
.media-centre__label {
	font-weight: 800;
	font-size: 16px;
	color: var(--green);
}
.media-centre__col--dark .media-centre__label { color: var(--gold); }
.media-centre__list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.media-centre__list li { font-size: 13px; color: #6b7280; }
.media-centre__col--dark .media-centre__list li { color: rgba(255, 255, 255, 0.85); }
.media-centre__list li::before { content: "• "; color: var(--gold); }

/* ---------- Social map (s22) ---------- */
.social-map {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 16px;
}
.social-map__system {
	background: var(--cream);
	border: 1px solid rgba(197, 164, 109, 0.25);
	border-radius: 18px;
	padding: 18px;
}
.social-map__name { font-weight: 800; font-size: 15px; color: var(--green); }
.social-map__platforms {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	margin-top: 14px;
}
.social-map__platform {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	background: var(--white);
	border: 1px solid rgba(11, 61, 46, 0.12);
	border-radius: 999px;
	padding: 7px 4px;
	text-align: center;
	font-size: 10px;
	font-weight: 700;
	color: var(--green);
	text-decoration: none;
	transition: all 0.2s;
}
a.social-map__platform:hover {
	border-color: var(--gold);
	box-shadow: 0 6px 16px rgba(11, 61, 46, 0.12);
	transform: translateY(-2px);
}
.social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}
.social-icon svg { width: 100%; height: 100%; display: block; }

.site-footer__social .social-icon {
	width: 16px;
	height: 16px;
}
.site-footer__social a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #cfe0d7;
}
.site-footer__social a:hover { color: var(--gold); }

/* ---------- Languages (s23) ---------- */
.section--languages { background: var(--green); color: var(--white); }
.section--languages__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.section--languages .section__title { color: var(--white); }
.section--languages__hint { font-size: 13px; opacity: 0.7; margin: 6px 0 0; }
.section--languages__switch { display: flex; gap: 10px; }
.lang-switcher__link--static {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: var(--white);
}
.lang-switcher__link--static.is-active {
	background: var(--white);
	color: var(--green);
}

/* ---------- Legal chips (s24) ---------- */
.legal-chips {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.legal-chips__item {
	background: var(--cream);
	border: 1px solid rgba(197, 164, 109, 0.25);
	border-radius: 12px;
	padding: 12px;
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	color: var(--green);
}

/* ---------- Cards ---------- */
.card {
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
	display: flex;
	flex-direction: column;
	position: relative;
	border: 1px solid transparent;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(11, 61, 46, 0.16); }
.card:hover .card__title a { color: var(--gold-dark); }
.card__media { aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__title { font-size: 18px; font-weight: 700; margin: 0; }
.card__title a { color: var(--green); transition: color 0.25s; }
.card__meta { color: var(--gold-dark); font-size: 14px; margin: 0; }
.card__brief { color: #55645c; font-size: 14px; margin: 0; }
.card__link { color: var(--gold-dark); font-weight: 600; margin-top: auto; font-size: 14px; }
.card--row { flex-direction: row; gap: 20px; }
.card--row .card__media { aspect-ratio: 1 / 1; width: 190px; flex-shrink: 0; min-height: 170px; }
.card--event .card__date {
	background: var(--gold);
	color: var(--white);
	padding: 10px 16px;
	font-weight: 700;
	border-radius: var(--radius) var(--radius) 0 0;
}
.card__actions { display: flex; gap: 14px; margin-top: auto; flex-wrap: wrap; }

/* بطاقات ملونة ومميزة حسب المحتوى */
.card--member { border-top: 5px solid var(--gold); }
.card--member .card__media { aspect-ratio: 1 / 1; }
.card--member:hover { border-color: var(--gold); }
.card--book { border-top: 5px solid #6b4fb8; }
.card--book:hover { border-color: #6b4fb8; }
.card--book .card__title a:hover { color: #6b4fb8; }
.card--article { border-top: 5px solid #0e7a63; }
.card--article:hover { border-color: #0e7a63; }
.card--article .card__title a:hover { color: #0e7a63; }
.card--event { border-top: 5px solid #c0552b; }
.card--event:hover { border-color: #c0552b; }

/* بلاطات الوحدات: تدرجات لونية متناوبة */
.tile {
	background: var(--white);
	border: 1px solid #e7e2d8;
	border-radius: var(--radius);
	padding: 26px 24px;
	text-align: center;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}
.tile::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 5px;
	background: linear-gradient(90deg, var(--gold), #8c7340);
	opacity: 0;
	transition: opacity 0.3s;
}
.tile:hover::before { opacity: 1; }
.tile:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 16px 38px rgba(11, 61, 46, 0.14); }
.tile__title { font-size: 18px; margin: 0 0 8px; color: var(--green); }
.tile__title a { color: inherit; text-decoration: none; }
.tile__title a:hover { color: var(--gold-dark); }
.tile__price { color: var(--gold-dark); font-weight: 700; }
.grid--units .tile:nth-child(3n+1) { background: linear-gradient(180deg, #fbfaf7, #f3eee4); }
.grid--units .tile:nth-child(3n+1)::before { background: linear-gradient(90deg, #C5A46D, #8c7340); }
.grid--units .tile:nth-child(3n+2) { background: linear-gradient(180deg, #f7fbf9, #e9f3ee); }
.grid--units .tile:nth-child(3n+2)::before { background: linear-gradient(90deg, #0B7A5E, #0B3D2E); }
.grid--units .tile:nth-child(3n+3) { background: linear-gradient(180deg, #faf8fd, #efe8f7); }
.grid--units .tile:nth-child(3n+3)::before { background: linear-gradient(90deg, #6b4fb8, #4a3390); }

.partner {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 18px;
	min-height: 90px;
}
.partner img { max-height: 56px; width: auto; object-fit: contain; }
.partner__name { color: var(--green); font-weight: 700; }

.gallery__item {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	display: block;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__caption {
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
	background: linear-gradient(transparent, rgba(11, 61, 46, 0.9));
	color: #fff;
	padding: 30px 14px 12px;
	font-size: 14px;
}

/* ---------- Observatories (s8 — المرصد الاستراتيجي) ---------- */
.observatory-card {
	background: var(--white);
	border: 1px solid rgba(197, 164, 109, 0.25);
	border-radius: 28px;
	padding: 24px;
	overflow: hidden;
}
.observatory-card__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}
.observatory-card__intro { color: #44534b; font-size: 14px; max-width: 720px; margin-top: 8px; }
.observatory-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin-top: 24px;
}
@media (min-width: 640px) {
	.observatory-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.observatory-grid { grid-template-columns: repeat(4, 1fr); }
	.observatory-card { padding: 32px; }
}
.observatory-grid__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	background: var(--cream);
	border: 1px solid rgba(11, 61, 46, 0.12);
	border-radius: 16px;
	padding: 12px 14px;
	font-size: 13px;
	font-weight: 700;
	color: var(--green);
	text-decoration: none;
	transition: all 0.2s;
}
a.observatory-grid__item:hover {
	border-color: var(--green);
	box-shadow: 0 8px 20px rgba(11, 61, 46, 0.12);
	transform: translateY(-2px);
}
.observatory-grid__arrow {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--green);
	color: var(--white);
	display: grid;
	place-items: center;
	font-size: 12px;
	line-height: 1;
	flex-shrink: 0;
}
a.observatory-grid__item:hover .observatory-grid__arrow { background: var(--gold); }
.section-about__content { max-width: 860px; margin: 0 auto; text-align: center; color: #44534b; }

/* ---------- Tabs (رؤية اليوم) ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.tabs__link {
	background: var(--white);
	border: 1px solid #e5e7eb;
	color: var(--green);
	border-radius: 999px;
	padding: 8px 20px;
	font-size: 14px;
	font-weight: 600;
	transition: all 0.2s;
}
.tabs__link:hover, .tabs__link.is-active { background: var(--green); color: var(--white); }

/* ---------- President ---------- */
.president {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 44px;
	align-items: start;
	max-width: 980px;
	margin: 0 auto;
}
.president__photo {
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	aspect-ratio: 3 / 4;
}
.president__photo img { width: 100%; height: 100%; object-fit: cover; }
.president__name { font-size: 26px; font-weight: 800; color: var(--green); margin: 0 0 16px; }
.president__bio { color: #44534b; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 28px; max-width: 900px; margin: 0 auto; }
.contact__info { text-align: center; }
.contact__line { margin: 8px 0; color: #44534b; }
.contact__form .widget { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.contact__map iframe { width: 100%; border-radius: var(--radius); border: 0; min-height: 340px; }

/* ---------- Newsletter ---------- */
.newsletter-form { display: flex; gap: 12px; flex-wrap: wrap; }
.newsletter-form input[type="email"] {
	flex: 1;
	min-width: 240px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 12px 16px;
	font-family: inherit;
}
.newsletter-form--center { max-width: 520px; margin: 24px auto 0; }
.site-footer .newsletter-form input[type="email"] { background: rgba(255, 255, 255, 0.06); border-color: rgba(197, 164, 109, 0.35); color: var(--cream); }

/* ---------- Single / pages ---------- */
.entry__header { background: var(--green); padding: 70px 0 54px; text-align: center; }
.entry__title { color: #fff; font-size: clamp(22px, 4vw, 36px); margin: 0; }
.entry__meta { color: var(--gold); }
.entry__crumbs { margin: 0 0 14px; }
.entry__crumbs a { color: var(--gold); font-size: 14px; }
.entry__extra { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; background: var(--cream); padding: 20px; border-radius: var(--radius); }
.entry__media { margin: -40px auto 0; position: relative; z-index: 2; max-width: 820px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.entry__content { max-width: 820px; margin: 0 auto; padding-top: 44px; }
.entry__content img { border-radius: var(--radius); }
.entry__footer { margin-top: 34px; padding-top: 18px; border-top: 1px solid #e5e7eb; }
.page-links a { margin: 0 4px; }

.archive__header { text-align: center; padding: 60px 0 10px; }
.archive__title { font-size: clamp(24px, 3vw, 36px); }
.archive__description { color: #55645c; }
.archive { padding-bottom: 90px; }

/* ---------- 404 ---------- */
.error-404 { text-align: center; padding: 100px 0; }
.error-404__code { font-size: 110px; font-weight: 900; color: var(--gold); margin: 0; line-height: 1; }
.error-404__text { font-size: 20px; margin: 12px 0 30px; }
.search-form { display: inline-flex; gap: 8px; max-width: 420px; width: 90%; margin-top: 20px; }
.search-form input[type="search"] { flex: 1; padding: 12px; border: 1px solid #e5e7eb; border-radius: 10px; }
.search-form button { border: 0; background: var(--green); color: var(--white); padding: 0 20px; border-radius: 10px; cursor: pointer; }

/* ---------- Page templates (about / contact / news) ---------- */
.page-hero {
	background: linear-gradient(135deg, var(--green-dark), var(--green));
	color: var(--cream);
	text-align: center;
	padding: 80px 0 60px;
	margin-bottom: 60px;
}
.page-hero__title { color: #fff; font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; margin: 12px 0 0; }
.page-block { margin-bottom: 40px; font-size: 17px; line-height: 2; }
.page-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.grid--about-blocks .tile { text-align: right; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-dark); color: var(--cream); padding-top: 70px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 44px; padding-bottom: 50px; }
.site-footer__title { color: var(--gold); font-size: 18px; margin: 0 0 18px; }
.site-footer__about { color: #aebbb3; font-size: 14px; }
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links li { margin-bottom: 10px; }
.site-footer__links a { color: #cfe0d7; transition: color 0.2s; }
.site-footer__links a:hover { color: var(--gold); }
.site-footer__social { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__social a { color: #cfe0d7; }
.site-footer__social a:hover { color: var(--gold); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 20px 0; text-align: center; font-size: 13px; color: #8ba19a; }

/* ---------- Pagination ---------- */
.nav-links { display: flex; gap: 10px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	color: var(--green);
	transition: all 0.2s;
}
.nav-links .page-numbers.current, .nav-links .page-numbers:hover { background: var(--green); color: var(--white); border-color: var(--green); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.section--hero__inner { grid-template-columns: 300px 1fr; gap: 40px; }
}
@media (max-width: 900px) {
	.main-navigation ul {
		display: none;
		position: absolute;
		top: 76px;
		right: 0;
		left: 0;
		background: var(--green-dark);
		flex-direction: column;
		padding: 20px;
		gap: 4px;
	}
	.main-navigation ul.is-open { display: flex; }
	.menu-toggle { display: block; }
	.president { grid-template-columns: 1fr; }
	.card--row { flex-direction: column; }
	.card--row .card__media { width: 100%; aspect-ratio: 4 / 3; }
	.section { padding: 60px 0; }
	.section--hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
	.section--hero__media { max-width: 300px; margin: 0 auto; }
	.section--hero__title { font-size: clamp(28px, 6vw, 40px); }
	.section--hero__actions, .section--hero__stats, .section--hero__lang { justify-content: center; }
	.section--hero__stats { grid-template-columns: repeat(3, 1fr); max-width: 420px; margin-left: auto; margin-right: auto; }
}
/* ==========================================================================
   ORIGINAL WIREFRAME — white rounded cards + chips (كما في الملف الأصلي)
   كل قسم داخل بطاقة بيضاء rounded-[28px] border ذهبي، بعنوان مرقّم.
   ========================================================================== */
.page-card {
	background: var(--white);
	border: 1px solid rgba(197, 164, 109, 0.25);
	border-radius: 28px;
	padding: 24px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}
@media (min-width: 640px) { .page-card { padding: 32px; } }
.page-card > .section__header { text-align: right; gap: 10px; margin-bottom: 20px; }
.page-card > .section__header .section__title { font-size: clamp(20px, 2.4vw, 26px); }
.page-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 6px;
}
.page-card__title { font-size: clamp(18px, 2.2vw, 24px); font-weight: 900; color: var(--green); margin: 0; }
.page-card__title .page-card__no { color: var(--gold-dark); }
.page-card__sub { font-size: 12px; color: #6b7280; opacity: .85; margin: 4px 0 0; }
.page-card__hint { color: #6b7280; font-size: 12px; }
.page-card__btn {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	transition: all .2s;
}
.page-card__btn--green { background: var(--green); color: var(--white); }
.page-card__btn--green:hover { background: var(--green-dark); color: var(--gold); }
.page-card__btn--gold { background: var(--gold); color: #000; }
.page-card__btn--gold:hover { filter: brightness(1.05); color: #000; }
.page-card__body { margin-top: 16px; }

/* شهر — حبة عامة (chip) */
.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	background: var(--cream);
	border: 1px solid rgba(0, 0, 0, 0.08);
	color: var(--green);
	text-decoration: none;
	white-space: nowrap;
	transition: all .2s;
}
a.chip:hover { background: var(--green); color: var(--white); border-color: var(--green); }
.chip--dark { background: var(--green); color: var(--white); border-color: transparent; }
.chip--dark a, a.chip--dark { color: var(--white); }
a.chip--dark:hover { background: var(--gold); color: #000; }
.chip--gold { background: var(--gold); color: #000; border-color: transparent; }
a.chip--gold:hover { background: var(--green); color: var(--white); }
.chip--white { background: var(--white); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* شبكات الحبات */
.chip-grid {
	display: grid;
	gap: 8px;
}
.chip-grid--2 { grid-template-columns: repeat(2, 1fr); }
.chip-grid--3 { grid-template-columns: repeat(3, 1fr); }
.chip-grid--4 { grid-template-columns: repeat(4, 1fr); }
.chip-grid--5 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) {
	.chip-grid--5 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
	.chip-grid--5 { grid-template-columns: repeat(5, 1fr); }
	.chip-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.chip-grid .chip { justify-content: center; padding: 10px 8px; }

/* بطاقة المحتوى الداخلية (نمط بطاقات الدراسات/الكتب/المقالات) */
.item-card {
	position: relative;
	background: var(--cream);
	border: 1px solid rgba(11, 61, 46, 0.12);
	border-radius: 20px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-decoration: none;
	transition: all .2s;
}
a.item-card:hover { border-color: var(--gold); box-shadow: 0 10px 24px rgba(11,61,46,.10); transform: translateY(-2px); }
.item-card__badge {
	align-self: flex-start;
	font-size: 10px;
	font-weight: 800;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--green);
	color: var(--white);
}
.item-card__title { font-size: 14px; font-weight: 700; color: var(--green); line-height: 1.6; }
.item-card__meta { font-size: 11px; color: #667; opacity: .85; line-height: 1.7; }

/* كفاف الكتاب (غلاف placeholder) */
.book-cover {
	width: 64px;
	height: 82px;
	border-radius: 12px;
	background: var(--green);
	color: var(--gold);
	display: grid;
	place-items: center;
	font-size: 10px;
	font-weight: 900;
	flex-shrink: 0;
	overflow: hidden;
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }

/* شبكات */
.pg-grid { display: grid; gap: 16px; min-width: 0; }
.pg-grid > * { min-width: 0; }
.pg-grid--2 { grid-template-columns: 1fr; }
.pg-grid--3 { grid-template-columns: 1fr; }
.pg-grid--4 { grid-template-columns: 1fr; }
.pg-grid--9 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) {
	.pg-grid--2 { grid-template-columns: repeat(2, 1fr); }
	.pg-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.pg-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.pg-grid--2 { grid-template-columns: repeat(2, 1fr); }
	.pg-grid--3 { grid-template-columns: repeat(3, 1fr); }
	.pg-grid--4 { grid-template-columns: repeat(4, 1fr); }
	.pg-grid--9 { grid-template-columns: repeat(9, 1fr); }
}

/* حقل البحث (أسطواني) */
.field {
	width: 100%;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 999px;
	background: var(--cream);
	padding: 10px 18px;
	font-size: 14px;
	font-family: inherit;
	color: var(--ink);
}
.field:focus { outline: 2px solid var(--gold); border-color: transparent; }
.field-row { display: flex; gap: 10px; flex-wrap: wrap; }
.field-row .field { flex: 1; min-width: 0; }

/* صف إحصائيات */
.stat-box {
	background: var(--white);
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 16px;
	padding: 12px;
	text-align: center;
}
.stat-box__value { font-size: 22px; font-weight: 900; color: var(--green); line-height: 1.2; }
.stat-box__label { font-size: 11px; color: #667; }

/* لوحة معلومات جانبية داكنة */
.mini-panel {
	background: var(--green);
	color: var(--white);
	border-radius: 18px;
	padding: 18px;
}
.mini-panel--cream { background: var(--cream); color: var(--ink); border: 1px solid rgba(11,61,46,.12); }
.mini-panel__title { color: var(--gold); font-weight: 900; font-size: 14px; }
.mini-panel__row { display: flex; justify-content: space-between; font-size: 12px; padding: 5px 0; opacity: .9; }
.mini-panel ul { list-style: none; margin: 8px 0 0; padding: 0; }
.mini-panel ul li { font-size: 12px; padding: 2px 0; opacity: .85; }
.mini-panel ul li::before { content: "• "; color: var(--gold); }

/* نموذج بسيط */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, 1fr); } .form-grid .span-2 { grid-column: span 2; } }
.form-grid input, .form-grid textarea {
	width: 100%;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 999px;
	padding: 10px 16px;
	font-size: 12px;
	font-family: inherit;
	background: var(--white);
	color: var(--ink);
}
.form-grid textarea { border-radius: 18px; min-height: 84px; resize: vertical; }

/* شريط أخبار متحرك (marquee) */
.ticker-wrap { background: #000; color: var(--gold); overflow: hidden; }
.ticker-inner { display: flex; gap: 48px; width: max-content; padding: 10px 0; animation: ticker 40s linear infinite; font-size: 12px; font-weight: 700; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* بحث شامل */
.search-hero { display: flex; gap: 10px; flex-wrap: wrap; }
.search-hero input { flex: 1; min-width: 220px; border: 1px solid rgba(0,0,0,.12); border-radius: 999px; background: var(--cream); padding: 14px 20px; font-size: 14px; font-family: inherit; }
.search-hero button {
	flex-shrink: 0;
	padding: 14px 24px;
	border-radius: 999px;
	background: var(--green);
	color: var(--white);
	border: 0;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
}
.search-hero button:hover { background: var(--gold); color: #000; }

/* بطاقة العضو / الباحث */
.person-card {
	display: flex;
	gap: 12px;
	background: var(--cream);
	border: 1px solid rgba(197, 164, 109, 0.2);
	border-radius: 20px;
	padding: 16px;
}
.person-card__avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	overflow: hidden;
	border: 1px solid rgba(197, 164, 109, 0.4);
	flex-shrink: 0;
	display: grid;
	place-items: center;
	background: var(--green);
	color: var(--gold);
	font-weight: 900;
	font-size: 18px;
}
.person-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.person-card__role {
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--green);
	color: var(--white);
}
.person-card__name { font-size: 14px; font-weight: 900; color: var(--green); margin-top: 6px; }
.person-card__desc { font-size: 11px; color: #667; opacity: .9; line-height: 1.8; margin-top: 4px; }

/* عمودان عام */
.pg-cols { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 1024px) { .pg-cols--1fr-320 { grid-template-columns: 1fr 320px; } .pg-cols--2 { grid-template-columns: 1fr 1fr; } .pg-cols--260-1fr { grid-template-columns: 260px 1fr; } }

/* ---------- عن المركز (s2) ---------- */
.about-block { font-size: 14px; line-height: 1.9; color: #44534b; margin-bottom: 14px; }
.about-block__label { font-weight: 900; color: var(--green); }
.about-block__text { opacity: .85; }
.about-trio { margin: 8px 0 20px; }
.about-trio .mini-panel__title { color: var(--green); font-size: 13px; }
.about-trio p { margin: 6px 0 0; font-size: 12px; color: #556; line-height: 1.7; }
.about-values { border: 1px solid rgba(197, 164, 109, 0.25); border-radius: 18px; padding: 16px; margin-bottom: 20px; background: var(--white); }
.about-values__title { font-weight: 900; font-size: 13px; color: var(--green); margin-bottom: 10px; }
.mini-panel__txt { font-size: 12px; line-height: 1.7; margin: 8px 0 0; opacity: .9; color: inherit; }
.mini-panel--cream .mini-panel__title a { color: var(--green); }
.pg-aside { display: flex; flex-direction: column; gap: 4px; }
.pg-aside__stats { margin-top: 14px; }
.pg-aside__note { font-size: 11px; opacity: .6; margin-top: 12px; }

/* ---------- بطاقة داكنة + حبات شبحية (s10, s20, s39) ---------- */
.page-card--dark { background: var(--green); color: var(--white); }
.page-card--dark .page-card__title { color: var(--white); }
.page-card--dark .page-card__sub { color: rgba(255,255,255,.7); }
.page-card__accent { color: var(--gold); }
.chip--ghost { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: var(--white); }
a.chip--ghost:hover { background: var(--gold); color: #000; border-color: var(--gold); }
.chip-grid--6 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .chip-grid--6 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .chip-grid--6 { grid-template-columns: repeat(6, 1fr); } }

/* ---------- بطاقة عنصر بصور (s12, s14) ---------- */
.item-card__thumb { border-radius: 14px; overflow: hidden; margin-bottom: 4px; }
.item-card__thumb img { width: 100%; height: 150px; object-fit: cover; }

/* ---------- وحدة بحثية (s4) ---------- */
.unit-card {
	background: var(--cream);
	border: 1px solid rgba(197, 164, 109, 0.28);
	border-radius: 20px;
	padding: 16px;
	overflow: hidden;
}
.unit-card__title { font-size: 13px; font-weight: 900; color: var(--green); line-height: 1.6; overflow-wrap: anywhere; }
.unit-card__title a { color: inherit; }
.unit-card__title a:hover { color: var(--gold-dark); }
.unit-card__subs { margin-top: 10px; }
.unit-card__subs .chip { white-space: normal; text-align: center; }

/* ---------- بطاقة كتاب (s6) ---------- */
.book-card {
	display: flex;
	gap: 12px;
	background: var(--cream);
	border: 1px solid rgba(197, 164, 109, 0.25);
	border-radius: 20px;
	padding: 14px;
}
.book-card__meta { min-width: 0; }
.book-card__title { font-size: 14px; font-weight: 800; color: var(--green); line-height: 1.6; margin: 0; }
.book-card__title a { color: inherit; }
.book-card__info { font-size: 11px; color: #667; opacity: .9; margin-top: 6px; line-height: 1.8; }
.book-card__pdf { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 800; color: var(--gold-dark); border: 1px solid var(--gold); border-radius: 999px; padding: 2px 12px; }
.book-card__pdf:hover { background: var(--green); color: var(--white); border-color: var(--green); }

/* ---------- درس/بحث فرعي داخل البطاقات (s5, s12) ---------- */
.pg-card__list { margin-top: 18px; }
.pg-card__search { margin-top: 16px; }
.pg-card__pdf { display: inline-block; font-size: 11px; font-weight: 800; color: var(--gold-dark); border: 1px solid var(--gold); border-radius: 999px; padding: 2px 12px; align-self: flex-start; }
.pg-card__pdf:hover { background: var(--green); color: var(--white); }
.pg-card__tpl { margin-top: 18px; background: var(--green); color: var(--white); border-radius: 16px; padding: 14px; font-size: 12px; line-height: 2; }
.pg-card__tpl-title { color: var(--gold); font-weight: 900; }

/* ---------- مكتبة (s7) ---------- */
.pg-card__searchbox { margin-top: 16px; background: var(--cream); border: 1px solid rgba(11,61,46,.12); border-radius: 18px; padding: 16px; }
.pg-card__searchbox-title { font-weight: 900; font-size: 14px; color: var(--green); margin-bottom: 10px; }
.pg-card__searchform { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .pg-card__searchform { grid-template-columns: repeat(4, 1fr); } }
.pg-card__searchform .chip { justify-content: center; }

/* ---------- استشارات/تدريب + نماذج (s15, s21) ---------- */
.pg-card__cols15 { align-items: start; }
.pg-card__subblock { margin-top: 18px; }
.pg-card__subblock-title { font-size: 14px; font-weight: 900; color: var(--green); margin-bottom: 8px; }
.pg-card__form { background: var(--cream); border: 1px solid rgba(11,61,46,.12); border-radius: 20px; padding: 16px; }
.pg-card__form-title { font-weight: 900; font-size: 14px; color: var(--green); margin-bottom: 12px; }
.pg-card__submit { text-align: center; }
.pg-card__submit-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12px; }

/* ---------- باحث (s16) ---------- */
.person-card__cv { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 800; color: var(--gold-dark); border: 1px solid var(--gold); border-radius: 999px; padding: 2px 12px; }
.person-card__cv:hover { background: var(--green); color: var(--white); border-color: var(--green); }

/* ---------- شركاء (s17) ---------- */
.pg-card__note { display: inline-block; background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; border-radius: 999px; padding: 8px 18px; font-size: 11px; margin-bottom: 14px; }
.pg-card__partners { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .pg-card__partners { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .pg-card__partners { grid-template-columns: repeat(5, 1fr); } }
.partner-card { background: var(--cream); border: 1px solid rgba(11,61,46,.12); border-radius: 16px; padding: 14px; text-align: center; }
.partner-card__logo { height: 70px; display: grid; place-items: center; overflow: hidden; border-radius: 12px; background: var(--white); }
.partner-card__logo img { max-height: 100%; width: auto; object-fit: contain; }
.partner-card__logo span { font-size: 10px; color: #999; }
.partner-card__name { font-size: 12px; font-weight: 800; color: var(--green); margin-top: 10px; line-height: 1.5; }

/* ---------- إعلام (s18) ---------- */
.chip-media { padding: 14px; justify-content: center; border-radius: 16px; }

/* ---------- رئيس المركز (s20) ---------- */
.pg-card__president { align-items: start; }
.pg-card__president-photo { border-radius: 20px; overflow: hidden; border: 2px solid var(--gold); background: rgba(255,255,255,.08); }
.pg-card__president-photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.pg-card__president-photo-ph { display: grid; place-items: center; height: 320px; color: rgba(255,255,255,.5); font-size: 13px; }
.pg-card__president-name { font-size: 18px; font-weight: 900; color: var(--gold); line-height: 1.5; }
.pg-card__president-bio { font-size: 13px; color: rgba(255,255,255,.75); margin-top: 10px; line-height: 1.9; }
.pg-card__president-chips { margin-top: 14px; }
.pg-card__president-cv { margin-top: 18px; }

/* ---------- تواصل (s21) ---------- */
.pg-card__cols21 { align-items: start; }
.pg-card__contact { color: #667; opacity: .9; font-size: 13px; margin-top: 16px; line-height: 2; }
.pg-card__contact a { color: var(--green); }
.pg-card__contact a:hover { color: var(--gold-dark); }

/* ---------- وسائط (s19 + صفحة مركز الوسائط) ---------- */
.mini-panel--cream .mini-panel__title { color: var(--green); }
.mini-panel a { color: inherit; }
.mini-panel a:hover { color: var(--gold-dark); }
.media-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.media-tabs__link { padding: 8px 18px; border-radius: 999px; background: var(--cream); border: 1px solid rgba(11,61,46,.12); font-size: 13px; font-weight: 700; color: var(--green); }
.media-tabs__link:hover { background: var(--green); color: var(--white); }
.media-tabs__link.is-active { background: var(--green); color: var(--white); }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.media-item { display: block; background: var(--cream); border-radius: 16px; overflow: hidden; border: 1px solid rgba(11,61,46,.12); text-decoration: none; }
.media-item__thumb { height: 130px; background: var(--white); display: grid; place-items: center; overflow: hidden; }
.media-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.media-item__thumb span { font-size: 10px; color: #999; }
.media-item__title { font-size: 12px; font-weight: 700; color: var(--green); padding: 10px; line-height: 1.6; }

/* ---------- اشتراك (s39) ---------- */
.page-card--subscribe { background: var(--green); color: var(--white); }
.page-card--subscribe .page-card__title { color: var(--gold); }
.pg-card__subscribe { align-items: center; }
.pg-card__subscribe-text { font-size: 12px; opacity: .7; color: var(--white); margin-top: 6px; }
.pg-card__subscribe-form { display: flex; gap: 10px; flex-wrap: wrap; }
.pg-card__subscribe-form input { flex: 1; min-width: 200px; border: 0; border-radius: 999px; padding: 12px 18px; font-size: 14px; font-family: inherit; }

/* ---------- s41 القائمة المختصرة + الشريط المتحرك ---------- */
.section--quicknav { background: #F9F6F0; border-top: 1px solid rgba(197,164,109,.20); }
.section--quicknav__inner { padding-block: 24px; }
.section--quicknav__title { font-size: 15px; font-weight: 900; color: #10201A; margin-bottom: 12px; }
.chip--black { background: #000; color: #fff; }
a.chip--black:hover { background: var(--gold); color: #000; }
.quicknav-marquee {
	margin-top: 14px;
	margin-inline: auto;
	width: min(100%, 1100px);
	border-radius: 999px;
	background: #000;
	color: #C5A46D;
	padding: 8px 0;
	font-size: 12px;
	font-weight: 700;
	overflow: hidden;
	white-space: nowrap;
	display: flex;
	gap: 0;
	min-width: 0;
}
.quicknav-marquee__track { display: inline-flex; gap: 14px; padding-inline-start: 22px; flex: 0 0 auto; animation: quicknav-scroll 32s linear infinite; }
.quicknav-marquee__track:last-child { padding-inline-start: 0; }
.quicknav-marquee__sep { opacity: .6; }
@keyframes quicknav-scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ---------- s40 Footer (أسود، حد ذهبي، 4 أعمدة) ---------- */
.site-footer {
	background: #000;
	color: #fff;
	border-top: 4px solid var(--gold);
	margin-top: 32px;
}
.site-footer__grid {
	max-width: var(--container);
	margin-inline: auto;
	padding: 40px 24px;
	display: grid;
	gap: 32px;
}
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); } }
.site-footer__brand { display: flex; align-items: center; gap: 12px; }
.site-footer__logo { width: 48px; height: 48px; border-radius: 999px; object-fit: cover; border: 1px solid rgba(197,164,109,.4); }
.site-footer__brand-name { font-weight: 900; }
.site-footer__brand-tag { font-size: 11px; color: var(--gold); margin-top: 2px; }
.site-footer__chips { margin-top: 16px; font-size: 12px; opacity: .7; line-height: 2.4; }
.site-footer__chips a { color: inherit; }
.site-footer__chips a:hover { color: var(--gold); }
.site-footer__title { font-weight: 900; color: var(--gold); }
.site-footer__links { font-size: 12px; opacity: .8; line-height: 1.9; margin-top: 10px; }
.site-footer__meta { margin-top: 12px; font-size: 12px; line-height: 1.9; direction: rtl; }
.site-footer__meta a { color: var(--gold); }
.site-footer__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.site-footer__badge {
	width: 34px; height: 34px;
	border-radius: 999px;
	background: rgba(255,255,255,.1);
	display: grid; place-items: center;
	color: #fff;
	transition: background .2s, color .2s;
}
.site-footer__badge:hover { background: var(--gold); color: #000; }
.site-footer__badge svg { width: 16px; height: 16px; }
.site-footer__lang { margin-top: 12px; font-size: 12px; color: var(--gold); }
.site-footer__card { border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); padding: 16px; }
.site-footer__card-copy { font-size: 11px; opacity: .6; }
.site-footer__card-tag { margin-top: 8px; color: var(--gold); font-weight: 900; }

/* ---------- القوائم المنسدلة (s41) ---------- */
.dropdown { position: relative; }
.dropdown__toggle { cursor: pointer; font-family: inherit; }
.dropdown__menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 50;
	min-width: 220px;
	background: var(--white);
	border: 1px solid rgba(197, 164, 109, 0.35);
	border-radius: 16px;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
	padding: 8px;
	display: grid;
	gap: 4px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .15s, transform .15s, visibility .15s;
}
.dropdown.is-open .dropdown__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown__item {
	display: block;
	padding: 8px 12px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 700;
	color: var(--green);
	background: var(--cream);
	text-decoration: none;
}
.dropdown__item:hover { background: var(--green); color: var(--white); }
@media (min-width: 768px) {
	.dropdown__menu { min-width: 240px; }
}
