/* =====================================================================================================================
   APFBF 2026 — home page hero (draft index-v7.html): partners strip, the hero band (auspices, logo, facts, Register,
   key speakers slider, SDG animation).
   Moved unchanged from index-v7.html on 6 Nov 2026 (Step 65); the blocks keep their order and their names
   (the id of the <style> they came from). Later blocks override earlier ones: edit the last block that sets a property.
   Linked from index-v7.html as assets/css/home-hero.css?v=N — raise N after each change (browser cache).
   ===================================================================================================================== */

/* ---------- from <style id="apfbf-partners-strip"> ---------- */
   /* index-v2/v3 (2026-11-05): a slightly lower partners strip than the home page's (partners.css: 18 px padding, 110 px logos) */
    body .partners-grid.partners-few.partners-home { padding: 12px 0; }
    body .partners-home .partners-grid-divs img { height: 84px; }
    @media only screen and (max-width: 768px) {
      body .partners-grid.partners-few.partners-home { padding: 8px 0; }
      body .partners-home .partners-grid-divs img { height: 52px; }
    }
  

/* ---------- from <style id="apfbf-hero-merge-styles"> ---------- */
  /* Text pieces are <div>/<span>, not <p>: base.css styles every p with !important and FlowUp hides off-screen p. */
  .apfbf-top-band{
    --apfbf-navy:#1D416A;          /* logo navy */
    --apfbf-ink:#122A4A;           /* title, speaker name */
    --apfbf-text:#3D4D60;          /* body text, 8.6:1 on white */
    --apfbf-muted:#56677A;         /* small text, 5.7:1 */
    --apfbf-line:#E4E9F0;
    --apfbf-accent:#F89E24;        /* logo / SDG orange: rules, dots, progress (shapes only) */
    --apfbf-accent-ink:#A65B00;    /* orange for text, 5.1:1 */
    --apfbf-display:"Newsreader", Georgia, "Times New Roman", serif;
    --apfbf-spot-ms:6500ms;
    --apfbf-pad-x:clamp(20px, 4.5vw, 72px);
    position:relative;
    box-sizing:border-box;
    width:100%;
    margin:0;
    padding:clamp(24px, 2.6vw, 38px) var(--apfbf-pad-x) clamp(24px, 2.4vw, 34px);
    background:#fff;
    color:var(--apfbf-text);
    letter-spacing:normal;
    text-align:start;
  }
  .apfbf-top-band *, .apfbf-top-band *::before, .apfbf-top-band *::after{ box-sizing:border-box; }

  .apfbf-hero{
    display:grid;
    grid-template-columns:minmax(0, 1fr);
    row-gap:36px;
    max-width:1440px;
    margin:0 auto;
  }

  /* ---------- LEFT: the event ---------- */
  .apfbf-intro{ display:flex; flex-direction:column; align-items:flex-start; min-width:0; }
  .apfbf-intro-copy{ display:flex; flex-direction:column; align-items:flex-start; width:100%; }
  .apfbf-intro-copy > *{ animation:apfbfRise .7s cubic-bezier(.2,.7,.2,1) both; }
  .apfbf-intro-copy > :nth-child(2){ animation-delay:.06s; }
  .apfbf-intro-copy > :nth-child(3){ animation-delay:.12s; }
  .apfbf-intro-copy > :nth-child(4){ animation-delay:.18s; }
  .apfbf-intro-copy > :nth-child(5){ animation-delay:.24s; }
  .apfbf-intro-copy > :nth-child(6){ animation-delay:.3s; }
  .apfbf-intro-brand, .apfbf-intro-foot{ animation:apfbfFade .9s ease .36s both; }
  @keyframes apfbfRise{ from{ opacity:0; transform:translateY(12px); } to{ opacity:1; transform:none; } }
  @keyframes apfbfFade{ from{ opacity:0; } to{ opacity:1; } }

  .apfbf-intro-auspices{
    display:flex; align-items:flex-start; gap:10px;
    margin:0 0 20px;
    font-size:13px; line-height:1.45; font-weight:500; color:var(--apfbf-navy);
  }
  .apfbf-intro-auspices::before{
    content:""; flex:none; width:18px; height:2px; margin-top:.64em; border-radius:1px; background:var(--apfbf-accent);
  }
  .apfbf-intro-head{ display:flex; flex-direction:column; gap:9px; }
  .apfbf-intro-edition{
    font-size:12px; line-height:1.2; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--apfbf-accent-ink);
  }
  /* the page's only h1 — beats base.css "h1 { font-size:3.5rem!important; line-height:1.2!important }" */
  .apfbf-top-band h1.apfbf-intro-title{
    margin:0 !important;
    padding:0 !important;
    max-width:12em;
    font-family:var(--apfbf-display) !important;
    font-size:clamp(31px, 1.6vw + 23px, 50px) !important;
    font-weight:500 !important;
    line-height:1.1 !important;
    letter-spacing:-.012em !important;
    text-transform:none !important;
    color:var(--apfbf-ink) !important;
    text-wrap:balance;
  }
  .apfbf-intro-theme{ display:flex; flex-direction:column; align-items:flex-start; gap:6px; margin-top:16px; max-width:33em; }
  .apfbf-intro-lede{ font-size:17px; line-height:1.45; color:var(--apfbf-text); text-wrap:balance; }
  /* one line: sits on the column edge; when it wraps (phones) it is a right-aligned Arabic paragraph */
  .apfbf-intro-lede-ar{
    width:fit-content; max-width:100%; text-align:start;
    font-family:"Noto Naskh Arabic", "Geeza Pro", "Noto Kufi Arabic", Tahoma, sans-serif;
    font-size:17px; line-height:1.6; color:var(--apfbf-navy);
  }
  .apfbf-intro-meta{
    display:flex; flex-wrap:wrap; gap:6px 18px; margin-top:16px;
    font-size:14px; line-height:1.4; color:var(--apfbf-text);
  }
  .apfbf-intro-meta span{ display:inline-flex; align-items:center; gap:7px; white-space:nowrap; }
  .apfbf-intro-meta span::before{ content:""; flex:none; width:5px; height:5px; border-radius:50%; background:var(--apfbf-accent); }
  .apfbf-intro-cta{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; margin-top:22px; }
  .apfbf-top-band .apfbf-intro-register{
    display:inline-flex; align-items:center; justify-content:center;
    min-height:48px; padding:12px 30px; border-radius:8px;
    background:var(--apfbf-navy); color:#fff;
    font-size:15.5px; line-height:1.2; font-weight:700; letter-spacing:.01em; text-decoration:none;
    transition:background-color .2s ease;
  }
  .apfbf-top-band .apfbf-intro-register:hover{ background:#163455; color:#fff; text-decoration:none; }
  .apfbf-top-band .apfbf-intro-register:focus-visible{ outline:3px solid var(--apfbf-accent-ink); outline-offset:3px; color:#fff; }
  .apfbf-intro-days{
    display:inline-flex; align-items:center; gap:8px; padding:8px 14px;
    border:1px solid var(--apfbf-line); border-radius:999px; background:#F7F9FC;
    font-size:13.5px; line-height:1.2; font-weight:600; color:var(--apfbf-ink);
  }
  .apfbf-intro-days > i{ flex:none; width:7px; height:7px; border-radius:50%; background:var(--apfbf-accent); box-shadow:0 0 0 3px rgba(248,158,36,.2); }
  .apfbf-intro-hint{ margin-top:12px; font-size:13px; line-height:1.45; color:var(--apfbf-muted); }
  .apfbf-top-band .apfbf-intro-hint a{
    color:var(--apfbf-navy); font-weight:600; white-space:nowrap;
    text-decoration:underline; text-decoration-color:var(--apfbf-accent); text-decoration-thickness:1px; text-underline-offset:3px;
  }
  .apfbf-top-band .apfbf-intro-hint a:hover{ color:var(--apfbf-accent-ink); }
  .apfbf-top-band .apfbf-intro-hint a:focus-visible{ outline:3px solid var(--apfbf-accent-ink); outline-offset:2px; }

  /* brand group: countdown strip + event logo and SDG banner, one quiet unit */
  .apfbf-intro-brand{ display:flex; flex-direction:column; gap:18px; width:100%; max-width:460px; margin-top:30px; container-type:inline-size; }
  .apfbf-top-band #countdown{ max-width:none; margin:0 !important; padding:0 !important; }
  .apfbf-top-band #countdown ul{
    display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:12px;
    margin:0 !important; padding:0 !important; list-style:none; font-size:inherit; line-height:inherit;
  }
  /* cells: no boxes; the banner colour of each cell (event-about.css --c) as a 2px cap */
  .apfbf-top-band #countdown ul li{
    display:flex; align-items:baseline; gap:6px; min-width:0;
    width:auto !important; margin:0 !important; padding:9px 0 0 !important;
    border:0 !important; border-radius:0 !important; background:none !important; backdrop-filter:none;
    box-shadow:inset 0 2px 0 var(--c, var(--apfbf-line)) !important;
    font-size:10.5px !important; line-height:1.2; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
    color:var(--apfbf-muted); text-align:start !important;
  }
  .apfbf-top-band #countdown ul li span{
    display:inline-block;
    font-family:var(--apfbf-display); font-size:26px !important; line-height:1; font-weight:500;
    letter-spacing:0; text-transform:none; color:var(--apfbf-ink);
    font-variant-numeric:tabular-nums lining-nums;
  }
  /* narrow strip (two-column layout under ~1100px, phones): number above its label */
  @container (max-width:430px){
    .apfbf-top-band #countdown ul li{ flex-direction:column; align-items:flex-start; gap:5px; }
  }
  .apfbf-intro-ids{ position:relative; display:flex; align-items:center; justify-content:space-between; gap:24px; }
  .apfbf-intro-logo{ flex:0 1 auto; width:46%; margin-inline-start:-4.4%; }  /* the poster has ~10% empty margin at its start */
  .apfbf-top-band .apfbf-intro-logo video{ display:block; width:100%; max-width:none; height:auto; aspect-ratio:5 / 2; object-fit:contain; }
  .apfbf-top-band .apfbf-intro-ids .sdg-banner{ position:relative; flex:0 1 auto; width:48%; max-width:none; margin:0 !important; }
  /* banner pause (shown only with motion on): small, outside the artwork */
  .apfbf-top-band .apfbf-intro-ids .sdg-banner-toggle{
    position:absolute; top:auto; bottom:2px; inset-inline-end:-30px; margin:0;
    width:24px; height:24px; font-size:9px; box-shadow:none; opacity:.7;
  }

  /* foot: partner logos, organizers line */
  .apfbf-intro-foot{ display:flex; flex-direction:column; gap:12px; width:100%; margin-top:28px; padding-top:18px; border-top:1px solid var(--apfbf-line); }
  .apfbf-intro-partners{ display:flex; flex-wrap:wrap; align-items:center; gap:14px 28px; }
  .apfbf-top-band .apfbf-intro-partners img{ display:block; width:auto; max-width:none; height:44px; }
  .apfbf-top-band .apfbf-intro-partners img[src*="unicef"]{ height:40px; }
  .apfbf-top-band .apfbf-intro-partners img[src*="mof-lebanon"]{ height:48px; }
  .apfbf-intro-orgs{ max-width:46em; font-size:13px; line-height:1.55; color:var(--apfbf-muted); }

  /* ---------- RIGHT: key speakers spotlight ---------- */
  .apfbf-spot-panel{ position:relative; min-width:0; }
  /* visually hidden heading that names the panel (the visible label is "Speaking at the Forum") */
  .apfbf-top-band h2.apfbf-spot-heading{
    position:absolute !important; top:0; left:0; width:1px; height:1px;
    margin:0 !important; padding:0 !important; border:0; overflow:hidden; white-space:nowrap; clip-path:inset(50%);   /* Step 75: hidden, not overflowing (Arabic text spilled past the page edge) */
    font-size:16px !important; line-height:1 !important;
  }
  .apfbf-spot{ position:relative; height:100%; min-height:560px; overflow:hidden; isolation:isolate; }
  /* the art box runs behind the caption; a cutout is centred in it, so a narrow panel shows the face above the caption, not a gap */
  .apfbf-spot-art{ position:absolute; z-index:1; top:2%; bottom:6%; left:0; right:0; container-type:size; }
  .apfbf-spot-pics{ position:absolute; inset:0; }
  .apfbf-top-band .apfbf-spot-pics img{
    position:absolute; inset:0; width:100%; height:100%; max-width:none;
    object-fit:contain; object-position:50% 50%;
    opacity:0; transition:opacity .45s ease;
    filter:drop-shadow(0 18px 26px rgba(18,42,74,.12));
    pointer-events:none;
  }
  /* the one speaker without a cutout: round portrait, centred where the cutouts' faces are
     (face centre = 50% of the box minus a quarter of the cutout's height; cutouts are 820x1000) */
  .apfbf-top-band .apfbf-spot-pics img.is-square{
    inset:auto; left:0; right:0; margin:0 auto;
    top:max(4px, calc(50cqh - .25 * min(100cqh, 122cqw) - min(27cqw, 150px)));
    width:min(54cqw, 300px); height:auto; aspect-ratio:1;
    border-radius:50%; object-fit:cover; object-position:58% 28%;
    box-shadow:0 0 0 6px #fff, 0 22px 40px -22px rgba(18,42,74,.4); filter:none;
  }
  .apfbf-top-band .apfbf-spot-pics img.on{ opacity:1; transition:opacity .75s ease .3s; animation:apfbfSpotSettle 1.6s cubic-bezier(.2,.7,.2,1) .3s both; }
  @keyframes apfbfSpotSettle{ from{ transform:translateY(10px) scale(.985); } to{ transform:none; } }

  /* caption: bottom-left, on a soft white fade over the portrait */
  .apfbf-spot-cap{
    position:absolute; z-index:2; left:0; right:0; bottom:0;
    display:flex; flex-direction:column; align-items:stretch; gap:10px;
    padding:0 0 22px clamp(20px, 2.4vw, 36px);
    background:#fff;
  }
  .apfbf-spot-cap::before{
    content:""; position:absolute; left:0; right:0; bottom:100%; height:clamp(80px, 8vw, 120px); pointer-events:none;
    background:linear-gradient(0deg, #fff 0%, rgba(255,255,255,.86) 36%, rgba(255,255,255,0) 100%);
  }
  .apfbf-spot-label{
    display:flex; align-items:center; gap:8px;
    font-size:12.5px; line-height:1.2; font-weight:600; color:var(--apfbf-accent-ink);
  }
  .apfbf-spot-label > i{ flex:none; width:6px; height:6px; border-radius:50%; background:var(--apfbf-accent); }
  .apfbf-top-band .apfbf-spot-pause{
    all:unset; box-sizing:border-box; cursor:pointer; margin-inline-start:auto;
    padding:6px 13px; border:1px solid #D5DCE6; border-radius:999px; background:#fff;
    font-size:12px; line-height:1; font-weight:600; color:var(--apfbf-navy);
  }
  .apfbf-top-band .apfbf-spot-pause:hover{ background:#F3F6FA; }
  .apfbf-top-band .apfbf-spot-pause:focus-visible{ outline:3px solid var(--apfbf-accent-ink); outline-offset:2px; }
  /* every speaker's text sits in the same grid cell: the caption keeps the height of the longest one (no jumps) */
  .apfbf-spot-body{ display:grid; max-width:31em; }
  .apfbf-spot-slide{
    grid-area:1 / 1; align-self:start;
    display:flex; flex-direction:column; align-items:flex-start; gap:3px;
    padding-inline-start:14px; border-inline-start:2px solid var(--apfbf-accent);
    visibility:hidden; opacity:0; transition:opacity .25s ease, visibility 0s linear .25s;
  }
  .apfbf-spot-slide.on{ visibility:visible; opacity:1; transition:opacity .4s ease .25s, visibility 0s linear .25s; }
  .apfbf-spot-name{
    font-family:var(--apfbf-display); font-size:clamp(22px, .9vw + 15px, 30px); line-height:1.15; font-weight:500;
    letter-spacing:-.005em; color:var(--apfbf-ink);
  }
  .apfbf-spot-title{
    font-size:13.5px; line-height:1.4; color:var(--apfbf-text);
  }
  .apfbf-spot-org{ font-size:13px; line-height:1.4; font-weight:600; color:var(--apfbf-accent-ink); }
  .apfbf-top-band .apfbf-spot-bio{
    display:inline-flex; align-items:center; margin-top:8px; padding:6px 13px;
    border:1px solid #D5DCE6; border-radius:999px; background:#fff;
    font-size:12.5px; line-height:1.2; font-weight:600; color:var(--apfbf-navy); text-decoration:none;
  }
  .apfbf-top-band .apfbf-spot-bio:hover{ border-color:var(--apfbf-navy); color:var(--apfbf-navy); text-decoration:none; }
  .apfbf-top-band .apfbf-spot-bio:focus-visible{ outline:3px solid var(--apfbf-accent-ink); outline-offset:2px; }
  .apfbf-spot-strip{ display:flex; gap:8px; max-width:100%; padding:6px 4px; margin:0 0 -6px -4px; overflow-x:auto; scrollbar-width:none; }
  .apfbf-spot-strip::-webkit-scrollbar{ display:none; }
  /* avatars shrink to fit the strip (max 38px, 34px on phones): all eight always visible, nothing cut */
  .apfbf-top-band .apfbf-spot-strip button{ all:unset; cursor:pointer; display:block; flex:0 1 var(--apfbf-av, 38px); min-width:0; border-radius:50%; }
  .apfbf-top-band .apfbf-spot-strip button:focus-visible{ outline:3px solid var(--apfbf-accent-ink); outline-offset:2px; }
  .apfbf-spot-avatar{
    display:block; width:100%; height:auto; aspect-ratio:1 / 1; border-radius:50%; overflow:hidden; background:#EEF2F7; opacity:.55;
    transition:opacity .2s ease, transform .2s ease, box-shadow .2s ease;
  }
  .apfbf-top-band .apfbf-spot-avatar img{ display:block; width:100%; height:100%; max-width:none; object-fit:cover; object-position:50% 20%; }
  .apfbf-top-band .apfbf-spot-strip button:hover .apfbf-spot-avatar{ opacity:.85; }
  .apfbf-top-band .apfbf-spot-strip button[aria-current="true"] .apfbf-spot-avatar{
    opacity:1; transform:scale(1.08); box-shadow:0 0 0 2px #fff, 0 0 0 4px var(--apfbf-accent);
  }
  .apfbf-spot-progress{ position:absolute; z-index:3; left:0; right:0; bottom:0; height:2px; overflow:hidden; background:var(--apfbf-line); }
  .apfbf-spot-progress > i{ display:block; width:0; height:100%; background:var(--apfbf-accent); }
  .apfbf-spot-progress > i.run{ animation:apfbfSpotProg var(--apfbf-spot-ms) linear forwards; }
  @keyframes apfbfSpotProg{ from{ width:0; } to{ width:100%; } }

  /* ---------- desktop: two halves of one band ---------- */
  @media (min-width:960px){
    .apfbf-hero{ grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); column-gap:clamp(32px, 4vw, 64px); align-items:stretch; }
    .apfbf-intro{ justify-content:center; }
    .apfbf-spot{ min-height:0; }
  }

  /* ---------- tablets and phones: intro, then the speakers ---------- */
  @media (max-width:959px){
    .apfbf-spot{ display:flex; flex-direction:column; height:auto; min-height:0; overflow:hidden; }
    .apfbf-spot-art{ position:relative; top:auto; bottom:auto; height:clamp(300px, 54vw, 440px); margin-top:8px; }
    .apfbf-spot-cap{
      position:relative; margin-top:-72px; padding:52px 0 24px;
      background:linear-gradient(180deg, rgba(255,255,255,0) 0, rgba(255,255,255,.92) 40px, #fff 60px);
    }
    .apfbf-spot-cap::before{ display:none; }
  }
  @media (min-width:600px) and (max-width:959px){
    .apfbf-spot{ display:grid; grid-template-columns:minmax(0, 1.08fr) minmax(0, .92fr); grid-template-rows:1fr auto auto auto; column-gap:28px; }
    .apfbf-spot::before{ left:77%; top:0; width:58%; }
    .apfbf-spot-art{ grid-column:2; grid-row:1 / 4; align-self:end; height:auto; aspect-ratio:82 / 100; margin:0; }
    .apfbf-spot-cap{ display:contents; }
    .apfbf-spot-label{ grid-column:1; grid-row:2; margin-bottom:12px; }
    .apfbf-spot-body{ grid-column:1; grid-row:3; align-self:end; }
    .apfbf-spot-strip{ grid-column:1 / -1; grid-row:4; margin:14px 0 18px -4px; }
  }
  @media (max-width:599px){
    .apfbf-intro-lede{ font-size:16px; }
    .apfbf-intro-lede-ar{ font-size:16px; }
    .apfbf-intro-meta{ font-size:13.5px; gap:6px 14px; }
    .apfbf-intro-brand{ gap:16px; }
    .apfbf-top-band #countdown ul{ gap:10px; }
    .apfbf-top-band #countdown ul li{ font-size:10px !important; }
    .apfbf-top-band #countdown ul li span{ font-size:24px !important; }
    .apfbf-intro-ids{ gap:18px; padding-inline-end:30px; }
    .apfbf-intro-partners{ gap:12px 22px; }
    .apfbf-top-band .apfbf-intro-partners img{ height:38px; }
    .apfbf-top-band .apfbf-intro-partners img[src*="unicef"]{ height:34px; }
    .apfbf-top-band .apfbf-intro-partners img[src*="mof-lebanon"]{ height:42px; }
    .apfbf-spot-strip{ --apfbf-av:34px; gap:6px; }
  }

  /* reduced motion, or the accessibility widget's "Stop animations": nothing moves */
  @media (prefers-reduced-motion: reduce){
    .apfbf-intro-copy > *, .apfbf-intro-brand, .apfbf-intro-foot{ animation:none; }
    .apfbf-top-band .apfbf-spot-pics img, .apfbf-top-band .apfbf-spot-pics img.on{ transition:none; }
    .apfbf-top-band .apfbf-spot-pics img.on{ animation:none; }
    .apfbf-spot-slide, .apfbf-spot-slide.on{ transition:none; }
    .apfbf-spot-progress{ display:none; }
    .apfbf-top-band .apfbf-spot-pause{ display:none; }
  }
  html.a11y-still .apfbf-spot-progress, html.a11y-still .apfbf-top-band .apfbf-spot-pause{ display:none; }

  /* the date / venue strip under the hero repeats the hero meta row: hidden (its inline <style> stays for the page) */
  .home-datevenue > .top-timer-grid{ display:none !important; }

/* ---------- from <style id="apfbf-intro-v2b"> ---------- */
  /* index-v2-b (2026-11-05, owner): the hero's left column, cleaner and easier to read — a modern sans-serif type,
     a larger theme, the key facts with icons, and the countdown off (the "In X days" pill keeps the count).
     Everything here is scoped to .apfbf-top-band.apfbf-v2b; the rest of the page is index-v2-a. */
  .apfbf-top-band.apfbf-v2b{
    --apfbf-display:"Inter", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;   /* also the speaker name on the right */
    --v2b-sans:"Inter", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --v2b-ar:"Noto Kufi Arabic", "Roboto", sans-serif;   /* as on the Arabic website */
    --v2b-text:#2E3F55;      /* theme, 10.6:1 on white */
    --v2b-muted:#4F6074;     /* small text, 6.4:1 */
    --v2b-soft:#EEF3F8;
  }
  .apfbf-v2b .apfbf-intro{ font-family:var(--v2b-sans); }
  /* compact band: the whole hero, speakers' strip included, fits a laptop screen (owner) */
  .apfbf-top-band.apfbf-v2b{ padding-top:clamp(18px, 1.7vw, 28px); padding-bottom:clamp(16px, 1.5vw, 24px); }

  /* auspices, edition, title */
  .apfbf-v2b .apfbf-intro-auspices{ margin:0 0 16px; font-size:13.5px; line-height:1.45; font-weight:500; color:var(--apfbf-navy); }
  .apfbf-v2b .apfbf-intro-auspices::before{ width:22px; margin-top:.72em; }
  .apfbf-v2b .apfbf-intro-head{ gap:12px; }
  .apfbf-v2b .apfbf-intro-edition{
    align-self:flex-start; display:inline-flex; align-items:center; padding:6px 11px; border-radius:999px;
    background:#FEF4E6; color:#8F4D00; font-size:11px; font-weight:700; line-height:1; letter-spacing:.14em;
  }
  .apfbf-top-band.apfbf-v2b h1.apfbf-intro-title{
    max-width:12em; font-family:var(--v2b-sans) !important; font-size:clamp(29px, 1.35vw + 17px, 44px) !important;
    font-weight:750 !important; line-height:1.07 !important; letter-spacing:-.028em !important; color:var(--apfbf-ink) !important;
  }

  /* the theme, English and Arabic, as one block with an orange rule */
  .apfbf-v2b .apfbf-intro-theme{ gap:6px; max-width:100%; margin-top:18px; padding-inline-start:16px; border-inline-start:3px solid var(--apfbf-accent); }
  .apfbf-v2b .apfbf-intro-lede{ max-width:31em; font-size:clamp(15.5px, .3vw + 13px, 17.5px); line-height:1.42; font-weight:500; letter-spacing:-.006em; color:var(--v2b-text); }
  /* one line where the column allows; otherwise two balanced lines (no word left alone) */
  .apfbf-v2b .apfbf-intro-lede-ar{ font-family:var(--v2b-ar); font-size:clamp(13.5px, .28vw + 10.4px, 15px); line-height:1.8; font-weight:400; color:#3A5272; text-wrap:balance; }

  /* key facts with icons */
  .apfbf-v2b .apfbf-intro-meta{ gap:10px 22px; margin-top:18px; font-size:14.5px; line-height:1.3; font-weight:600; color:var(--apfbf-ink); }
  .apfbf-v2b .apfbf-intro-meta span{ gap:9px; }
  .apfbf-v2b .apfbf-intro-meta span::before{ display:none; }
  .apfbf-v2b .apfbf-intro-meta svg{ flex:none; width:30px; height:30px; padding:6.5px; border-radius:50%; background:var(--v2b-soft); color:var(--apfbf-navy); }

  /* register, days to go, hint */
  .apfbf-v2b .apfbf-intro-cta{ gap:10px 12px; margin-top:20px; }
  .apfbf-top-band.apfbf-v2b .apfbf-intro-register{
    gap:10px; min-height:46px; padding:0 22px 0 26px; border-radius:11px; font-size:15.5px; font-weight:700; letter-spacing:0;
    box-shadow:0 12px 24px -14px rgba(29,65,106,.7); transition:background-color .2s ease, transform .2s ease, box-shadow .2s ease;
  }
  .apfbf-top-band.apfbf-v2b .apfbf-intro-register svg{ flex:none; width:18px; height:18px; transition:transform .2s ease; }
  .apfbf-top-band.apfbf-v2b .apfbf-intro-register:hover{ transform:translateY(-1px); box-shadow:0 16px 28px -14px rgba(29,65,106,.75); }
  .apfbf-top-band.apfbf-v2b .apfbf-intro-register:hover svg{ transform:translateX(3px); }
  .apfbf-v2b .apfbf-intro-days{ min-height:40px; gap:9px; padding:0 15px; border-color:#DCE3EC; background:#fff; font-size:14px; font-weight:600; }
  .apfbf-v2b .apfbf-intro-hint{ margin-top:10px; font-size:14px; line-height:1.5; color:var(--v2b-muted); }

  /* the countdown is off: its script stays (it keeps the "In X days" pill up to date) */
  .apfbf-v2b .apfbf-intro-count{ display:none; }
  /* event logo and SDG banner: larger (owner) */
  .apfbf-v2b .apfbf-intro-brand{ max-width:540px; margin-top:22px; }
  .apfbf-v2b .apfbf-intro-ids{ gap:28px; }
  .apfbf-v2b .apfbf-intro-logo{ width:47%; }
  .apfbf-v2b .apfbf-intro-ids .sdg-banner{ width:49%; }
  /* no pause button on the SDG banner (owner): its motion still stops with "Stop animations" in the accessibility menu, and with reduced motion */
  .apfbf-top-band.apfbf-v2b .sdg-banner-toggle{ display:none !important; }
  .apfbf-v2b .apfbf-intro-foot{ margin-top:18px; padding-top:14px; }
  .apfbf-v2b .apfbf-intro-orgs{ font-size:13px; line-height:1.55; color:var(--v2b-muted); }

  /* the speaker's name on the right, in the same type as the title */
  .apfbf-v2b .apfbf-spot-name{ font-weight:700; letter-spacing:-.022em; }

  /* the speakers' portraits (owner, 2026-11-05): one framing for all (event/speakers/*-bust.webp — same head size and position,
     same head-and-shoulders length ending in a soft fade), each standing on the caption; no white fade over them, no glow */
  .apfbf-top-band.apfbf-v2b .apfbf-spot-pics img{ object-position:50% 100%; filter:none; }
  .apfbf-v2b .apfbf-spot-cap::before{ display:none; }
  /* avatar strip: room for the chosen speaker's ring and the keyboard focus ring (the strip scrolls sideways, so it clips at
     its edges — the first avatar's ring was cut, owner 2026-11-05); the avatars stay where they were */
  .apfbf-v2b .apfbf-spot-strip{ padding:8px; margin:0 0 -8px -8px; }
  @media (min-width:600px) and (max-width:959px){ .apfbf-v2b .apfbf-spot-strip{ margin:10px 0 14px -8px; } }
  /* tablets and phones: the panel does not clip, so the first avatar's ring (just outside its edge) shows whole (2026-11-06) */
  @media (max-width:959px){ .apfbf-v2b .apfbf-spot{ overflow:visible; } }
  @media (min-width:960px){
    .apfbf-v2b .apfbf-spot{ display:flex; flex-direction:column; min-height:440px; }
    .apfbf-v2b .apfbf-spot-art{ position:relative; inset:auto; flex:1 1 auto; min-height:200px; margin-bottom:6px; }
    .apfbf-v2b .apfbf-spot-cap{ position:relative; flex:none; }
    /* the portraits a little lower (owner): the end of the shoulders' fade goes under the caption, the face stays clear */
    .apfbf-v2b .apfbf-spot-pics{ top:8%; bottom:-8%; }
    .apfbf-v2b .apfbf-spot-cap::before{ display:block; height:24px; background:linear-gradient(0deg, #fff, rgba(255,255,255,0)); }   /* soft edge, shoulders only */
  }
  @media (max-width:959px){
    .apfbf-v2b .apfbf-spot-cap{ margin-top:0; padding-top:14px; background:#fff; }
  }
  @media (min-width:600px) and (max-width:959px){
    .apfbf-v2b .apfbf-spot-art{ aspect-ratio:115 / 100; }
  }

  /* short laptop screens (860 px high or less): a little tighter, so the speakers' strip is on screen without scrolling */
  @media (min-width:960px) and (max-height:860px){
    body .partners-grid.partners-few.partners-home{ padding:6px 0; }
    body .partners-home .partners-grid-divs img{ height:66px; }
    .apfbf-top-band.apfbf-v2b{ padding-top:16px; padding-bottom:14px; }
    .apfbf-v2b .apfbf-intro-auspices{ margin-bottom:12px; }
    .apfbf-v2b .apfbf-intro-head{ gap:10px; }
    .apfbf-top-band.apfbf-v2b h1.apfbf-intro-title{ font-size:clamp(29px, 1.2vw + 17px, 39px) !important; }
    .apfbf-v2b .apfbf-intro-theme{ margin-top:14px; }
    .apfbf-v2b .apfbf-intro-meta{ margin-top:14px; }
    .apfbf-v2b .apfbf-intro-cta{ margin-top:16px; }
    .apfbf-v2b .apfbf-intro-brand{ max-width:500px; margin-top:16px; }
    .apfbf-v2b .apfbf-intro-foot{ margin-top:14px; padding-top:10px; }
  }
  @media (max-width:599px){
    .apfbf-v2b .apfbf-intro-auspices{ margin-bottom:20px; font-size:13.5px; }
    .apfbf-v2b .apfbf-intro-theme{ padding-inline-start:14px; }
    .apfbf-v2b .apfbf-intro-ids{ padding-inline-end:0; }   /* the space kept for the banner's pause button */
    .apfbf-v2b .apfbf-intro-meta{ flex-direction:column; gap:10px; font-size:15px; }
    .apfbf-v2b .apfbf-intro-meta svg{ width:34px; height:34px; }
  }
  @media (prefers-reduced-motion: reduce){
    .apfbf-top-band.apfbf-v2b .apfbf-intro-register, .apfbf-top-band.apfbf-v2b .apfbf-intro-register svg{ transition:none; transform:none !important; }
  }
  html.a11y-still .apfbf-top-band.apfbf-v2b .apfbf-intro-register, html.a11y-still .apfbf-top-band.apfbf-v2b .apfbf-intro-register svg{ transition:none; transform:none !important; }

/* ---------- from <style id="apfbf-spot-v6"> ---------- */
  /* index-v6 (2026-11-06, owner): the speakers as in index-v3 — the caption on the left of the panel, a large portrait on its
     right, the avatars under both. Portraits: event/speakers/*-portrait.webp (square, same head size and position for all,
     head-and-shoulders ending in a soft fade). Side by side from 1360 px wide; narrower screens keep the index-v5 layout (a bigger face there). */
  @media (min-width:1360px){
    .apfbf-top-band.apfbf-v6 .apfbf-spot{
      display:grid; grid-template-columns:minmax(230px, .85fr) minmax(0, 1.5fr); grid-template-rows:minmax(0, 1fr) auto auto auto;
      column-gap:16px; height:100%; min-height:0; padding-bottom:16px;   /* room for the progress line under the avatars */
      overflow:visible;   /* the first avatar's ring sits just outside the panel's edge (the portrait stays in its own box) */
    }
    /* the portrait takes the space left beside the caption: it gets smaller on a short band instead of pushing the avatars
       out of the panel (owner 2026-11-06: the avatars were cut at the bottom) */
    .apfbf-top-band.apfbf-v6 .apfbf-spot-art{
      grid-column:2; grid-row:1 / 4; justify-self:stretch; align-self:stretch; position:relative; inset:auto; z-index:0;
      flex:none; container-type:normal; width:auto; max-width:none; height:auto; min-height:0; aspect-ratio:auto; margin:0;
    }
    .apfbf-top-band.apfbf-v6 .apfbf-spot-pics{ top:0; bottom:0; }
    .apfbf-top-band.apfbf-v6 .apfbf-spot-cap{ display:contents; }
    .apfbf-top-band.apfbf-v6 .apfbf-spot-cap::before{ display:none; }
    .apfbf-top-band.apfbf-v6 .apfbf-spot-label{ grid-column:1; grid-row:2; align-self:end; margin-bottom:12px; }
    .apfbf-top-band.apfbf-v6 .apfbf-spot-body{ grid-column:1; grid-row:3; align-self:end; padding-bottom:16px; }
    .apfbf-top-band.apfbf-v6 .apfbf-spot-strip{ grid-column:1 / -1; grid-row:4; margin-top:6px; }
    .apfbf-top-band.apfbf-v6 .apfbf-spot-name{ font-size:clamp(22px, .55vw + 14px, 27px); text-wrap:balance; }   /* "Dr. Rania A. / Al-Mashat", never "Al- / Mashat" */
  }
  /* tablets: the square portraits beside the caption */
  @media (min-width:600px) and (max-width:959px){ .apfbf-top-band.apfbf-v6 .apfbf-spot-art{ aspect-ratio:1; } }

/* ---------- from <style id="apfbf-identity-v7"> ---------- */
  /* index-v7 (2026-11-06, owner): the event logo, the SDG banner and the countdown in one row under the hero, as in index-v3
     (thin dividers between them; the countdown with the banner colours on top and the numbers in their dark twins),
     then the organizers' line. Everything else is index-v6. */
  .apfbf-top-band.apfbf-v7 .apfbf-v7-tier2{ max-width:1440px; margin:22px auto 0; padding-top:20px; border-top:1px solid var(--apfbf-line); }
  .apfbf-top-band.apfbf-v7 .apfbf-intro-brand{
    display:grid; grid-template-columns:auto minmax(24px, 1fr) auto minmax(24px, 1fr) auto; align-items:center;
    width:100%; max-width:none; margin:0; gap:0;
  }
  .apfbf-top-band.apfbf-v7 .apfbf-intro-brand::before,
  .apfbf-top-band.apfbf-v7 .apfbf-intro-brand::after{ content:""; grid-row:1; justify-self:center; width:1px; height:52px; background:var(--apfbf-line); }
  .apfbf-top-band.apfbf-v7 .apfbf-intro-brand::before{ grid-column:2; }
  .apfbf-top-band.apfbf-v7 .apfbf-intro-brand::after{ grid-column:4; }
  .apfbf-top-band.apfbf-v7 .apfbf-intro-ids{ display:contents; }
  /* the logo: its poster has empty margins — cropped so the drawing itself has the width */
  .apfbf-top-band.apfbf-v7 .apfbf-intro-logo{ grid-column:1; grid-row:1; width:clamp(160px, 15vw, 236px); aspect-ratio:2.36; overflow:hidden; margin:0; }
  .apfbf-top-band.apfbf-v7 .apfbf-intro-logo video{
    display:block; width:124.7% !important; max-width:none !important; height:auto !important; aspect-ratio:5 / 2;
    margin:-3.74% 0 0 -11.22%; padding:0; object-fit:contain; background:transparent;
  }
  .apfbf-top-band.apfbf-v7 .apfbf-intro-ids .sdg-banner{ grid-column:3; grid-row:1; width:clamp(190px, 19vw, 300px); max-width:none; margin:0 !important; }
  .apfbf-top-band.apfbf-v7 .apfbf-intro-count{ display:block; grid-column:5; grid-row:1; }
  .apfbf-top-band.apfbf-v7 #countdown{ max-width:none; margin:0 !important; padding:0 !important; }
  .apfbf-top-band.apfbf-v7 #countdown ul{ display:flex; gap:8px; margin:0 !important; padding:0 !important; }
  .apfbf-top-band.apfbf-v7 #countdown ul li{
    display:block; flex:none; width:72px !important; margin:0 !important; padding:10px 2px 7px !important;
    border:0 !important; border-radius:0 !important; background:transparent !important; -webkit-backdrop-filter:none; backdrop-filter:none;
    box-shadow:inset 0 3px 0 var(--c, var(--apfbf-accent)) !important; list-style:none;
    font-size:10.5px !important; line-height:1.2; font-weight:600; letter-spacing:.07em; text-transform:uppercase; text-align:center !important; color:var(--apfbf-muted);
  }
  .apfbf-top-band.apfbf-v7 #countdown ul li span{
    display:block; margin-bottom:3px; font-family:var(--apfbf-display); font-size:30px !important; line-height:1.05; font-weight:650;
    letter-spacing:-.02em; font-variant-numeric:lining-nums tabular-nums; color:var(--c-ink, var(--apfbf-navy));
  }
  /* the organizers' line under the row */
  .apfbf-top-band.apfbf-v7 .apfbf-intro-foot{ margin-top:16px; padding-top:0; border-top:0; }
  /* the speakers' panel keeps a good height now that the left column is shorter, so the portrait stays large */
  @media (min-width:1200px){ .apfbf-top-band.apfbf-v7 .apfbf-spot{ min-height:clamp(430px, 29vw, 520px); } }
  @media (min-width:960px) and (max-width:1199px){ .apfbf-top-band.apfbf-v7 .apfbf-spot{ min-height:600px; } }
  /* portrait beside the caption from 1200 px (index-v6: from 1360 px) */
  @media (min-width:1200px) and (max-width:1359px){
    .apfbf-top-band.apfbf-v7 .apfbf-spot{
      display:grid; grid-template-columns:minmax(230px, .85fr) minmax(0, 1.5fr); grid-template-rows:minmax(0, 1fr) auto auto auto;
      column-gap:16px; height:100%; min-height:0; padding-bottom:16px;   /* room for the progress line under the avatars */
      overflow:visible;   /* the first avatar's ring sits just outside the panel's edge (the portrait stays in its own box) */
    }
    /* the portrait takes the space left beside the caption: it gets smaller on a short band instead of pushing the avatars
       out of the panel (owner 2026-11-06: the avatars were cut at the bottom) */
    .apfbf-top-band.apfbf-v7 .apfbf-spot-art{
      grid-column:2; grid-row:1 / 4; justify-self:stretch; align-self:stretch; position:relative; inset:auto; z-index:0;
      flex:none; container-type:normal; width:auto; max-width:none; height:auto; min-height:0; aspect-ratio:auto; margin:0;
    }
    .apfbf-top-band.apfbf-v7 .apfbf-spot-pics{ top:0; bottom:0; }
    .apfbf-top-band.apfbf-v7 .apfbf-spot-cap{ display:contents; }
    .apfbf-top-band.apfbf-v7 .apfbf-spot-cap::before{ display:none; }
    .apfbf-top-band.apfbf-v7 .apfbf-spot-label{ grid-column:1; grid-row:2; align-self:end; margin-bottom:12px; }
    .apfbf-top-band.apfbf-v7 .apfbf-spot-body{ grid-column:1; grid-row:3; align-self:end; padding-bottom:16px; }
    .apfbf-top-band.apfbf-v7 .apfbf-spot-strip{ grid-column:1 / -1; grid-row:4; margin-top:6px; }
    .apfbf-top-band.apfbf-v7 .apfbf-spot-name{ font-size:clamp(22px, .55vw + 14px, 27px); text-wrap:balance; }   /* "Dr. Rania A. / Al-Mashat", never "Al- / Mashat" */
  }
  @media (max-width:1199px){
    .apfbf-top-band.apfbf-v7 .apfbf-intro-logo{ width:clamp(140px, 16vw, 190px); }
    .apfbf-top-band.apfbf-v7 .apfbf-intro-ids .sdg-banner{ width:clamp(170px, 22vw, 240px); }
    .apfbf-top-band.apfbf-v7 #countdown ul li{ width:clamp(56px, 6vw, 66px) !important; }
    .apfbf-top-band.apfbf-v7 #countdown ul li span{ font-size:26px !important; }
  }
  @media (max-width:959px){
    .apfbf-top-band.apfbf-v7 .apfbf-intro-brand{ grid-template-columns:auto minmax(20px, 1fr) auto minmax(20px, 1fr) auto; }
    .apfbf-top-band.apfbf-v7 .apfbf-intro-logo{ width:clamp(130px, 18vw, 170px); }
    .apfbf-top-band.apfbf-v7 .apfbf-intro-ids .sdg-banner{ width:clamp(150px, 21.5vw, 200px); }
    .apfbf-top-band.apfbf-v7 #countdown ul{ gap:6px; }
    .apfbf-top-band.apfbf-v7 #countdown ul li{ width:clamp(54px, 7.4vw, 66px) !important; font-size:10px !important; letter-spacing:.05em; }
  }
  @media (max-width:639px){
    .apfbf-top-band.apfbf-v7 .apfbf-intro-brand{ grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:18px 20px; }
    .apfbf-top-band.apfbf-v7 .apfbf-intro-brand::before, .apfbf-top-band.apfbf-v7 .apfbf-intro-brand::after{ display:none; }
    .apfbf-top-band.apfbf-v7 .apfbf-intro-logo{ grid-column:1; width:100%; max-width:210px; }
    .apfbf-top-band.apfbf-v7 .apfbf-intro-ids .sdg-banner{ grid-column:2; width:100%; max-width:220px; justify-self:end; }
    .apfbf-top-band.apfbf-v7 .apfbf-intro-count{ grid-column:1 / -1; grid-row:2; }
    .apfbf-top-band.apfbf-v7 #countdown ul li{ flex:1 1 0; width:auto !important; font-size:10.5px !important; }
    .apfbf-top-band.apfbf-v7 #countdown ul li span{ font-size:28px !important; }
  }

/* ---------- from <style id="apfbf-logo-v7b"> ---------- */
  /* index-v7 · logo (2026-11-06, owner, Step 64): the event logo (event/logos/apfbf-logo.svg — name and theme, Arabic and
     English) replaces the title and the theme text in the hero; the countdown is off and the SDG banner takes its place at the
     right end of the row under the hero. Everything else is index-v7. */
  .apfbf-top-band.apfbf-v7b{ --v7b-logo-w:clamp(250px, 23vw, 370px); }
  .apfbf-top-band.apfbf-v7b h1.apfbf-intro-logo-title{
    margin:0 !important; padding:0 !important; max-width:none;
    font-size:0 !important; line-height:0 !important; letter-spacing:0 !important;   /* base.css styles every h1 with !important */
  }
  /* the drawing starts 2.6% inside the SVG's canvas: pulled back so it lines up with the auspices line and the facts */
  .apfbf-top-band.apfbf-v7b h1.apfbf-intro-logo-title img{
    display:block; width:var(--v7b-logo-w); max-width:100%; height:auto; aspect-ratio:595.3 / 428.4;
    margin-inline-start:calc(var(--v7b-logo-w) * -.026);
  }
  .apfbf-v7b .apfbf-intro-meta{ margin-top:14px; }

  /* the row under the hero: event logo on the left, SDG banner on the right; no countdown, no dividers */
  .apfbf-top-band.apfbf-v7b .apfbf-intro-count{ display:none !important; }   /* its script still runs (the "In X days" pill) */
  .apfbf-top-band.apfbf-v7b .apfbf-intro-brand{ grid-template-columns:auto minmax(24px, 1fr) auto; }
  .apfbf-top-band.apfbf-v7b .apfbf-intro-brand::before,
  .apfbf-top-band.apfbf-v7b .apfbf-intro-brand::after{ display:none; }
  .apfbf-top-band.apfbf-v7b .apfbf-intro-ids .sdg-banner{ grid-column:3; justify-self:end; }
  @media (max-width:639px){
    .apfbf-top-band.apfbf-v7b{ --v7b-logo-w:min(300px, 82vw); }
    .apfbf-top-band.apfbf-v7b .apfbf-intro-brand{ grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); }
    .apfbf-top-band.apfbf-v7b .apfbf-intro-ids .sdg-banner{ grid-column:2; }
  }
  /* Step 64b: the row holds the SDG banner only (old logo and organizers' line hidden) */
  .apfbf-top-band.apfbf-v7b .apfbf-intro-foot{ display:none; }
  .apfbf-top-band.apfbf-v7b .apfbf-intro-brand{ display:flex; justify-content:flex-end; }
  /* Step 64c: the auspices line, larger and centred above the two columns */
  .apfbf-top-band.apfbf-v7b .apfbf-band-auspices{
    display:flex; align-items:center; justify-content:center; gap:14px; max-width:1440px; margin:0 auto 22px;
    font-family:var(--v2b-sans); font-size:clamp(16px, .45vw + 12px, 20px); line-height:1.4; font-weight:600; color:var(--apfbf-navy);
    text-align:center; text-wrap:balance;
  }
  .apfbf-top-band.apfbf-v7b .apfbf-band-auspices::before,
  .apfbf-top-band.apfbf-v7b .apfbf-band-auspices::after{ content:""; flex:none; width:28px; height:2px; border-radius:1px; background:var(--apfbf-accent); }
  /* Step 64c: the SDG banner larger and centred, the Register button on it (thick white border: clear over the artwork) */
  .apfbf-top-band.apfbf-v7b .apfbf-intro-brand{ justify-content:center; }
  .apfbf-top-band.apfbf-v7b .apfbf-banner-cta{ position:relative; width:clamp(300px, 46vw, 660px); margin:0 auto; }
  .apfbf-top-band.apfbf-v7b .apfbf-intro-ids .sdg-banner{ width:100%; max-width:none; margin:0 !important; }
  .apfbf-top-band .apfbf-banner-register{
    position:absolute; z-index:2; left:50%; top:50%; transform:translate(-50%, -50%);
    display:inline-flex; align-items:center; gap:10px; min-height:54px; padding:0 26px 0 30px; white-space:nowrap;
    border:4px solid #fff; border-radius:14px; background:var(--apfbf-navy); color:#fff;
    font-family:var(--v2b-sans); font-size:17px; line-height:1; font-weight:700; letter-spacing:.01em; text-decoration:none;
    box-shadow:0 16px 32px -12px rgba(18,42,74,.6), 0 0 0 1px rgba(18,42,74,.18);
    transition:background-color .2s ease, transform .2s ease, box-shadow .2s ease;
  }
  .apfbf-top-band .apfbf-banner-register svg{ flex:none; width:19px; height:19px; transition:transform .2s ease; }
  .apfbf-top-band .apfbf-banner-register:hover{ background:#163455; color:#fff; text-decoration:none; transform:translate(-50%, calc(-50% - 2px));
    box-shadow:0 20px 36px -12px rgba(18,42,74,.65), 0 0 0 1px rgba(18,42,74,.18); }
  .apfbf-top-band .apfbf-banner-register:hover svg{ transform:translateX(3px); }
  .apfbf-top-band .apfbf-banner-register:focus-visible{ outline:3px solid var(--apfbf-accent-ink); outline-offset:3px; color:#fff; }
  @media (max-width:639px){
    .apfbf-top-band.apfbf-v7b .apfbf-band-auspices{ gap:10px; margin-bottom:18px; font-size:15px; }
    .apfbf-top-band.apfbf-v7b .apfbf-band-auspices::before, .apfbf-top-band.apfbf-v7b .apfbf-band-auspices::after{ width:16px; }
    .apfbf-top-band.apfbf-v7b .apfbf-banner-cta{ width:min(100%, 440px); }
    .apfbf-top-band .apfbf-banner-register{ min-height:46px; padding:0 20px 0 24px; border-width:3px; font-size:15.5px; }
  }
  @media (prefers-reduced-motion: reduce){
    .apfbf-top-band .apfbf-banner-register, .apfbf-top-band .apfbf-banner-register svg{ transition:none; }
    .apfbf-top-band .apfbf-banner-register:hover{ transform:translate(-50%, -50%); }
    .apfbf-top-band .apfbf-banner-register:hover svg{ transform:none; }
  }
  html.a11y-still .apfbf-top-band .apfbf-banner-register:hover{ transform:translate(-50%, -50%); }
  /* Step 64e: the SDG banner under the speakers slider (right column); the row under the hero, now empty, hidden */
  .apfbf-top-band.apfbf-v7b .apfbf-v7-tier2{ display:none; }   /* its countdown script still runs (the "In X days" pill) */
  .apfbf-top-band.apfbf-v7b .apfbf-spot-panel{ display:flex; flex-direction:column; }
  .apfbf-top-band.apfbf-v7b .apfbf-spot{ height:auto; flex:1 1 auto; }   /* was height:100%: the banner now shares the column */
  .apfbf-top-band.apfbf-v7b .apfbf-spot-banner{ flex:none; width:min(100%, 430px); margin:22px auto 0; }
  .apfbf-top-band.apfbf-v7b .apfbf-spot-banner .sdg-banner{ width:100%; max-width:none; margin:0 !important; }
  @media (max-width:959px){ .apfbf-top-band.apfbf-v7b .apfbf-spot-banner{ width:min(100%, 380px); margin-top:26px; } }
  /* Step 64e (owner): aligned to the right, its artwork ending exactly under the end of the progress line above
     (the drawing starts and ends 2.1% inside the SVG's canvas) */
  .apfbf-top-band.apfbf-v7b .apfbf-spot-banner{ margin-left:auto; margin-right:0; }
  .apfbf-top-band.apfbf-v7b .apfbf-spot-banner .sdg-banner{ margin:0 -2.1% 0 auto !important; }
  /* Step 64f (owner): the left column starts at the top of the band (it was centred against the taller speakers column,
     so it sat low), and the logo is larger */
  @media (min-width:960px){ .apfbf-top-band.apfbf-v7b .apfbf-intro{ justify-content:flex-start; padding-top:8px; } }
  .apfbf-top-band.apfbf-v7b{ --v7b-logo-w:clamp(300px, 31vw, 500px); }
  @media (max-width:959px){ .apfbf-top-band.apfbf-v7b{ --v7b-logo-w:min(440px, 86vw); } }
  /* Step 64g (owner): two rows lined up across both columns — row 1: edition, logo, facts | slider (bottom edges on the
     progress line); row 2: Register, days, hint | SDG animation (centred on each other). Subgrid rows; 960 px and wider. */
  .apfbf-top-band.apfbf-v7b .apfbf-intro-main{ display:flex; flex-direction:column; align-items:flex-start; width:100%; }
  .apfbf-top-band.apfbf-v7b .apfbf-intro-action{ width:100%; }
  @media (min-width:960px){
    .apfbf-top-band.apfbf-v7b .apfbf-hero{ grid-template-rows:auto auto; row-gap:22px; }
    .apfbf-top-band.apfbf-v7b .apfbf-intro,
    .apfbf-top-band.apfbf-v7b .apfbf-spot-panel{ display:grid; grid-row:1 / 3; grid-template-rows:subgrid; padding-top:0; }
    .apfbf-top-band.apfbf-v7b .apfbf-intro-copy{ display:contents; }
    .apfbf-top-band.apfbf-v7b .apfbf-intro-main{ grid-row:1; align-self:end; }
    .apfbf-top-band.apfbf-v7b .apfbf-intro-action{ grid-row:2; align-self:center; }
    .apfbf-top-band.apfbf-v7b .apfbf-intro-action .apfbf-intro-cta{ margin-top:0; }
    .apfbf-top-band.apfbf-v7b .apfbf-spot{ grid-row:1; }
    .apfbf-top-band.apfbf-v7b .apfbf-spot-banner{ grid-row:2; align-self:center; margin-top:0; }
  }

/* Step 75 (7 Nov 2026): Arabic page — the Register arrow points the reading way */
[dir="rtl"] .apfbf-top-band .apfbf-intro-register svg{ transform:scaleX(-1); }
[dir="rtl"] .apfbf-top-band .apfbf-intro-register:hover svg{ transform:scaleX(-1) translateX(3px); }

/* 12 Nov 2026 (Malak Baba): phones — speaker photos under Forum title; date/venue/online under the slider */
@media (max-width:959px){
  .apfbf-top-band.apfbf-v7b .apfbf-hero{
    display:flex; flex-direction:column; row-gap:20px;
  }
  .apfbf-top-band.apfbf-v7b .apfbf-intro,
  .apfbf-top-band.apfbf-v7b .apfbf-intro-copy,
  .apfbf-top-band.apfbf-v7b .apfbf-intro-main,
  .apfbf-top-band.apfbf-v7b .apfbf-spot-panel{
    display:contents;
  }
  .apfbf-top-band.apfbf-v7b .apfbf-intro-head{ order:1; width:100%; }
  .apfbf-top-band.apfbf-v7b .apfbf-spot{ order:2; width:100%; }
  .apfbf-top-band.apfbf-v7b .apfbf-spot-heading{ order:2; }
  .apfbf-top-band.apfbf-v7b .apfbf-intro-meta{ order:3; width:100%; margin-top:0; }
  .apfbf-top-band.apfbf-v7b .apfbf-intro-action{ order:4; width:100%; }
  .apfbf-top-band.apfbf-v7b .apfbf-spot-banner{ order:5; width:min(100%, 380px); margin:8px auto 0; }
  .apfbf-top-band.apfbf-v7b .apfbf-spot-art{ height:clamp(210px, 46vw, 300px); margin-top:4px; }
  .apfbf-top-band.apfbf-v7b .apfbf-intro-action .apfbf-intro-cta{ margin-top:4px; }
}
@media (max-width:599px){
  .apfbf-top-band.apfbf-v7b .apfbf-spot-art{ height:clamp(200px, 52vw, 260px); }
  .apfbf-top-band.apfbf-v7b .apfbf-hero{ row-gap:16px; }
}
