/* =====================================================================
   صفحة «منصات التحالف» (platforms.html) — التحالف الوطني | NACDW v2
   - الهيرو بيستخدم نفس كلاسات هيرو الرئيسية (site.css) ونفس ضبط هيرو «مجالات عملنا» (areas.css: #mj .mj-hero)،
     فالمقاسات والخطوط والتدرج والارتفاع تحت الهيدر ونقاط الكسر هي نفسها.
   - هنا قواعد خاصة بالصفحة دي بس، كلها تحت .pf-page.
   ===================================================================== */

/* the person stands on the left of the photo: keep her in frame when the screen narrows (the copy sits on the right) */
.pf-hero .hero-bg{ object-position:10% 45%; }
/* same hero height as «مجالات عملنا»: that hero has its one-row numbers block under the lead (17px, number over label,
   ~52–54px + the copy's 22px gap). This page has no numbers, so an empty block of the same size keeps the two heroes
   equally tall and shows the same share of the photo (measured equal from 561px up). On phones the areas numbers wrap
   to 2×2; here only the one-row space is kept, so no large empty band appears under the text. */
.pf-hero .hero-copy::after{ content:""; display:block; height:3.1em; font-size:17px; }

/* ---------- Platforms (Concept B, 14 Nov) ----------
   The rows are the approved «انضم إلينا» rows from areas.css (.mj-join-head, .mj-jrow, .flip, .kick, .mj-checks,
   .mj-jcta, .mj-btn) with all their sizes, colours, radius, shadow and breakpoints. Only what they do not have is here,
   built from the same #mj tokens (--base, --acc, --soft, --line, --medium, --dark, --r-md). */

/* section rhythm: the first section under the hero, like «مجالات عملنا» (.mj-pick top 96 / 64), and 96 / 64 above the footer */
#mj .pf-plats{ padding:96px 0 96px; }
@media (max-width:980px){ #mj .pf-plats{ padding:64px 0 64px; } }

/* «لمن؟»: one quiet line under the description (same size/colour as the volunteers proof line, .mj-vstat p) */
#mj .pf-who{ margin-top:14px; max-width:560px; font-size:15px; line-height:1.85; color:var(--medium); text-wrap:pretty; }
#mj .pf-who b{ font-weight:700; color:var(--dark); margin-inline-end:4px; }

/* the CTA row (14 Nov, designer): only the homepage primary button (site.css .btn.btn-primary, unchanged), nothing beside it.
   «قريبًا» uses the same .btn box (height, padding, radius, type) but is not a link: soft fill, no hover. */
#mj .pf-soon{ background:var(--soft); color:var(--base); border-color:var(--line); cursor:default; }
#mj .pf-soon:hover{ transform:none; }
/* menu links jump to a card (platforms.html#pfEnsan / #pfObs / #pfAcad): stop the card below the fixed header */
#mj .pf-row{ scroll-margin-top:calc(var(--hdr) + 24px); }
/* observatory photo: the four people sit right of centre, the logo top-left; keep the people in frame */
#mj #pfObs .ph img{ object-position:58% 50%; }
#mj #pfObs .ph img{ object-position:62% 58%; }   /* 22 Nov: owner's portrait photo (analyst at the laptop): keep his face and the screens in frame */

/* connector between the two rows: the eyebrow's 72px line on both sides of a short pill (hero idea: from data to skills) */
#mj .pf-link{ display:flex; align-items:center; justify-content:center; gap:14px; }
#mj .pf-link::before, #mj .pf-link::after{ content:""; width:72px; height:2px; border-radius:2px; background:var(--line); }
#mj .pf-link span{ display:inline-flex; align-items:center; gap:10px; padding:6px 18px; border-radius:999px; background:var(--soft); font-size:14px; font-weight:700; color:var(--base); }
#mj .pf-link svg{ width:16px; height:16px; color:var(--acc); }

/* observatory visual (until an official screenshot is supplied): the «development radar», 8 axes = 8 domains, site greens */
#mj .pf-vis{ display:grid; place-items:center; background:linear-gradient(150deg, var(--base-2) 0%, var(--base) 100%); }
#mj .pf-radar{ width:min(84%, 440px); height:auto; }
#mj .pf-radar .rg{ fill:none; stroke:rgba(255,255,255,.22); stroke-width:1.2; }
#mj .pf-radar .ax{ stroke:rgba(255,255,255,.14); stroke-width:1; }
#mj .pf-radar .sh{ fill:rgba(242,140,40,.22); stroke:var(--acc); stroke-width:2; stroke-linejoin:round; }
#mj .pf-radar .dt{ fill:#fff; }

/* academy image slot: clearly an empty place for the photo, same size as the observatory visual */
#mj .pf-slot{ display:grid; place-items:center; border:1.5px dashed var(--line); }
#mj .pf-slot .in{ display:flex; flex-direction:column; align-items:center; gap:10px; color:var(--medium); font-size:15px; font-weight:600; }
#mj .pf-slot svg{ width:44px; height:44px; color:#A9BCB7; }

@media (max-width:767px){
  #mj .pf-slot{ border-width:0 0 1.5px; }          /* the photo runs edge to edge on phones (.mj-jrow .ph): keep only the bottom edge */
  #mj .pf-radar{ width:min(78%, 300px); }
  #mj .pf-link::before, #mj .pf-link::after{ width:40px; }
}

/* 21 Nov (owner): shorter hero, same as «البرامج والمبادرات» (programs.css): less space above and below the copy and
   no reserved empty row under the lead. Desktop only; phones unchanged. */
@media (min-width:981px){
  .pf-hero .hero-grid{ padding-top:150px; padding-bottom:56px; }
  .pf-hero .hero-copy::after{ display:none; }
}

/* 24 Nov: the intro line now names four platforms — it wraps instead of running past the page on one line */
#mj .pf-plats .mj-join-head p{ white-space:normal; max-width:900px; }
