/* ==========================================================================
   Hisn Al-Mateen — base (tokens, typography, layout primitives, motifs)
   ========================================================================== */
:root {
  --paper: #FBFAF6;
  --paper-2: #F4F1E8;
  --white: #FFFFFF;
  --ink: #141414;
  --ink-2: #34342F;
  --muted: #6A6A61;
  --line: #E6E1D3;
  --line-2: #D9D2BF;
  --green: #006233;
  --green-2: #0B7A41;
  --green-d: #004422;
  --green-dd: #062B18;
  --green-l: #E8F3EC;
  --red: #D21034;
  --red-d: #A80C29;
  --red-l: #FCEBEE;
  --gold: #E1B12C;
  --gold-2: #F2C94C;
  --gold-d: #B08410;
  --gold-t: #8A6508;
  --gold-l: #FBF4DC;
  --black: #111111;
  --radius: 18px;
  --radius-s: 12px;
  --shadow-s: 0 1px 2px rgba(20, 20, 20, .06), 0 4px 14px rgba(20, 20, 20, .05);
  --shadow: 0 2px 4px rgba(20, 20, 20, .05), 0 14px 40px rgba(20, 20, 20, .09);
  --shadow-l: 0 30px 80px rgba(6, 43, 24, .18);
  --f-body: 'Almarai', 'Noto Kufi Arabic', Tahoma, 'Segoe UI', sans-serif;
  --f-head: 'Noto Kufi Arabic', 'Almarai', Tahoma, sans-serif;
  --f-ruqaa: 'Aref Ruqaa', 'Amiri', 'Noto Naskh Arabic', serif;
  --f-num: 'Playfair Display', Georgia, serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --hdr-h: 86px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --rope: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='14' viewBox='0 0 10 14'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23FFE9A3'/%3E%3Cstop offset='.35' stop-color='%23F2C335'/%3E%3Cstop offset='1' stop-color='%23A97A0C'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M-6 13.2C-1 13.2 3 .8 8 .8h4C7 .8 3 13.2-2 13.2z' fill='url(%23g)' stroke='%23855E08' stroke-width='.6'/%3E%3Cpath d='M4 13.2C9 13.2 13 .8 18 .8h4c-5 0-9 12.4-14 12.4z' fill='url(%23g)' stroke='%23855E08' stroke-width='.6'/%3E%3C/svg%3E");
  --zellige: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23006233' stroke-width='1'%3E%3Cpath d='M32 10l6.4 15.6L54 32l-15.6 6.4L32 54l-6.4-15.6L10 32l15.6-6.4z'/%3E%3Crect x='19' y='19' width='26' height='26' transform='rotate(45 32 32)'/%3E%3Cpath d='M0 0l10 10M64 0L54 10M0 64l10-10M64 64L54 54'/%3E%3C/g%3E%3C/svg%3E");
  color-scheme: light;
}
html[lang="fr"], html[lang="en"] {
  --f-body: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --f-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 20px); }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.85;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
html[lang="fr"] body, html[lang="en"] body { font-size: 17.5px; line-height: 1.7; }
main { display: block; overflow-x: clip; }
img, svg, video { max-width: 100%; }
img { height: auto; display: block; }
a.media, a.th, .media, .th, .scan, .cover { display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--gold-2); color: var(--ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }

h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.35; margin: 0 0 .5em; color: var(--ink); letter-spacing: 0; }
html[lang="fr"] h1, html[lang="fr"] h2, html[lang="en"] h1, html[lang="en"] h2 { line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 5.2vw, 64px); font-weight: 800; }
h2 { font-size: clamp(27px, 3.4vw, 42px); font-weight: 800; }
h3 { font-size: clamp(19px, 1.7vw, 22px); font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(17.5px, 1.5vw, 20px); color: var(--ink-2); line-height: 1.95; }
html[lang="fr"] .lead, html[lang="en"] .lead { line-height: 1.65; }
.muted { color: var(--muted); }
.ruqaa { font-family: var(--f-ruqaa); font-weight: 700; line-height: 1.6; }
.num { font-family: var(--f-num); font-variant-numeric: lining-nums; }
.ar { font-family: 'Almarai', 'Noto Kufi Arabic', Tahoma, sans-serif; direction: rtl; unicode-bidi: isolate; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap-n { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section-s { padding-block: clamp(44px, 6vw, 76px); position: relative; }
.bg-white { background: var(--white); }
.bg-paper2 { background: var(--paper-2); }
.bg-green { background: var(--green-dd); color: #EDE9DD; }
.bg-green h2, .bg-green h3 { color: #fff; }
.bg-zel { position: relative; isolation: isolate; }
.bg-zel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--zellige) 0 0/64px 64px; opacity: .06; pointer-events: none;
  -webkit-mask: linear-gradient(180deg, #000, transparent 85%); mask: linear-gradient(180deg, #000, transparent 85%); }
.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }

/* --- signature motifs ---------------------------------------------------- */
.rope { height: 14px; background: var(--rope) repeat-x center / auto 100%; }
.rope-s { height: 9px; background: var(--rope) repeat-x center / auto 100%; }
.tri { height: 5px; background: linear-gradient(90deg, var(--green) 0 33.34%, #fff 0 66.67%, var(--red) 0); }
html[dir="rtl"] .tri { background: linear-gradient(270deg, var(--green) 0 33.34%, #fff 0 66.67%, var(--red) 0); }
.seam { position: relative; }
.seam::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 5px;
  background: linear-gradient(180deg, var(--green) 0 33.34%, #fff 0 66.67%, var(--red) 0); }
.star8 { display: inline-block; width: 1em; height: 1em; background: currentColor;
  clip-path: polygon(50% 0, 61% 26%, 85% 15%, 74% 39%, 100% 50%, 74% 61%, 85% 85%, 61% 74%, 50% 100%, 39% 74%, 15% 85%, 26% 61%, 0 50%, 26% 39%, 15% 15%, 39% 26%); }

/* --- section heads --------------------------------------------------------- */
.shead { margin-bottom: clamp(30px, 4vw, 52px); max-width: 760px; }
.shead.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--gold-t); letter-spacing: .02em; margin-bottom: 12px; }
html[lang="fr"] .kicker, html[lang="en"] .kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; }
.kicker .star8 { color: var(--red); font-size: 13px; }
.bg-green .kicker { color: var(--gold-2); }
.shead h2 { margin-bottom: 14px; }
.shead h2 em { font-style: normal; color: var(--green); position: relative; }
.bg-green .shead h2 em { color: var(--gold-2); }
.shead .rope-s { width: 120px; margin-top: 18px; border-radius: 3px; }
.shead.center .rope-s { margin-inline: auto; }
.shead p { color: var(--muted); font-size: 18px; margin: 0; }
.bg-green .shead p { color: #C9D3CB; }
.shead-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(26px, 3.5vw, 44px); }
.shead-row .shead { margin-bottom: 0; }

/* --- buttons ---------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px;
  border: 1.5px solid transparent; font-weight: 700; font-size: 16px; line-height: 1; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s; white-space: nowrap; }
.btn .ic { width: 20px; height: 20px; flex: none; }
html[dir="rtl"] .btn .ic-flip { transform: scaleX(-1); }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(210, 16, 52, .25); }
.btn-red:hover { background: var(--red-d); color: #fff; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(0, 98, 51, .22); }
.btn-green:hover { background: var(--green-d); color: #fff; }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--ink); border-color: var(--gold-d); }
.btn-gold:hover { color: var(--ink); filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.bg-green .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.bg-green .btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn-s { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green); }
.link .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link:hover .ic { transform: translateX(4px); }
html[dir="rtl"] .link .ic { transform: scaleX(-1); }
html[dir="rtl"] .link:hover .ic { transform: scaleX(-1) translateX(4px); }
.ic { width: 22px; height: 22px; flex: none; }

/* --- chips ------------------------------------------------------------------ */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.4;
  background: var(--green-l); color: var(--green-d); }
.chip.red { background: var(--red-l); color: var(--red-d); }
.chip.gold { background: var(--gold-l); color: var(--gold-t); }
.chip.ink { background: var(--ink); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { border: 1.5px solid var(--line-2); background: var(--white); border-radius: 999px; padding: 8px 16px; font-size: 14.5px; font-weight: 700; color: var(--ink-2); transition: .2s; }
.fchip:hover { border-color: var(--green); color: var(--green); }
.fchip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.fchip .n { font-family: var(--f-num); font-size: 12px; opacity: .7; margin-inline-start: 4px; }

/* --- reveal ------------------------------------------------------------------- */
[data-rv] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-rv].is-in { opacity: 1; transform: none; }
[data-rv="2"] { transition-delay: .12s; } [data-rv="3"] { transition-delay: .24s; } [data-rv="4"] { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) { [data-rv] { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.bg-green > .rope:first-child { position: absolute; top: 0; inset-inline: 0; }
.bg-green > .rope:last-child { position: absolute; bottom: 0; inset-inline: 0; }

/* ==========================================================================
   Header: national top bar, tricolour seam, sticky header with gold rope, ticker, drawer
   ========================================================================== */
.topbar { background: var(--green-dd); color: #D7DED6; font-size: 13.5px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; }
.tb-date { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.tb-date .ic { width: 16px; height: 16px; color: var(--gold-2); }
.tb-date .sep { opacity: .4; }
.tb-slogan { font-family: var(--f-ruqaa); font-size: 17px; color: var(--gold-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-links { display: flex; align-items: center; gap: 6px; }
.tb-links a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 8px; color: #D7DED6; }
.tb-links a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.tb-links .ic { width: 16px; height: 16px; }
.langs { display: inline-flex; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 2px; margin-inline-start: 6px; }
.langs a { padding: 2px 10px !important; border-radius: 999px !important; font-weight: 700; font-size: 12.5px; line-height: 1.8; }
.langs a[aria-current="true"] { background: var(--gold-2); color: var(--ink) !important; }
@media (max-width: 1040px) { .tb-slogan { display: none; } }
@media (max-width: 640px) { .tb-date .hijri, .tb-date .sep, .tb-links .tb-mail { display: none; } }

.hdr { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  transition: box-shadow .3s; }
.hdr.is-stuck { box-shadow: 0 10px 30px rgba(20, 20, 20, .08); }
.hdr-in { display: flex; align-items: center; gap: 22px; min-height: var(--hdr-h); transition: min-height .3s; }
.hdr.is-stuck .hdr-in { min-height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-logo { width: 58px; height: 58px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line), 0 6px 16px rgba(0, 0, 0, .1); background: #fff; transition: width .3s, height .3s; }
.hdr.is-stuck .brand-logo { width: 48px; height: 48px; }
.brand-t { display: flex; flex-direction: column; line-height: 1.25; }
.brand-t b { font-family: var(--f-head); font-size: 20px; font-weight: 800; white-space: nowrap; }
html[lang="fr"] .brand-t b, html[lang="en"] .brand-t b { font-size: 19px; }
.brand-t small { font-size: 12.5px; color: var(--gold-t); font-weight: 700; white-space: nowrap; }
.nav { margin-inline-start: auto; }
.nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-a { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; font-weight: 700; font-size: 15.5px; color: var(--ink-2); border-radius: 10px; white-space: nowrap; background: none; border: 0; font-family: inherit; }
.nav-a .chev { width: 15px; height: 15px; transition: transform .3s; opacity: .6; }
.nav-a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav-a:hover, .has-mega:hover > .nav-a, .has-mega.open > .nav-a { color: var(--green); }
.nav-a[aria-current="page"], .has-mega[data-cur] > .nav-a { color: var(--green); }
.nav-a[aria-current="page"]::after, .has-mega[data-cur] > .nav-a::after { transform: scaleX(1); }
.has-mega { position: static; }
.has-mega.open > .nav-a .chev { transform: rotate(180deg); }
.mega { position: absolute; inset-inline: 0; top: 100%; padding-top: 0; visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; pointer-events: none; }
.has-mega.open .mega { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
.mega-in { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; background: var(--white); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 22px 22px;
  box-shadow: 0 30px 60px rgba(6, 43, 24, .16); display: grid; grid-template-columns: 220px minmax(0, 1fr); overflow: hidden; }
.mega-head { background: var(--green-dd); color: var(--gold-2); padding: 26px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  background-image: var(--zellige); background-size: 60px 60px; background-blend-mode: soft-light; }
.mega-head .ruqaa { font-size: 34px; line-height: 1.3; }
.mega-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 18px; }
.mega-links a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; transition: background .2s; }
.mega-links a:hover, .mega-links a[aria-current="page"] { background: var(--green-l); color: var(--ink); }
.mega-links .mi { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); color: var(--green); border: 1px solid var(--line); }
.mega-links a:hover .mi { background: var(--green); color: #fff; border-color: var(--green); }
.mega-links b { display: block; font-size: 15px; color: var(--ink); line-height: 1.4; }
.mega-links small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.55; margin-top: 3px; }
.hdr-act { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff; align-items: center; justify-content: center; }
.burger .ic { width: 24px; height: 24px; }
.hdr .rope-s { opacity: .95; }
@media (max-width: 1280px) { .nav-a { padding: 10px 8px; font-size: 14.5px; } .hdr-in { gap: 12px; } .brand-t small { display: none; } }
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .hdr-act { margin-inline-start: auto; }
}
@media (max-width: 520px) {
  .brand-t small { display: none; }
  .brand-t b { font-size: 17px; }
  .brand-logo { width: 46px; height: 46px; }
  .hdr-act .btn { display: none; }
  :root { --hdr-h: 72px; }
}

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 120; display: grid; grid-template-columns: 1fr minmax(0, 420px); visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-bg { background: rgba(6, 43, 24, .55); opacity: 0; transition: opacity .35s; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-panel { background: var(--white); height: 100%; overflow-y: auto; transform: translateX(100%); transition: transform .45s var(--ease); display: flex; flex-direction: column; }
html[dir="rtl"] .drawer-panel { transform: translateX(-100%); }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-nav { display: flex; flex-direction: column; padding: 12px 12px 0; }
.drawer-nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px; font-family: var(--f-head); font-weight: 700; font-size: 19px; border-bottom: 1px dashed var(--line); }
.drawer-nav a[aria-current="page"] { color: var(--green); }
.drawer-nav a .ic { width: 18px; height: 18px; color: var(--gold-d); }
html[dir="rtl"] .drawer-nav a .ic { transform: scaleX(-1); }
.drawer-nav details { border-bottom: 1px dashed var(--line); }
.drawer-nav summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px; font-family: var(--f-head); font-weight: 700; font-size: 19px; cursor: pointer; list-style: none; }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav summary .ic { width: 18px; height: 18px; color: var(--gold-d); transition: transform .3s; }
.drawer-nav details[open] summary .ic { transform: rotate(180deg); }
.drawer-nav .dg { display: grid; padding: 0 12px 12px; }
.drawer-nav .dg a { font-family: var(--f-body); font-size: 16px; font-weight: 700; padding: 9px 14px; border: 0; border-inline-start: 2px solid var(--line); }
.drawer-nav .dg a[aria-current="page"] { border-color: var(--red); color: var(--green); }
.drawer-search { position: relative; margin: 14px 20px 0; }
.drawer-search input { width: 100%; height: 48px; border-radius: 999px; border: 1.5px solid var(--line-2); padding-inline: 44px 16px; background: var(--paper); }
.drawer-search .ic { position: absolute; top: 50%; inset-inline-start: 14px; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.drawer-foot { margin-top: auto; padding: 20px; display: grid; gap: 12px; background: var(--paper); }
.drawer-foot .ruqaa { font-size: 22px; color: var(--green); text-align: center; }
.drawer-langs { display: flex; gap: 8px; justify-content: center; }
.drawer-langs .dl { display: flex; gap: 8px; }
.drawer-langs a { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); font-weight: 700; }
.drawer-langs a[aria-current="true"] { background: var(--green); border-color: var(--green); color: #fff; }
body.no-scroll { overflow: hidden; }

/* ticker */
.ticker { display: flex; align-items: stretch; background: var(--white); border-bottom: 1px solid var(--line); min-height: 48px; position: relative; z-index: 2; }
.tk-label { flex: none; display: flex; align-items: center; gap: 10px; padding-inline: 18px 22px; background: var(--red); color: #fff; font-weight: 800; font-size: 14.5px; position: relative; }
.tk-label::after { content: ""; position: absolute; inset-block: 0; inset-inline-end: -14px; width: 14px; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); }
html[dir="rtl"] .tk-label::after { clip-path: polygon(100% 0, 0 50%, 100% 100%); }
.tk-dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.tk-track { flex: 1; overflow: hidden; display: flex; align-items: center; -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.tk-items { display: flex; gap: 48px; padding-inline: 34px; white-space: nowrap; animation: tk 60s linear infinite; will-change: transform; }
html[dir="rtl"] .tk-items { animation-name: tk-rtl; }
.ticker:hover .tk-items { animation-play-state: paused; }
.tk-items a { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; color: var(--ink-2); }
.tk-items a:hover { color: var(--green); }
.tk-items time { font-family: var(--f-num); font-size: 13px; color: var(--gold-t); font-weight: 600; }
.tk-items .star8 { color: var(--gold); font-size: 10px; }
@keyframes tk { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tk-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .tk-items { animation: none; } .tk-track { overflow-x: auto; } }
@media (max-width: 560px) { .tk-label { padding-inline: 12px 14px; font-size: 13px; } .tk-label span:not(.tk-dot) { display: none; } }
.tb-date { min-width: 0; flex: 1 1 auto; overflow: hidden; }
.tb-date [data-today] { overflow: hidden; text-overflow: ellipsis; }
.tb-links { flex: none; }
@media (max-width: 420px) { .tb-links .tb-search, .tb-date .ic { display: none; } .tb-links { gap: 2px; } .langs { margin-inline-start: 2px; } }
.tb-links .tb-admin { font-weight: 700; color: var(--gold-2); border: 1px solid rgba(242, 201, 76, .4); border-radius: 999px !important; padding: 3px 12px !important; }
.tb-links .tb-admin:hover { background: var(--gold-2); color: var(--ink); }
@media (max-width: 420px) { .tb-links .tb-admin span { display: none; } .tb-links .tb-admin { padding: 4px 8px !important; } }

/* ==========================================================================
   Home — arch hero, stats ribbon, newspaper front page, emblem explorer,
   objectives, causes, timeline, governance strip, press wall, join band
   ========================================================================== */

/* --- hero ------------------------------------------------------------------ */
.hero { position: relative; padding-block: clamp(40px, 6vw, 78px) clamp(70px, 8vw, 110px); overflow: hidden; isolation: isolate; background:
  radial-gradient(900px 520px at 12% 30%, rgba(225, 177, 44, .10), transparent 60%),
  radial-gradient(800px 600px at 90% 0%, rgba(0, 98, 51, .07), transparent 60%), var(--paper); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--zellige) 0 0 / 72px 72px; opacity: .055;
  -webkit-mask: radial-gradient(70% 80% at 20% 40%, #000, transparent 75%); mask: radial-gradient(70% 80% at 20% 40%, #000, transparent 75%); }
html[dir="rtl"] .hero::before { -webkit-mask: radial-gradient(70% 80% at 80% 40%, #000, transparent 75%); mask: radial-gradient(70% 80% at 80% 40%, #000, transparent 75%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px; background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-s); font-size: 14px; font-weight: 700; color: var(--ink-2); margin-bottom: 22px; }
html[dir="rtl"] .hero-eyebrow { padding: 7px 8px 7px 16px; }
.flag-dot { width: 26px; height: 18px; border-radius: 4px; flex: none; position: relative; overflow: hidden;
  background: linear-gradient(90deg, var(--green) 50%, #fff 50%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.flag-dot::before { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; left: 50%; top: 50%; transform: translate(-58%, -50%);
  box-shadow: -1.6px 0 0 1.4px var(--red); clip-path: inset(-3px 40% -3px -3px); }
.flag-dot::after { content: ""; position: absolute; width: 5px; height: 5px; left: 52%; top: 50%; transform: translate(-10%, -50%); background: var(--red);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.hero h1 { font-size: clamp(42px, 6.4vw, 84px); line-height: 1.12; margin-bottom: 14px; }
html[lang="fr"] .hero h1, html[lang="en"] .hero h1 { font-size: clamp(40px, 5.6vw, 74px); line-height: 1.04; }
.hero h1 .g { color: var(--green); }
.hero h1 .r { color: var(--red); }
.hero-slogan { display: flex; flex-wrap: wrap; gap: 4px 18px; font-family: var(--f-ruqaa); font-size: clamp(25px, 3vw, 38px); font-weight: 700; line-height: 1.55; margin-bottom: 18px; }
.hero-slogan span:nth-child(1) { color: var(--green); }
.hero-slogan span:nth-child(2) { color: var(--ink); }
.hero-slogan span:nth-child(3) { color: var(--red); }
.hero-slogan span:not(:last-child)::after { content: "◆"; font-size: .32em; color: var(--gold); margin-inline-start: 18px; vertical-align: middle; }
.hero-slogan.lat { font-family: var(--f-head); font-style: italic; font-weight: 600; font-size: clamp(20px, 2.1vw, 27px); }
.hero .lead { max-width: 600px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-live { margin-top: 30px; display: flex; align-items: center; gap: 14px; max-width: 600px; padding: 14px 18px; border-radius: 16px; background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.hero-live .live { flex: none; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; color: var(--red); letter-spacing: .04em; }
.hero-live .live i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: pulse-r 1.6s infinite; }
@keyframes pulse-r { 0% { box-shadow: 0 0 0 0 rgba(210, 16, 52, .55); } 70% { box-shadow: 0 0 0 9px rgba(210, 16, 52, 0); } 100% { box-shadow: 0 0 0 0 rgba(210, 16, 52, 0); } }
.hero-live a { font-weight: 700; color: var(--ink); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.6; }
.hero-live a:hover { color: var(--green); }
.hero-live time { flex: none; font-size: 13px; color: var(--muted); }

/* the arch */
.arch { position: relative; width: min(100%, 470px); aspect-ratio: 400 / 520; margin-inline: auto; }
.arch-ph { position: absolute; inset: 0; clip-path: url(#archclip); -webkit-clip-path: url(#archclip); background: var(--green-dd); }
.arch-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 7s linear; }
.arch-ph img.on { opacity: 1; transform: scale(1); }
.arch-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 43, 24, .75)); }
.arch-frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.arch-cap { position: absolute; inset-inline: 16%; bottom: 23%; z-index: 2; color: #fff; text-align: center; font-size: 14px; font-weight: 700; line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5); transition: opacity .6s; }
.arch-seal { position: absolute; left: 50%; bottom: -54px; transform: translateX(-50%); width: 140px; height: 140px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .9), 0 18px 40px rgba(6, 43, 24, .28); z-index: 3; display: grid; place-items: center; }
.arch-seal img { width: 128px; height: 128px; border-radius: 50%; animation: seal 40s linear infinite; animation-play-state: paused; }
.arch:hover .arch-seal img { animation-play-state: running; }
@keyframes seal { to { transform: rotate(360deg); } }
.arch-dots { position: absolute; bottom: 14%; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 3; }
.arch-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .45); transition: .3s; }
.arch-dots button.on { width: 22px; border-radius: 6px; background: var(--gold-2); }
.arch-side { position: absolute; top: 18%; inset-inline-end: -10%; width: 64px; z-index: 1; color: var(--gold); opacity: .9; }
@media (max-width: 920px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .hero-art { order: -1; margin-bottom: 64px; }
  .arch { width: min(78vw, 360px); }
  .arch-seal { width: 110px; height: 110px; bottom: -44px; }
  .arch-seal img { width: 100px; height: 100px; }
  .hero-text { text-align: center; }
  .hero-slogan, .hero-cta { justify-content: center; }
  .hero .lead, .hero-live { margin-inline: auto; }
  .hero-live { text-align: start; }
}

/* --- stats ribbon --------------------------------------------------------- */
.ribbon { position: relative; background: var(--green-dd); color: #fff; }
.ribbon .rope { position: absolute; inset-inline: 0; }
.ribbon .rope.t { top: -7px; } .ribbon .rope.b { bottom: -7px; }
.ribbon-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 30px 20px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; inset-block: 26%; inset-inline-start: 0; width: 1px; background: linear-gradient(180deg, transparent, rgba(242, 201, 76, .55), transparent); }
.stat b { display: block; font-family: var(--f-num); font-size: clamp(34px, 4vw, 52px); font-weight: 800; color: var(--gold-2); line-height: 1.1; }
.stat span { font-size: 15px; color: #CBD6CE; font-weight: 700; }
@media (max-width: 760px) { .ribbon-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(3)::before { display: none; } }

/* --- newspaper front page -------------------------------------------------- */
.paper { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 6px; padding: clamp(18px, 3vw, 38px); position: relative; }
.paper::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--line); border-radius: 3px; pointer-events: none; }
.masthead { text-align: center; padding-bottom: 14px; }
.masthead .mh-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); font-weight: 700; border-bottom: 1px solid var(--ink); padding-bottom: 8px; }
.masthead .mh-title { font-family: var(--f-ruqaa); font-size: clamp(44px, 7vw, 92px); line-height: 1.25; margin: 6px 0 0; color: var(--ink); display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 26px); }
.masthead .mh-title img { width: clamp(44px, 6vw, 76px); height: auto; }
.masthead .mh-title.lat { font-family: var(--f-head); font-weight: 800; letter-spacing: -.02em; font-size: clamp(36px, 5.6vw, 72px); }
.masthead .mh-sub { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; border-block: 3px double var(--ink); padding: 7px 0; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.masthead .mh-sub span { display: inline-flex; align-items: center; gap: 8px; }
.masthead .mh-sub .star8 { color: var(--red); font-size: 9px; }
.fp { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 0; margin-top: 22px; }
.fp-lead { padding-inline-end: clamp(16px, 2.5vw, 30px); border-inline-end: 1px solid var(--line); }
.fp-side { padding-inline-start: clamp(16px, 2.5vw, 30px); display: flex; flex-direction: column; }
.fp-lead .media { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper-2); margin-bottom: 16px; }
.fp-lead .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.fp-lead:hover .media img { transform: scale(1.04); }
.fp-lead .media .chip { position: absolute; top: 14px; inset-inline-start: 14px; }
.fp-lead h3 { font-size: clamp(24px, 2.7vw, 36px); line-height: 1.4; font-weight: 800; margin-bottom: 10px; }
html[lang="fr"] .fp-lead h3, html[lang="en"] .fp-lead h3 { line-height: 1.18; }
.fp-lead h3 a:hover { color: var(--green); }
.fp-lead p { color: var(--ink-2); font-size: 17px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 13.5px; color: var(--muted); font-weight: 700; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta .ic { width: 16px; height: 16px; color: var(--gold-d); }
.fp-item { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fp-item:first-child { padding-top: 0; }
.fp-item .th { aspect-ratio: 1; border-radius: 4px; overflow: hidden; background: var(--paper-2); }
.fp-item .th img { width: 100%; height: 100%; object-fit: cover; }
.fp-item h4 { font-family: var(--f-head); font-size: 16.5px; line-height: 1.6; font-weight: 700; margin: 4px 0 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
html[lang="fr"] .fp-item h4, html[lang="en"] .fp-item h4 { line-height: 1.3; }
.fp-item .cat { font-size: 12.5px; font-weight: 800; color: var(--red); }
.fp-brief { margin-top: 18px; padding-top: 16px; border-top: 3px double var(--ink); }
.fp-brief h5 { font-family: var(--f-head); font-size: 15px; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.fp-brief ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fp-brief li a { display: flex; gap: 10px; font-size: 15px; font-weight: 700; line-height: 1.6; color: var(--ink-2); }
.fp-brief li a:hover { color: var(--green); }
.fp-brief li time { flex: none; font-family: var(--f-num); font-size: 12.5px; color: var(--gold-t); min-width: 52px; padding-top: 2px; }
.fp-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--ink); }
.fp-col { padding-inline: clamp(12px, 2vw, 24px); border-inline-start: 1px solid var(--line); }
.fp-col:first-child { border-inline-start: 0; padding-inline-start: 0; }
.fp-col:last-child { padding-inline-end: 0; }
.fp-col .media { aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; margin-bottom: 12px; background: var(--paper-2); }
.fp-col .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.fp-col:hover .media img { transform: scale(1.05); }
.fp-col h4 { font-family: var(--f-head); font-size: 17px; line-height: 1.6; margin: 6px 0; }
html[lang="fr"] .fp-col h4, html[lang="en"] .fp-col h4 { line-height: 1.3; }
.fp-col p { font-size: 15px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fp-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; padding-top: 16px; border-top: 3px double var(--ink); }
@media (max-width: 920px) {
  .fp { grid-template-columns: minmax(0, 1fr); }
  .fp-lead { padding: 0 0 20px; border: 0; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
  .fp-side { padding: 0; }
  .fp-cols { grid-template-columns: minmax(0, 1fr); }
  .fp-col { padding: 16px 0; border: 0; border-top: 1px solid var(--line); }
  .fp-col:first-child { border: 0; padding-top: 0; }
  .fp-col { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; }
  .fp-col .media { margin: 0; aspect-ratio: 1; }
  .fp-col p { display: none; }
}
@media (max-width: 520px) { .fp-item, .fp-col { grid-template-columns: 92px minmax(0, 1fr); } .masthead .mh-top span:last-child { display: none; } }
.skel { background: linear-gradient(90deg, var(--paper-2), #fff, var(--paper-2)); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: 6px; }
@keyframes sk { to { background-position: -200% 0; } }

/* --- emblem explorer -------------------------------------------------------- */
.emblem { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.emb-stage { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin-inline: auto; }
.emb-stage::before { content: ""; position: absolute; inset: -6%; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(225, 177, 44, .16) 0 2deg, transparent 2deg 12deg); animation: seal 120s linear infinite;
  -webkit-mask: radial-gradient(circle, transparent 52%, #000 53%, #000 68%, transparent 70%); mask: radial-gradient(circle, transparent 52%, #000 53%, #000 68%, transparent 70%); }
.emb-stage img { position: relative; width: 100%; height: 100%; border-radius: 50%; filter: drop-shadow(0 24px 40px rgba(6, 43, 24, .2)); }
.hot { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .92);
  box-shadow: 0 0 0 3px var(--gold), 0 8px 20px rgba(0, 0, 0, .2); display: grid; place-items: center; font-family: var(--f-num); font-weight: 800; font-size: 15px; color: var(--green-d); z-index: 2; transition: transform .25s, background .25s; }
.hot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--gold); opacity: .6; animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(.8); opacity: .8; } to { transform: scale(1.5); opacity: 0; } }
.hot:hover, .hot[aria-pressed="true"] { transform: scale(1.15); background: var(--green); color: #fff; }
.emb-list { display: grid; gap: 10px; counter-reset: e; }
.emb-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid transparent; transition: .3s; cursor: pointer; text-align: start; background: transparent; width: 100%; }
.emb-item .n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-l); color: var(--gold-t); font-family: var(--f-num); font-weight: 800; }
.emb-item h3 { font-size: 18px; margin: 2px 0 4px; }
.emb-item p { margin: 0; font-size: 15.5px; color: var(--muted); line-height: 1.75; }
.emb-item.on, .emb-item:hover { background: var(--white); border-color: var(--line); box-shadow: var(--shadow-s); }
.emb-item.on .n { background: var(--green); color: #fff; }
@media (max-width: 920px) { .emblem { grid-template-columns: minmax(0, 1fr); } .emb-stage { width: min(86vw, 420px); } }

/* --- objectives (pillars) ---------------------------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.pillar { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 160px 160px 14px 14px; padding: 46px 20px 24px; text-align: center; box-shadow: var(--shadow-s);
  transition: transform .35s var(--ease), box-shadow .35s; overflow: hidden; }
.pillar::before { content: ""; position: absolute; inset: 8px 8px auto; height: 70%; border-radius: 150px 150px 0 0; border: 1px dashed var(--line-2); border-bottom: 0; pointer-events: none; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar .pi { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--green-l); color: var(--green); position: relative; }
.pillar:nth-child(even) .pi { background: var(--red-l); color: var(--red); }
.pillar .pi .ic { width: 30px; height: 30px; }
.pillar .no { position: absolute; top: 16px; inset-inline: 0; font-family: var(--f-num); font-size: 13px; font-weight: 800; color: var(--gold-t); }
.pillar h3 { font-size: 18px; margin-bottom: 10px; }
.pillar p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.8; }
.pillar .base { position: absolute; inset-inline: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--green) 0 33.34%, #fff 0 66.67%, var(--red) 0); }
@media (max-width: 1100px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .pillars { grid-template-columns: minmax(0, 1fr); } .pillar { border-radius: 120px 120px 14px 14px; } }

/* --- causes ---------------------------------------------------------------- */
.causes { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.cause { grid-column: span 4; position: relative; border-radius: var(--radius); overflow: hidden; min-height: 380px; color: #fff; display: flex; align-items: flex-end; isolation: isolate; background: var(--green-dd); }
.cause.wide { grid-column: span 8; }
.cause img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.cause:hover img { transform: scale(1.06); }
.cause::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 20, 12, .05) 20%, rgba(6, 20, 12, .88)); }
.cause-in { padding: clamp(20px, 3vw, 32px); }
.cause .chip { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(6px); margin-bottom: 12px; }
.cause h3 { color: #fff; font-size: clamp(21px, 2.2vw, 28px); margin-bottom: 8px; }
.cause p { color: #E3E8E3; font-size: 15.5px; margin: 0; max-width: 560px; }
@media (max-width: 980px) { .cause, .cause.wide { grid-column: span 6; } }
@media (max-width: 640px) { .cause, .cause.wide { grid-column: span 12; min-height: 320px; } }

/* --- timeline -------------------------------------------------------------- */
.tl { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 18px; overflow-x: auto; padding: 30px 4px 24px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.tl::before { content: ""; position: absolute; top: 44px; inset-inline: 0; height: 9px; background: var(--rope) repeat-x center / auto 100%; opacity: .9; min-width: 100%; }
.tl-item { scroll-snap-align: start; position: relative; padding-top: 44px; }
.tl-item::before { content: ""; position: absolute; top: 4px; inset-inline-start: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 5px solid var(--green); box-shadow: 0 0 0 4px var(--paper); z-index: 1; }
.tl-item:nth-child(3n+2)::before { border-color: var(--red); }
.tl-item:nth-child(3n)::before { border-color: var(--gold); }
.tl-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; height: 100%; box-shadow: var(--shadow-s); display: flex; flex-direction: column; }
.tl-card .media { aspect-ratio: 16 / 10; background: var(--paper-2); overflow: hidden; }
.tl-card .media img { width: 100%; height: 100%; object-fit: cover; }
.tl-card .body { padding: 16px 18px 20px; }
.tl-card time { font-family: var(--f-num); font-weight: 800; color: var(--gold-t); font-size: 15px; }
.tl-card h3 { font-size: 17.5px; margin: 6px 0 8px; }
.tl-card p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.75; }
.tl-nav { display: flex; gap: 8px; }
.tl-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--white); display: grid; place-items: center; }
.tl-nav button:hover { border-color: var(--green); color: var(--green); }
html[dir="rtl"] .tl-nav .ic { transform: scaleX(-1); }

/* --- governance strip ---------------------------------------------------------- */
.gov { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.org { display: grid; gap: 12px; justify-items: center; }
.org-node { position: relative; background: rgba(255, 255, 255, .06); border: 1px solid rgba(242, 201, 76, .35); border-radius: 14px; padding: 12px 20px; text-align: center; min-width: 210px; color: #fff; }
.org-node b { display: block; font-family: var(--f-head); font-size: 16.5px; }
.org-node small { color: #BFD0C4; font-size: 13px; }
.org-node.top { background: linear-gradient(180deg, var(--gold-2), var(--gold)); border-color: var(--gold-d); color: var(--ink); }
.org-node.top small { color: #5A4507; }
.org-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.org-link { width: 2px; height: 16px; background: linear-gradient(180deg, var(--gold-2), rgba(242, 201, 76, .2)); }
.gov-points { display: grid; gap: 14px; margin: 24px 0 30px; }
.gov-points li { display: flex; gap: 12px; align-items: flex-start; list-style: none; color: #DCE5DE; }
.gov-points ul { padding: 0; margin: 0; display: grid; gap: 12px; }
.gov-points .ic { width: 22px; height: 22px; color: var(--gold-2); margin-top: 4px; }
@media (max-width: 920px) { .gov { grid-template-columns: minmax(0, 1fr); } }

/* --- press wall --------------------------------------------------------------- */
.clips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 22px; padding-top: 10px; }
.clip { position: relative; background: #FFFDF6; padding: 12px 12px 16px; border-radius: 3px; box-shadow: 0 2px 4px rgba(0, 0, 0, .06), 0 18px 34px rgba(60, 45, 10, .14);
  transform: rotate(var(--r, -1.2deg)); transition: transform .4s var(--ease), box-shadow .4s; cursor: zoom-in; text-align: start; border: 0; width: 100%; }
.clip:nth-child(2n) { --r: 1.4deg; } .clip:nth-child(3n) { --r: -.6deg; } .clip:nth-child(5n) { --r: 2deg; }
.clip::before { content: ""; position: absolute; top: -12px; left: 50%; width: 86px; height: 26px; transform: translateX(-50%) rotate(-3deg); background: rgba(242, 201, 76, .55); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.clip:hover { transform: rotate(0) translateY(-6px) scale(1.02); box-shadow: 0 30px 50px rgba(60, 45, 10, .2); z-index: 2; }
.clip .scan { aspect-ratio: 3 / 4; overflow: hidden; background: #F1EDE2; border: 1px solid #E7E0CC; }
.clip .scan img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: sepia(.12) contrast(1.02); }
.clip .outlet { display: block; margin-top: 10px; font-size: 12.5px; font-weight: 800; color: var(--red); }
.clip h4 { font-family: var(--f-head); font-size: 15px; line-height: 1.6; margin: 4px 0 4px; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
html[lang="fr"] .clip h4, html[lang="en"] .clip h4 { line-height: 1.3; }
.clip time { font-size: 12.5px; color: var(--muted); font-weight: 700; }
@media (max-width: 1000px) { .clips { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .clips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; } }

/* --- join band with membership card --------------------------------------------- */
.joinband { position: relative; overflow: hidden; background: var(--white); }
.joinband-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.steps { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 4px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; align-items: start; padding: 10px 0; position: relative; }
.steps li::before { counter-increment: s; content: counter(s); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-num); font-weight: 800;
  background: var(--white); border: 2px solid var(--green); color: var(--green); position: relative; z-index: 1; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 52px; bottom: -10px; inset-inline-start: 20px; width: 2px; background: repeating-linear-gradient(180deg, var(--line-2) 0 5px, transparent 5px 10px); }
.steps b { display: block; font-family: var(--f-head); font-size: 17px; }
.steps span { color: var(--muted); font-size: 15px; }
.mcard-wrap { perspective: 1200px; display: grid; place-items: center; padding: 20px; }
.mcard { width: min(100%, 440px); aspect-ratio: 85.6 / 54; border-radius: 18px; background: #fff; position: relative; overflow: hidden; color: var(--ink);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .06), 0 40px 70px rgba(6, 43, 24, .25); transform: rotateY(-14deg) rotateX(6deg); transition: transform .8s var(--ease); border: 1px solid var(--line); }
html[dir="rtl"] .mcard { transform: rotateY(14deg) rotateX(6deg); }
.mcard:hover { transform: none !important; }
.mcard .band { position: absolute; inset-block: 0; inset-inline-start: 0; width: 30%; background: var(--green-dd); }
.mcard .band::after { content: ""; position: absolute; inset-block: 0; inset-inline-end: -5px; width: 9px; background: var(--rope) repeat-y center / 100% auto; transform: rotate(0); }
.mcard .band img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 72%; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .15); }
.mcard .info { position: absolute; inset-block: 0; inset-inline-end: 0; width: 70%; padding: 6% 7%; display: flex; flex-direction: column; }
.mcard .t { font-size: clamp(10px, 1.4vw, 12px); font-weight: 800; color: var(--gold-t); letter-spacing: .04em; }
.mcard .nm { font-family: var(--f-head); font-size: clamp(16px, 2.2vw, 22px); font-weight: 800; margin-top: 4%; line-height: 1.3; }
.mcard .no { font-family: var(--f-num); font-size: clamp(13px, 1.7vw, 16px); font-weight: 700; color: var(--green); letter-spacing: .06em; direction: ltr; text-align: start; }
html[dir="rtl"] .mcard .no { text-align: right; }
.mcard .rows { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: clamp(9.5px, 1.2vw, 11.5px); color: var(--muted); }
.mcard .rows b { display: block; color: var(--ink); font-size: clamp(11px, 1.4vw, 13px); }
.mcard .qr { position: absolute; bottom: 7%; inset-inline-end: 6%; width: 19%; aspect-ratio: 1; background: #fff url(../img/qr-sample.svg) center / 100% no-repeat; border-radius: 4px; box-shadow: 0 0 0 1px var(--line); }
.mcard .tri { position: absolute; bottom: 0; inset-inline: 0; height: 4px; }
@media (max-width: 920px) { .joinband-in { grid-template-columns: minmax(0, 1fr); } }

/* partners */
.partners { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.partner { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); font-weight: 700; box-shadow: var(--shadow-s); }
.partner .ic { color: var(--gold-d); }
.ha { animation: haIn 1s var(--ease) both; }
.ha2 { animation-delay: .15s; } .ha3 { animation-delay: .3s; }
@keyframes haIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ha { animation: none; } }

/* ==========================================================================
   Inner pages — page hero, about, governance, news, press, causes, docs, map
   ========================================================================== */
.phero { position: relative; overflow: hidden; isolation: isolate; background: var(--green-dd); color: #fff; padding-block: clamp(46px, 7vw, 92px) clamp(54px, 7vw, 96px); }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--zellige) 0 0 / 72px 72px; opacity: .12; filter: invert(1) sepia(1) saturate(3) hue-rotate(5deg);
  -webkit-mask: linear-gradient(90deg, transparent, #000 60%); mask: linear-gradient(90deg, transparent, #000 60%); }
html[dir="rtl"] .phero::before { -webkit-mask: linear-gradient(270deg, transparent, #000 60%); mask: linear-gradient(270deg, transparent, #000 60%); }
.phero::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 6px; background: linear-gradient(180deg, var(--green-2) 0 33.34%, #fff 0 66.67%, var(--red) 0); }
.phero .bgimg { position: absolute; inset: 0; z-index: -2; }
.phero .bgimg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: grayscale(.4); }
.phero-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: end; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #BFD0C4; margin-bottom: 14px; }
.crumbs a { color: #E4EBE5; } .crumbs a:hover { color: var(--gold-2); }
.crumbs .sep { opacity: .5; }
.phero h1 { color: #fff; font-size: clamp(34px, 5vw, 60px); margin-bottom: 12px; }
.phero p { color: #D4DED7; font-size: clamp(16.5px, 1.4vw, 19px); max-width: 720px; margin: 0; }
.phero .ruqaa { font-size: clamp(22px, 2.6vw, 32px); color: var(--gold-2); }
.phero-seal { width: clamp(90px, 11vw, 140px); border-radius: 50%; box-shadow: 0 0 0 6px rgba(255, 255, 255, .08), 0 20px 40px rgba(0, 0, 0, .35); background: #fff; }
.phero + .rope { margin-top: -7px; position: relative; z-index: 2; }
@media (max-width: 700px) { .phero-seal { display: none; } .phero-in { grid-template-columns: minmax(0, 1fr); } }

/* generic cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.6vw, 30px); box-shadow: var(--shadow-s); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.icard { display: flex; gap: 16px; align-items: flex-start; }
.icard .ib { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--green-l); color: var(--green); }
.icard .ib .ic { width: 26px; height: 26px; }
.icard.red .ib { background: var(--red-l); color: var(--red); }
.icard.gold .ib { background: var(--gold-l); color: var(--gold-t); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.split.r { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
@media (max-width: 900px) { .split, .split.r { grid-template-columns: minmax(0, 1fr); } }
.photo-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 12px; pointer-events: none; }
.quote-block { position: relative; padding: clamp(26px, 4vw, 44px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.quote-block .ic { width: 44px; height: 44px; color: var(--gold); }
.quote-block blockquote { margin: 10px 0 0; font-family: var(--f-ruqaa); font-size: clamp(24px, 3vw, 36px); line-height: 1.7; color: var(--green-d); }
html[lang="fr"] .quote-block blockquote, html[lang="en"] .quote-block blockquote { font-family: var(--f-head); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4; }
.quote-block cite { display: block; margin-top: 12px; font-style: normal; font-weight: 700; color: var(--muted); font-size: 15px; }

/* identity table */
.idtable { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); }
.idtable th, .idtable td { padding: 14px 18px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 16px; }
.idtable tr:last-child th, .idtable tr:last-child td { border-bottom: 0; }
.idtable th { width: 34%; background: var(--paper); font-weight: 700; color: var(--ink-2); font-size: 15px; }
.idtable td .ruqaa { font-size: 22px; color: var(--green-d); }
@media (max-width: 560px) { .idtable th, .idtable td { display: block; width: 100%; } .idtable th { border-bottom: 0; padding-bottom: 4px; } }

/* founders */
.founders { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.founder { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.founder .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-head); font-weight: 800; color: var(--green-d); background: var(--green-l); flex: none; }
.founder:nth-child(3n+2) .av { background: var(--red-l); color: var(--red-d); }
.founder:nth-child(3n) .av { background: var(--gold-l); color: var(--gold-t); }
.founder b { font-size: 15.5px; line-height: 1.4; }
.leaders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.leader { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; align-items: start; }
.leader .av { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-head); font-size: 26px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-dd)); box-shadow: 0 0 0 4px var(--gold-l); }
.leader .role { color: var(--red); font-weight: 800; font-size: 14px; }
.leader h3 { margin: 2px 0 8px; }
.leader p { font-size: 15.5px; color: var(--muted); margin: 0; }
@media (max-width: 800px) { .leaders { grid-template-columns: minmax(0, 1fr); } }

/* principles grid */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.principle { padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); position: relative; overflow: hidden; }
.principle::before { content: ""; position: absolute; top: 0; inset-inline-start: 24px; width: 46px; height: 4px; border-radius: 0 0 4px 4px; background: var(--gold); }
.principle h3 { font-size: 18px; margin-top: 6px; }
.principle p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .principles { grid-template-columns: minmax(0, 1fr); } }

/* governance: bodies */
.bodies { display: grid; gap: 14px; counter-reset: b; }
.body-row { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 18px; align-items: start; padding: 22px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.body-row .bn { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--green-dd); color: var(--gold-2); font-family: var(--f-num); font-size: 24px; font-weight: 800; }
.body-row h3 { margin-bottom: 6px; }
.body-row p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.body-row .art { font-size: 13px; font-weight: 800; color: var(--gold-t); white-space: nowrap; background: var(--gold-l); padding: 6px 12px; border-radius: 999px; }
@media (max-width: 640px) { .body-row { grid-template-columns: 54px minmax(0, 1fr); } .body-row .bn { width: 50px; height: 50px; font-size: 20px; } .body-row .art { grid-column: 2; justify-self: start; } }

/* committees */
.cmts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.cmt { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); transition: .3s; }
.cmt:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: var(--shadow-s); }
.cmt .no { font-family: var(--f-num); font-weight: 800; color: var(--gold-t); font-size: 14px; width: 26px; flex: none; }
.cmt .ib { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-l); color: var(--green); flex: none; }
.cmt:nth-child(odd) .ib { background: var(--red-l); color: var(--red); }
.cmt b { font-size: 15.5px; line-height: 1.5; }
html[lang="fr"] .cmt b, html[lang="en"] .cmt b { line-height: 1.3; }

/* finance rules / commitments */
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rules li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(242, 201, 76, .22); color: #E2E9E3; }
.rules li .ic { color: var(--gold-2); margin-top: 3px; }
.rib-card { margin-top: 24px; padding: 22px; border-radius: 18px; background: linear-gradient(135deg, #0B3A20, #062B18); border: 1px solid rgba(242, 201, 76, .4); color: #fff; position: relative; overflow: hidden; }
.rib-card::after { content: ""; position: absolute; inset-inline-end: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; border: 22px solid rgba(242, 201, 76, .08); }
.rib-card small { color: var(--gold-2); font-weight: 800; font-size: 13px; letter-spacing: .04em; }
.rib-card .rib { font-family: var(--f-num); font-size: clamp(18px, 2.4vw, 24px); letter-spacing: .08em; direction: ltr; unicode-bidi: isolate; margin: 6px 0 2px; }
.rib-card .bank { color: #CAD6CD; font-size: 14.5px; }
.rib-card .copy { position: absolute; top: 18px; inset-inline-end: 18px; z-index: 1; }

/* docs library */
.docs-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.doc { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); transition: .3s; }
.doc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.doc .cover { position: relative; aspect-ratio: 4 / 3; background: repeating-linear-gradient(135deg, var(--paper) 0 12px, var(--paper-2) 12px 24px); display: grid; place-items: center; overflow: hidden; }
.doc .cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.doc .cover .ic { width: 54px; height: 54px; color: var(--red); }
.doc .cover .chip { position: absolute; top: 12px; inset-inline-start: 12px; }
.doc .body { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.doc h3 { font-size: 16.5px; margin: 0; line-height: 1.55; }
.doc .meta { margin-top: auto; }
.doc .acts { display: flex; gap: 8px; padding: 0 18px 18px; }
.empty { text-align: center; padding: 40px 20px; border: 2px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); background: rgba(255, 255, 255, .6); }
.empty .ic { width: 42px; height: 42px; color: var(--gold-d); margin: 0 auto 10px; }

/* coordination map */
.dzmap-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 30px; align-items: start; }
.dzmap { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-s); }
.dzmap svg { width: 100%; height: auto; display: block; }
.dzmap .land { fill: #F3F1E8; stroke: #CFC7AE; stroke-width: 1.2; }
.dzmap .dot { fill: #fff; stroke: #BDB49A; stroke-width: 1.4; transition: .2s; cursor: pointer; }
.dzmap .dot.active { fill: var(--green); stroke: #fff; stroke-width: 2; }
.dzmap .dot.forming { fill: var(--gold); stroke: #fff; stroke-width: 2; }
.dzmap .dot.hq { fill: var(--red); stroke: #fff; stroke-width: 2.4; }
.dzmap .dot:hover, .dzmap .dot.sel { stroke: var(--ink); stroke-width: 2.6; }
.dzmap .pulse { fill: none; stroke: var(--red); stroke-width: 2; opacity: .6; animation: mp 2.4s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes mp { from { transform: scale(1); opacity: .7; } to { transform: scale(3.2); opacity: 0; } }
.dzmap .tip { position: absolute; pointer-events: none; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: 8px; white-space: nowrap; transform: translate(-50%, -130%); opacity: 0; transition: opacity .15s; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; font-weight: 700; color: var(--ink-2); margin-top: 12px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-inline-end: 6px; vertical-align: -1px; border: 1.5px solid #BDB49A; background: #fff; }
.legend i.a { background: var(--green); border-color: var(--green); } .legend i.f { background: var(--gold); border-color: var(--gold); } .legend i.h { background: var(--red); border-color: var(--red); }
.wlist { max-height: 520px; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.wlist li { list-style: none; display: flex; justify-content: space-between; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 15px; cursor: pointer; }
.wlist ul { margin: 0; padding: 0; }
.wlist li:hover, .wlist li.sel { background: var(--green-l); }
.wlist li .code { font-family: var(--f-num); color: var(--muted); font-size: 13px; min-width: 26px; }
.wlist li .st { font-size: 12.5px; font-weight: 800; }
.wlist li .st.a { color: var(--green); } .wlist li .st.f { color: var(--gold-t); }
@media (max-width: 900px) { .dzmap-wrap { grid-template-columns: minmax(0, 1fr); } .wlist { max-height: 340px; } }

/* news listing */
.filters { display: grid; gap: 14px; margin-bottom: 28px; }
.filters-top { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.search { position: relative; flex: 1 1 280px; }
.search input { width: 100%; height: 52px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--white); padding-inline: 50px 20px; font-size: 16px; }
.search input:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 4px rgba(0, 98, 51, .1); }
.search .ic { position: absolute; top: 50%; inset-inline-start: 18px; transform: translateY(-50%); color: var(--muted); width: 20px; height: 20px; }
.sel-year { height: 52px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--white); padding-inline: 18px 40px; font-weight: 700; }
.ncards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ncard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); transition: transform .35s var(--ease), box-shadow .35s; }
.ncard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ncard .media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.ncard .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ncard:hover .media img { transform: scale(1.06); }
.ncard .media .chip { position: absolute; top: 12px; inset-inline-start: 12px; background: rgba(255, 255, 255, .94); }
.ncard .media .cnt { position: absolute; bottom: 10px; inset-inline-end: 10px; display: inline-flex; gap: 5px; align-items: center; padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12.5px; font-weight: 700; }
.ncard .media .cnt .ic { width: 15px; height: 15px; }
.ncard .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ncard h3 { font-size: 18px; line-height: 1.6; margin: 0; }
html[lang="fr"] .ncard h3, html[lang="en"] .ncard h3 { line-height: 1.3; }
.ncard h3 a:hover { color: var(--green); }
.ncard p { font-size: 15px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard .meta { margin-top: auto; padding-top: 6px; }
.ncard.pinned { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-l), var(--shadow-s); }
@media (max-width: 1000px) { .ncards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ncards { grid-template-columns: minmax(0, 1fr); } }
.more-wrap { display: flex; justify-content: center; margin-top: 34px; }
.yearsep { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; font-family: var(--f-num); font-size: 28px; font-weight: 800; color: var(--green-d); margin-top: 8px; }
.yearsep::after { content: ""; flex: 1; height: 9px; background: var(--rope) repeat-x center / auto 100%; opacity: .7; }

/* press page */
.press-feature { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 54px); align-items: center; }
.press-feature .scan { background: #FFFDF6; padding: 14px; box-shadow: 0 30px 60px rgba(60, 45, 10, .18); transform: rotate(-1.5deg); border-radius: 3px; cursor: zoom-in; border: 0; width: 100%; }
html[dir="rtl"] .press-feature .scan { transform: rotate(1.5deg); }
.press-feature .scan img { width: 100%; }
.columnist { display: flex; align-items: center; gap: 14px; margin: 20px 0; }
.columnist img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--gold-l); }
.columnist b { display: block; font-family: var(--f-head); }
.columnist small { color: var(--muted); font-weight: 700; }
@media (max-width: 900px) { .press-feature { grid-template-columns: minmax(0, 1fr); } }

/* causes page */
.cause-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 60px); align-items: center; padding-block: clamp(40px, 6vw, 70px); border-bottom: 1px solid var(--line); }
.cause-row:nth-child(even) .cause-media { order: 2; }
.cause-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.cause-media img { width: 100%; height: 100%; object-fit: cover; }
.cause-row ul { padding-inline-start: 20px; color: var(--ink-2); }
.cause-row li { margin-bottom: 6px; }
@media (max-width: 860px) { .cause-row { grid-template-columns: minmax(0, 1fr); } .cause-row:nth-child(even) .cause-media { order: 0; } }
/* small, unmirrored flags (flags keep their hoist on the left in every language) */
.flag { position: absolute; top: 16px; inset-inline-end: 16px; width: 48px; height: 32px; border-radius: 4px; overflow: hidden; z-index: 2; box-shadow: 0 0 0 2px rgba(255, 255, 255, .8), 0 6px 14px rgba(0, 0, 0, .25); direction: ltr; }
.flag::before, .flag::after { content: ""; position: absolute; }
.fl-ps { background: linear-gradient(180deg, #000 0 33.34%, #fff 0 66.67%, #149954 0); }
.fl-ps::before { inset-block: 0; left: 0; width: 45%; background: #E4312B; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.fl-eh { background: linear-gradient(180deg, #000 0 33.34%, #fff 0 66.67%, #007A3D 0); }
.fl-eh::before { inset-block: 0; left: 0; width: 45%; background: #C4111B; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.fl-eh::after { width: 7px; height: 7px; left: 56%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; box-shadow: 1.2px 0 0 1.1px #C4111B; clip-path: inset(-3px -3px -3px 40%); }
.fl-dz { background: linear-gradient(90deg, #006233 50%, #fff 50%); }
.fl-dz::before { width: 12px; height: 12px; left: 50%; top: 50%; transform: translate(-58%, -50%); border-radius: 50%; box-shadow: -2px 0 0 1.8px #D21034; clip-path: inset(-4px 40% -4px -4px); }
.fl-dz::after { width: 7px; height: 7px; left: 52%; top: 50%; transform: translate(-5%, -50%); background: #D21034; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

/* ==========================================================================
   Forms (join wizard, contact, verify), article, lightbox, footer, misc
   ========================================================================== */
.form-shell { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 980px) { .form-shell { grid-template-columns: minmax(0, 1fr); } }
.fbox { background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.fbox-head { padding: 22px clamp(18px, 3vw, 32px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--paper), var(--white)); }
.fbox-body { padding: clamp(18px, 3vw, 32px); }
.wsteps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; counter-reset: w; }
.wsteps li { position: relative; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.wsteps li::before { content: ""; height: 6px; border-radius: 6px; background: var(--line); transition: background .4s; }
.wsteps li.on { color: var(--green-d); } .wsteps li.on::before { background: var(--green); }
.wsteps li.done::before { background: var(--gold); }
.wpane { display: none; animation: fadeup .5s var(--ease); }
.wpane.on { display: block; }
@keyframes fadeup { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.wpane h3 { font-size: 21px; margin-bottom: 4px; }
.wpane > p { color: var(--muted); margin-bottom: 22px; }
.types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.type-opt { position: relative; display: flex; gap: 14px; padding: 18px; border-radius: 16px; border: 1.5px solid var(--line-2); background: var(--white); cursor: pointer; transition: .25s; }
.type-opt:hover { border-color: var(--green); }
.type-opt input { position: absolute; opacity: 0; pointer-events: none; }
.type-opt .ib { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--green-l); color: var(--green); flex: none; }
.type-opt b { display: block; font-family: var(--f-head); font-size: 16.5px; margin-bottom: 2px; }
.type-opt span { font-size: 13.5px; color: var(--muted); line-height: 1.6; display: block; }
.type-opt:has(input:checked) { border-color: var(--green); background: var(--green-l); box-shadow: 0 0 0 3px rgba(0, 98, 51, .12); }
.type-opt:has(input:checked) .ib { background: var(--green); color: #fff; }
.type-opt:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (max-width: 640px) { .types { grid-template-columns: minmax(0, 1fr); } }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.fgrid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .fgrid { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label, .field .lbl { font-weight: 700; font-size: 14.5px; color: var(--ink-2); }
.field label .req { color: var(--red); }
.field label .opt { color: var(--muted); font-weight: 400; font-size: 13px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; padding: 11px 14px; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 4px rgba(0, 98, 51, .1); }
.field .hint { font-size: 13px; color: var(--muted); }
.field.err input, .field.err select, .field.err textarea { border-color: var(--red); box-shadow: 0 0 0 4px rgba(210, 16, 52, .08); }
.field .emsg { font-size: 13px; color: var(--red-d); font-weight: 700; display: none; }
.field.err .emsg { display: block; }
.field input[type="tel"], .field input[type="email"] { direction: ltr; text-align: start; }
html[dir="rtl"] .field input[type="tel"], html[dir="rtl"] .field input[type="email"] { text-align: right; }
.cmt-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cmt-pick label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); font-size: 14.5px; font-weight: 700; cursor: pointer; line-height: 1.5; }
.cmt-pick label:has(input:checked) { border-color: var(--green); background: var(--green-l); }
.cmt-pick input { margin-top: 4px; accent-color: var(--green); }
@media (max-width: 640px) { .cmt-pick { grid-template-columns: minmax(0, 1fr); } }
.drop { border: 2px dashed var(--line-2); border-radius: 16px; padding: 22px; text-align: center; background: var(--paper); cursor: pointer; transition: .2s; }
.drop:hover, .drop.over { border-color: var(--green); background: var(--green-l); }
.drop .ic { width: 34px; height: 34px; color: var(--green); margin: 0 auto 6px; }
.drop input { display: none; }
.files { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.files li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 10px; background: var(--paper); font-size: 14px; }
.files button { border: 0; background: none; color: var(--red); font-weight: 700; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--paper); font-size: 15px; line-height: 1.7; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--green); flex: none; }
.check.err { box-shadow: inset 0 0 0 1.5px var(--red); }
.wnav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
html[dir="rtl"] .wnav .ic-flip { transform: scaleX(-1); }
.review { display: grid; gap: 4px; font-size: 15px; background: var(--paper); border-radius: 14px; padding: 16px 18px; }
.review div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.review div:last-child { border: 0; }
.review dt { color: var(--muted); font-weight: 700; }
.review dd { margin: 0; font-weight: 700; word-break: break-word; }
.success { text-align: center; padding: clamp(24px, 4vw, 44px) 10px; }
.success .seal-ok { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; background: var(--green); color: #fff; box-shadow: 0 0 0 10px var(--green-l); }
.success .seal-ok .ic { width: 48px; height: 48px; }
.success .ref { display: inline-block; font-family: var(--f-num); font-size: 26px; font-weight: 800; letter-spacing: .06em; padding: 8px 20px; border-radius: 12px; background: var(--gold-l); color: var(--gold-t); border: 1px dashed var(--gold); direction: ltr; margin: 10px 0 16px; }
.aside-card { position: sticky; top: calc(var(--hdr-h) + 20px); display: grid; gap: 16px; }
.aside-card .card h3 { font-size: 17px; display: flex; gap: 8px; align-items: center; }
.aside-card .card .ic { color: var(--gold-d); }
.aside-card ul { padding-inline-start: 20px; margin: 0; font-size: 15px; color: var(--ink-2); }
.aside-card li { margin-bottom: 6px; }
.formmsg { margin-top: 14px; padding: 12px 16px; border-radius: 12px; font-weight: 700; display: none; }
.formmsg.err { display: block; background: var(--red-l); color: var(--red-d); }
.formmsg.ok { display: block; background: var(--green-l); color: var(--green-d); }
.closed-note { padding: 18px; border-radius: 14px; background: var(--gold-l); border: 1px solid var(--gold); font-weight: 700; }

/* verify */
.verify-box { max-width: 640px; margin-inline: auto; }
.verify-form { display: flex; gap: 10px; flex-wrap: wrap; }
.verify-form input { flex: 1 1 240px; height: 56px; border-radius: 14px; border: 1.5px solid var(--line-2); padding-inline: 18px; font-family: var(--f-num); font-size: 19px; letter-spacing: .06em; direction: ltr; text-transform: uppercase; }
.verify-res { margin-top: 22px; }
.vcard { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 18px; align-items: center; padding: 22px; border-radius: 18px; border: 2px solid var(--green); background: var(--green-l); }
.vcard.no { border-color: var(--red); background: var(--red-l); grid-template-columns: minmax(0, 1fr); }
.vcard img { width: 84px; border-radius: 50%; background: #fff; }
.vcard b { font-family: var(--f-head); font-size: 20px; display: block; }
.vcard .ok { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 800; }

/* contact */
.contact-cards { display: grid; gap: 14px; }
.ccard { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.ccard .ib { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--green-l); color: var(--green); flex: none; }
.ccard small { display: block; color: var(--muted); font-weight: 700; font-size: 13px; }
.ccard a, .ccard span.v { font-weight: 800; font-size: 16.5px; word-break: break-word; }
.ccard .ltr { direction: ltr; unicode-bidi: isolate; }
.mapframe { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 320px; background: var(--paper-2); }
.mapframe iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; filter: saturate(.9); }

/* article */
.art-hero { padding-block: clamp(30px, 5vw, 56px) 0; background: var(--white); }
.art-head { max-width: 900px; margin-inline: auto; text-align: center; }
.art-head h1 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.4; margin: 14px 0 16px; }
html[lang="fr"] .art-head h1, html[lang="en"] .art-head h1 { line-height: 1.15; }
.art-head .meta { justify-content: center; }
.art-cover { max-width: 1100px; margin: clamp(24px, 4vw, 40px) auto 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--paper-2); }
.art-cover img { width: 100%; max-height: 640px; object-fit: cover; }
.art-body { max-width: 760px; margin-inline: auto; font-size: 18.5px; line-height: 2.05; color: var(--ink-2); }
html[lang="fr"] .art-body, html[lang="en"] .art-body { line-height: 1.75; }
.art-body p:first-of-type::first-letter { font-family: var(--f-head); font-weight: 800; color: var(--green); }
.art-body ul { padding-inline-start: 22px; }
.art-body li { margin-bottom: 8px; }
.art-body li::marker { color: var(--red); }
.lang-note { max-width: 760px; margin: 0 auto 20px; padding: 12px 16px; border-radius: 12px; background: var(--gold-l); color: var(--gold-t); font-weight: 700; font-size: 15px; }
.article-gallery { max-width: 1100px; margin: 40px auto 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ga-item { margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.ga-item a { display: block; height: 100%; cursor: zoom-in; }
.ga-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ga-item:hover img { transform: scale(1.06); }
.art-video { max-width: 900px; margin: 40px auto 0; }
.art-video .ratio { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.art-video iframe, .art-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.art-tools { max-width: 760px; margin: 40px auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.share a, .share button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; display: grid; place-items: center; }
.share a:hover, .share button:hover { border-color: var(--green); color: var(--green); }
.pn { max-width: 1100px; margin: 40px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pn a { display: block; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.pn a small { display: block; color: var(--gold-t); font-weight: 800; font-size: 13px; }
.pn a b { font-family: var(--f-head); font-size: 16px; line-height: 1.6; }
.pn .next { text-align: end; }
@media (max-width: 640px) { .pn { grid-template-columns: minmax(0, 1fr); } }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(8, 14, 10, .94); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb figure { margin: 0; max-width: min(94vw, 1400px); max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lb img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); background: #111; touch-action: pan-y; }
.lb.zoom img { max-height: none; max-width: none; width: min(1600px, 180vw); cursor: zoom-out; }
.lb.zoom { overflow: auto; align-items: flex-start; }
.lb figcaption { color: #E7EAE6; font-size: 15px; text-align: center; max-width: 900px; }
.lb .lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; }
.lb .lb-btn:hover { background: rgba(255, 255, 255, .18); }
.lb .lb-close { top: 18px; inset-inline-end: 18px; }
.lb .lb-prev { inset-inline-start: 18px; top: 50%; transform: translateY(-50%); }
.lb .lb-next { inset-inline-end: 18px; top: 50%; transform: translateY(-50%); }
html[dir="rtl"] .lb .lb-prev .ic { transform: scaleX(-1); }
html[dir="ltr"] .lb .lb-prev .ic { transform: scaleX(-1); }
html[dir="rtl"] .lb .lb-next .ic { transform: none; }
.lb .lb-count { position: absolute; top: 26px; inset-inline-start: 26px; color: #fff; font-family: var(--f-num); font-weight: 700; }
.lb .lb-open { position: absolute; bottom: 20px; inset-inline-end: 20px; }
@media (max-width: 640px) { .lb .lb-prev, .lb .lb-next { top: auto; bottom: 16px; transform: none; } }

/* prose (privacy) */
.prose { max-width: 820px; margin-inline: auto; font-size: 17.5px; }
.prose h2 { font-size: 24px; margin-top: 1.6em; }
.prose ul { padding-inline-start: 22px; }

/* footer */
.ftr { background: var(--green-dd); color: #C9D4CC; position: relative; margin-top: 0; }
.ftr .rope { position: absolute; top: -7px; inset-inline: 0; }
.ftr-in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 50px); padding-block: clamp(56px, 7vw, 86px) 40px; }
.ftr h4 { color: #fff; font-family: var(--f-head); font-size: 17px; margin-bottom: 16px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr a { color: #C9D4CC; } .ftr a:hover { color: var(--gold-2); }
.ftr-brand { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.ftr-brand img { width: 78px; height: 78px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(242, 201, 76, .25); }
.ftr-brand b { display: block; color: #fff; font-family: var(--f-head); font-size: 21px; }
.ftr-brand small { color: var(--gold-2); font-weight: 700; }
.ftr .ruqaa { color: var(--gold-2); font-size: 24px; margin: 6px 0 12px; }
html[lang="fr"] .ftr .ruqaa, html[lang="en"] .ftr .ruqaa { font-family: var(--f-head); font-style: italic; font-size: 19px; font-weight: 600; }
.ftr .cl li { display: flex; gap: 10px; align-items: flex-start; }
.ftr .cl .ic { width: 18px; height: 18px; color: var(--gold-2); margin-top: 5px; }
.ftr .ltr { direction: ltr; unicode-bidi: isolate; }
.ftr-soc { display: flex; gap: 8px; margin-top: 16px; }
.ftr-soc a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.ftr-soc a:hover { background: var(--gold-2); color: var(--ink); }
.ftr-legal { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px; font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
.ftr-legal p { margin: 0; }
.ftr-big { font-family: var(--f-ruqaa); font-size: clamp(40px, 9vw, 120px); line-height: 1.1; color: rgba(255, 255, 255, .045); text-align: center; white-space: nowrap; overflow: hidden; user-select: none; padding-bottom: 8px; }
.ftr .tri { height: 4px; }
@media (max-width: 980px) { .ftr-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ftr-in { grid-template-columns: minmax(0, 1fr); } }

.totop { position: fixed; bottom: 18px; inset-inline-end: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--green); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(0, 98, 51, .3); opacity: 0; transform: translateY(20px); transition: .3s; z-index: 50; }
.totop.on { opacity: 1; transform: none; }
.totop .ic { transform: rotate(-90deg); }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 12px; font-weight: 700; opacity: 0; transition: .3s; z-index: 300; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

.e404 { text-align: center; padding-block: 90px; }
.e404 .big { font-family: var(--f-num); font-size: clamp(90px, 18vw, 200px); font-weight: 800; line-height: 1; color: var(--green); }
.e404 .big span { color: var(--red); }

@media print {
  .topbar, .hdr, .ticker, .ftr, .totop, .drawer, .hero-cta, .art-tools, .pn { display: none !important; }
  body { background: #fff; }
}

/* article extras (markup produced by article.php) */
.crumbs.dark { justify-content: center; color: var(--muted); }
.crumbs.dark a { color: var(--ink-2); } .crumbs.dark a:hover { color: var(--green); }
.art-body a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.art-sign { max-width: 760px; margin: 26px auto 0; text-align: center; font-size: 26px; color: var(--green-d); }
html[lang="fr"] .art-sign, html[lang="en"] .art-sign { font-family: var(--f-ruqaa); }
.art-gal-head { max-width: 1100px; margin: 46px auto 0; }
.art-gal-head h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; margin: 0; }
.art-gal-head .ic { color: var(--gold-d); }
.art-video .btn { margin-inline: auto; display: flex; width: max-content; }
.art-nav { max-width: 1100px; margin: 36px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.article-nav-link { display: block; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: #fff; transition: .25s; }
.article-nav-link:hover { border-color: var(--green); transform: translateY(-2px); }
.article-nav-link small { display: block; color: var(--gold-t); font-weight: 800; font-size: 13px; }
.article-nav-link span { font-family: var(--f-head); font-weight: 700; font-size: 16px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-nav-link.is-next { text-align: end; grid-column: 2; }
@media (max-width: 640px) { .art-nav { grid-template-columns: minmax(0, 1fr); } .article-nav-link.is-next { grid-column: auto; } }
.rel-h { font-size: 24px; margin-bottom: 18px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rel-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .3s; }
.rel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rel-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.rel-media img { width: 100%; height: 100%; object-fit: cover; }
.rel-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 18px; }
.rel-cat { font-size: 12.5px; font-weight: 800; color: var(--red); }
.rel-title { font-family: var(--f-head); font-size: 16px; line-height: 1.6; }
.rel-body time { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .related-grid { grid-template-columns: minmax(0, 1fr); } .rel-card { flex-direction: row; } .rel-media { width: 120px; flex: none; aspect-ratio: 1; } }

/* first-visit intro */
.intro { position: fixed; inset: 0; z-index: 400; background: var(--paper); display: grid; place-items: center; transition: opacity .7s ease, visibility .7s; }
.intro.out { opacity: 0; visibility: hidden; }
.intro-in { display: grid; justify-items: center; gap: 18px; }
.intro-seal { position: relative; width: 150px; height: 150px; }
.intro-seal img { position: absolute; inset: 12px; width: 126px; height: 126px; border-radius: 50%; opacity: 0; transform: scale(.85); animation: introLogo .9s .35s var(--ease) forwards; }
.intro-seal svg { position: absolute; inset: 0; width: 150px; height: 150px; transform: rotate(-90deg); }
.intro-seal circle { fill: none; stroke: url(#ig); stroke-width: 6; stroke-dasharray: 440; stroke-dashoffset: 440; animation: introRope 1.2s var(--ease) forwards; }
.intro .ruqaa { font-size: 26px; color: var(--green-d); opacity: 0; animation: introLogo .8s .8s forwards; }
.intro .tri { width: 140px; border-radius: 4px; transform: scaleX(0); animation: introTri .8s 1s var(--ease) forwards; }
@keyframes introRope { to { stroke-dashoffset: 0; } }
@keyframes introLogo { to { opacity: 1; transform: none; } }
@keyframes introTri { to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }
.ms-credit { display: inline-flex; align-items: center; gap: 10px; padding: 4px 6px 4px 12px; border-radius: 12px; transition: background .25s; }
html[dir="rtl"] .ms-credit { padding: 4px 12px 4px 6px; }
.ms-credit:hover { background: rgba(255, 255, 255, .07); }
.ms-credit img { height: 46px; width: auto; padding: 4px 16px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 2px rgba(242, 201, 76, .55), 0 6px 14px rgba(0, 0, 0, .25); transition: transform .25s; }
.ms-credit:hover img { transform: translateY(-2px); }
.ftr-admin { margin-top: 18px; }
.ftr a.ftr-admin, .ftr a.ftr-admin:hover { color: var(--ink); }
.ftr-admin .ic { width: 18px; height: 18px; }

/* ==========================================================================
   Extended pages — history, org chart, committees, dashboard, statute, agenda,
   gallery, videos, media kit, FAQ, search, sitemap, diplomacy
   ========================================================================== */
/* history */
.yearnav { position: sticky; top: calc(var(--hdr-h) + 8px); z-index: 5; display: flex; gap: 8px; justify-content: center; margin-bottom: 30px; padding: 8px; border-radius: 999px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); border: 1px solid var(--line); width: max-content; max-width: 100%; margin-inline: auto; overflow-x: auto; }
.yearnav a { font-family: var(--f-num); font-weight: 800; padding: 6px 16px; border-radius: 999px; }
.yearnav a:hover, .yearnav a.on { background: var(--green); color: #fff; }
.hy-wrap { position: relative; }
.hy-wrap::before { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: 110px; width: 9px; background: var(--rope) repeat-y center / 100% auto; opacity: .85; }
.hy { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 34px; padding-bottom: 46px; position: relative; scroll-margin-top: 160px; }
.hy-year { position: sticky; top: calc(var(--hdr-h) + 80px); align-self: start; text-align: end; padding-inline-end: 16px; }
.hy-year .num { display: block; font-size: 40px; font-weight: 800; color: var(--green-d); line-height: 1; }
.hy-year small { color: var(--muted); font-weight: 700; font-size: 13px; }
.hy-body { padding-inline-start: 26px; display: grid; gap: 14px; }
.hy-ms { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow-s); }
.hy-ms .star8 { color: var(--red); font-size: 18px; margin-top: 6px; }
.hy-ms time { font-family: var(--f-num); font-weight: 800; color: var(--gold-t); font-size: 14px; }
.hy-ms h3 { font-size: 18px; margin: 4px 0 6px; }
.hy-ms p { margin: 0; color: var(--muted); font-size: 15.5px; }
.hy-list { background: var(--white); border: 1px dashed var(--line-2); border-radius: 16px; padding: 4px 18px; }
.hy-list summary { cursor: pointer; font-weight: 800; padding: 12px 0; color: var(--green-d); }
.hy-list ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 4px; }
.hy-list li a { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hy-list li time { font-family: var(--f-num); color: var(--gold-t); font-size: 13px; font-weight: 700; }
@media (max-width: 700px) { .hy { grid-template-columns: minmax(0, 1fr); gap: 12px; } .hy-wrap::before { display: none; } .hy-year { position: static; text-align: start; } .hy-body { padding: 0; } }

.blist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.blist li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(242, 201, 76, .2); font-size: 14.5px; color: #E2E9E3; line-height: 1.55; }
.blist .num { color: var(--gold-2); font-weight: 800; font-size: 13px; min-width: 22px; }
@media (max-width: 640px) { .blist { grid-template-columns: minmax(0, 1fr); } }

/* committees */
.cmts.big { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.cmt.big { padding: 20px; align-items: flex-start; }
.cmt.big .ib { width: 52px; height: 52px; }
.cmt.big b { display: block; font-size: 16.5px; }
.cmt small { display: block; color: var(--muted); font-size: 13.5px; font-weight: 400; margin-top: 4px; line-height: 1.6; }
.cmt-badge { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.cmt-badge .ib { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--green); color: #fff; flex: none; }
.cmt-badge b { font-family: var(--f-head); font-size: 17px; line-height: 1.5; }
.rules.light li { background: var(--white); border-color: var(--line); color: var(--ink-2); }
.rules.light li .ic { color: var(--green); }
ul.plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
ul.plain li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
ul.plain .ic { width: 18px; height: 18px; color: var(--gold-d); margin-top: 5px; }

/* indicators dashboard */
.ktiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-bottom: 26px; }
.ktile { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px 16px; text-align: center; box-shadow: var(--shadow-s); position: relative; overflow: hidden; }
.ktile::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--green) 0 33.34%, #fff 0 66.67%, var(--red) 0); }
.ktile .ib { width: 44px; height: 44px; margin: 0 auto 8px; border-radius: 12px; display: grid; place-items: center; background: var(--green-l); color: var(--green); }
.ktile b { display: block; font-size: 38px; font-weight: 800; color: var(--ink); line-height: 1.15; }
.ktile span:last-child { font-size: 13.5px; color: var(--muted); font-weight: 700; }
@media (max-width: 1100px) { .ktiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ktiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dash { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dcard.wide { grid-column: 1 / -1; }
.dcard h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.dcard h3 .ic { color: var(--gold-d); }
@media (max-width: 820px) { .dash { grid-template-columns: minmax(0, 1fr); } }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .bar { fill: var(--green); transition: fill .2s; }
.chart .bar:hover { fill: var(--red); }
.chart .lbl { font-size: 11px; fill: var(--muted); font-family: var(--f-body); }
.chart .val { font-size: 11px; fill: var(--ink); font-weight: 700; font-family: var(--f-num); }
.hbars { display: grid; gap: 10px; }
.hbar { display: grid; grid-template-columns: minmax(90px, 34%) minmax(0, 1fr) 42px; gap: 10px; align-items: center; font-size: 14px; }
.hbar .tr { display: block; height: 12px; border-radius: 6px; background: var(--paper-2); overflow: hidden; }
.hbar .fl { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--green), var(--green-2)); width: 0; transition: width 1.2s var(--ease); }
html[dir="rtl"] .hbar .fl { background: linear-gradient(270deg, var(--green), var(--green-2)); }
.hbar:nth-child(3n+2) .fl { background: var(--red); } .hbar:nth-child(3n) .fl { background: var(--gold); }
.hbar b { font-family: var(--f-num); text-align: end; }
.heat { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, 13px); grid-auto-columns: 13px; gap: 3px; overflow-x: auto; padding-bottom: 6px; direction: ltr; }
.heat i { width: 13px; height: 13px; border-radius: 3px; background: var(--paper-2); }
.heat i.l1 { background: #BFE0CC; } .heat i.l2 { background: #6FBF8E; } .heat i.l3 { background: var(--green); } .heat i.l4 { background: var(--green-dd); }

/* statute reader */
.st-shell { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: start; }
.st-toc { position: sticky; top: calc(var(--hdr-h) + 20px); max-height: calc(100vh - var(--hdr-h) - 40px); overflow: auto; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.st-toc .search input { height: 44px; font-size: 15px; }
.st-toc ol { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 2px; }
.st-toc li a { display: block; padding: 7px 10px; border-radius: 10px; font-size: 14px; line-height: 1.5; }
.st-toc li.tp a { font-weight: 800; color: var(--green-d); }
.st-toc li.tc a { padding-inline-start: 22px; color: var(--muted); font-weight: 700; }
.st-toc li a:hover, .st-toc li a.on { background: var(--green-l); }
.st-count { font-size: 13px; margin: 8px 0 0; }
.st-body { max-width: 820px; }
.st-pre { display: flex; gap: 14px; padding: 20px; border-radius: 16px; background: var(--gold-l); border: 1px solid var(--gold); margin-bottom: 12px; }
.st-pre .ic { color: var(--gold-t); width: 30px; height: 30px; }
.st-pre p { margin: 0; font-size: 16.5px; }
.st-src { font-size: 13.5px; color: var(--muted); }
.st-part { font-size: 26px; margin: 40px 0 10px; padding-bottom: 10px; border-bottom: 3px double var(--ink); scroll-margin-top: 140px; }
.st-chap { font-size: 19px; color: var(--green-d); margin: 26px 0 8px; scroll-margin-top: 140px; }
.st-art { padding: 16px 20px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); margin-bottom: 10px; scroll-margin-top: 140px; transition: box-shadow .3s; }
.st-art:target { box-shadow: 0 0 0 3px var(--gold); }
.st-art header { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 6px; }
.st-no { font-family: var(--f-head); font-weight: 800; color: var(--red); font-size: 15px; }
.st-art header b { font-family: var(--f-head); font-size: 15.5px; }
.st-art p { margin: 0 0 6px; font-size: 16.5px; line-height: 1.95; color: var(--ink-2); }
html[lang="fr"] .st-art p, html[lang="en"] .st-art p { line-height: 1.65; }
.st-art ul { margin: 4px 0 6px; padding-inline-start: 20px; font-size: 16px; color: var(--ink-2); }
.st-art mark { background: var(--gold-2); border-radius: 3px; }
.st-art.hide, .st-part.hide, .st-chap.hide { display: none; }
@media (max-width: 960px) { .st-shell { grid-template-columns: minmax(0, 1fr); } .st-toc { position: static; max-height: 340px; } }
@media print { .st-toc, .phero { display: none !important; } .st-shell { display: block; } .st-art { break-inside: avoid; border: 0; padding: 4px 0; } }

/* agenda */
.countdown { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; background: var(--green-dd); color: #fff; border: 0; position: relative; overflow: hidden; }
.countdown::before { content: ""; position: absolute; inset: 0; background: var(--zellige) 0 0 / 60px 60px; opacity: .08; filter: invert(1); }
.countdown > * { position: relative; }
.countdown h2 { color: #fff; margin: 6px 0; }
.countdown .kicker { color: var(--gold-2); }
.countdown .muted { color: #C9D4CC; }
.cd-box { display: flex; gap: 10px; }
.cd-box div { min-width: 86px; text-align: center; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(242, 201, 76, .35); }
.cd-box b { display: block; font-family: var(--f-num); font-size: 38px; color: var(--gold-2); line-height: 1.1; }
.cd-box small { color: #C9D4CC; font-weight: 700; }
@media (max-width: 700px) { .countdown { grid-template-columns: minmax(0, 1fr); } .cd-box div { min-width: 0; flex: 1; } }
.events { display: grid; gap: 12px; }
.event { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.event .ed { text-align: center; border-radius: 12px; background: var(--red); color: #fff; padding: 8px 4px; }
.event .ed b { display: block; font-family: var(--f-num); font-size: 28px; line-height: 1.1; }
.event .ed small { font-size: 12px; font-weight: 700; }
.events.past .event .ed { background: var(--ink-2); }
.event h3 { font-size: 17px; margin: 0 0 4px; }
.event p { margin: 0; font-size: 14.5px; color: var(--muted); }
.ndays { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ndays li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.ndays li.next { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-l); }
.ndays .dd { font-family: var(--f-num); font-weight: 800; color: var(--green-d); text-align: center; line-height: 1.2; }
.ndays .dd small { display: block; font-family: var(--f-body); font-size: 12px; color: var(--muted); }
.ndays b { font-size: 15.5px; } .ndays p { margin: 2px 0 0; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* gallery */
.albums { columns: 3 280px; column-gap: 18px; }
.album { break-inside: avoid; margin-bottom: 18px; display: block; background: var(--white); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-s); cursor: zoom-in; width: 100%; text-align: start; padding: 0; }
.album .cov { position: relative; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; aspect-ratio: 4 / 3; }
.album .cov img { width: 100%; height: 100%; object-fit: cover; }
.album .cov img:first-child { grid-row: 1 / 3; }
.album .cov .n { position: absolute; bottom: 10px; inset-inline-end: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 12.5px; font-weight: 700; display: inline-flex; gap: 5px; align-items: center; }
.album .cov .n .ic { width: 15px; height: 15px; }
.album .bd { display: block; padding: 14px 16px; }
.album .bd b { display: block; font-family: var(--f-head); font-size: 15.5px; line-height: 1.55; }
.album .bd time { font-size: 13px; color: var(--muted); font-weight: 700; }

/* videos */
.vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.vidcard { background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-s); }
.vidcard .ratio { display: block; aspect-ratio: 3 / 4; background: #000; }

.vidcard video, .vidcard iframe { width: 100%; height: 100%; display: block; border: 0; object-fit: contain; background: #000; }
.vidcard .body { padding: 14px 16px; }
.vidcard time { font-size: 13px; color: var(--gold-t); font-weight: 700; }
.vidcard h3 { font-size: 16px; margin: 4px 0 6px; line-height: 1.55; }
@media (max-width: 980px) { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .vgrid { grid-template-columns: minmax(0, 1fr); } }

/* media kit */
.dls { display: grid; gap: 12px; margin-top: 10px; }
.dlcard { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.dlcard img { width: 52px; height: 52px; border-radius: 50%; }
.dlcard b { display: block; } .dlcard small { color: var(--muted); }
.dlcard .ic { color: var(--green); }
.swatches { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.swatch { border: 1px solid var(--line); background: var(--white); border-radius: 16px; padding: 10px; text-align: start; }
.swatch span { display: block; height: 90px; border-radius: 10px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); margin-bottom: 8px; }
.swatch b { display: block; font-size: 14px; } .swatch code { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* FAQ */
.faq-group { margin-bottom: 30px; }
.faq-group h2 { font-size: 24px; }
.qa { background: var(--white); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; overflow: hidden; }
.qa summary { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 16px 20px; font-weight: 800; cursor: pointer; list-style: none; font-size: 16.5px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ic { flex: none; color: var(--green); transition: transform .3s; }
.qa[open] summary .ic { transform: rotate(45deg); }
.qa > div { padding: 0 20px 16px; color: var(--ink-2); }
.qa > div p { margin: 0; }

/* search results */
.sres { display: grid; gap: 12px; }
.sres a { display: block; padding: 16px 18px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.sres a:hover { border-color: var(--green); }
.sres small { color: var(--gold-t); font-weight: 800; font-size: 12.5px; }
.sres b { display: block; font-family: var(--f-head); font-size: 17px; line-height: 1.5; margin: 2px 0; }
.sres p { margin: 0; font-size: 14.5px; color: var(--muted); }
.sres mark { background: var(--gold-l); color: inherit; }

/* sitemap */
.smap { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.smap li a { font-weight: 700; } .smap li.sub a { font-weight: 400; font-size: 14.5px; color: var(--muted); padding-inline-start: 14px; }

/* diplomacy */
.dests { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.dest { position: relative; padding: 20px; padding-top: 58px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.dest .flag { top: 18px; inset-inline-start: 18px; inset-inline-end: auto; }
.dest time { font-size: 13px; font-weight: 800; color: var(--gold-t); }
.dest h3 { font-size: 17px; margin: 4px 0 6px; }
.dest p { margin: 0; font-size: 15px; color: var(--muted); }
.fl-un { background: #4B92DB; } .fl-un::before { inset: 22%; border: 2px solid #fff; border-radius: 50%; }
.fl-mr { background: linear-gradient(180deg, #D01C1F 0 18%, #00A95C 18% 82%, #D01C1F 82%); } .fl-mr::before { width: 14px; height: 7px; left: 50%; top: 52%; transform: translate(-50%, -50%); border-radius: 0 0 14px 14px; background: #FFD700; }
.fl-qa { background: linear-gradient(90deg, #fff 0 30%, #8A1538 30%); }

/* activity map (home + indicators) */
.actmap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(26px, 5vw, 70px); align-items: center; }
.am-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 6px 0 22px; }
.am-stats div { padding: 14px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); text-align: center; }
.am-stats b { display: block; font-size: 34px; font-weight: 800; color: var(--green); line-height: 1.15; }
.am-stats span { font-size: 13px; font-weight: 700; color: var(--muted); }
.am-top { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; counter-reset: am; }
.am-top li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-weight: 700; font-size: 15px; }
.am-top li::before { counter-increment: am; content: counter(am); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-l); color: var(--gold-t); font-family: var(--f-num); font-size: 13px; }
.am-top .bar { grid-column: 2 / 4; height: 6px; border-radius: 4px; background: var(--paper-2); overflow: hidden; margin-top: -4px; }
.am-top .bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--green), var(--gold)); }
.am-top b { font-family: var(--f-num); color: var(--green-d); }
.dzmap.am .bub { fill: rgba(0, 98, 51, .55); stroke: #fff; stroke-width: 2; transition: .2s; cursor: pointer; }
.dzmap.am .bub:hover { fill: var(--red); }
.dzmap.am .bub.hq { fill: rgba(210, 16, 52, .8); }
.dzmap.am .dot0 { fill: #E9E4D4; }
@media (max-width: 900px) { .actmap { grid-template-columns: minmax(0, 1fr); } }
.print-head { display: none; }
@media print {
  .print-head { display: flex; gap: 16px; align-items: center; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 3px double #141414; }
  .print-head img { width: 76px; height: 76px; }
  .print-head b { display: block; font-family: var(--f-head); font-size: 20px; }
  .print-head span { display: block; font-family: var(--f-head); font-size: 26px; color: #006233; font-weight: 800; }
  .print-head small { color: #555; }
  .st-art { break-inside: auto; }
  .tri, .rope { display: none !important; }
  body { font-size: 14px; }
}
/* mixed-language fallbacks (an item without FR/EN shows its Arabic text with its own direction) */
.fp h3, .fp h4, .fp p, .ncard h3, .ncard p, .clip h4, .album b, .rel-title, .tk-items a, .hero-live a, .sres b, .sres p, .event h3, .event p, .article-nav-link span { unicode-bidi: plaintext; }
.bureau { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.bm { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.bm .av { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--f-head); font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--green), var(--green-dd)); box-shadow: 0 0 0 3px var(--gold-l); }
.bm:nth-child(3n+2) .av { background: linear-gradient(135deg, var(--red), var(--red-d)); }
.bm:nth-child(3n) .av { background: linear-gradient(135deg, var(--gold), var(--gold-d)); color: var(--ink); }
.bm b { display: block; font-family: var(--f-head); font-size: 15.5px; line-height: 1.4; }
.bm small { display: block; color: var(--muted); font-size: 13px; line-height: 1.55; margin-top: 2px; }

/* ==========================================================================
   Organisation charts — top-down tree (.oc-tree), vertical sub-list (.oc-list),
   two-column comb for large groups (.oc-comb). RTL/LTR via logical properties.
   ========================================================================== */
.ochart { --oc-line: #C9BE9C; --oc-gap: 24px; position: relative; overflow-x: auto; padding: 8px 4px 18px; scrollbar-width: thin; }
.ochart.dark { --oc-line: rgba(242, 201, 76, .55); }
.oc-tree, .oc-tree ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; position: relative; }
.oc-tree { width: max-content; min-width: 100%; }
.oc-tree ul { padding-top: var(--oc-gap); }
.oc-tree li { position: relative; display: flex; flex-direction: column; align-items: center; padding: var(--oc-gap) 8px 0; }
.oc-tree > li { padding-top: 0; }
/* horizontal bus halves + vertical drop */
.oc-tree ul > li::before, .oc-tree ul > li::after { content: ""; position: absolute; top: 0; width: 50%; height: var(--oc-gap); border-top: 2px solid var(--oc-line); }
.oc-tree ul > li::before { inset-inline-end: 50%; }
.oc-tree ul > li::after { inset-inline-start: 50%; border-inline-start: 2px solid var(--oc-line); }
.oc-tree ul > li:first-child::before { border: 0; }
.oc-tree ul > li:last-child::after { border: 0; }
.oc-tree ul > li:last-child::before { border-inline-end: 2px solid var(--oc-line); border-start-end-radius: 8px; }
.oc-tree ul > li:first-child::after { border-start-start-radius: 8px; }
.oc-tree ul > li:only-child::before { display: none; }
.oc-tree ul > li:only-child::after { border-top: 0; border-inline-start: 2px solid var(--oc-line); border-radius: 0; }
/* parent → bus */
.oc-tree ul::before { content: ""; position: absolute; top: 0; inset-inline-start: 50%; height: var(--oc-gap); border-inline-start: 2px solid var(--oc-line); }
html[dir="rtl"] .oc-tree ul::before { margin-inline-start: -1px; }

/* nodes */
.oc-node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 150px; max-width: 230px;
  padding: 11px 16px; border-radius: 14px; background: var(--white); border: 1.5px solid var(--line-2); box-shadow: 0 6px 16px rgba(20, 20, 20, .06); text-align: center; line-height: 1.45;
  transition: transform .2s, border-color .2s, box-shadow .2s; color: var(--ink); font: inherit; }
a.oc-node, button.oc-node { cursor: pointer; }
a.oc-node:hover, button.oc-node:hover, .oc-node.on { transform: translateY(-2px); border-color: var(--green); box-shadow: 0 10px 22px rgba(0, 98, 51, .14); color: var(--ink); }
.oc-node b { font-family: var(--f-head); font-size: 15px; font-weight: 700; }
.oc-node small { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.oc-node .who { font-size: 13.5px; font-weight: 800; color: var(--green-d); }
.oc-node .n { font-family: var(--f-num); font-size: 22px; font-weight: 800; color: var(--green); line-height: 1.1; }
.oc-node.top { background: var(--green-dd); border-color: var(--green-dd); color: #fff; min-width: 190px; }
.oc-node.top b { color: #fff; font-size: 16.5px; } .oc-node.top small { color: var(--gold-2); } .oc-node.top .who { color: #fff; }
.oc-node.gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); border-color: var(--gold-d); }
.oc-node.gold small { color: #5A4507; } .oc-node.gold .who { color: #3a2c04; }
.oc-node.red { border-color: var(--red); } .oc-node.red b { color: var(--red-d); }
.oc-node.soft { background: var(--paper); border-style: dashed; }
.oc-node::after { content: ""; position: absolute; top: 0; inset-inline: 14px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--green) 0 33.34%, #fff 0 66.67%, var(--red) 0); opacity: .9; }
.oc-node.top::after, .oc-node.gold::after { display: none; }
.ochart.dark .oc-node { background: rgba(255, 255, 255, .06); border-color: rgba(242, 201, 76, .35); color: #fff; box-shadow: none; }
.ochart.dark .oc-node b { color: #fff; } .ochart.dark .oc-node small { color: #BFD0C4; }
.ochart.dark .oc-node.gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--ink); } .ochart.dark .oc-node.gold b { color: var(--ink); } .ochart.dark .oc-node.gold small { color: #5A4507; }
.ochart.dark .oc-node .n { color: var(--gold-2); }
.ochart.dark .oc-node::after { display: none; }

/* vertical sub-list under a node: a centred stack on one spine */
.oc-tree li > ol.oc-list { list-style: none; margin: 0; padding: var(--oc-gap) 0 0; position: relative; display: grid; gap: 10px; width: 270px; }
.oc-list::before { content: ""; position: absolute; top: 0; bottom: 16px; left: 50%; border-left: 2px solid var(--oc-line); transform: translateX(-1px); }
.oc-tree .oc-list > li { padding: 0; align-items: stretch; }
.oc-tree .oc-list > li::before, .oc-tree .oc-list > li::after { display: none; }
.oc-list .oc-node { min-width: 0; max-width: none; width: 100%; padding: 8px 12px; }
.oc-list .oc-node::after { display: none; }
.oc-list .oc-node b { font-size: 13.5px; }
.oc-list .oc-node .who { font-size: 13px; }

/* two-column comb (many equal children) */
.oc-comb { list-style: none; margin: 0 auto; padding: var(--oc-gap) 0 0; position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 64px; max-width: 900px; }
.oc-comb::before { content: ""; position: absolute; top: 0; bottom: 28px; left: 50%; border-left: 2px solid var(--oc-line); transform: translateX(-1px); }
.oc-comb > li { position: relative; display: flex; }
.oc-comb > li::before { content: ""; position: absolute; top: 50%; width: 32px; border-top: 2px solid var(--oc-line); }
.oc-comb > li:nth-child(odd)::before { inset-inline-end: -33px; }
.oc-comb > li:nth-child(even)::before { inset-inline-start: -33px; }
.oc-comb > li > .oc-node { flex: 1; max-width: none; flex-direction: row; justify-content: flex-start; gap: 12px; text-align: start; }
.oc-comb .oc-node .ib { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--green-l); color: var(--green); }
.oc-comb > li:nth-child(4n+2) .oc-node .ib, .oc-comb > li:nth-child(4n+3) .oc-node .ib { background: var(--red-l); color: var(--red); }
.oc-comb .oc-node .ib .ic { width: 22px; height: 22px; }
.oc-comb .oc-node .tx { display: flex; flex-direction: column; }
.oc-comb .oc-node .no { font-family: var(--f-num); font-size: 12px; font-weight: 800; color: var(--gold-t); }
.oc-head { display: flex; justify-content: center; }
.oc-stem { width: 2px; height: var(--oc-gap); background: var(--oc-line); margin: 0 auto; }

.oc-caption { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.oc-detail { margin-top: 18px; border-inline-start: 4px solid var(--green); }

@media (max-width: 760px) {
  .oc-comb { grid-template-columns: minmax(0, 1fr); padding-inline-start: 28px; }
  .oc-comb::before { left: auto; inset-inline-start: 12px; transform: none; }
  .oc-comb > li::before, .oc-comb > li:nth-child(odd)::before, .oc-comb > li:nth-child(even)::before { inset-inline-start: -16px; inset-inline-end: auto; width: 16px; }
}
/* phones: the wide tree turns into an indented vertical tree */
@media (max-width: 700px) {
  .oc-tree, .oc-tree ul { display: block; width: auto; min-width: 0; }
  .oc-tree ul { padding: 10px 0 0; margin-inline-start: 18px; }
  .oc-tree li { display: block; padding: 0 0 10px; }
  .oc-tree ul > li { padding-inline-start: 22px; }
  .oc-tree ul::before { inset-inline-start: 0; top: 0; bottom: 30px; height: auto; margin: 0; }
  .oc-tree ul > li::before, .oc-tree ul > li:last-child::before, .oc-tree ul > li:first-child::before { display: block; inset-inline-start: 0; inset-inline-end: auto; top: 26px; width: 20px; height: 0; border: 0; border-top: 2px solid var(--oc-line); border-radius: 0; }
  .oc-tree ul > li::after, .oc-tree ul > li:only-child::after { display: none; }
  .oc-node { max-width: none; min-width: 0; align-items: flex-start; text-align: start; }
  .oc-tree li > ol.oc-list { width: auto; margin-inline-start: 18px; padding-top: 10px; }
  .oc-list::before { left: auto; inset-inline-start: 0; transform: none; }
  .oc-tree .oc-list > li { padding-inline-start: 22px; position: relative; }
  .oc-tree .oc-list > li::before { display: block; content: ""; position: absolute; top: 50%; inset-inline-start: 0; width: 20px; border-top: 2px solid var(--oc-line); }
  .ochart { overflow: visible; }
}
