/* ═══════════════════════════════════════════════════════
   دراية — Misk Global Forum design language × Deraya brand
   White canvas · logo red/green/black · Cairo · big type ·
   staggered entrances · Swiper carousels
   ═══════════════════════════════════════════════════════ */

:root {
  --red: #f40000;
  --red-d: #cc0000;
  --green: #00732e;
  --ink: #131316;
  --muted: #5c5c63;
  --bg: #ffffff;
  --alt: #f6f6f8;
  --line: #e8e8ec;
  --font: 'Cairo', sans-serif;
  --radius: 16px;
  --shadow: 0 24px 48px -24px rgba(19, 19, 22, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--red); color: #fff; }

.container { width: min(1240px, 92vw); margin-inline: auto; }
.center { text-align: center; }
.light { color: #fff; }

/* ══════════ ENTRANCE ANIMATIONS (Misk playbook) ══════════ */
[data-anim] { opacity: 0; }
[data-anim].in { animation-duration: 1s; animation-fill-mode: both; animation-timing-function: var(--ease); }
[data-anim="fadeInUp"].in    { animation-name: aFadeInUp; }
[data-anim="fadeInDown"].in  { animation-name: aFadeInDown; }
[data-anim="fadeInRight"].in { animation-name: aFadeInRight; }
[data-anim="fadeInLeft"].in  { animation-name: aFadeInLeft; }
[data-anim="fadeIn"].in      { animation-name: aFadeIn; }
@keyframes aFadeInUp    { from { opacity: 0; transform: translate3d(0, 44px, 0); } to { opacity: 1; transform: none; } }
@keyframes aFadeInDown  { from { opacity: 0; transform: translate3d(0, -44px, 0); } to { opacity: 1; transform: none; } }
@keyframes aFadeInRight { from { opacity: 0; transform: translate3d(60px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes aFadeInLeft  { from { opacity: 0; transform: translate3d(-60px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes aFadeIn      { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1 !important; animation: none !important; }
}

/* sink hover (Misk button hover) */
.hover-sink { transition: transform 0.3s var(--ease); }
.hover-sink:hover { transform: translateY(4px); }

/* ══════════ TYPE ══════════ */
.kicker {
  display: inline-block;
  color: var(--red); font-weight: 800; font-size: 1rem;
  margin-bottom: 8px;
}
.kicker.center { display: block; text-align: center; }
.h-lg {
  font-size: clamp(1.9rem, 4.4vw, 3.1rem); font-weight: 900; line-height: 1.45;
  margin-bottom: 34px;
}
.h-lg em { font-style: normal; color: var(--red); }
.section--ink .h-lg em { color: #ff5a5a; }

/* ══════════ BUTTONS (Misk recipe: bold, radius 10, wide) ══════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem;
  padding: 13px 30px; border-radius: 10px; border: 1px solid transparent;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.btn--xl { padding: 18px 54px; font-size: 1.12rem; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-d); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--ink); color: #fff; }
.btn--glass {
  background: rgba(255, 255, 255, 0.14); color: #fff;
  border-color: rgba(255, 255, 255, 0.5); backdrop-filter: blur(8px);
}
.btn--glass:hover { background: #fff; color: var(--ink); }

.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-inline-end: 10px; flex: 0 0 auto; }
.dot--red { background: var(--red); }
.dot--green { background: var(--green); }

/* ══════════ SECTIONS ══════════ */
.section { padding: clamp(80px, 10vw, 130px) 0; }
.section--alt { background: var(--alt); }
.section--ink { background: var(--ink); color: #fff; }

/* ══════════ HEADER — transparent → solid (Misk sticky effect) ══════════ */
.header {
  position: fixed; top: 0; inset-inline: 0; z-index: 900;
  padding: 6px 0;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
}
.header__inner { display: flex; align-items: center; gap: 28px; min-height: 66px; }
.header__logo img { height: 44px; width: auto; }
.logo-dark { display: none; }
.header.is-solid { background: #fff; box-shadow: 0 8px 30px -16px rgba(19, 19, 22, 0.25); padding: 0; }
.header.is-solid .logo-light { display: none; }
.header.is-solid .logo-dark { display: block; }

.header__nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav-link {
  color: rgba(255, 255, 255, 0.92); font-size: 0.95rem; font-weight: 700;
  padding: 9px 14px; border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}
.nav-link:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
.header.is-solid .nav-link { color: var(--ink); }
.header.is-solid .nav-link:hover { background: var(--alt); color: var(--red); }
.header__cta { font-size: 0.92rem; padding: 11px 26px; }

.burger { display: none; background: none; border: 0; padding: 8px; }
.burger span { display: block; width: 26px; height: 3px; border-radius: 3px; background: #fff; margin: 5px 0; transition: 0.3s; }
.header.is-solid .burger span { background: var(--ink); }
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1080px) {
  .header__nav, .header__cta { display: none; }
  .burger { display: block; margin-inline-start: auto; }
}

.mmenu {
  position: fixed; inset: 0; z-index: 890; background: #fff;
  display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: opacity 0.35s;
}
.mmenu.is-open { opacity: 1; pointer-events: auto; }
.mmenu__nav { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.mmenu__nav a { font-size: 1.6rem; font-weight: 800; padding: 10px; }
.mmenu__nav a:hover { color: var(--red); }
.mmenu__nav .is-cta { color: var(--red); }

/* ══════════ HERO — Misk-style brand field ══════════
   miskglobalforum.com: a solid deep brand-purple field with a soft lighter glow,
   white display title, accent line in the second brand colour, and a portrait
   photo-mosaic beside the text. Translated to Deraya: deep red field, red accent,
   mosaic built from the WP hero-slider images (which keep rotating inside the
   tiles, so the "slider" the client asked for lives on). */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  color: #fff; overflow: hidden;
  /* Red + green field (both logo colours) on the Misk structure. Text side is
     GREEN so the red accent line and red CTA pop; the photo-figure side is RED.
     The two meet through a dark seam (a straight red→green mix goes brown).
     Light at the top → dark at the bottom, wash behind the text, soft light
     behind the title — all kept from the Misk recipe. RTL: text on the right. */
  background-color: #0b5a2a;
  background-image:
    radial-gradient(40% 50% at 78% 34%, rgba(150, 255, 190, .38) 0%, rgba(150, 255, 190, 0) 70%),   /* light behind the title */
    linear-gradient(180deg, rgba(0, 0, 0, 0) 8%, rgba(6, 6, 8, .78) 100%),                           /* light → dark */
    radial-gradient(55% 70% at 12% 62%, rgba(196, 16, 16, .95) 0%, rgba(196, 16, 16, 0) 68%),        /* red glow, photo side */
    radial-gradient(55% 70% at 88% 30%, rgba(14, 150, 70, .95) 0%, rgba(14, 150, 70, 0) 68%),        /* green glow, text side */
    linear-gradient(259deg, #0f7a38 0%, #1a1212 52%, #7a0b0b 100%);                                  /* green → dark seam → red */
}
[dir="ltr"] .hero {
  background-image:
    radial-gradient(40% 50% at 22% 34%, rgba(150, 255, 190, .38) 0%, rgba(150, 255, 190, 0) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 8%, rgba(6, 6, 8, .78) 100%),
    radial-gradient(55% 70% at 88% 62%, rgba(196, 16, 16, .95) 0%, rgba(196, 16, 16, 0) 68%),
    radial-gradient(55% 70% at 12% 30%, rgba(14, 150, 70, .95) 0%, rgba(14, 150, 70, 0) 68%),
    linear-gradient(101deg, #0f7a38 0%, #1a1212 52%, #7a0b0b 100%);
}
/* slow drifting glow, like the soft light moving on Misk's purple */
.hero__glow {
  position: absolute; inset: -20%;
  background: radial-gradient(40% 40% at 50% 50%, rgba(160, 255, 200, .10) 0%, rgba(160, 255, 200, 0) 70%);
  animation: heroDrift 16s ease-in-out infinite alternate; pointer-events: none;
}
@keyframes heroDrift { from { transform: translate(-8%, -6%) scale(1); } to { transform: translate(10%, 8%) scale(1.15); } }

.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 56px; align-items: center; padding-top: 120px; padding-bottom: 96px;
}
/* legacy slider nodes, if any page still renders them */
.hero__bg, .hero__slide, .hero__overlay { display: none; }

/* ── the mosaic ── an 8-col grid; explicit placement so the collage is composed,
   not random (the same lesson as the bento grid). Tiles are greyscale like Misk's
   portraits; one "feature" tile stays in colour. */
.mosaic {
  display: grid; gap: 8px;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 62px;
  width: min(100%, 400px); margin-inline-start: auto;
  /* the figure is a Latin "D" (as in the Deraya logo) — grid columns must flow
     left→right even on the RTL site, or it renders mirrored as "ᗡ" */
  direction: ltr;
}
.tile {
  position: relative; overflow: hidden; border-radius: 10px;
  background: #1a0a0a;
  opacity: 0; transform: translateY(14px);
  animation: tileIn .7s cubic-bezier(.2,.7,.3,1) forwards; animation-delay: var(--d, 0ms);
}
@keyframes tileIn { to { opacity: 1; transform: none; } }
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%;
  display: block; filter: grayscale(1) contrast(1.05); opacity: 1; transition: opacity 1s ease;
}
.tile img + img { opacity: 0; }
.tile img.in { opacity: 1; }
.tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 6, 6, 0) 60%, rgba(12, 6, 6, .45) 100%);
  pointer-events: none;
}
/* the figure — a "D" (their anniversary "10" → Deraya's initial). Missing corner
   cells ARE the curve; tiles are 2×2 units so each still reads as a person. */
.t1  { grid-column: 1 / 3; grid-row: 1 / 3; }   /* left bar */
.t2  { grid-column: 1 / 3; grid-row: 3 / 5; }
.t3  { grid-column: 1 / 3; grid-row: 5 / 7; }
.t4  { grid-column: 1 / 3; grid-row: 7 / 9; }
.t5  { grid-column: 3 / 5; grid-row: 1 / 2; }   /* top bar */
.t6  { grid-column: 3 / 5; grid-row: 8 / 9; }   /* bottom bar */
.t7  { grid-column: 5 / 6; grid-row: 2 / 3; }   /* curve */
.t8  { grid-column: 5 / 7; grid-row: 3 / 5; }
.t9  { grid-column: 5 / 7; grid-row: 5 / 7; }
.t10 { grid-column: 5 / 6; grid-row: 7 / 8; }
.t11 { display: none; }.t11 { grid-column: 5 / 6; grid-row: 8 / 10; }

.hero__content { position: relative; z-index: 2; padding-top: 90px; }
.hero__hash {
  display: inline-block;
  color: rgba(255, 255, 255, .78); font-weight: 700; font-size: 1rem; letter-spacing: .02em;
  margin-bottom: 22px;
}
.hero__title { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 900; line-height: 1.3; text-shadow: 0 3px 28px rgba(0,0,0,.5); }
.hero__title span { display: block; }
.hero__title .accent { color: var(--red); text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35); }  /* exact logo red #f40000 */
.hero__sub {
  margin-top: 20px; font-size: 1.25rem; max-width: 56ch;
  color: rgba(255, 255, 255, 0.92);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__scroll {
  position: absolute; bottom: 26px; inset-inline: 0; z-index: 2;
  display: flex; justify-content: center;
}
.hero__scroll span {
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px; position: relative;
}
.hero__scroll span::after {
  content: ''; position: absolute; top: 7px; inset-inline-start: 50%; margin-inline-start: -2px;
  width: 4px; height: 9px; border-radius: 4px; background: var(--red);
  animation: scrollHint 1.6s infinite;
}
@keyframes scrollHint { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
@media (max-width: 640px) { .hero__actions .btn { flex: 1 1 100%; } }

/* ══════════ ABOUT ══════════ */
/* Misk-style «عن المنتدى»: a big photo with a white card (soft warm tint, deep
   shadow) overlapping its edge. RTL: text card on the right, photo on the left. */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 0; align-items: center; }
.about__text {
  position: relative; z-index: 2;
  background: linear-gradient(160deg, #ffffff 0%, #fff5f5 100%);
  border-radius: 22px; padding: clamp(28px, 4vw, 50px);
  box-shadow: 0 34px 80px -24px rgba(19, 19, 22, .32), 0 10px 28px -14px rgba(19, 19, 22, .14);
  margin-inline-end: -96px;                 /* overlap onto the photo */
}
.about__text p { color: var(--muted); font-size: 1.05rem; margin-bottom: 22px; }
.about__points { display: grid; gap: 12px; margin-bottom: 30px; }
.point { display: flex; align-items: center; font-weight: 700; font-size: 1rem; }
.about__media { position: relative; z-index: 1; }
.about__media img {
  border-radius: 22px; box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.1; min-height: 520px; object-fit: cover; width: 100%; display: block;
}
/* video in place of the photo. The box takes the VIDEO's shape (set in wp-admin),
   and the 16:9 YouTube player is scaled so the video itself fills the box exactly —
   a vertical reel is no longer pillar-boxed with black sides. */
.about__video {
  position: relative; display: block; width: 100%;
  border-radius: 22px; overflow: hidden; background: #0e0e11; box-shadow: var(--shadow);
  object-fit: cover;
}
.about__video--embed iframe {
  position: absolute; top: 50%; left: 50%; border: 0; pointer-events: none;
  transform: translate(-50%, -50%); height: 100%;
}
/* reel 9:16 — player is 16:9 of its height, so width = 16/9 ÷ 9/16 ≈ 316% */
.about__video--9x16 { aspect-ratio: 9 / 16; width: min(100%, 400px); }
.about__video--9x16 iframe { width: 316%; }
/* square — width = 16/9 ≈ 178% */
.about__video--1x1  { aspect-ratio: 1 / 1;  width: min(100%, 560px); }
.about__video--1x1 iframe { width: 178%; }
/* landscape — the player's own shape */
.about__video--16x9 { aspect-ratio: 16 / 9; }
.about__video--16x9 iframe { width: 100%; }
/* portrait/square video: keep the WHOLE video visible — the box sits on the outer
   edge of its column (away from the card), columns balanced so there's no hole */
.about:has(.about__video--9x16), .about:has(.about__video--1x1) { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.about__media:has(.about__video--9x16) { width: min(100%, 400px); margin-inline-start: auto; }
.about__media:has(.about__video--1x1)  { width: min(100%, 560px); margin-inline-start: auto; }
@media (max-width: 900px) {
  .about__media:has(.about__video) { margin-inline: auto; }
  .about__video--9x16 { width: min(100%, 320px); }
}

.about__media-badge {
  position: absolute; bottom: 22px; inset-inline-end: 22px;   /* outer corner, clear of the card */
  background: var(--green); color: #fff;
  border-radius: 14px; padding: 16px 24px;
  font-weight: 700; box-shadow: var(--shadow);
}
.about__media-badge b { font-size: 1.5rem; font-weight: 900; margin-inline-end: 6px; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__media { order: -1; }
  .about__media img { min-height: 0; aspect-ratio: 16 / 11; }
  .about__text { margin: -70px 16px 0; }   /* card rides up over the bottom of the photo */
  .about__media-badge { bottom: auto; top: 16px; inset-inline-end: 16px; padding: 12px 18px; }
}

/* ══════════ STATEMENTS — giant type ══════════ */
.statements { padding: clamp(50px, 7vw, 90px) 0; overflow: hidden; }
.statement {
  font-size: clamp(3rem, 9.5vw, 6.8rem);
  font-weight: 900; line-height: 1.25;
}
.statement--red { color: var(--red); }
.statement--ink { color: var(--ink); margin-inline-start: clamp(40px, 12vw, 220px); }

/* ══════════ STATS BAND ══════════ */
.stats {
  background: linear-gradient(120deg, var(--red), #a80000);
  color: #fff; padding: clamp(70px, 9vw, 110px) 0;
}
.stats__title { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 900; text-align: center; margin-bottom: 46px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat__num { font-size: clamp(2.6rem, 5.4vw, 4.2rem); font-weight: 900; line-height: 1.15; }
.stat__label { font-size: 1rem; font-weight: 600; opacity: 0.9; margin-top: 4px; }
@media (max-width: 900px) { .stats__grid { grid-template-columns: 1fr 1fr; row-gap: 34px; } }
@media (max-width: 900px) { .stat__num { font-size: clamp(2.2rem, 8vw, 3.2rem); } }

/* ══════════ EXPERTISE — bento mosaic (explicit, gapless) ══════════ */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(5, 200px);
  gap: 14px; margin-top: 14px;
}
/* deliberate placement — 6 cols × 5 rows, zero holes
   row1  [ 01 lg ][      02 wide      ]
   row2  [ 01 lg ][ 03 ][ 04 ]
   row3  [ 05 ][ 06 ][ 07 lg ]
   row4  [ 08 ][ 09 ][ 07 lg ]
   row5  [        10 full        ]                              */
.exp-grid > .exp:nth-child(1)  { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.exp-grid > .exp:nth-child(2)  { grid-column: 3 / span 4; grid-row: 1; }
.exp-grid > .exp:nth-child(3)  { grid-column: 3 / span 2; grid-row: 2; }
.exp-grid > .exp:nth-child(4)  { grid-column: 5 / span 2; grid-row: 2; }
.exp-grid > .exp:nth-child(5)  { grid-column: 1 / span 2; grid-row: 3; }
.exp-grid > .exp:nth-child(6)  { grid-column: 3 / span 2; grid-row: 3; }
.exp-grid > .exp:nth-child(7)  { grid-column: 5 / span 2; grid-row: 3 / span 2; }
.exp-grid > .exp:nth-child(8)  { grid-column: 1 / span 2; grid-row: 4; }
.exp-grid > .exp:nth-child(9)  { grid-column: 3 / span 2; grid-row: 4; }
.exp-grid > .exp:nth-child(10) { grid-column: 1 / span 6; grid-row: 5; }

.exp {
  position: relative; display: block; isolation: isolate;
  border-radius: 20px; overflow: hidden; background: var(--ink);
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}
.exp:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px rgba(19, 19, 22, 0.5); }

.exp img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  filter: grayscale(0.55) contrast(1.05);
  transition: transform 0.8s var(--ease), filter 0.5s;
}
.exp:hover img { transform: scale(1.09); filter: grayscale(0) contrast(1); }

.exp::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(8, 8, 11, 0.94) 0%, rgba(8, 8, 11, 0.55) 45%, rgba(8, 8, 11, 0.2) 100%);
  transition: opacity 0.45s;
}
.exp::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(244, 0, 0, 0.92) 0%, rgba(244, 0, 0, 0.35) 55%, transparent 100%);
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.exp:hover::after { opacity: 1; }

.exp__num {
  position: absolute; z-index: 2; top: 16px; inset-inline-start: 18px;
  font-size: 0.82rem; font-weight: 900; letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.35s;
}
.exp:hover .exp__num { color: #fff; }

.exp__body {
  position: absolute; z-index: 2; bottom: 0; inset-inline: 0;
  padding: 20px 22px 22px;
  display: flex; flex-direction: column; gap: 6px;
}
.exp__t { color: #fff; font-weight: 900; font-size: 1.05rem; line-height: 1.5; }
/* feature cells get bigger type */
.exp-grid > .exp:nth-child(1) .exp__t,
.exp-grid > .exp:nth-child(2) .exp__t,
.exp-grid > .exp:nth-child(7) .exp__t,
.exp-grid > .exp:nth-child(10) .exp__t { font-size: 1.35rem; }

.exp__d {
  color: rgba(255, 255, 255, 0.9); font-size: 0.87rem; line-height: 1.7;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.45s var(--ease), opacity 0.35s;
}
.exp:hover .exp__d { max-height: 90px; opacity: 1; }

.exp__go {
  position: absolute; z-index: 2; top: 14px; inset-inline-end: 16px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  color: #fff; font-size: 1rem; font-weight: 700;
  opacity: 0; transform: translateY(-6px) scale(0.9);
  transition: all 0.4s var(--ease);
}
.exp:hover .exp__go { opacity: 1; transform: none; background: #fff; color: var(--red); border-color: #fff; }

/* tablet — 4 cols × 5 rows, still gapless
   [ 01 lg ][ 02 ] / [ 01 lg ][ 03 ] / [ 04 ][ 05 ] / [ 06 ][ 07 ] / [ 08 ][ 09 ] / [ 10 full ] */
@media (max-width: 1080px) {
  .exp-grid { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(6, 185px); }
  .exp-grid > .exp:nth-child(1)  { grid-column: 1 / span 2; grid-row: 1 / span 2; }
  .exp-grid > .exp:nth-child(2)  { grid-column: 3 / span 2; grid-row: 1; }
  .exp-grid > .exp:nth-child(3)  { grid-column: 3 / span 2; grid-row: 2; }
  .exp-grid > .exp:nth-child(4)  { grid-column: 1 / span 2; grid-row: 3; }
  .exp-grid > .exp:nth-child(5)  { grid-column: 3 / span 2; grid-row: 3; }
  .exp-grid > .exp:nth-child(6)  { grid-column: 1 / span 2; grid-row: 4; }
  .exp-grid > .exp:nth-child(7)  { grid-column: 3 / span 2; grid-row: 4; }
  .exp-grid > .exp:nth-child(8)  { grid-column: 1 / span 2; grid-row: 5; }
  .exp-grid > .exp:nth-child(9)  { grid-column: 3 / span 2; grid-row: 5; }
  .exp-grid > .exp:nth-child(10) { grid-column: 1 / span 4; grid-row: 6; }
  .exp-grid > .exp .exp__t { font-size: 1rem; }
  .exp-grid > .exp:nth-child(1) .exp__t,
  .exp-grid > .exp:nth-child(10) .exp__t { font-size: 1.2rem; }
}

/* mobile — 2 cols, 2 per row, perfectly even */
@media (max-width: 700px) {
  .exp-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(5, 165px); gap: 12px; }
  .exp-grid > .exp:nth-child(1)  { grid-column: 1 / span 2; grid-row: 1; }
  .exp-grid > .exp:nth-child(2)  { grid-column: 1; grid-row: 2; }
  .exp-grid > .exp:nth-child(3)  { grid-column: 2; grid-row: 2; }
  .exp-grid > .exp:nth-child(4)  { grid-column: 1; grid-row: 3; }
  .exp-grid > .exp:nth-child(5)  { grid-column: 2; grid-row: 3; }
  .exp-grid > .exp:nth-child(6)  { grid-column: 1; grid-row: 4; }
  .exp-grid > .exp:nth-child(7)  { grid-column: 2; grid-row: 4; }
  .exp-grid > .exp:nth-child(8)  { grid-column: 1; grid-row: 5; }
  .exp-grid > .exp:nth-child(9)  { grid-column: 2; grid-row: 5; }
  .exp-grid > .exp:nth-child(10) { grid-column: 1 / span 2; grid-row: 6; }
  .exp-grid { grid-template-rows: repeat(6, 165px); }
  .exp__body { padding: 14px 16px 16px; }
  .exp__t, .exp-grid > .exp:nth-child(1) .exp__t { font-size: 0.95rem; }
  .exp__d { display: none; }
  .exp__go { opacity: 1; transform: none; width: 32px; height: 32px; }
}

/* ══════════ HEADROW + SWIPER NAV ══════════ */
.headrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 8px; }
.headrow .h-lg { margin-bottom: 20px; }
.swiper-nav { display: flex; gap: 10px; margin-bottom: 26px; }
.snav {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff;
  font-size: 1.25rem; font-weight: 700;
  transition: all 0.3s var(--ease);
}
.snav:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); }

/* ══════════ PROGRAM CARDS (Swiper slides) ══════════ */
.swiper { overflow: hidden; padding-bottom: 12px; }
.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; height: 100%;
  display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.pcard:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.pcard__img { aspect-ratio: 16/9.6; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard__body h3 { font-size: 1.3rem; font-weight: 900; }
.pcard__body p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.pcard__meta { display: flex; flex-wrap: wrap; gap: 7px; }
.pcard__meta span {
  font-size: 0.72rem; font-weight: 700; color: var(--green);
  background: rgba(0, 115, 46, 0.08);
  border-radius: 999px; padding: 4px 12px;
}
.pcard__actions { display: flex; gap: 10px; margin-top: 6px; }
.pcard__actions .btn { padding: 10px 18px; font-size: 0.88rem; flex: 1; }
.btn--outline-ink { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline-ink:hover { background: var(--ink); color: #fff; }

/* ══════════ SERVICES — interactive showcase ══════════ */
.showcase {
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(30px, 4vw, 58px); align-items: center; margin-top: 20px;
}

/* big visual panel */
.showcase__visual {
  position: relative; border-radius: 24px; overflow: hidden;
  aspect-ratio: 4 / 4.5; background: var(--ink);
  box-shadow: 0 34px 70px -34px rgba(19, 19, 22, 0.55);
}
.showcase__visual img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transform: scale(1.07);
  transition: opacity 0.7s var(--ease), transform 1.4s var(--ease);
}
.showcase__visual img.on { opacity: 1; transform: none; }
.showcase__visual::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(8, 8, 11, 0.78) 0%, rgba(8, 8, 11, 0.1) 45%, transparent 70%);
}
.showcase__tag {
  position: absolute; z-index: 2; bottom: 22px; inset-inline-start: 24px;
  color: #fff; font-weight: 900; font-size: 1.3rem;
  padding-inline-start: 16px;
  border-inline-start: 4px solid var(--red);
  line-height: 1.5;
}

/* list */
.showcase__list { display: flex; flex-direction: column; }
.srow {
  position: relative; display: flex; align-items: center; gap: 16px;
  padding: 18px 14px; border-top: 1px solid var(--line);
  transition: background 0.35s var(--ease), padding 0.35s var(--ease);
}
.srow:last-child { border-bottom: 1px solid var(--line); }
/* accent bar on the leading edge */
.srow::before {
  content: ''; position: absolute; inset-block: 0; inset-inline-start: 0;
  width: 3px; background: var(--red);
  transform: scaleY(0); transform-origin: center;
  transition: transform 0.4s var(--ease);
}
.srow.is-active { background: var(--bg); padding-inline-start: 22px; }
.srow.is-active::before { transform: scaleY(1); }

.srow__num {
  font-size: 0.85rem; font-weight: 900; letter-spacing: 0.08em;
  color: var(--line); transition: color 0.35s;
}
.srow.is-active .srow__num { color: var(--red); }

.srow__thumb { display: none; }

.srow__main { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.srow__t {
  font-weight: 900; font-size: 1.16rem; line-height: 1.5;
  color: var(--muted); transition: color 0.35s;
}
.srow.is-active .srow__t { color: var(--ink); }
.srow__d {
  color: var(--muted); font-size: 0.9rem; line-height: 1.7;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.45s var(--ease), opacity 0.35s, margin-top 0.4s;
}
.srow.is-active .srow__d { max-height: 80px; opacity: 1; margin-top: 4px; }

.srow__go {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--muted);
  font-size: 0.95rem; font-weight: 700;
  transition: all 0.4s var(--ease);
}
.srow.is-active .srow__go { background: var(--red); border-color: var(--red); color: #fff; }
.srow:hover .srow__go { transform: translateX(-4px); }

/* tablet */
@media (max-width: 900px) { .phero--photo { padding: clamp(60px,8vw,96px) 0; } }
@media (max-width: 1080px) {
  .showcase { grid-template-columns: 1fr; gap: 30px; }
  .showcase__visual { aspect-ratio: 16 / 9; max-height: 380px; }
}

/* mobile — visual panel out, thumbnails in the rows */
@media (max-width: 700px) {
  .showcase__visual { display: none; }
  .srow { gap: 13px; padding: 16px 4px; align-items: flex-start; }
  .srow.is-active { padding-inline-start: 12px; }
  .srow__num { display: none; }
  .srow__thumb {
    display: block; flex: 0 0 62px; width: 62px; height: 62px;
    border-radius: 14px; overflow: hidden; background: var(--alt);
  }
  .srow__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .srow__t { font-size: 1.02rem; color: var(--ink); }
  .srow__d { max-height: none; opacity: 1; margin-top: 3px; font-size: 0.85rem; }
  .srow__go { width: 34px; height: 34px; align-self: center; }
}

/* ══════════ STEPS ══════════ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 30px; }
.step { text-align: center; padding: 10px 16px; }
.step__num {
  font-size: 3rem; font-weight: 900; color: var(--red);
  line-height: 1; margin-bottom: 16px;
}
.step__num--green { color: #2ea760; }
.step h3 { font-size: 1.35rem; font-weight: 900; margin-bottom: 8px; }
.step p { color: rgba(255, 255, 255, 0.75); font-size: 0.98rem; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ══════════ STORIES ══════════ */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 10px; }
.story {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.story:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.story small { color: var(--red); font-weight: 800; }
.story h3 { font-size: 1.2rem; font-weight: 900; margin: 8px 0 10px; }
.story p { color: var(--muted); font-size: 0.94rem; }
@media (max-width: 900px) { .stories { grid-template-columns: 1fr; } }

/* ══════════ KNOWLEDGE ══════════ */
.know-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 10px; }
.know {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.know:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.know__img { aspect-ratio: 16/9.5; overflow: hidden; }
.know__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.know:hover .know__img img { transform: scale(1.06); }
.know__body { padding: 20px 22px 24px; }
.know__body small { color: var(--green); font-weight: 800; }
.know__body h3 { font-size: 1.15rem; font-weight: 900; margin: 6px 0 8px; }
.know__body p { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 900px) { .know-grid { grid-template-columns: 1fr; } }

/* ══════════ GALLERY SWIPER ══════════ */
.gcard { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/2.8; }
.gcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gcard:hover img { transform: scale(1.06); }
#galSwiper { padding-bottom: 46px; }
#galSwiper .swiper-pagination-bullet { background: var(--ink); opacity: 0.25; }
#galSwiper .swiper-pagination-bullet-active { background: var(--red); opacity: 1; width: 26px; border-radius: 999px; }

/* ══════════ CTA ══════════ */
.cta { background: var(--ink); color: #fff; padding: clamp(80px, 10vw, 120px) 0; }
.cta h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900; line-height: 1.5; }
.cta h2 em { font-style: normal; color: var(--red); }
.cta p { color: rgba(255, 255, 255, 0.75); max-width: 70ch; margin: 18px auto 34px; font-size: 1.08rem; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ══════════ FOOTER ══════════ */
.footer { background: #0a0a0d; color: #cfcfd6; padding: 60px 0 26px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 36px; }
.footer__logo { height: 44px; width: auto; margin-bottom: 16px; }
.footer__grid p { font-size: 0.9rem; color: #9a9aa3; max-width: 340px; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 12px; }
.footer__grid a { display: block; margin: 7px 0; font-size: 0.9rem; color: #b9b9c2; transition: color 0.25s; }
.footer__grid a:hover { color: #fff; }
.footer__social { display: flex; gap: 14px; margin-top: 12px; }
.footer__social a { display: inline; }
.footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px; padding-top: 20px;
  text-align: center; font-size: 0.82rem; color: #85858e;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════
   INNER PAGES
   ═══════════════════════════════════════════════════════ */

body.has-plain-header { padding-top: 78px; }
body.has-plain-header .header { background: #fff; box-shadow: 0 8px 30px -18px rgba(19,19,22,.22); }
body.has-plain-header .nav-link { color: var(--ink); }
body.has-plain-header .nav-link.is-active { color: var(--red); }
body.has-plain-header .logo-light { display: none; }
body.has-plain-header .logo-dark { display: block; }
body.has-plain-header .burger span { background: var(--ink); }

/* ══════════ PAGE HERO — cinematic ══════════ */
.phero {
  position: relative; background: var(--alt);
  border-bottom: 1px solid var(--line);
  padding: clamp(54px,7vw,96px) 0;
  overflow: hidden;
}
.phero--photo { background: var(--ink); border-bottom: 0; padding: clamp(74px,9vw,130px) 0; }
.phero__bg { position: absolute; inset: 0; }
.phero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: pheroZoom 14s ease-out forwards;
}
@keyframes pheroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.phero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(8,8,11,.95) 0%, rgba(8,8,11,.74) 50%, rgba(8,8,11,.66) 100%),
    linear-gradient(270deg, rgba(8,8,11,.8), rgba(8,8,11,.2) 72%);
}
.phero__inner { position: relative; z-index: 2; }
.crumb { display: flex; align-items: center; gap: 9px; font-size: .82rem; font-weight: 600; margin-bottom: 14px; }
.crumb a { color: rgba(255,255,255,.7); }
.crumb a:hover { color: #fff; }
.crumb i { font-style: normal; color: rgba(255,255,255,.4); }
.crumb span { color: #fff; }
.phero:not(.phero--photo) .crumb a { color: var(--muted); }
.phero:not(.phero--photo) .crumb i { color: var(--line); }
.phero:not(.phero--photo) .crumb span { color: var(--ink); }
.phero__kicker {
  display: inline-block; font-weight: 800; font-size: .92rem; margin-bottom: 16px;
  color: #fff; background: var(--red); padding: 7px 20px; border-radius: 999px;
}
.phero__title { font-size: clamp(2.1rem,5.4vw,3.7rem); font-weight: 900; line-height: 1.42; color: #fff; }
.phero--photo .phero__title { text-shadow: 0 3px 26px rgba(0,0,0,.55); }
.phero--photo .phero__sub { text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.phero__title em { font-style: normal; color: var(--red); }
.phero--photo .phero__title em { color: #ff5b5b; }
.phero:not(.phero--photo) .phero__title { color: var(--ink); }
.phero__sub { margin-top: 15px; font-size: 1.06rem; max-width: 62ch; color: rgba(255,255,255,.85); }
.phero:not(.phero--photo) .phero__sub { color: var(--muted); }

/* shared section heading */
.shead { margin-bottom: clamp(28px,4vw,46px); }
.shead__sub { text-align: center; color: var(--muted); max-width: 60ch; margin: -18px auto 0; }
.section--ink .shead__sub { color: rgba(255,255,255,.7); }

/* services page */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.svc {
  display: grid; grid-template-columns: 0.8fr 1.2fr;
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.svc__img { position: relative; min-height: 180px; background: var(--alt); }
.svc__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc__body { padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.svc__num { font-weight: 900; font-size: .8rem; color: var(--red); letter-spacing: .1em; }
.svc__body h2 { font-size: 1.18rem; font-weight: 900; }
.svc__body p { color: var(--muted); font-size: .9rem; }
.link-go { color: var(--red); font-weight: 800; font-size: .9rem; display: inline-flex; gap: 8px; transition: gap .3s; }
.link-go:hover { gap: 14px; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .svc { grid-template-columns: 1fr; } }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.fchip {
  font-family: var(--font); font-weight: 700; font-size: .88rem;
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 18px; transition: all .3s var(--ease);
}
.fchip span { color: var(--muted); font-size: .78rem; margin-inline-start: 4px; }
.fchip:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.fchip.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.fchip.is-active span { color: rgba(255,255,255,.8); }

/* programs page */
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pgcard {
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.pgcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pgcard__img { position: relative; aspect-ratio: 16/9.6; background: var(--alt); overflow: hidden; }
.pgcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pgcard:hover .pgcard__img img { transform: scale(1.06); }
.pgcard__cat {
  position: absolute; bottom: 12px; inset-inline-start: 12px;
  background: var(--red); color: #fff; font-size: .72rem; font-weight: 800;
  padding: 5px 12px; border-radius: 999px;
}
.pgcard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pgcard__body h2 { font-size: 1.2rem; font-weight: 900; }
.pgcard__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.pgcard__meta span {
  font-size: .72rem; font-weight: 700; color: var(--green);
  background: rgba(0,115,46,.08); border-radius: 999px; padding: 4px 11px;
}
.pgcard__body p { color: var(--muted); font-size: .9rem; flex: 1; }
.pgcard__more summary { cursor: pointer; font-weight: 800; color: var(--red); font-size: .88rem; padding: 6px 0; }
.pgcard__more .rte { font-size: .88rem; color: var(--muted); }
.pgcard__more .rte h3 { color: var(--ink); font-size: .95rem; margin: 10px 0 6px; }
.pgcard__more .rte ul { padding-inline-start: 18px; }
.pgcard__more .rte li { margin: 4px 0; }
.pgcard__actions { display: flex; gap: 10px; }
.pgcard__actions .btn { flex: 1; padding: 11px 14px; font-size: .85rem; }
.empty { text-align: center; color: var(--muted); padding: 50px 0; }
@media (max-width: 1000px) { .prog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .prog-grid { grid-template-columns: 1fr; } }

.know-grid--page { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .know-grid--page { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px)  { .know-grid--page { grid-template-columns: 1fr; } }
.know__ph { display: grid; place-items: center; height: 100%; font-weight: 900; color: var(--line); font-size: 1.5rem; }

/* contact */
.contact-wrap { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(24px,3vw,44px); align-items: start; }
.contact-info {
  background: var(--alt); border: 1px solid var(--line); border-radius: 20px;
  padding: 26px 24px; position: sticky; top: 100px;
}
.contact-info h3 { font-size: 1.1rem; font-weight: 900; margin-bottom: 16px; }
.ci { display: flex; flex-direction: column; gap: 3px; padding: 12px 0; border-top: 1px solid var(--line); }
.ci__k { font-size: .78rem; font-weight: 800; color: var(--red); }
.ci a, .ci span { color: var(--muted); font-size: .92rem; }
.ci a:hover { color: var(--ink); }
.ci__social { display: flex; gap: 12px; flex-wrap: wrap; }

.ftabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.ftab {
  font-family: var(--font); font-weight: 800; font-size: .92rem;
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  border-radius: 999px; padding: 11px 22px; transition: all .3s var(--ease);
}
.ftab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.dform { display: none; flex-direction: column; gap: 14px; }
.dform.is-on { display: flex; }
.dform label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .88rem; }
.dform input, .dform select, .dform textarea {
  font-family: var(--font); font-size: .95rem; font-weight: 400;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.dform input:focus, .dform select:focus, .dform textarea:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(244,0,0,.1);
}
.dform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dform__check { flex-direction: row; align-items: center; gap: 10px; font-weight: 600; }
.dform__check input { width: 18px; height: 18px; }
.dform button[type=submit] { align-self: flex-start; margin-top: 4px; }
.fmsg { font-size: .9rem; font-weight: 700; min-height: 1.4em; }
.fmsg.is-ok { color: var(--green); }
.fmsg.is-err { color: var(--red); }
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-info { position: static; }
  .dform__row { grid-template-columns: 1fr; }
}


/* ══════════ TOPICS — sticky index + rows ══════════ */
.tsplit { display: grid; grid-template-columns: 250px 1fr; gap: clamp(24px,3vw,48px); align-items: start; }
.tindex { position: sticky; top: 100px; }
.tindex__h { display: block; font-size: .78rem; font-weight: 800; color: var(--red); letter-spacing: .08em; margin-bottom: 12px; }
.tindex ol { list-style: none; margin: 0 0 20px; padding: 0; border-inline-start: 2px solid var(--line); }
.tindex li a {
  display: flex; align-items: center; gap: 10px; padding: 9px 14px;
  font-size: .88rem; font-weight: 700; color: var(--muted);
  border-inline-start: 2px solid transparent; margin-inline-start: -2px; transition: .28s;
}
.tindex li a b { font-size: .72rem; color: var(--line); font-weight: 900; }
.tindex li a:hover { color: var(--ink); }
.tindex li a.on { color: var(--red); border-inline-start-color: var(--red); }
.tindex li a.on b { color: var(--red); }
.tindex__cta { width: 100%; justify-content: center; font-size: .88rem; }

.tlist { display: flex; flex-direction: column; gap: 16px; }
.trow {
  display: grid; grid-template-columns: 260px 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  transition: transform .38s var(--ease), box-shadow .38s, border-color .38s;
}
.trow:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.trow__media { position: relative; min-height: 190px; background: var(--ink); overflow: hidden; }
.trow__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.4); transition: transform .7s var(--ease), filter .45s;
}
.trow:hover .trow__media img { transform: scale(1.07); filter: none; }
.trow__n {
  position: absolute; z-index: 2; top: 12px; inset-inline-start: 14px;
  color: #fff; font-weight: 900; font-size: .8rem; letter-spacing: .1em;
  background: rgba(0,0,0,.5); backdrop-filter: blur(4px); padding: 5px 12px; border-radius: 999px;
}
.trow__body { padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; gap: 9px; }
.trow__body h2 { font-size: 1.3rem; font-weight: 900; }
.trow__body p { color: var(--muted); font-size: .95rem; }
.trow__links { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.link-go--ink { color: var(--ink); }
.link-go--ink:hover { color: var(--red); }
@media (max-width: 1000px) {
  .tsplit { grid-template-columns: 1fr; }
  .tindex { position: static; }
  .tindex ol { display: flex; flex-wrap: wrap; gap: 6px; border: 0; }
  .tindex li a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; margin: 0; }
  .tindex li a.on { border-color: var(--red); }
}
@media (max-width: 620px) { .trow { grid-template-columns: 1fr; } .trow__media { min-height: 170px; } }

/* ══════════ SERVICES PAGE — feature cards ══════════ */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fcard {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  transition: transform .38s var(--ease), box-shadow .38s, border-color .38s;
}
.fcard:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: transparent; }
.fcard--wide { grid-column: span 3; flex-direction: row; }
.fcard--wide .fcard__img { flex: 0 0 46%; aspect-ratio: auto; }
.fcard--wide .fcard__body { justify-content: center; padding: 34px 36px; }
.fcard--wide h2 { font-size: 1.7rem; }
.fcard__img { position: relative; aspect-ratio: 16/9.6; overflow: hidden; background: var(--alt); }
.fcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.fcard:hover .fcard__img img { transform: scale(1.07); }
.fcard__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.fcard__n { font-size: .76rem; font-weight: 900; color: var(--red); letter-spacing: .12em; }
.fcard__body h2 { font-size: 1.16rem; font-weight: 900; }
.fcard__body p { color: var(--muted); font-size: .92rem; flex: 1; }
.fcard__go { font-weight: 800; font-size: .88rem; color: var(--red); display: inline-flex; gap: 8px; align-items: center; }
.fcard__go b { transition: transform .3s var(--ease); }
.fcard:hover .fcard__go b { transform: translateX(-6px); }
@media (max-width: 1000px) {
  .fgrid { grid-template-columns: repeat(2, 1fr); }
  .fcard--wide { grid-column: span 2; }
}
@media (max-width: 680px) {
  .fgrid { grid-template-columns: 1fr; }
  .fcard--wide { grid-column: span 1; flex-direction: column; }
  .fcard--wide .fcard__img { flex: none; aspect-ratio: 16/9.6; }
  .fcard--wide h2 { font-size: 1.25rem; }
}

/* ══════════ KNOWLEDGE — featured ══════════ */
.kfeat {
  display: grid; grid-template-columns: 1.15fr .85fr; background: var(--ink); color: #fff;
  border-radius: 22px; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.kfeat:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.kfeat__img { position: relative; min-height: 300px; overflow: hidden; }
.kfeat__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.kfeat:hover .kfeat__img img { transform: scale(1.06); }
.kfeat__body { padding: clamp(26px,3vw,44px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.kfeat__tag { align-self: flex-start; background: var(--red); color: #fff; font-size: .75rem; font-weight: 800; padding: 6px 15px; border-radius: 999px; }
.kfeat__body h2 { font-size: clamp(1.4rem,2.6vw,2rem); font-weight: 900; line-height: 1.45; }
.kfeat__body p { color: rgba(255,255,255,.75); font-size: .96rem; }
.kfeat .fcard__go { color: #ff5b5b; }
@media (max-width: 860px) { .kfeat { grid-template-columns: 1fr; } .kfeat__img { min-height: 210px; } }

/* ══════════ REGISTER — program summary + forms ══════════ */
.reg-wrap { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(22px,3vw,44px); align-items: start; }
.reg-sum {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  position: sticky; top: 100px; box-shadow: 0 18px 40px -30px rgba(19,19,22,.3);
}
.reg-sum__img { aspect-ratio: 16/10; background: var(--alt); overflow: hidden; }
.reg-sum__img img { width: 100%; height: 100%; object-fit: cover; }
.reg-sum__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.reg-sum__cat {
  align-self: flex-start; background: var(--red); color: #fff;
  font-size: .72rem; font-weight: 800; padding: 5px 13px; border-radius: 999px;
}
.reg-sum__body h2 { font-size: 1.25rem; font-weight: 900; line-height: 1.5; }
.reg-sum__body p { color: var(--muted); font-size: .9rem; }
.reg-sum__meta { list-style: none; margin: 4px 0; padding: 0; border-top: 1px solid var(--line); }
.reg-sum__meta li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .85rem;
}
.reg-sum__meta span { color: var(--muted); }
.reg-sum__meta b { font-weight: 800; }
.reg-sum__more summary { cursor: pointer; font-weight: 800; color: var(--red); font-size: .88rem; padding: 6px 0; }
.reg-sum__more .rte { font-size: .87rem; color: var(--muted); }
.reg-sum__more .rte h3 { color: var(--ink); font-size: .93rem; margin: 10px 0 6px; }
.reg-sum__more .rte ul { padding-inline-start: 18px; }
.reg-sum__more .rte li { margin: 4px 0; }

.reg-chip {
  background: var(--alt); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 16px; font-size: .9rem; color: var(--muted);
}
.reg-chip b { color: var(--ink); font-weight: 800; }
@media (max-width: 980px) {
  .reg-wrap { grid-template-columns: 1fr; }
  .reg-sum { position: static; }
  .reg-sum__img { aspect-ratio: 16/6.5; }
}

/* ══════════ THANK YOU ══════════ */
.thanks { background: var(--ink); color: #fff; padding: clamp(70px,9vw,120px) 0; text-align: center; }
.thanks__inner { display: flex; flex-direction: column; align-items: center; }
.thanks__mark { width: 96px; height: 96px; margin-bottom: 22px; }
.thanks__mark svg { width: 100%; height: 100%; }
.tk-c { fill: none; stroke: var(--green); stroke-width: 3; opacity: .55;
  stroke-dasharray: 151; stroke-dashoffset: 151; animation: tkC .9s var(--ease) .15s forwards; }
.tk-p { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 40; stroke-dashoffset: 40; animation: tkP .5s var(--ease) .75s forwards; }
@keyframes tkC { to { stroke-dashoffset: 0; } }
@keyframes tkP { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .tk-c, .tk-p { animation: none; stroke-dashoffset: 0; } }
.thanks__kicker {
  display: inline-block; background: var(--green); color: #fff;
  font-size: .88rem; font-weight: 800; padding: 7px 20px; border-radius: 999px; margin-bottom: 16px;
}
.thanks__title { font-size: clamp(2rem,5vw,3.4rem); font-weight: 900; line-height: 1.42; }
.thanks__title em { font-style: normal; color: var(--red); }
.thanks__sub { margin-top: 14px; color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 58ch; }
.thanks__prog {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; padding: 10px 22px;
}
.thanks__prog span { color: rgba(255,255,255,.65); font-size: .82rem; }
.thanks__prog b { font-weight: 800; }
.thanks__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }
.thanks .btn--outline-ink { border-color: rgba(255,255,255,.55); color: #fff; }
.thanks .btn--outline-ink:hover { background: #fff; color: var(--ink); }

/* light variant of the steps row (used on the thank-you page) */
.steps--light .step h3 { color: var(--ink); }
.steps--light .step p { color: var(--muted); }
@media (max-width: 640px) { .thanks__actions .btn { flex: 1 1 100%; } }

/* ══════════ DETAIL PAGES (program / service) ══════════ */
.detail { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(24px,3.4vw,52px); align-items: start; }

.detail__lead {
  font-size: 1.12rem; font-weight: 700; line-height: 2; color: var(--ink);
  padding-inline-start: 18px; border-inline-start: 4px solid var(--red);
  margin-bottom: 26px;
}
.detail__main .rte { color: var(--muted); font-size: .98rem; }
.detail__main .rte h3 {
  color: var(--ink); font-size: 1.22rem; font-weight: 900;
  margin: 26px 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
}
.detail__main .rte h3::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: 0 0 auto;
}
.detail__main .rte ul { list-style: none; padding: 0; margin: 0 0 14px; }
.detail__main .rte li {
  position: relative; padding: 9px 26px 9px 0; border-bottom: 1px solid var(--line); line-height: 1.9;
}
.detail__main .rte li::before {
  content: '←'; position: absolute; inset-inline-start: 0; top: 9px;
  color: var(--red); font-weight: 900; font-size: .85rem;
}
.detail__main .rte p { margin-bottom: 12px; line-height: 2; }

.detail__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 30px; }
.fact {
  background: var(--alt); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; display: flex; flex-direction: column; gap: 3px;
}
.fact span { font-size: .76rem; font-weight: 700; color: var(--red); }
.fact b { font-size: .98rem; font-weight: 800; }

.detail__side { position: sticky; top: 100px; }
.sidecard {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 44px -32px rgba(19,19,22,.35);
}
.sidecard__img { aspect-ratio: 16/10; background: var(--alt); overflow: hidden; }
.sidecard__img img { width: 100%; height: 100%; object-fit: cover; }
.sidecard__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 12px; }
.sidecard__body h3 { font-size: 1.15rem; font-weight: 900; line-height: 1.55; }
.sidecard__meta { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.sidecard__meta li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .86rem;
}
.sidecard__meta span { color: var(--muted); }
.sidecard__meta b { font-weight: 800; }
.sidecard__cta { width: 100%; }
.sidecard__note { font-size: .82rem; color: var(--muted); text-align: center; }
.sidecard__note a { color: var(--red); font-weight: 700; }

@media (max-width: 980px) {
  .detail { grid-template-columns: 1fr; }
  .detail__side { position: static; }
  .sidecard__img { aspect-ratio: 16/6.5; }
}
@media (max-width: 560px) { .detail__facts { grid-template-columns: 1fr; } }

/* collapsible extra content on topic rows / story cards */
.trow__more summary, .story__more summary {
  cursor: pointer; font-weight: 800; font-size: .86rem; color: var(--red); padding: 8px 0;
}
.trow__more .rte, .story__more .rte { font-size: .88rem; color: var(--muted); }
.trow__more .rte h3, .story__more .rte h3 {
  color: var(--ink); font-size: .95rem; font-weight: 800; margin: 12px 0 6px;
}
.trow__more .rte ul, .story__more .rte ul { padding-inline-start: 18px; margin: 0 0 10px; }
.trow__more .rte li, .story__more .rte li { margin: 4px 0; }
.trow__more .rte p, .story__more .rte p { margin-bottom: 8px; line-height: 1.9; }

/* ============ ARTICLE PAGE ============ */
.article .rte { font-size: 17px; line-height: 2.1; }
.article .rte h2, .article .rte h3 { font-size: clamp(20px, 2.3vw, 26px); font-weight: 800; line-height: 1.5; color: var(--ink); margin: 38px 0 14px; }
.article .rte h2:first-child, .article .rte h3:first-child { margin-top: 22px; }
.article .rte h3::before { display: none; }
.article .rte h2::after, .article .rte h3::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 10px; border-radius: 3px; background: var(--red); }
.article .rte p { margin: 0 0 16px; color: #3a3a42; }
.article .rte ul, .article .rte ol { margin: 0 0 18px; padding-inline-start: 22px; }
.article .rte li { margin-bottom: 9px; color: #3a3a42; }

.article__foot {
  margin-top: 40px; padding-top: 22px;
  border-top: 1px solid rgba(19, 19, 22, .1);
}

/* small "read also" rows in the sidebar */
.mini {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; text-decoration: none;
  border-top: 1px solid rgba(19, 19, 22, .08);
  transition: transform .25s ease;
}
.mini:first-of-type { border-top: 0; }
.mini:hover { transform: translateX(-4px); }
.mini__img {
  flex: 0 0 62px; width: 62px; height: 50px;
  border-radius: 8px; overflow: hidden; background: #ececf0;
}
.mini__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini__t {
  font-size: 14px; font-weight: 700; line-height: 1.55;
  color: var(--ink); transition: color .2s ease;
}
.mini:hover .mini__t { color: var(--red); }

@media (max-width: 900px) {
  .article .rte { font-size: 16px; line-height: 2; }
}

/* legacy blog posts carry inline images/iframes into .rte — keep them contained */
.rte img, .rte iframe, .rte video { max-width: 100%; height: auto; border-radius: 12px; display: block; margin: 16px auto; }
.rte figure { margin: 16px 0; max-width: 100%; }
.rte figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.rte a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.rte blockquote { margin: 18px 0; padding: 12px 18px; border-inline-start: 3px solid var(--red); background: #faf7f7; border-radius: 8px; }
.rte table { width: 100%; display: block; overflow-x: auto; border-collapse: collapse; }

/* ═══════════════ ENGLISH (LTR) ═══════════════
   The layout is built on logical properties, so direction flips on its own
   when <html dir="ltr"> is set. Only type needs adjusting: Cairo carries
   Latin glyphs but sits tighter than the Arabic, so line-height and tracking
   are relaxed slightly. */
body.is-en { letter-spacing: -0.005em; }
body.is-en p, body.is-en li { line-height: 1.85; }
body.is-en .h-lg, body.is-en h1, body.is-en h2, body.is-en h3 { letter-spacing: -0.02em; }
body.is-en .kicker { letter-spacing: 0.08em; text-transform: uppercase; }

/* language switcher */
.langsw {
  display: inline-flex; align-items: center; justify-content: center;
  height: 34px; padding: 0 8px;
  border: 0; background: transparent; color: #fff; text-decoration: none;
  font-size: 13px; font-weight: 800; letter-spacing: .05em; opacity: .92;
  transition: opacity .2s ease, color .2s ease;
}
.langsw:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--red); }
.header.is-solid .langsw { color: var(--ink); }
.mmenu__nav .is-lang {
  margin-top: 10px; border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px; text-align: center;
}
@media (max-width: 1080px) { .langsw { margin-inline-start: auto; margin-inline-end: 10px; } }

/* ═══════════════ INSTAGRAM ═══════════════ */
.ig-sec { padding-bottom: 90px; }
.ig-handle {
  display: block; text-align: center; margin-top: 10px;
  color: var(--red); font-weight: 800; font-size: 15px;
  text-decoration: none; letter-spacing: .02em; direction: ltr;
}
.ig-handle:hover { text-decoration: underline; text-underline-offset: 4px; }

.ig-grid {
  margin-top: 34px;
  display: grid; gap: 12px;
  grid-template-columns: repeat(4, 1fr);
}
.ig-tile {
  position: relative; display: block; aspect-ratio: 1;
  border-radius: 16px; overflow: hidden; background: #ececf0;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s ease;
}
.ig-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.ig-tile:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(19,19,22,.18); }
.ig-tile:hover img { transform: scale(1.07); }

.ig-tile__veil {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  padding: 14px; opacity: 0;
  background: linear-gradient(to top, rgba(19,19,22,.88) 0%, rgba(19,19,22,.35) 55%, rgba(19,19,22,0) 100%);
  transition: opacity .35s ease;
}
.ig-tile:hover .ig-tile__veil { opacity: 1; }
.ig-tile__cap {
  color: #fff; font-size: 12.5px; line-height: 1.65; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
/* video marker */
.ig-tile__play {
  position: absolute; top: 10px; inset-inline-end: 10px;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(19,19,22,.55); backdrop-filter: blur(4px);
}
.ig-tile__play::after {
  content: ''; position: absolute; top: 50%; inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  border-style: solid; border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #fff;
}
[dir="rtl"] .ig-tile__play::after { transform: translate(50%, -50%) scaleX(-1); }

@media (max-width: 900px) { .ig-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
@media (max-width: 620px) { .ig-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } .ig-tile { border-radius: 12px; } }

/* ═══════════════ VISITOR PATHS (القسم الثاني) ═══════════════ */
.paths-sec { padding-top: 74px; }
.paths {
  margin-top: 38px; display: grid; gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
.path {
  position: relative; display: block; text-decoration: none;
  padding: 34px 28px 28px; border-radius: 20px;
  background: #fff; border: 1px solid rgba(19, 19, 22, .09);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s ease, border-color .3s ease;
}
.path::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--green));
  transform: scaleX(0); transform-origin: inline-start;
  transition: transform .45s cubic-bezier(.2,.7,.3,1);
}
.path:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(19,19,22,.13); border-color: transparent; }
.path:hover::before { transform: scaleX(1); }

.path__n {
  display: block; font-size: 13px; font-weight: 900; letter-spacing: .1em;
  color: var(--red); margin-bottom: 14px;
}
.path h3 { font-size: clamp(18px, 2vw, 21px); font-weight: 800; color: var(--ink); margin: 0 0 10px; line-height: 1.5; }
.path p { font-size: 14px; line-height: 1.95; color: var(--muted); margin: 0 0 18px; }
.path__go { font-size: 13.5px; font-weight: 800; color: var(--ink); transition: color .25s ease; }
.path__go b { transition: transform .3s ease; display: inline-block; }
.path:hover .path__go { color: var(--red); }
.path:hover .path__go b { transform: translateX(-5px); }
[dir="ltr"] .path:hover .path__go b { transform: translateX(5px); }

@media (max-width: 900px) { .paths { grid-template-columns: 1fr; gap: 14px; } .path { padding: 26px 22px 22px; } }

/* ═══════════════ ABOUT PAGE ═══════════════ */
.ab-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.ab-lead p { font-size: 16px; line-height: 2.05; color: #3a3a42; margin: 0 0 14px; }
.ab-img { border-radius: 22px; overflow: hidden; aspect-ratio: 4/3; }
.ab-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* vision + mission */
.vm { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.vm__card {
  position: relative; background: #fff; border-radius: 20px; padding: 34px 30px;
  border: 1px solid rgba(19,19,22,.08);
}
.vm__mark { position: absolute; top: 0; inset-inline-start: 30px; width: 46px; height: 4px; border-radius: 0 0 4px 4px; background: var(--red); }
.vm__mark--g { background: var(--green); }
.vm__card h3 { font-size: 20px; font-weight: 800; color: var(--ink); margin: 8px 0 12px; }
.vm__card p { font-size: 15px; line-height: 2; color: var(--muted); margin: 0; }

/* values */
.values { margin-top: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { padding: 26px 22px; border-radius: 18px; background: #fff; border: 1px solid rgba(19,19,22,.08); }
.value__n { display: block; font-size: 12.5px; font-weight: 900; letter-spacing: .1em; color: var(--red); margin-bottom: 12px; }
.value h3 { font-size: 17px; font-weight: 800; color: var(--ink); margin: 0 0 8px; line-height: 1.5; }
.value p { font-size: 13.5px; line-height: 1.9; color: var(--muted); margin: 0; }

/* expertise chips */
.ab-areas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.ab-area {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px; background: #fff;
  border: 1px solid rgba(19,19,22,.1); text-decoration: none;
  font-size: 14px; font-weight: 700; color: var(--ink);
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.ab-area b { color: var(--red); transition: transform .25s ease; }
.ab-area:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.ab-area:hover b { color: #fff; transform: translateX(-4px); }
[dir="ltr"] .ab-area:hover b { transform: translateX(4px); }

/* team */
.team { margin-top: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { text-align: center; }
.member__img {
  aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: #ececf0;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.member__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member__ph { font-weight: 900; color: #b9b9c2; letter-spacing: .08em; }
.member h3 { font-size: 16px; font-weight: 800; color: var(--ink); margin: 0 0 4px; }
.member small { font-size: 13px; color: var(--red); font-weight: 700; }
.member__more { margin-top: 10px; }
.member__more summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--muted); }
.member__more .rte { font-size: 13px; color: var(--muted); text-align: start; margin-top: 8px; }

/* partner + accreditation logos */
.logos { margin-top: 30px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.logo {
  aspect-ratio: 16/9; border-radius: 14px; background: #fff;
  border: 1px solid rgba(19,19,22,.07);
  display: flex; align-items: center; justify-content: center; padding: 16px;
  filter: grayscale(1); opacity: .72;
  transition: filter .3s ease, opacity .3s ease, transform .3s ease;
}
.logo:hover { filter: none; opacity: 1; transform: translateY(-3px); }
.logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }

/* collaboration + contact */
.collab { text-align: center; max-width: 720px; }
.collab h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: var(--ink); margin: 0 0 14px; }
.collab p { font-size: 15.5px; line-height: 2; color: var(--muted); margin: 0 0 26px; }
.ab-contact { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ab-contact a, .ab-contact span {
  display: block; padding: 22px 24px; border-radius: 16px; background: #fff;
  border: 1px solid rgba(19,19,22,.08); text-decoration: none;
}
.ab-contact small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.ab-contact b { font-size: 15px; color: var(--ink); font-weight: 700; }
.ab-contact a:hover b { color: var(--red); }

@media (max-width: 1000px) {
  .values, .team { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .ab-split { grid-template-columns: 1fr; gap: 28px; }
  .vm { grid-template-columns: 1fr; }
  .ab-contact { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .values, .team { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════ SEARCH ═══════════════ */
.sform { display: flex; align-items: center; gap: 8px; }
.sform input {
  flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 18px;
  border-radius: 999px; border: 1px solid rgba(19,19,22,.14);
  background: #fff; font-family: inherit; font-size: 14.5px; color: var(--ink);
  outline: none; transition: border-color .25s ease, box-shadow .25s ease;
}
.sform input::placeholder { color: #9a9aa4; }
.sform input:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(244,0,0,.09); }
.sform button {
  flex: 0 0 auto; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--red); cursor: pointer; display: grid; place-items: center;
  transition: transform .25s ease, background .25s ease;
}
.sform button:hover { transform: scale(1.06); background: #d40000; }
.sform__ico {
  width: 17px; height: 17px; border-radius: 50%;
  border: 2px solid currentColor; position: relative; display: block; color: #fff;
}
.sform__ico::after {
  content: ''; position: absolute; inset-inline-end: -6px; bottom: -4px;
  width: 8px; height: 2px; border-radius: 2px; background: currentColor;
  transform: rotate(45deg);
}
[dir="rtl"] .sform__ico::after { transform: rotate(-45deg); inset-inline-end: -6px; }

/* header toggle + slide-down bar */
.searchbtn {
  width: 34px; height: 34px; border: 0; background: transparent; color: #fff; cursor: pointer;
  display: grid; place-items: center; margin-inline-end: 6px; opacity: .9;
  transition: opacity .2s ease, transform .2s ease;
}
.searchbtn:hover { opacity: 1; transform: scale(1.08); }
.header.is-solid .searchbtn, .header.is-solid .searchbtn .sform__ico { color: var(--ink); }  /* the glyph sets its own colour, so target it too */

/* full-screen search overlay */
.sover {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(10, 10, 13, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .3s ease; overflow-y: auto;
}
.sover.is-open { opacity: 1; }
.sover[hidden] { display: none; }
body.has-search { overflow: hidden; }
.sover__close {
  position: fixed; top: 18px; inset-inline-end: 22px; z-index: 2;
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff; font-size: 30px; line-height: 1; cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.sover__close:hover { background: var(--red); transform: rotate(90deg); }
.sover__in {
  max-width: 820px; margin: 0 auto; padding: 16vh 24px 60px;
  transform: translateY(14px); transition: transform .35s cubic-bezier(.2,.7,.3,1);
}
.sover.is-open .sover__in { transform: none; }
.sover__form { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid rgba(255,255,255,.22); padding-bottom: 10px; }
.sover__form input {
  flex: 1 1 auto; min-width: 0; background: transparent; border: 0; outline: none;
  color: #fff; font-family: inherit; font-size: clamp(24px, 3.4vw, 38px); font-weight: 800; padding: 8px 0;
}
.sover__form input::placeholder { color: rgba(255,255,255,.38); font-weight: 700; }
.sover__form input::-webkit-search-cancel-button { -webkit-appearance: none; }
.sover__form button { flex: 0 0 auto; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--red); color: #fff; cursor: pointer; display: grid; place-items: center; }
.sover__hint { margin: 16px 0 22px; color: rgba(255,255,255,.6); font-size: 13.5px; }
.sover__results { display: grid; gap: 10px; }
.sover__chips { display: flex; flex-wrap: wrap; gap: 9px; }
.sover__chips .chip { border: 1px solid rgba(255,255,255,.22); background: transparent; color: #fff; border-radius: 999px; padding: 9px 18px; font-family: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.sover__chips .chip:hover { background: var(--red); border-color: var(--red); }
.sover .sres { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); grid-template-columns: 84px 1fr; }
.sover .sres:hover { background: rgba(255,255,255,.12); box-shadow: none; border-color: rgba(255,255,255,.2); transform: none; }
.sover .sres__body h3 { color: #fff; }
.sover .sres__body p { color: rgba(255,255,255,.62); }
.sover .sres__kind { color: #ff5a5a; }
.sover .sres__img { width: 84px; height: 64px; background: rgba(255,255,255,.08); }
@media (max-width: 640px) { .sover__in { padding-top: 12vh; } .sover__close { top: 12px; inset-inline-end: 12px; } }

.sform--menu { margin-top: 14px; }
.sform--menu input { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); color: #fff; }
.sform--menu input::placeholder { color: rgba(255,255,255,.6); }


/* results */
.swrap { max-width: 620px; margin: 0 auto 30px; }
.sform--page input { height: 54px; }
.sform--page button { width: 54px; height: 54px; }
.scount { text-align: center; color: var(--muted); font-size: 14.5px; margin: 0 0 26px; }
.scount b { color: var(--red); font-size: 17px; }
.ssuggest { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.sresults { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.sres {
  display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 18px;
  padding: 14px; border-radius: 16px; background: #fff;
  border: 1px solid rgba(19,19,22,.08); text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.sres:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(19,19,22,.1); border-color: transparent; }
.sres__img { width: 96px; height: 72px; border-radius: 11px; overflow: hidden; background: #ececf0; display: grid; place-items: center; }
.sres__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sres__kind { font-size: 11.5px; font-weight: 800; color: var(--red); letter-spacing: .04em; }
.sres__body h3 { font-size: 16px; font-weight: 800; color: var(--ink); margin: 4px 0 5px; line-height: 1.5; }
.sres__body p { font-size: 13px; line-height: 1.75; color: var(--muted); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sres__go { color: var(--red); font-size: 20px; transition: transform .3s ease; }
.sres:hover .sres__go { transform: translateX(-5px); }
[dir="ltr"] .sres:hover .sres__go { transform: translateX(5px); }

/* ═══════════════ STORIES PAGE ═══════════════ */
.stgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stcard {
  display: block; border-radius: 20px; overflow: hidden; background: #fff;
  border: 1px solid rgba(19,19,22,.08); text-decoration: none;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s ease;
}
.stcard:hover { transform: translateY(-6px); box-shadow: 0 24px 46px rgba(19,19,22,.14); }
.stcard__img { position: relative; aspect-ratio: 16/10; background: #ececf0; overflow: hidden; }
.stcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.stcard:hover .stcard__img img { transform: scale(1.06); }
.stcard__cat {
  position: absolute; inset-block-start: 12px; inset-inline-start: 12px;
  background: rgba(19,19,22,.82); color: #fff; border-radius: 999px;
  padding: 5px 13px; font-size: 11.5px; font-weight: 800;
}
.stcard__body { padding: 22px 22px 24px; }
.stcard__body h2 { font-size: 18px; font-weight: 800; color: var(--ink); margin: 0 0 9px; line-height: 1.55; }
.stcard__body p { font-size: 13.5px; line-height: 1.9; color: var(--muted); margin: 0 0 14px; }

/* homepage story cards became links */
a.story { text-decoration: none; display: block; }

@media (max-width: 980px) { .stgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
  .stgrid { grid-template-columns: 1fr; }
  .sres { grid-template-columns: 72px 1fr; }
  .sres__go { display: none; }
  .sres__img { width: 72px; height: 60px; }
  .hero__search { max-width: 100%; }
}

/* ═══════════════ PROGRAMME DETAIL EXTRAS ═══════════════ */
.detail__h {
  font-size: clamp(18px, 2.1vw, 22px); font-weight: 800; color: var(--ink);
  margin: 34px 0 14px;
}
.detail__h::after {
  content: ''; display: block; width: 42px; height: 3px; margin-top: 10px;
  border-radius: 3px; background: var(--red);
}
.ticks { list-style: none; padding: 0; margin: 0 0 6px; }
.ticks li {
  position: relative; padding-inline-start: 30px; margin-bottom: 11px;
  font-size: 14.5px; line-height: 1.9; color: #3a3a42;
}
.ticks li::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 7px;
  width: 16px; height: 9px; border-inline-start: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green); transform: rotate(-45deg);
}
.ticks--dot li::before {
  width: 7px; height: 7px; border: 0; border-radius: 50%;
  background: var(--red); transform: none; top: 12px;
}

/* ═══════════════ KNOWLEDGE TYPE FILTERS ═══════════════ */
.kfilters { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin: 26px 0 4px; }
.kfilters .chip {
  border: 1px solid rgba(19,19,22,.13); background: #fff; color: var(--ink);
  border-radius: 999px; padding: 9px 20px; font-family: inherit;
  font-size: 13.5px; font-weight: 700; cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.kfilters .chip:hover { border-color: var(--ink); }
.kfilters .chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ktag {
  display: inline-block; background: rgba(244,0,0,.09); color: var(--red);
  border-radius: 999px; padding: 3px 11px; font-size: 11px; font-weight: 800;
  margin-bottom: 8px;
}

/* ═══════════════ TESTIMONIALS ═══════════════ */
.quotes { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  margin: 0; padding: 30px 28px 26px; border-radius: 20px; background: #fff;
  border: 1px solid rgba(19,19,22,.08); position: relative;
}
.quote::before {
  content: '”'; position: absolute; inset-block-start: 10px; inset-inline-end: 24px;
  font-size: 62px; line-height: 1; color: rgba(244,0,0,.15); font-weight: 900;
}
.quote blockquote {
  margin: 0 0 20px; font-size: 15px; line-height: 2.05; color: #3a3a42;
}
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote figcaption img, .quote__ph {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  background: #ececf0; flex: 0 0 44px; display: block;
}
.quote figcaption b { display: block; font-size: 14.5px; color: var(--ink); font-weight: 800; }
.quote figcaption small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

@media (max-width: 980px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .quotes { grid-template-columns: 1fr; } }

/* hero field — responsive */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; padding-top: 120px; padding-bottom: 70px; }
  .mosaic { width: min(100%, 340px); margin-inline: auto; grid-auto-rows: 52px; }
}
@media (max-width: 560px) {
  .mosaic { width: min(100%, 280px); grid-auto-rows: 42px; gap: 6px; }
  .tile { border-radius: 10px; }
}

/* ═══════════════ BOOT LOADER ═══════════════
   White page + a simple red spinner. Inline in every shell so it paints before
   any JS; boot() removes it once the page has rendered. A CSS timer hides it
   after 8s regardless, so a failed script can never trap the visitor behind it. */
.boot {
  position: fixed; inset: 0; z-index: 2000; background: #fff;
  display: grid; place-items: center;
  transition: opacity .4s ease, visibility .4s ease;
  animation: bootFailsafe 0s 8s forwards;
}
.boot.is-done, .boot[hidden] { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes bootFailsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.boot__spin {
  width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid rgba(244, 0, 0, .18); border-top-color: var(--red);
  animation: bootSpin .9s linear infinite;
}
@keyframes bootSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .boot__spin { animation-duration: 1.8s; } }

/* ═══════════════ SERVICES — Misk «المساحات التفاعلية» ═══════════════
   A pill heading, then a row of cards that bleeds past the container edge,
   each: landscape photo with a thin brand border + small radius, bold title,
   short text; two simple circle arrows centred below. */
.svc__head { display: flex; justify-content: center; margin-bottom: 34px; }
.svc__pill {
  display: inline-block; background: var(--red); color: #fff;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 800; line-height: 1.4;
  padding: 16px 56px; border-radius: 14px; box-shadow: 0 14px 34px -14px rgba(244, 0, 0, .55);
}
.svc__pill em { font-style: normal; color: #fff; }
/* let the row run off the outer edge (inline-end) like Misk, not the start edge */
.svc__wrap { position: relative; }
.svc__swiper { overflow: visible; }
.svc__swiper .swiper-wrapper { align-items: flex-start; }
.svc-card { display: block; text-decoration: none; height: auto; }
.svc-card__img {
  display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 6px;
  border: 2px solid var(--red); background: #ececf0;
  transition: transform .35s ease, box-shadow .35s ease;
}
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.svc-card:hover .svc-card__img { transform: translateY(-4px); box-shadow: 0 18px 34px -16px rgba(19, 19, 22, .35); }
.svc-card:hover .svc-card__img img { transform: scale(1.05); }
.svc-card__t { display: block; margin: 16px 0 6px; font-size: 1.2rem; font-weight: 800; color: var(--ink); line-height: 1.45; }
.svc-card:hover .svc-card__t { color: var(--red); }
.svc-card__d { display: block; font-size: .93rem; line-height: 1.85; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.svc__nav { display: flex; justify-content: center; gap: 14px; margin-top: 30px; }
.svc__arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(19, 19, 22, .25);
  background: #fff; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .2s ease;
}
.svc__arrow:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); }
.svc__arrow.swiper-button-disabled { opacity: .35; cursor: default; transform: none; }
/* the section must clip the bleed so the page never scrolls sideways.
   (.svc alone is the services-PAGE card class — don't reuse it) */
.svc-sec { overflow: hidden; }

/* ═══════════════════════════════════════════════
   لوحة البروشور — أبيض، هالة حمراء ناعمة، قرمزي عميق
   الأخضر مخفَّف إلى أدنى حدّ ومحصور في نقطة الشعار
   ═══════════════════════════════════════════════ */
:root{
  --red:#E1252D;
  --red-d:#A8323F;
  --rose:#F38083;
  --rose-2:#F7C3C4;
  --green:#8FA396;
  --ink:#1B1A1A;
  --muted:#5C5C63;
  --bg:#ffffff;
  --alt:#F8F6F6;
  --line:#ECE7E7;
  --shadow:0 24px 48px -24px rgba(27,26,26,.22);
}

/* الهيدر أبيض دائمًا كما في البروشور */
.header{background:#fff!important;box-shadow:0 8px 30px -16px rgba(27,26,26,.18)!important;padding:0!important}
.logo-light{display:none!important}
.logo-dark{display:block!important}
.nav-link{color:var(--ink)!important}
.nav-link:hover{background:var(--alt)!important;color:var(--red)!important}
.langsw{color:var(--ink)!important;border-color:var(--line)!important}
.burger span{background:var(--ink)!important}

/* الواجهة — خلفية بيضاء وهالة حمراء ناعمة */
.hero{
  color:var(--ink);
  background-color:#fff;
  background-image:
    radial-gradient(34% 44% at 73% 40%, rgba(243,128,131,.62) 0%, rgba(243,128,131,0) 62%),
    radial-gradient(58% 66% at 16% 74%, rgba(243,128,131,.14) 0%, rgba(243,128,131,0) 70%),
    linear-gradient(180deg,#ffffff 0%,#FBF9F9 100%)!important;
}
[dir="ltr"] .hero{background-image:
    radial-gradient(34% 44% at 27% 40%, rgba(243,128,131,.62) 0%, rgba(243,128,131,0) 62%),
    radial-gradient(58% 66% at 84% 74%, rgba(243,128,131,.14) 0%, rgba(243,128,131,0) 70%),
    linear-gradient(180deg,#ffffff 0%,#FBF9F9 100%)!important}
.hero__glow{background:radial-gradient(40% 40% at 50% 50%, rgba(243,128,131,.16) 0%, rgba(243,128,131,0) 70%)}
.hero__title{color:var(--ink);text-shadow:none!important}
.hero__title .accent{color:var(--red);text-shadow:none!important}
.hero__sub{color:var(--muted)!important}
.hero__hash{color:var(--red)!important;background:rgba(225,37,45,.07);
  border:1px solid rgba(225,37,45,.22);border-radius:999px;padding:7px 18px}
.hero__scroll span{border-color:rgba(27,26,26,.32)!important}
.mosaic .tile{box-shadow:0 22px 44px -26px rgba(27,26,26,.4)}
.btn--glass{border-color:var(--ink);color:var(--ink)}
.btn--glass:hover{background:var(--ink);color:#fff}

/* المُعادِل — بتدرّج وردي بدل الأخضر */
.dz-eq i{background:var(--rose-2)}
.dz-eq i:nth-child(2){background:var(--red)}
.dz-eq i:nth-child(4){background:var(--red-d)}
.dz-prog i{background:linear-gradient(90deg,var(--rose),var(--red))}

/* الشريط المتحرك — بلون كرت البروشور القرمزي */
.dz-marquee{background:var(--red-d)}
.dz-marquee::before{background:linear-gradient(to left,transparent,var(--red-d))}
.dz-marquee::after{background:linear-gradient(to right,transparent,var(--red-d))}
.dz-track s{color:var(--rose-2)}

/* استبدال الأخضر الوظيفي */
.dz-gnum--green{background:var(--red-d)}
.dz-list--green li::before{background:var(--red-d)}
.dz-day li::before{background:var(--rose)}
.dz-cbox input{accent-color:var(--red-d)}
.dz-vote.is-best .dz-fill{background:rgba(168,50,63,.45)}
.dz-fill{background:rgba(225,37,45,.26)}
.dz-ok{background:#FBF4F4;border-color:#EBD6D8;color:#7A2E36}
.step__num--green{background:var(--red-d)!important}
.dz-badge em{color:var(--rose-2)}
.dz-assess::after{background:
  radial-gradient(48% 58% at 84% 22%, rgba(243,128,131,.30) 0%, rgba(243,128,131,0) 68%),
  radial-gradient(52% 62% at 12% 78%, rgba(168,50,63,.42) 0%, rgba(168,50,63,0) 68%)}
.dz-phero::after{background:
  radial-gradient(52% 66% at 16% 42%, rgba(168,50,63,.55) 0%, rgba(168,50,63,0) 68%),
  radial-gradient(48% 60% at 86% 28%, rgba(243,128,131,.26) 0%, rgba(243,128,131,0) 68%)}

.dz-sub{color:var(--muted);font-size:1.06rem;max-width:74ch}
.dz-sub.center{text-align:center;margin-inline:auto}
.dz-note{margin-top:20px;font-size:.92rem;color:var(--muted);background:var(--alt);
  border:1px dashed var(--line);border-radius:12px;padding:14px 18px}
.dz-hide{display:none!important}
.exp:hover .exp__d{max-height:150px}

/* سطر الأثر في قصص النجاح */
.story .dz-out{display:block;margin-top:14px;padding-top:13px;border-top:1px dashed var(--line);
  font-weight:800;font-size:.95rem;color:var(--red-d);line-height:1.8}

/* كولاج إنستغرام */
.dz-ig{display:grid;grid-template-columns:repeat(6,1fr);grid-auto-rows:152px;gap:14px;margin-top:30px}
.dz-igt{position:relative;display:block;overflow:hidden;border-radius:18px;background:var(--alt);
  box-shadow:0 16px 36px -22px rgba(27,26,26,.4)}
.dz-igt img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease),filter .5s;
  filter:saturate(.85)}
.dz-igt::after{content:"";position:absolute;inset:0;
  background:linear-gradient(to top,rgba(27,26,26,.82) 0%,rgba(27,26,26,.12) 48%,rgba(168,50,63,.16) 100%);
  opacity:.55;transition:opacity .45s}
.dz-igt:hover img{transform:scale(1.09);filter:saturate(1)}
.dz-igt:hover::after{opacity:.9}
.dz-igcap{position:absolute;inset-inline:18px;bottom:16px;z-index:2;color:#fff;font-weight:800;
  font-size:.92rem;line-height:1.7;opacity:0;transform:translateY(14px);transition:.45s var(--ease)}
.dz-igt:hover .dz-igcap{opacity:1;transform:none}
.dz-igplay{position:absolute;inset-inline-end:16px;top:16px;z-index:2;width:38px;height:38px;border-radius:50%;
  background:var(--red);display:grid;place-items:center;box-shadow:0 8px 20px -8px rgba(225,37,45,.8)}
.dz-igplay::after{content:"";border-style:solid;border-width:7px 11px 7px 0;
  border-color:transparent #fff transparent transparent;margin-inline-end:3px}
.dz-igt--1{grid-column:1/span 2;grid-row:1/span 2}
.dz-igt--2{grid-column:3/span 2;grid-row:1}
.dz-igt--3{grid-column:5/span 2;grid-row:1/span 2}
.dz-igt--4{grid-column:3/span 2;grid-row:2}
.dz-igt--5{grid-column:1/span 3;grid-row:3}
.dz-igt--6{grid-column:4/span 3;grid-row:3}
@media(max-width:800px){
  .dz-ig{grid-template-columns:repeat(2,1fr);grid-auto-rows:150px}
  .dz-igt{grid-column:auto!important;grid-row:auto!important}
  .dz-igt--1,.dz-igt--3{grid-column:1/span 2!important}
  .dz-igcap{opacity:1;transform:none;font-size:.82rem}
}

/* نافذة مجال الخبرة */
.exp{cursor:pointer}
.dz-fpop .dz-pop__card{max-width:640px}
.dz-fk{font-size:.85rem;font-weight:800;color:var(--red)}
.dz-fpop h3{font-size:1.65rem;font-weight:900;margin:8px 0 12px}
.dz-flead{font-size:1.05rem;font-weight:800;color:var(--ink);margin-bottom:12px;line-height:1.85}
.dz-fbody{color:var(--muted);font-size:1rem;margin-bottom:22px}
.dz-fsub{font-size:.85rem;font-weight:800;color:var(--muted);margin-bottom:8px}
.dz-fbul{list-style:none;margin-bottom:22px}
.dz-fbul li{position:relative;padding:9px 24px 9px 0;color:var(--ink);font-size:.98rem;
  border-bottom:1px dashed var(--line)}
.dz-fbul li:last-child{border-bottom:0}
.dz-fbul li::before{content:"";position:absolute;inset-inline-start:0;top:19px;width:8px;height:8px;
  border-radius:50%;background:var(--red)}
.dz-fpr{display:flex;flex-wrap:wrap;gap:8px}
.dz-fpr span{font-size:.86rem;font-weight:800;color:var(--red-d);background:rgba(168,50,63,.07);
  border:1px solid rgba(168,50,63,.16);border-radius:999px;padding:7px 16px}


/* ═══ الموشن ═══ */
.dz-prog{position:fixed;top:0;inset-inline:0;height:3px;z-index:1200;background:transparent}
.dz-prog i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--green),var(--red))}
.dz-eq{display:flex;align-items:flex-end;gap:5px;height:34px;margin-bottom:18px}
.dz-eq i{width:5px;border-radius:3px;background:rgba(255,255,255,.55);transform-origin:bottom;
  animation:dzEq 1.1s ease-in-out infinite}
.dz-eq i:nth-child(1){height:40%;animation-delay:0s}
.dz-eq i:nth-child(2){height:75%;animation-delay:.12s;background:var(--red)}
.dz-eq i:nth-child(3){height:55%;animation-delay:.24s}
.dz-eq i:nth-child(4){height:95%;animation-delay:.36s;background:#39d07c}
.dz-eq i:nth-child(5){height:45%;animation-delay:.48s}
.dz-eq i:nth-child(6){height:70%;animation-delay:.6s}
@keyframes dzEq{0%,100%{transform:scaleY(.4)}50%{transform:scaleY(1.25)}}
.hero__title>span{display:block;overflow:hidden;padding-bottom:.1em}
.dz-line{display:block;transform:translateY(112%);opacity:0;animation:dzLine 1.05s var(--ease) forwards}
@keyframes dzLine{to{transform:translateY(0);opacity:1}}
.hero__title .accent .dz-line{
  background:linear-gradient(100deg,var(--red) 0%,#ff7a7a 42%,var(--red) 68%);
  background-size:260% 100%;-webkit-background-clip:text;background-clip:text;
  color:transparent;-webkit-text-fill-color:transparent;
  animation:dzLine 1.05s var(--ease) forwards,dzSheen 7s 1.8s linear infinite}
@keyframes dzSheen{0%{background-position:210% 0}100%{background-position:-70% 0}}
.mosaic{transition:transform .5s cubic-bezier(.22,1,.36,1)}
.mosaic .tile{transition:transform .8s cubic-bezier(.22,1,.36,1)}
.dz-marquee{background:var(--ink);color:#fff;padding:22px 0;overflow:hidden;white-space:nowrap;position:relative}
.dz-marquee::before,.dz-marquee::after{content:"";position:absolute;top:0;bottom:0;width:90px;z-index:2}
.dz-marquee::before{inset-inline-start:0;background:linear-gradient(to left,transparent,var(--ink))}
.dz-marquee::after{inset-inline-end:0;background:linear-gradient(to right,transparent,var(--ink))}
.dz-track{display:inline-flex;animation:dzMove 38s linear infinite}
.dz-marquee:hover .dz-track{animation-play-state:paused}
@keyframes dzMove{from{transform:translateX(0)}to{transform:translateX(50%)}}
.dz-track b{font-size:clamp(1.1rem,2vw,1.6rem);font-weight:900;padding:0 26px;opacity:.85}
.dz-track s{text-decoration:none;color:var(--red);font-size:1.4rem;opacity:.9}
@media(prefers-reduced-motion:reduce){
  .dz-track,.dz-eq i{animation:none!important}
  .dz-line{animation:none!important;opacity:1;transform:none}
}

/* بوصلة */
.dz-quiz{max-width:760px;margin:34px auto 0;background:#fff;border:1px solid var(--line);
  border-radius:var(--radius);box-shadow:var(--shadow);padding:clamp(24px,3.4vw,40px)}
.dz-step{font-size:.88rem;font-weight:700;color:var(--muted)}
.dz-bar{height:5px;background:var(--line);border-radius:3px;margin:12px 0 26px;overflow:hidden}
.dz-bar div{height:100%;background:var(--red);border-radius:3px;transition:width .35s var(--ease);margin-inline-start:auto}
.dz-quiz h3{font-size:clamp(1.25rem,2.2vw,1.7rem);font-weight:900;margin-bottom:20px}
.dz-opt{display:block;width:100%;text-align:right;font-size:1.02rem;font-weight:600;color:var(--ink);
  background:var(--alt);border:2px solid transparent;border-radius:12px;padding:15px 20px;margin-bottom:10px;
  transition:border-color .2s,background .2s,transform .2s}
.dz-opt:hover{border-color:var(--red);background:#fff;transform:translateX(-4px)}
.dz-result{border-inline-start:4px solid var(--red);padding-inline-start:22px}
.dz-result h4{font-size:1.35rem;font-weight:900;color:var(--red);margin-bottom:8px}
.dz-result p{color:var(--muted)}
.dz-quiz .btn{margin-top:22px}

/* بطاقات البرامج الحكومية */
.dz-gcards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:44px}
.dz-gcard{display:block;background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;transition:transform .35s var(--ease),box-shadow .35s}
.dz-gcard:hover{transform:translateY(-8px);box-shadow:var(--shadow)}
.dz-gcard__img{display:block;aspect-ratio:16/9;overflow:hidden;background:var(--alt)}
.dz-gcard__img img{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease)}
.dz-gcard:hover .dz-gcard__img img{transform:scale(1.07)}
.dz-gcard__b{display:block;padding:24px 26px 28px}
.dz-gcard__b h3{font-size:1.18rem;font-weight:900;line-height:1.5;margin-bottom:10px}
.dz-gcard__m{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.dz-gcard__m span{font-size:.78rem;font-weight:700;color:var(--muted);background:var(--alt);padding:4px 11px;border-radius:6px}
.dz-gcard__b p{color:var(--muted);font-size:.97rem}
.dz-gcard__go{display:inline-block;margin-top:16px;font-weight:800;font-size:.92rem;color:var(--red)}

/* خطوات الجاهزية */
.dz-gov{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.8fr);gap:48px;align-items:start;margin-top:46px}
.dz-gstep{display:grid;grid-template-columns:56px 1fr;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}
.dz-gstep:last-child{border-bottom:0}
.dz-gnum{width:46px;height:46px;border-radius:50%;background:var(--red);color:#fff;
  display:grid;place-items:center;font-weight:900;font-size:.95rem}
.dz-gnum--green{background:var(--green)}
.dz-gstep h4{font-size:1.16rem;font-weight:900;margin-bottom:4px}
.dz-gstep p{color:var(--muted);font-size:1rem}
.dz-check{background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow);padding:30px;position:sticky;top:96px}
.dz-check h3{font-size:1.28rem;font-weight:900}
.dz-hint{color:var(--muted);font-size:.95rem;margin:6px 0 18px}
.dz-cbox{display:flex;gap:12px;align-items:flex-start;font-size:.98rem;font-weight:600;
  padding:11px 0;border-bottom:1px dashed var(--line);cursor:pointer}
.dz-cbox:last-of-type{border-bottom:0}
.dz-cbox input{margin-top:8px;width:18px;height:18px;accent-color:var(--green);flex:0 0 auto}
.dz-score{margin-top:18px;padding-top:18px;border-top:2px solid var(--line)}
.dz-score b{font-size:2.4rem;font-weight:900;line-height:1;color:var(--red)}
.dz-tip{font-size:.97rem;color:var(--muted);margin-top:10px}
.dz-score .btn{width:100%;margin-top:16px;text-align:center}

/* Deraya Assess */
.dz-assess{background:var(--ink);color:#fff;position:relative;overflow:hidden}
.dz-assess::after{content:"";position:absolute;inset:0;pointer-events:none;background:
  radial-gradient(50% 60% at 82% 24%,rgba(14,150,70,.42) 0%,rgba(14,150,70,0) 68%),
  radial-gradient(50% 60% at 14% 76%,rgba(196,16,16,.40) 0%,rgba(196,16,16,0) 68%)}
.dz-assess .container{position:relative;z-index:2}
.dz-badge{display:inline-flex;align-items:center;gap:12px;flex-wrap:wrap;background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:10px 22px;font-weight:800;font-size:1rem}
.dz-badge em{font-style:normal;color:#39d07c;font-size:.78rem;font-weight:700}
.dz-assess h2{font-size:clamp(1.9rem,4vw,3rem);font-weight:900;margin:22px 0 14px;line-height:1.3}
.dz-assess h2 em{font-style:normal;color:var(--red)}
.dz-assess>.container>p{color:rgba(255,255,255,.72);font-size:1.08rem;max-width:74ch}
.dz-apoints{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:44px}
.dz-apoint{background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.12);
  border-radius:16px;padding:26px;transition:transform .35s var(--ease),background .35s}
.dz-apoint:hover{transform:translateY(-6px);background:rgba(255,255,255,.09)}
.dz-apoint b{display:block;font-size:1.1rem;font-weight:900;margin-bottom:8px}
.dz-apoint p{color:rgba(255,255,255,.64);font-size:.96rem}
.dz-apoint span{display:block;font-size:1.6rem;font-weight:900;color:var(--red);margin-bottom:12px}
.dz-acta{margin-top:46px;display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);border-radius:20px;padding:30px 34px}
.dz-acta p{color:rgba(255,255,255,.72);font-size:1.02rem;max-width:58ch;margin:0}

/* نموذج طلب متحدث */
.dz-form{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);
  padding:clamp(26px,3.4vw,44px);max-width:900px;margin:34px auto 0}
.dz-grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.dz-field{display:block;margin-bottom:16px}
.dz-field>span{display:block;font-size:.9rem;font-weight:800;margin-bottom:7px}
.dz-field input,.dz-field select,.dz-field textarea{width:100%;font:inherit;font-size:1rem;color:var(--ink);
  background:var(--alt);border:1.5px solid transparent;border-radius:10px;padding:13px 16px;transition:.2s}
.dz-field input:focus,.dz-field select:focus,.dz-field textarea:focus{outline:0;border-color:var(--red);background:#fff}
.dz-field textarea{min-height:110px;resize:vertical;line-height:1.9}
.dz-chips{display:flex;flex-wrap:wrap;gap:8px}
.dz-pick{font-size:.92rem;font-weight:700;background:var(--alt);border:1.5px solid transparent;
  color:var(--muted);padding:9px 18px;border-radius:999px;transition:.2s}
.dz-pick[aria-pressed="true"]{background:var(--ink);color:#fff;border-color:var(--ink)}
.dz-ok{display:none;background:#eaf6ee;border:1px solid #bfe0cb;color:#14532d;border-radius:12px;
  padding:16px 20px;margin-top:18px;font-weight:700}
.dz-ok.is-on{display:block}

/* تحليل موقف */
.dz-case{background:var(--ink);color:#fff;border-radius:22px;padding:clamp(28px,4vw,48px);margin-top:36px}
.dz-case__tag{font-size:.88rem;font-weight:800;color:#ff6b6b}
.dz-case h3{font-size:clamp(1.35rem,2.4vw,1.9rem);font-weight:900;margin:10px 0 8px}
.dz-case__q{color:rgba(255,255,255,.72);font-size:1.04rem;max-width:72ch;margin-bottom:26px}
.dz-vote{display:block;width:100%;text-align:right;position:relative;overflow:hidden;font-size:1rem;font-weight:600;
  color:#fff;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);border-radius:12px;
  padding:15px 22px;margin-bottom:10px}
.dz-vote:hover{border-color:var(--red)}
.dz-fill{position:absolute;inset-block:0;inset-inline-end:0;width:0;background:rgba(244,0,0,.32);
  transition:width .6s var(--ease);z-index:0}
.dz-vote.is-best .dz-fill{background:rgba(0,140,60,.42)}
.dz-vote>span:not(.dz-fill){position:relative;z-index:1}
.dz-pct{float:left;font-weight:900;opacity:0;transition:opacity .5s}
.is-revealed .dz-pct{opacity:1}
.dz-verdict{display:none;border-inline-start:4px solid var(--red);padding-inline-start:22px;margin-top:24px}
.dz-verdict.is-on{display:block}
.dz-verdict p{color:rgba(255,255,255,.75);font-size:1rem;max-width:78ch}
.dz-verdict b{color:#fff}

/* صفحة البرنامج */
.dz-phero{background:var(--ink);color:#fff;padding:130px 0 70px;position:relative;overflow:hidden}
.dz-phero::after{content:"";position:absolute;inset:0;background:
  radial-gradient(55% 70% at 15% 40%,rgba(196,16,16,.55) 0%,rgba(196,16,16,0) 68%),
  radial-gradient(55% 70% at 85% 30%,rgba(14,150,70,.45) 0%,rgba(14,150,70,0) 68%)}
.dz-phero .container{position:relative;z-index:2}
.dz-back{display:inline-flex;align-items:center;gap:9px;background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.22);color:#fff;border-radius:999px;padding:10px 22px;
  font-weight:800;font-size:.92rem;margin-bottom:22px;transition:.2s}
.dz-back:hover{background:#fff;color:var(--ink)}
.dz-crumb{font-size:.9rem;font-weight:700;color:rgba(255,255,255,.55);margin-bottom:14px}
.dz-crumb a:hover{color:#fff}
.dz-phero h1{font-size:clamp(1.9rem,4.2vw,3.1rem);font-weight:900;line-height:1.35;max-width:22ch}
.dz-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.dz-meta span{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);
  border-radius:999px;padding:8px 18px;font-size:.92rem;font-weight:700}
.dz-pbody{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,340px);gap:56px;align-items:start}
.dz-pmain h2{font-size:clamp(1.4rem,2.6vw,2rem);font-weight:900;margin:42px 0 14px}
.dz-pmain h2:first-of-type{margin-top:0}
.dz-pmain p{color:var(--muted);font-size:1.06rem}
.dz-list{list-style:none;margin-top:12px}
.dz-list li{position:relative;padding:10px 26px 10px 0;color:var(--muted);font-size:1.02rem;border-bottom:1px dashed var(--line)}
.dz-list li:last-child{border-bottom:0}
.dz-list li::before{content:"";position:absolute;inset-inline-start:0;top:20px;width:9px;height:9px;border-radius:50%;background:var(--red)}
.dz-list--green li::before{background:var(--green)}
.dz-day{background:var(--alt);border-radius:16px;padding:24px 26px;margin-bottom:14px}
.dz-day h4{font-size:1.1rem;font-weight:900;margin-bottom:10px}
.dz-day ul{list-style:none}
.dz-day li{color:var(--muted);font-size:1rem;padding:6px 20px 6px 0;position:relative}
.dz-day li::before{content:"";position:absolute;inset-inline-start:4px;top:16px;width:6px;height:6px;border-radius:50%;background:var(--green)}
.dz-aside{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);
  padding:28px;position:sticky;top:96px}
.dz-aside h3{font-size:1.16rem;font-weight:900;margin-bottom:6px}
.dz-kv{padding:12px 0;border-bottom:1px dashed var(--line);font-size:.96rem}
.dz-kv:last-of-type{border-bottom:0}
.dz-kv b{display:block;font-size:.82rem;color:var(--muted);font-weight:800;margin-bottom:2px}
.dz-aside .btn{width:100%;text-align:center;margin-top:12px}
.dz-pimg{width:100%;border-radius:18px;margin-bottom:30px;aspect-ratio:16/7;object-fit:cover}

/* النوافذ */
.dz-pop{position:fixed;inset:0;z-index:2000;display:none;align-items:center;justify-content:center;
  background:rgba(12,12,14,.6);backdrop-filter:blur(4px);padding:24px;overflow-y:auto}
.dz-pop.is-on{display:flex}
.dz-pop__card{background:#fff;border-radius:22px;max-width:560px;width:100%;padding:clamp(28px,4vw,44px);
  box-shadow:0 40px 90px -30px rgba(0,0,0,.6);position:relative;animation:dzPop .45s var(--ease) both;margin:auto}
@keyframes dzPop{from{opacity:0;transform:translateY(26px) scale(.97)}to{opacity:1;transform:none}}
.dz-pop__x{position:absolute;inset-inline-end:18px;top:14px;background:none;border:0;font-size:1.7rem;line-height:1;color:var(--muted)}
.dz-pop__k{font-size:.85rem;font-weight:800;color:var(--red)}
.dz-pop__card h3{font-size:1.5rem;font-weight:900;margin:8px 0 10px}
.dz-pop__card>p{color:var(--muted);font-size:1rem;margin-bottom:20px}
.dz-pop__issue{background:var(--alt);border-radius:14px;padding:16px 20px;margin-bottom:18px}
.dz-pop__issue b{display:block;font-weight:900;font-size:.95rem;margin-bottom:12px}
.dz-pop__acts{display:flex;gap:10px;flex-wrap:wrap}
.dz-pop__acts .btn{padding:11px 20px;font-size:.88rem}
.dz-pop__row{display:flex;gap:10px}
.dz-pop__row input{flex:1;font:inherit;background:var(--alt);border:1.5px solid transparent;border-radius:10px;padding:13px 16px}
.dz-pop__row input:focus{outline:0;border-color:var(--red);background:#fff}
.dz-nl-tab{position:fixed;right:0;top:50%;transform:translateY(-50%) rotate(180deg);
  writing-mode:vertical-rl;background:var(--red);color:#fff;font-weight:800;font-size:.86rem;
  padding:18px 10px;border:0;border-radius:0 10px 10px 0;z-index:900}
.dz-draft textarea{min-height:250px;font-size:.97rem}

@media(max-width:1000px){
  .dz-gov{grid-template-columns:1fr;gap:34px}
  .dz-check,.dz-aside{position:static}
  .dz-pbody{grid-template-columns:1fr;gap:34px}
  .dz-gcards,.dz-apoints{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
  .dz-grid2{grid-template-columns:1fr}
  .dz-gcards,.dz-apoints{grid-template-columns:1fr}
  .dz-gstep{grid-template-columns:42px 1fr;gap:14px}
  .dz-gnum{width:38px;height:38px;font-size:.85rem}
  .dz-nl-tab{display:none}
}

/* ═══ 2026-10 merge — live-site additions on top of the prototype block ═══ */
[id]{scroll-margin-top:96px}
/* English (LTR) mirrors of the prototype's RTL-only rules */
.dz-opt,.dz-vote{text-align:start}
[dir="ltr"] .dz-opt:hover{transform:translateX(4px)}
[dir="ltr"] .dz-pct{float:right}
[dir="ltr"] .dz-track{animation-name:dzMoveL}
@keyframes dzMoveL{from{transform:translateX(0)}to{transform:translateX(-50%)}}
[dir="ltr"] .dz-marquee::before{background:linear-gradient(to right,transparent,var(--red-d))}
[dir="ltr"] .dz-marquee::after{background:linear-gradient(to left,transparent,var(--red-d))}
[dir="ltr"] .dz-fbul li{padding:9px 0 9px 24px}
[dir="ltr"] .dz-list li{padding:10px 0 10px 26px}
[dir="ltr"] .dz-nl-tab{right:auto;left:0;border-radius:0 10px 10px 0;transform:translateY(-50%)}
/* expertise pop-up: body + related programmes are links on the live site */
.dz-fbody p{margin:0 0 10px}
.dz-fbody h3{font-size:1rem;font-weight:900;color:var(--ink);margin:16px 0 6px}
.dz-fbody ul{list-style:none;margin:0 0 12px}
.dz-fbody li{position:relative;padding:6px 20px 6px 0;color:var(--muted)}
[dir="ltr"] .dz-fbody li{padding:6px 0 6px 20px}
.dz-fbody li::before{content:"";position:absolute;inset-inline-start:2px;top:16px;width:7px;height:7px;border-radius:50%;background:var(--red)}
.dz-fpr a{font-size:.86rem;font-weight:800;color:var(--red-d);background:rgba(168,50,63,.07);
  border:1px solid rgba(168,50,63,.16);border-radius:999px;padding:7px 16px;transition:.2s}
.dz-fpr a:hover{background:var(--red-d);color:#fff}
.dz-fmore{display:inline-block;margin-top:22px;font-weight:800;color:var(--red)}
.exp__go{font-size:1.25rem}
/* programme detail: agenda days + alternate bullets (Gutenberg group/list blocks) */
.rte .pday{background:var(--alt);border-radius:16px;padding:22px 26px;margin:0 0 14px}
.rte .pday h4{font-size:1.08rem;font-weight:900;margin:0 0 8px;color:var(--ink)}
.rte .pday ul{margin:0}
.rte ul.is-alt li::before{background:var(--red-d)!important}
.assessbox{margin-top:34px;background:var(--ink);color:#fff;border-radius:18px;padding:26px 28px;position:relative;overflow:hidden}
.assessbox::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(50% 80% at 90% 10%,rgba(243,128,131,.3) 0%,rgba(243,128,131,0) 70%)}
.assessbox>*{position:relative;z-index:1}
.assessbox b.dz-an{display:inline-block;font-size:.78rem;font-weight:800;color:var(--rose-2);border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:4px 12px;margin-bottom:10px}
.assessbox h3{font-size:1.25rem;font-weight:900;margin:0 0 6px}
.assessbox p{color:rgba(255,255,255,.75);margin:0}
.sidecard__meta li.is-long b{font-weight:600;font-size:.9rem;line-height:1.7}
/* story outcome line on the story page */
.story-out{margin:0 0 26px;padding:18px 22px;border-inline-start:4px solid var(--red-d);background:#FBF4F4;
  border-radius:12px;font-weight:800;color:var(--red-d);font-size:1.08rem;line-height:1.8}
/* quick-request pop-up form (replaces the prototype's e-mail drafts) */
.dz-req .dz-grid2{gap:12px 14px}
.dz-req .dz-field{margin-bottom:12px}
.dz-req textarea{min-height:120px}
.dz-req .btn{width:100%;margin-top:6px}
.dz-req .fmsg{margin-top:10px;font-size:.92rem;font-weight:700;color:var(--red)}
.dz-form .fmsg{margin-top:12px;font-weight:700;color:var(--red)}
.dz-field i{font-style:normal;color:var(--red)}
.dz-votes-n{display:block;margin-top:8px;font-size:.85rem;color:rgba(255,255,255,.55)}
.dz-thanks{color:rgba(255,255,255,.8);font-weight:700;margin-top:6px}
.dz-vote.is-mine{border-color:var(--red)}
.dz-pop__issue[hidden]{display:none}
.dz-nl-dl{margin-top:12px}
.hero__actions:empty{display:none}
/* the side tab would cover the page edge on narrower screens — footer link + auto pop-up remain */
@media(max-width:1100px){.dz-nl-tab{display:none}}
/* quick-request: per-request inputs + read-only summary (no pre-written draft text) */
#reqExtra:empty{display:none}
#reqExtra{margin-bottom:0}
.dz-reqsum{background:var(--alt);border-radius:12px;padding:12px 16px;margin-bottom:14px;font-size:.9rem;color:var(--muted)}
.dz-reqsum span{display:block;padding:3px 0}
.dz-reqsum span:first-child{font-weight:800;color:var(--red-d)}
.dz-req textarea{min-height:84px}
.dz-pop{align-items:flex-start}

/* ═══════════════ NEWSLETTER ARCHIVE (2026-11) ═══════════════
   /newsletter = this month's issue + subscribe + previous issues by year;
   /issue/<slug> = one issue (text, embedded PDF, or link). */
.nlx-feat {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 0; align-items: stretch;
  background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 60px -38px rgba(19,19,22,.4);
}
.nlx-feat__cover { display: block; position: relative; min-height: 360px; background: var(--ink); overflow: hidden; }
.nlx-feat__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.nlx-feat__cover:hover img { transform: scale(1.04); }
.nlx-feat__body { padding: clamp(26px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.nlx-feat__body h2 { font-size: clamp(1.45rem, 2.6vw, 2.1rem); font-weight: 900; line-height: 1.45; margin: 0; }
.nlx-feat__body p { color: var(--muted); line-height: 1.95; margin: 0; font-size: 1rem; }
.nlx-badge {
  align-self: flex-start; background: var(--red); color: #fff; border-radius: 999px;
  padding: 6px 16px; font-size: 12.5px; font-weight: 800; letter-spacing: .01em;
}
.nlx-month { display: block; color: var(--red); font-weight: 800; font-size: .85rem; }
.nlx-month--lg { font-size: 1.05rem; color: var(--muted); }
.nlx-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.nlx-acts .btn { padding: 12px 22px; font-size: .9rem; }
.nlx-acts--col { flex-direction: column; margin-top: 4px; }
.nlx-acts--col .btn { width: 100%; justify-content: center; }

/* branded stand-in when an issue has no cover image */
.nlx-ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: radial-gradient(circle at 30% 20%, rgba(244,0,0,.55), transparent 55%), linear-gradient(160deg, #1d1d22, #0b0b0d);
  color: #fff; text-align: center;
}
.nlx-ph b { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; line-height: 1.2; }
.nlx-ph i { font-style: normal; font-weight: 700; opacity: .7; letter-spacing: .12em; }
.nlx-card__img .nlx-ph b, .nlx-side__img .nlx-ph b { font-size: 1.9rem; }

/* subscribe band */
.nlx-sub {
  margin-top: 26px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 22px; align-items: center;
  background: var(--alt); border-radius: 20px; padding: clamp(22px, 3vw, 34px);
}
.nlx-sub h3 { font-size: 1.25rem; font-weight: 900; margin: 0 0 6px; }
.nlx-sub p { color: var(--muted); margin: 0; line-height: 1.85; font-size: .95rem; }
.nlx-sub .dz-pop__row input { background: #fff; }

/* empty archive */
.nlx-empty { text-align: center; padding: 34px 0 6px; }
.nlx-empty__ico {
  display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(244,0,0,.09); color: var(--red); font-size: 28px; margin-bottom: 14px;
}
.nlx-empty h2 { font-size: 1.5rem; font-weight: 900; margin: 0 0 8px; }
.nlx-empty p { color: var(--muted); margin: 0; }

/* archive grid */
.nlx-years { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin: 22px 0 6px; }
.nlx-years .chip {
  border: 1px solid rgba(19,19,22,.13); background: #fff; color: var(--ink);
  border-radius: 999px; padding: 9px 20px; font-family: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.nlx-years .chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.nlx-yeargroup[hidden] { display: none; }
.nlx-year {
  font-size: 1.05rem; font-weight: 900; margin: 34px 0 16px; display: flex; align-items: center; gap: 14px;
}
.nlx-year::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.nlx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.nlx-card {
  display: block; border-radius: 20px; overflow: hidden; background: #fff; text-decoration: none; color: inherit;
  border: 1px solid rgba(19,19,22,.08);
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s ease;
}
.nlx-card:hover { transform: translateY(-6px); box-shadow: 0 24px 46px rgba(19,19,22,.14); }
.nlx-card__img { position: relative; aspect-ratio: 16/10; background: var(--ink); overflow: hidden; }
.nlx-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.nlx-card:hover .nlx-card__img img { transform: scale(1.06); }
.nlx-card__body { padding: 20px 22px 22px; }
.nlx-card__body h3 { font-size: 17px; font-weight: 800; line-height: 1.55; margin: 6px 0 8px; color: var(--ink); }
.nlx-card__body p {
  font-size: 13.5px; line-height: 1.85; color: var(--muted); margin: 0 0 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* single issue */
.nlx-side__img { position: relative; }
.nlx-pdf {
  margin-top: 26px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--alt);
  height: min(82vh, 980px);
}
.nlx-pdf iframe { width: 100%; height: 100%; border: 0; display: block; }
.nlx-pdf__note { margin: 10px 0 0; font-size: .88rem; }
.nlx-pdf__note a { color: var(--red); font-weight: 800; text-decoration: none; }
.nlx-form--stack { flex-direction: column; }
.nlx-form--stack .btn { width: 100%; justify-content: center; }

/* pop-up: link to the whole archive */
.dz-nl-all { display: inline-flex; gap: 6px; margin-top: 12px; color: var(--red); font-weight: 800; font-size: .88rem; text-decoration: none; }

@media (max-width: 980px) {
  .nlx-grid { grid-template-columns: repeat(2, 1fr); }
  .nlx-feat { grid-template-columns: 1fr; }
  .nlx-feat__cover { min-height: 0; aspect-ratio: 16/10; }
  .nlx-sub { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nlx-grid { grid-template-columns: 1fr; }
  .nlx-sub .dz-pop__row { flex-direction: column; }
  .nlx-sub .dz-pop__row .btn { width: 100%; justify-content: center; }
  .nlx-pdf { height: 70vh; }
}

/* iPhone Safari zooms the page into any form field under 16px — keep fields at 16px on phones (2026-11-18) */
@media (max-width: 767px) {
  input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea { font-size: 16px !important; }
}
