/* شهاب — header: topbar, masthead, nav, ticker. Generated from the markup by
   the extraction script; hover states folded from the per-page sheets. */
.sh-header{background:var(--sh-blue);color:#fff;position:relative;z-index:900}   /* the header is one layer above every section: the compact body (fixed inside it), the breaking bar and the nav drops all ride on it; overlays live at 1200+ */
.sh-topbar{background:var(--sh-navy-2);font-size:12px;color:var(--sh-on-dark-80);position:relative;z-index:2}
.sh-topbar__inner{max-width:var(--sh-container);margin:0 auto;padding:0 32px;height:34px;display:flex;align-items:center;justify-content:space-between}
.sh-topbar__meta{display:flex;gap:10px;align-items:center;font-variant-numeric:tabular-nums}
.sh-dim{opacity:.5}
.sh-topbar__links{display:flex;gap:14px;align-items:center}
/* base.css hovers every link to the house blue, which on the navy topbar and the
   blue masthead means the link vanishes. Everything on that chrome hovers to
   white instead; :where() keeps the specificity at zero so each component below
   still overrides it (the brief button, for one, hovers to blue on white). */
@media (hover:hover){:where(.sh-topbar,.sh-header__body) a:hover{color:#fff}}

/* ---- language switch: a segmented control, not a bare word ---- */
.sh-lang{display:inline-flex;align-items:stretch;border:1px solid var(--sh-on-dark-30);line-height:1}
.sh-lang__opt{
  position:relative;
  appearance:none;margin:0;border:0;background:transparent;cursor:pointer;line-height:1;
  display:flex;align-items:center;padding:4px 9px;font-family:var(--sh-font);font-size:11.5px;font-weight:800;
  color:var(--sh-on-dark-72);transition:background .16s ease,color .16s ease;
}
/* the drawn control stays 20px; the target it answers to is 44 */
.sh-lang__opt::before{content:"";position:absolute;inset-block:-12px;inset-inline:0}
.sh-lang__opt--on{background:#fff;color:var(--sh-navy);cursor:default}
@media (hover:hover){.sh-lang__opt:not(.sh-lang__opt--on):hover{background:var(--sh-on-dark-16);color:#fff}}
.sh-lang__opt:focus-visible{outline:2px solid var(--sh-sky);outline-offset:1px}
.sh-header__body{position:relative;z-index:3}
/* The masthead sky. It was switched off whole in a1de199, which took the
   documented meteor and its stars down with the three 1400px arcs — and it is
   the arcs the contract objects to («Don't draw decorative circles»), not the
   meteor. So the layer is back and the arcs alone stay down. */
.sh-header__sky{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.sh-header__arc{display:none}
.sh-header__arc.sh-header__arc--1{position:absolute;width:1400px;height:1400px;border:1px solid rgba(255,255,255,.09);border-radius:50%;right:-520px;top:-1160px}
.sh-header__arc.sh-header__arc--2{position:absolute;width:1400px;height:1400px;border:1px solid rgba(255,255,255,.07);border-radius:50%;right:-560px;top:-1120px}
.sh-header__arc.sh-header__arc--3{position:absolute;width:1100px;height:1100px;border:1px solid var(--sh-on-dark-08);border-radius:50%;left:-620px;top:-880px}
/* The meteor lands on its name. It comes in from above the lead buttons — the
   top 20px strip is the one band of the masthead with no control in it — and
   arcs down into the ش of the wordmark, where a spark bursts and the logo
   flashes once. The path is drawn in px from the masthead's centre-top
   (.sh-header__sky-origin is a 0×0 box at left:50%), so it holds at any
   width: the lead buttons start 229px inside the container's edge, the
   wordmark is 84px wide, and the descent happens in the empty pocket between
   them. The ش is on the right of the wordmark in both directions, so the same
   path serves LTR — nothing here is mirrored (tools/ltr.py leaves offset-path
   and a two-value translate() alone). Chosen from the eight proofs of
   2026-09-12; the pass is the first 1.3s of a 9s cycle, 1.5s after load. */
/* direction:ltr on the origin box: Chrome measures a path() from the element's
   own static box, and in an RTL container a 220px streak sits 220px left of
   the origin, which moved the whole path — the meteor died left of the
   wordmark while the spark flashed on the ش. An LTR box starts at the origin
   in both directions. */
.sh-header__sky-origin{position:absolute;top:0;left:50%;width:0;height:0;overflow:visible;direction:ltr}
.sh-header__meteor{position:absolute;width:220px;height:2px;background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.6) 60%,#fff);offset-path:path("M 700 6 C 520 6 330 8 40 30");offset-anchor:100% 50%;offset-rotate:auto;offset-distance:0%;opacity:0;animation:sh-meteor 9s cubic-bezier(.5,0,.8,.6) 1.5s infinite}
.sh-header__spark{position:absolute;top:-4px;left:-4px;width:8px;height:8px;border-radius:50%;background:#fff;box-shadow:0 0 12px 5px rgba(255,255,255,.8);transform:translate(40px,30px) scale(0);opacity:0;animation:sh-meteor-spark 9s ease-out 1.5s infinite}
/* no offset-path (Safari 15 and older): no meteor, rather than a streak stuck at the centre */
@supports not (offset-path:path("M 0 0 L 1 1")){.sh-header__sky-origin{display:none}.sh-masthead__logo-img{animation:none}}
/* the stars sit in the two strips with nothing in them — the top 20px and
   the gap between the controls (which end at y63) and the nav (y88). At
   top:30 and top:44 they twinkled inside the «الآن» button and the search
   field, which read as dead pixels. */
.sh-header__star.sh-header__star--1{position:absolute;top:10px;right:22%;width:4px;height:4px;background:#fff;transform:rotate(45deg);opacity:.35;animation:sh-twinkle 5s ease-in-out infinite}
.sh-header__star.sh-header__star--2{position:absolute;top:70px;right:9%;width:3px;height:3px;background:#fff;transform:rotate(45deg);opacity:.25;animation:sh-twinkle 7s ease-in-out infinite 2s}
.sh-header__star.sh-header__star--3{position:absolute;top:74px;left:14%;width:3px;height:3px;background:#fff;transform:rotate(45deg);opacity:.3;animation:sh-twinkle 6s ease-in-out infinite 1s}
/* the compact masthead (64px, the nav behind a toggle) has no empty strip left */
@media (max-width:900px){.sh-header__sky{display:none}.sh-masthead__logo-img{animation:none}}
.sh-header__inner{max-width:var(--sh-container);margin:0 auto;padding:0 32px;position:relative}
.sh-masthead{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:88px}
.sh-masthead__lead{display:flex;align-items:center;gap:16px;justify-self:start}
/* ---- live: the one red thing in the masthead, so it reads as broadcast ---- */
.sh-live{
  display:inline-flex;align-items:center;gap:9px;height:38px;padding:0 16px;background:var(--color-red-soft);color:#fff;
  font-family:var(--sh-font);font-size:13px;font-weight:800;line-height:1;
  transition:background .18s ease;
}
@media (hover:hover){.sh-live:hover{background:#a52629;color:#fff}}
.sh-live:active{background:#8f2125}
.sh-live:focus-visible{outline:2px solid #fff;outline-offset:2px}
.sh-live .sh-i{font-size:13px;animation:sh-live-on 2.2s ease-in-out infinite}
@keyframes sh-live-on{0%,100%{opacity:1}50%{opacity:.5}}
@media (prefers-reduced-motion:reduce){.sh-live .sh-i{animation:none}}
.sh-tnum{font-variant-numeric:tabular-nums}
.sh-masthead__logo{justify-self:center;position:relative;display:block;padding:6px 18px;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
@media (hover:hover){.sh-masthead__logo:hover{transform:translateY(-2px)}}
.sh-masthead__logo-img{height:54px;width:auto;position:relative;filter:drop-shadow(0 6px 18px rgba(10,26,51,.35));animation:sh-meteor-land 9s ease-out 1.5s infinite}   /* the flash as the meteor arrives; the keyframes rest on this same shadow */
.sh-masthead__logo-star{display:none}
.sh-masthead__tools{display:flex;align-items:center;gap:12px;justify-self:end}
/* ---- the audio brief: same chrome as the search field beside it ---- */
.sh-brief-btn{
  display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 14px;border:1px solid var(--sh-on-dark-30);background:var(--sh-on-dark-08);
  color:#fff;font-family:var(--sh-font);font-size:12px;font-weight:700;line-height:1;white-space:nowrap;
  transition:background .18s ease,border-color .18s ease;
}
@media (hover:hover){.sh-brief-btn:hover{background:var(--sh-on-dark-14);border-color:var(--sh-on-dark-55);color:#fff}}
.sh-brief-btn:focus-visible{outline:2px solid var(--sh-sky);outline-offset:2px}
.sh-brief-btn .sh-i{font-size:13px;color:var(--sh-sky)}
.sh-brief-btn__meta{padding-inline-start:8px;border-inline-start:1px solid var(--sh-on-dark-30);font-size:11.5px;font-weight:700;color:var(--sh-on-dark-72);font-variant-numeric:tabular-nums}
.sh-brief-btn[data-sh-brief-open][aria-expanded="true"]{background:#fff;border-color:#fff;color:var(--sh-navy)}
.sh-brief-btn[data-sh-brief-open][aria-expanded="true"] .sh-i{color:var(--sh-blue)}
/* ---- search: a real field that posts to search.html, white on focus ---- */
.sh-search{
  display:flex;align-items:center;height:38px;border:1px solid var(--sh-on-dark-30);background:var(--sh-on-dark-08);
  transition:background .18s ease,border-color .18s ease;
}
@media (hover:hover){.sh-search:hover{background:var(--sh-on-dark-14);border-color:var(--sh-on-dark-55)}}
.sh-search:focus-within{background:#fff;border-color:#fff}
.sh-search__input{
  width:190px;height:100%;padding:0 12px;border:0;background:transparent;color:#fff;outline:none;
  font-family:var(--sh-font);font-size:12px;font-weight:700;
}
.sh-search__input::placeholder{color:var(--sh-on-dark-60);font-weight:700}
.sh-search__input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
.sh-search:focus-within .sh-search__input{color:var(--sh-navy)}
.sh-search:focus-within .sh-search__input::placeholder{color:var(--color-text-faint)}
.sh-search__btn{
  width:38px;height:100%;flex:none;border:0;background:transparent;color:#fff;font-size:13px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;transition:background .18s ease,color .18s ease;
}
@media (hover:hover){.sh-search__btn:hover{background:var(--sh-on-dark-16)}}
.sh-search__btn:focus-visible{outline:2px solid var(--sh-sky);outline-offset:-2px}
.sh-search:focus-within .sh-search__btn{color:var(--sh-blue)}
@media (hover:hover){.sh-search:focus-within .sh-search__btn:hover{background:var(--color-surface-blue)}}
.sh-nav{display:flex;align-items:center;justify-content:space-between;min-height:46px;flex-wrap:wrap;font-family:var(--sh-font);font-size:14px;font-weight:700;border-top:1px solid var(--sh-on-dark-14)}
.sh-nav__list{display:flex;gap:26px;flex-wrap:wrap}
.sh-nav__item{position:relative}
.sh-nav__link{display:flex;align-items:center;gap:7px;color:var(--sh-on-dark-86);padding:13px 0 12px;border-bottom:2px solid transparent;transition:color .16s ease,border-color .16s ease}
@media (hover:hover){.sh-nav__link:hover{color:#fff;border-bottom:2px solid var(--sh-on-dark-80)}}
.sh-nav__caret{
  width:7px;height:7px;flex:none;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;   /* physical, not logical: right+bottom rotated 45° is a ∨ in any direction */
  transform:rotate(45deg) translateY(-2px);opacity:.55;transition:transform .2s ease,opacity .16s ease;
}
.sh-menu:hover > .sh-nav__link > .sh-nav__caret,.sh-menu:focus-within > .sh-nav__link > .sh-nav__caret{transform:rotate(225deg) translateY(-1px);opacity:1}
.sh-nav__drop{position:absolute;top:100%;right:-16px;min-width:250px;background:var(--sh-navy);color:#fff;padding:8px 0;z-index:60;opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .18s ease,transform .18s ease,visibility .18s;box-shadow:0 14px 30px var(--sh-navy-a28)}
.sh-nav__drop-rule{position:absolute;top:0;right:16px;left:16px;height:2px;background:var(--sh-blue)}
.sh-nav__drop-link{display:flex;align-items:center;gap:10px;padding:10px 18px;font-size:13px;font-weight:700;color:var(--sh-on-dark-82);background:transparent}
.sh-nav__drop-link:hover{background:var(--sh-blue);color:#fff}
/* a group label inside a dropdown: the pages that are states of the site, not sections */
.sh-nav__drop-label{display:block;padding:10px 18px 2px;font-family:var(--sh-font);font-size:11.5px;font-weight:800;color:var(--sh-on-dark-55)}
.sh-nav__link.sh-nav__link--current{display:flex;align-items:center;gap:7px;color:#fff;padding:13px 0 12px;border-bottom:2px solid #fff;transition:color .16s ease,border-color .16s ease}
@media (hover:hover){.sh-nav__link.sh-nav__link--current:hover{color:#fff;border-bottom:2px solid var(--sh-on-dark-80)}}
.sh-nav__drop-link.sh-nav__drop-link--current{display:flex;align-items:center;gap:10px;padding:10px 18px;font-size:13px;font-weight:800;color:#fff;background:rgba(27,90,166,.35)}
.sh-nav__drop-link.sh-nav__drop-link--current:hover{background:var(--sh-blue);color:#fff}
/* ---- the nav's trailing slot: contact, styled as any other nav link (the old
       «آخر الأخبار» duplicated the ticker's live-coverage link right under it) ---- */
.sh-nav__link--last{margin-inline-start:auto}
.sh-nav__link:focus-visible{outline:2px solid var(--sh-sky);outline-offset:3px}
.sh-ticker{background:#fff;color:var(--sh-ink);border-bottom:1px solid var(--sh-hair-2)}
.sh-ticker__inner{max-width:var(--sh-container);margin:0 auto;padding:0 32px;height:44px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:20px}
.sh-ticker__tag{background:var(--sh-red);color:#fff;font-family:var(--sh-font);font-size:12px;font-weight:700;padding:6px 14px 6px 22px;display:flex;align-items:center;gap:8px;clip-path:polygon(0 0,100% 0,100% 100%,0 100%,10px 50%)}
.sh-ticker__tag-dot{width:6px;height:6px;background:#fff;border-radius:50%;animation:sh-pulse 1.4s ease-in-out infinite}
.sh-ticker__item{display:flex;gap:14px;align-items:baseline;min-width:0}
.sh-ticker__title{font-family:var(--sh-font);font-size:15px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.sh-ticker__time{font-size:12px;color:var(--sh-mute);white-space:nowrap;font-variant-numeric:tabular-nums}
.sh-ticker__tools{display:flex;align-items:center;gap:14px;font-size:12px}
.sh-ticker__count{color:var(--sh-mute);font-variant-numeric:tabular-nums;direction:ltr;unicode-bidi:isolate}   /* "1 / 3" keeps its order inside the RTL bar */
.sh-ticker__pager{display:flex;gap:4px}
.sh-ticker__btn{width:34px;height:34px;border:1px solid var(--sh-hair-2);background:#fff;color:var(--sh-navy);cursor:pointer;font-size:12px;display:flex;align-items:center;justify-content:center;transition:background .16s ease}
@media (hover:hover){.sh-ticker__btn:hover{background:var(--color-surface-soft)}}
/* ---- live-coverage CTA: the ticker's one button, balancing the red tag ---- */
.sh-link{color:var(--sh-blue);font-weight:700}
.sh-nav__drop-link.sh-nav__drop-link--bold{display:flex;align-items:center;gap:10px;padding:10px 18px;font-size:13px;font-weight:800;color:#fff}
.sh-nav__drop-link.sh-nav__drop-link--bold:hover{background:var(--sh-blue);color:#fff}
.sh-menu:hover>.sh-drop,.sh-menu:focus-within>.sh-drop{opacity:1;visibility:visible;transform:translateY(0)}
@keyframes sh-pulse{0%,100%{opacity:1}50%{opacity:.3}}
/* the live dots read as live by colour and label; the beat is the extra */
@media (prefers-reduced-motion:reduce){
  .sh-ticker__tag-dot{animation:none}
}
@keyframes sh-ticker{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}
/* the pass: in from the right and faster as it falls (ease-in), gone as it
   meets the wordmark at 14.4% of the cycle; the spark and the flash follow
   at 13.5–24%. The logo keyframes rest on its own drop-shadow, so nothing
   changes between passes. */
@keyframes sh-meteor{0%{offset-distance:0%;opacity:0}3%{opacity:1}11%{opacity:1}14.4%,100%{offset-distance:100%;opacity:0}}
@keyframes sh-meteor-spark{0%,13.5%{transform:translate(40px,30px) scale(0);opacity:0}14.5%{transform:translate(40px,30px) scale(1);opacity:1}20%,100%{transform:translate(40px,30px) scale(2.2);opacity:0}}
@keyframes sh-meteor-land{0%,12%{filter:drop-shadow(0 6px 18px rgba(10,26,51,.35))}14.5%{filter:drop-shadow(0 0 16px rgba(255,255,255,.95)) drop-shadow(0 6px 18px rgba(10,26,51,.35))}24%,100%{filter:drop-shadow(0 6px 18px rgba(10,26,51,.35))}}
@keyframes sh-twinkle{0%,100%{opacity:.25;transform:rotate(45deg)scale(.8)}50%{opacity:1;transform:rotate(45deg)scale(1.15)}}

/* ---- compact: the search collapses to its button, the live label to its icon
       (the nav toggle is injected next to the search by js/responsive.js) ---- */
@media (max-width:900px){
  .sh-menu:hover > .sh-nav__link > .sh-nav__caret{transform:rotate(45deg) translateY(-2px)}   /* hover means nothing on touch; data-open drives it */
  .sh-menu[data-open] > .sh-nav__link > .sh-nav__caret{transform:rotate(225deg) translateY(-2px);opacity:1}
  .sh-search__input{display:none}
  .sh-search{height:36px;flex:none}
}
/* responsive.css makes every submit button full-width and 48px tall for the
   forms (an !important inside the responsive layer). The search button is a
   submit too; the override has to live in the same layer to win. */
@layer responsive{
  @media (max-width:900px){
    .sh-search .sh-search__btn{width:36px!important;min-height:0!important;height:100%!important}
  }
}
@media (max-width:640px){
  .sh-live{padding:9px 12px;font-size:12px;gap:7px}
}

/* a sky that streaks is the extra, not the meaning */
/* the star rules carry two classes each, so the guard has to as well or it
   loses the cascade and the sky keeps twinkling for a reader who asked it not to */
@media (prefers-reduced-motion:reduce){
  .sh-header__meteor,.sh-header__spark{animation:none;opacity:0}
  .sh-masthead__logo-img{animation:none}
  .sh-header__star.sh-header__star--1,
  .sh-header__star.sh-header__star--2,
  .sh-header__star.sh-header__star--3{animation:none;opacity:.28}
}
