/* ============================================================
   Page sections: hero · sub news · picks · featured category ·
   elections · whatsapp · muwajaha · sports · latest · newsletter
   ============================================================ */

/* --- hero: main story + ad/useful column --- */
/* One grid for the whole lead block so the aside can span both rows.
     col 1 (rightmost) 280  poll
     col 2             1fr  hero story (spans 1–2) then sub news
     col 3             340  merged aside, spans both rows */
.lead-grid{
  --aside-w:340px;
  margin-top:22px;display:grid;
  grid-template-columns:280px minmax(0,1fr) var(--aside-w);
  gap:18px;align-items:start
}
.lead-grid .super-story{grid-column:1 / 3;grid-row:1}
.lead-grid .sub-side--poll{grid-column:1;grid-row:2;align-self:stretch}
.lead-grid .sub-side--poll .sub-side__foot{margin-top:auto}
.lead-grid .sub-rows{grid-column:2;grid-row:2}
.lead-grid .lead-aside{grid-column:3;grid-row:1 / span 2}
/* Desktop: keep the hero (image + text) no taller than the square 500×500 ad
   beside it — the ad renders at --aside-w tall (aspect 1/1 × the aside width).
   Pin the image cell to that height so the grid row is exactly --aside-w and the
   text column (grid-stretched) can centre its content vertically. */
@media (min-width:1081px){
  /* Hero fills its media cell at 15:10 (object-fit:cover, no extra crop) and the
     headline shows in full — no height cap that would clip the image or title. */
  .lead-grid .super-story h1{display:block;-webkit-line-clamp:unset;line-clamp:unset;overflow:visible}
}
/* col 1 is the RIGHT column under RTL: text right, image left. The image
   keeps the 584/298 split so it still matches .sub-rows below it. */
/* text column = poll(280)+gap(18) so the image column lines up exactly with
   the sub-news column below it (symmetric page). */
.super-story{position:relative;border-radius:var(--radius);overflow:hidden;background:var(--surface);border:1px solid var(--line);display:grid;grid-template-columns:298px minmax(0,1fr);transition:box-shadow .2s}
/* Both pinned to row 1: with only grid-column set, auto-placement pushed the
   text to a second row and the image column collapsed to 29px.
   Reset again under 1081px — see responsive.css. */
.super-story .ss-body{grid-column:1;grid-row:1}
.super-story .ss-media{grid-column:2;grid-row:1;display:block;position:relative;overflow:hidden}
.super-story .ss-media .ph{aspect-ratio:15/10;max-height:520px;height:100%}
/* exclusive/breaking badge sits over the (left) hero image */
.super-story .badge{right:auto;left:14px}
.super-story:hover{box-shadow:var(--shadow)}
/* no min-height here: min always wins over max, which would defeat the 500px
   cap above. Grid stretch already fills the row. */
.super-story .ph{min-height:0}
.super-story .ss-body{padding:20px 24px;display:flex;flex-direction:column;gap:10px;justify-content:center}
.super-story .ss-date{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;display:flex;align-items:center;gap:8px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.super-story .ss-date b{color:var(--red);font-weight:700}
.super-story .ss-tags{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.super-story h1{font-size:24px;font-weight:800;line-height:1.5}
.super-story h1 a:hover{color:var(--red)}
.super-story .excerpt{font-size:13.5px;color:var(--ink-2);line-height:1.8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.super-story .meta b{color:var(--red);font-weight:600}
.super-story .ss-live{display:flex;align-items:center;gap:9px;margin-top:4px;padding-top:12px;border-top:1px solid var(--line);font-size:12.5px;font-weight:700;color:var(--ink-2)}
.super-story .ss-live .dot{width:8px;height:8px;border-radius:50%;background:var(--red);flex-shrink:0;animation:pulse 1.4s infinite}
.super-story .ss-live:hover{color:var(--red)}

/* ---- hero style: featured trio (1 big lead + 2 secondaries) ---- */
.lead-grid .hero-trio{grid-column:1 / 3;grid-row:1}
/* RTL: col 1 (right) = big lead, col 2 (left) = the two stacked cards */
.hero-trio{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:16px;min-height:440px}

.hero-lead,.hero-sec{position:relative;border-radius:var(--radius);overflow:hidden;display:flex;color:#fff;background:#131316;transition:transform .2s,box-shadow .2s}
.hero-lead:hover,.hero-sec:hover{box-shadow:var(--shadow)}
.hero-lead .ph,.hero-sec .ph{position:absolute;inset:0;height:100%;background:#131316}
.hero-lead .ph img,.hero-sec .ph img{width:100%;height:100%;object-fit:cover}
.hero-lead::after,.hero-sec::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(9,9,11,.94) 6%,rgba(9,9,11,.55) 42%,rgba(9,9,11,.15) 78%);z-index:1}
.hero-lead .hl-body,.hero-sec .hs-body{position:relative;z-index:2;margin-top:auto;width:100%}

/* big lead */
.hero-lead{min-height:440px}
.hero-lead .hl-body{padding:26px 28px}
.hero-lead .hl-kick{font-family:var(--font-head);font-weight:800;font-size:11.5px;letter-spacing:1px;color:#ffb3b3}
.hero-lead h1{font-size:27px;font-weight:800;line-height:1.5;color:#fff;margin:8px 0 0}
.hero-lead:hover h1{color:#fff}
.hero-lead .excerpt{font-size:13.5px;color:#e7e7ea;line-height:1.85;margin-top:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hero-lead .meta{margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.18);color:#c9c9cf}
.hero-lead .meta b{color:#fff;font-weight:600}

/* two stacked secondaries */
.hero-side{display:grid;grid-template-rows:1fr 1fr;gap:16px;min-height:0}
.hero-sec{min-height:0}
.hero-sec .hs-body{padding:16px 18px}
.hero-sec .cat-tag{background:rgba(255,255,255,.14);color:#fff}
.hero-sec h3{font-size:15.5px;font-weight:800;line-height:1.6;color:#fff;margin:7px 0 0}
.hero-sec .meta{margin-top:8px;color:#c9c9cf}
@media (max-width:1080px){
  .hero-trio{grid-template-columns:1fr;min-height:0}
  .hero-lead{min-height:300px}
  .hero-side{grid-template-rows:none;grid-template-columns:1fr 1fr}
  .hero-sec{min-height:190px}
}
@media (max-width:720px){
  .hero-lead h1{font-size:21px}
  .hero-side{grid-template-columns:1fr}
}

.lead-aside{display:flex;flex-direction:column;gap:14px}
.useful{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:14px;flex:1}
.useful h4{font-size:13.5px;font-weight:800;margin-bottom:10px;display:flex;align-items:center;gap:8px}
.useful h4::before{content:"";width:4px;height:16px;background:var(--gold);border-radius:2px}
.useful-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.u-tile{display:flex;align-items:center;gap:9px;background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius-sm);padding:9px 11px;font-size:12px;font-weight:600;transition:.15s}
.u-tile:hover{border-color:var(--red);color:var(--red)}
.u-tile .icon{width:17px;height:17px;color:var(--red);flex-shrink:0}
.u-tile small{display:block;font-weight:400;color:var(--muted);font-size:10.5px}

/* --- sub news: bar rows + side columns --- */
.sub-rows{display:grid;gap:12px}
.srow{display:grid;grid-template-columns:150px 1fr;min-height:98px;border-radius:var(--radius);overflow:hidden;position:relative;transition:transform .18s,box-shadow .18s;color:#fff}
.srow:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.srow:nth-child(odd){background:linear-gradient(120deg,var(--brand),var(--brand-deep))}
.srow:nth-child(even){background:linear-gradient(120deg,var(--red),var(--red-deep))}
.srow::after{content:"";position:absolute;inset-inline-start:0;top:0;bottom:0;width:4px;background:rgba(255,255,255,.25)}
.srow .ph{height:100%;min-height:98px}
.srow-body{padding:12px 18px;display:flex;flex-direction:column;justify-content:center;gap:6px}
.srow h3{font-size:14.5px;font-weight:800;line-height:1.65;color:#fff}
.srow:hover h3{color:#ffd6dc}
.srow .meta{color:rgba(255,255,255,.72)}
.srow .meta b{color:#fff;font-weight:600}
.srow .badge{position:static;align-self:flex-start;margin-bottom:-2px}
.srow:nth-child(even) .badge--exclusive{background:var(--black-block)}
.sub-side{display:flex;flex-direction:column;gap:18px}

.writers li{display:flex;gap:11px;align-items:flex-start;padding:10px 0;border-bottom:1px solid var(--line)}
.writers li:last-child{border-bottom:none}
.writers .wr-thumb{flex:none;width:64px}
.writers .wr-thumb .ph{width:64px;height:64px;border-radius:8px;overflow:hidden}
.writers .wr-thumb img{width:100%;height:100%;object-fit:cover}
.writers .wr-by{display:block;font-size:12px;color:var(--red);font-weight:700;margin-bottom:4px}
.writers p{font-size:12.5px;font-weight:600;line-height:1.6}
.writers p:hover{color:var(--red)}

/* --- editors' picks --- */
.picks-note{font-size:12px;color:var(--muted)}
.picks-grid{display:grid;grid-template-columns:1fr 1.15fr 1.15fr;gap:14px}
.pick-col{display:grid;gap:14px;grid-auto-rows:1fr}
.pick{position:relative;overflow:hidden;border-radius:var(--radius);display:grid;grid-template-columns:1fr 1fr;min-height:150px}
.pick .ph{height:100%;min-height:150px}
.pick:nth-child(even){direction:ltr}
.pick:nth-child(even) .pick-txt{direction:rtl}
.pick:nth-child(even) .pick-tag{right:auto;left:10px}
.pick-txt{padding:14px 16px;display:flex;flex-direction:column;gap:7px;justify-content:center;background:var(--pick-c,var(--black-block))}
.pick-txt h3{font-size:13.5px;font-weight:800;line-height:1.65;color:#fff}
.pick:hover h3{color:#ffd6dc}
.pick-txt .by{font-size:11px;color:rgba(255,255,255,.65)}
.pick-tag{position:absolute;top:10px;right:10px;z-index:3;pointer-events:none;background:var(--red);color:#fff;font-family:var(--font-head);font-weight:800;font-size:10.5px;padding:3px 10px;border-radius:4px;display:inline-flex;align-items:center;gap:5px}
.pick-tag .icon{width:11px;height:11px}
.pick-tag--dark{background:var(--black-block)}
.pick-big{grid-template-columns:1fr;min-height:100%}
.pick-big .ph{position:absolute;inset:0;min-height:100%}
.pick-big .pick-txt{position:absolute;bottom:0;right:0;left:0;background:linear-gradient(to top,rgba(9,9,11,.92) 25%,rgba(9,9,11,.45) 70%,transparent);padding:90px 18px 16px;justify-content:flex-end}
.pick-big h3{font-size:18px}
.pick-big .play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:2}
.pick-big .play span{width:52px;height:52px;border-radius:4px;background:var(--red);display:flex;align-items:center;justify-content:center}
.pick-big .play .icon{width:20px;height:20px;fill:#fff;stroke:none;margin-right:-3px}

/* --- featured category (full width) --- */
/* overflow stays visible so the city selector dropdown can escape the section;
   the rounded-corner clipping is moved to .fc-body (the visual content) instead. */
.featured-cat{margin-top:44px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);position:relative}
.fc-head{background:var(--surface-2);display:flex;align-items:center;gap:16px;padding:14px 22px;flex-wrap:wrap;border-radius:var(--radius) var(--radius) 0 0;position:relative;z-index:5}
.fc-head h2{font-size:20px;font-weight:800;display:flex;align-items:center;gap:10px}
.fc-head h2::before{content:"";width:5px;height:22px;background:var(--red);border-radius:3px}
.fc-head .fc-badge{background:var(--red);color:#fff;font-size:11px;font-weight:700;border-radius:4px;padding:3px 12px}
.fc-head .fc-links{display:flex;gap:6px;flex-wrap:wrap;margin-inline-start:auto}
.fc-head .fc-links a{font-size:11.5px;border:1px solid var(--line-strong);border-radius:4px;padding:3px 12px;color:var(--muted);transition:.15s;background:var(--surface)}
.fc-head .fc-links a:hover{border-color:var(--red);color:#fff;background:var(--red)}
.fc-head-actions{display:flex;align-items:center;gap:12px;margin-inline-start:auto}
.fc-head-actions .city-select__btn{height:34px}
.fc-all{font-size:12.5px;font-weight:700;color:var(--red);white-space:nowrap}
.fc-all:hover{color:var(--red-deep)}
.fc-body{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:0;overflow:hidden;border-radius:0 0 var(--radius) var(--radius)}
.fc-lead{position:relative;border-inline-end:1px solid var(--line);display:flex;flex-direction:column}
.fc-lead .ph{aspect-ratio:15/10;height:auto}
.fc-lead .story-body{padding:16px 20px}
.fc-lead h3{font-size:17px;font-weight:800;line-height:1.55}
.fc-lead:hover h3{color:var(--red)}
.fc-lead .excerpt{font-size:13px;color:var(--muted);line-height:1.8;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fc-col{border-inline-end:1px solid var(--line);display:flex;flex-direction:column}
.fc-col:last-child{border-inline-end:none}
.fc-item{display:flex;gap:11px;padding:14px 16px;border-bottom:1px solid var(--line);align-items:flex-start;transition:.15s}
.fc-item:hover{background:var(--surface-2)}
.fc-item:last-child{border-bottom:none}
.fc-item .ph{width:86px;height:62px;border-radius:var(--radius-sm);flex-shrink:0}
.fc-item p{font-size:13px;font-weight:600;line-height:1.6}
.fc-item:hover p{color:var(--red)}
.fc-item .meta{margin-top:4px}
.fc-list{padding:8px 16px}
.fc-list a{display:block;padding:10px 0 10px 4px;border-bottom:1px dashed var(--line);font-size:13px;font-weight:600;line-height:1.6;position:relative;padding-right:16px;transition:.15s}
.fc-list a::before{content:"";position:absolute;right:0;top:18px;width:7px;height:7px;border-radius:4px;background:var(--red-soft);border:2px solid var(--red);transition:.15s}
.fc-list a:hover{color:var(--red);padding-right:20px}
.fc-list a:last-child{border-bottom:none}
.fc-list a .meta{margin-top:3px;font-weight:400}

/* ============================================================
   Elections — special-coverage block.
   Structure: hero band (photo + countdown + floating "عاجل" card)
   → stat strip → three cards (gauge+poll / milestones / news).
   .seatbar, .elex-legend and .elex-dates are shared with the
   standalone /elections page — keep them generic.
   ============================================================ */
.elex{margin-top:44px;display:flex;flex-direction:column;gap:18px}

/* --- hero band --- */
.elex-hero{
  position:relative;border-radius:var(--radius);overflow:hidden;
  padding:26px 30px 30px;isolation:isolate;
  background:#0a0e3c url(../img/elections-hero.jpg) center/cover no-repeat
}
/* Darker toward the end (left), where the title and countdown sit; the photo
   stays readable at the start (right) edge. */
.elex-hero::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(to left,rgba(7,11,58,.42) 0%,rgba(7,11,58,.8) 42%,rgba(7,11,58,.94) 100%)
}
.elex-hero-in{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.elex-hero-txt{order:1;flex:1 1 320px;text-align:right;color:#fff}
.elex-hero-txt h2{margin:8px 0 6px}
.elex-hero-txt h2 a{display:inline-flex;align-items:center;gap:12px;color:#fff;font-size:27px;font-weight:800;line-height:1.35}
.elex-hero-txt h2 .icon{width:26px;height:26px;color:#fff;flex-shrink:0}
.elex-hero-txt p{font-size:13.5px;color:#cdd3f5}
.elex-tag{
  display:inline-flex;align-items:center;gap:7px;background:var(--red);color:#fff;
  border-radius:999px;padding:5px 14px;font-size:11.5px;font-weight:700;font-family:var(--font-head)
}
.elex-tag .icon{width:14px;height:14px;color:#fff}
.elex-tag .go{
  display:inline-flex;align-items:center;justify-content:center;width:19px;height:19px;
  border-radius:5px;background:rgba(0,0,0,.28);margin-inline-start:2px
}
.elex-tag .go .icon{width:11px;height:11px}
.elex-tag:hover{background:var(--red-deep)}

/* countdown — same ids the widgets.js ticker writes into */
.elex-count{order:2;margin-inline-start:auto;text-align:center;color:#fff}
.elex-count .lbl{display:block;font-size:11.5px;color:#cdd3f5;margin-bottom:8px}
.elex-count .boxes{display:flex;gap:8px}
.elex-count .box{
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);
  border-radius:8px;min-width:60px;padding:8px 8px 6px;text-align:center
}
.elex-count .box b{display:block;font-family:var(--font-head);font-weight:800;font-size:21px;font-variant-numeric:tabular-nums;line-height:1.2}
.elex-count .box span{font-size:10px;color:#cdd3f5}

/* --- floating lead card --- */
.elex-flash{
  position:relative;display:grid;grid-template-columns:250px minmax(0,1fr);gap:20px;
  align-items:center;margin-top:22px;padding:16px;
  background:var(--surface);border:1px solid var(--line);border-radius:10px;
  box-shadow:0 16px 38px rgba(4,7,40,.34)
}
.elex-flash .fl-media{position:relative}
.elex-flash .ph{aspect-ratio:16/9;height:auto;border-radius:6px}
.elex-flash .fl-flag{
  position:absolute;top:9px;inset-inline-start:9px;z-index:2;
  background:var(--red);color:#fff;border-radius:4px;padding:3px 11px;
  font-size:11px;font-weight:700;font-family:var(--font-head)
}
.elex-flash h3{font-size:20px;font-weight:800;line-height:1.55}
.elex-flash .excerpt{font-size:12.5px;color:var(--muted);line-height:1.85;margin-top:8px}
.elex-flash:hover h3{color:var(--red)}
.elex-flash .fl-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;flex-wrap:wrap}
.elex-flash .fl-foot .meta{margin:0}
.elex-flash .fl-btn{
  display:inline-flex;align-items:center;gap:7px;background:var(--red);color:#fff;
  border-radius:999px;padding:10px 20px;font-size:12.5px;font-weight:700;
  font-family:var(--font-head);white-space:nowrap;transition:.15s
}
.elex-flash .fl-btn .icon{width:13px;height:13px}
.elex-flash:hover .fl-btn{background:var(--red-deep)}

/* --- stat strip --- */
.elex-stats{
  display:grid;grid-template-columns:repeat(3,1fr);
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px 12px
}
.elex-stat{display:flex;align-items:center;justify-content:center;gap:14px;padding:6px 12px}
.elex-stat .txt{text-align:center}
.elex-stat b{
  display:block;font-family:var(--font-head);font-size:23px;font-weight:800;
  color:var(--ink);font-variant-numeric:tabular-nums;line-height:1.25
}
.elex-stat .lbl{display:block;font-size:11.5px;color:var(--muted);margin-top:2px}
.elex-stat .ic{
  display:grid;place-items:center;width:46px;height:46px;flex-shrink:0;
  border-radius:12px;background:var(--brand-soft)
}
.elex-stat .ic .icon{width:22px;height:22px;color:var(--brand)}

/* --- the three cards --- */
.elex-body{display:grid;grid-template-columns:1fr 1fr 1.06fr;gap:18px}
.elex-card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:18px 20px;display:flex;flex-direction:column
}
.elex-card .card-head{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.elex-card .card-head h3{flex:1;display:flex;align-items:center;gap:9px;font-size:15px;font-weight:800}
.elex-card .card-head h3 .icon{width:18px;height:18px;color:var(--red);flex-shrink:0}
.elex-card .card-head .more{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:700;color:var(--brand)}
.elex-card .card-head .more .icon{width:12px;height:12px}
.elex-card .card-head .more:hover{color:var(--red)}

/* seat gauge */
.elex-gauge{position:relative;width:100%;max-width:270px;margin:2px auto 16px}
.elex-gauge svg{display:block;width:100%;height:auto}
.elex-gauge .g-empty{stroke:var(--line-strong)}
.elex-gauge .g-center{position:absolute;inset-inline:0;bottom:4px;text-align:center;pointer-events:none}
.elex-gauge .g-center b{display:block;font-family:var(--font-head);font-size:30px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}
.elex-gauge .g-center span{display:block;font-size:11px;color:var(--muted);margin-top:4px}

.seatbar{display:flex;height:34px;border-radius:4px;overflow:hidden;margin:12px 0 14px;direction:ltr}
.seatbar span{display:flex;align-items:center;justify-content:center;color:#fff;font-size:11px;font-family:var(--font-head);font-weight:800;min-width:0}
.elex-legend{display:grid;grid-template-columns:1fr 1fr;gap:9px 18px;font-size:12px}
.elex-legend li{display:flex;align-items:center;gap:8px}
.elex-legend .sw{width:11px;height:11px;border-radius:50%;flex-shrink:0}
.elex-legend b{margin-inline-start:auto;font-variant-numeric:tabular-nums;color:var(--ink)}
.elex-note{display:flex;align-items:center;gap:5px;font-size:10.5px;color:var(--muted);margin-top:12px}
.elex-note .icon{width:12px;height:12px;flex-shrink:0}

/* --- participation poll (big yes/no buttons, fills the column) --- */
/* auto on both sides centres the poll in whatever height the column has left */
.elex-poll{margin-block:auto 0;padding-top:16px;margin-top:16px;border-top:1px dashed var(--line)}
.elex-poll .poll-q{font-size:14.5px;margin-bottom:12px}
.elex-poll .poll-opts.yesno{grid-template-columns:1fr 1fr;gap:10px}
.elex-poll .poll-opts.yesno .poll-opt{
  min-height:54px;display:flex;align-items:center;justify-content:center;overflow:hidden;
  padding:12px;font-family:var(--font-head);font-size:15px;font-weight:800;
  border:1px solid var(--line-strong);border-radius:8px;text-align:center
}
.elex-poll .poll-opts.yesno .poll-opt .bar{display:none}
.elex-poll .poll-opts.yesno .poll-opt .lbl{width:100%;justify-content:center;gap:8px}
.elex-poll .poll-opts.yesno .poll-opt .lbl::before{font-size:13px;line-height:1}
/* نعم = the first option, styled as the affirmative CTA; لا stays neutral. */
.elex-poll .poll-opts.yesno .poll-opt:first-child{background:var(--red);border-color:var(--red);color:#fff}
.elex-poll .poll-opts.yesno .poll-opt:first-child .pct{color:#fff}
.elex-poll .poll-opts.yesno .poll-opt:first-child .lbl::before{content:"✓"}
.elex-poll .poll-opts.yesno .poll-opt:first-child:hover{background:var(--red-deep);border-color:var(--red-deep);color:#fff}
.elex-poll .poll-opts.yesno .poll-opt:nth-child(2){background:var(--surface-2);color:var(--ink-2)}
.elex-poll .poll-opts.yesno .poll-opt:nth-child(2) .pct{color:var(--muted)}
.elex-poll .poll-opts.yesno .poll-opt:nth-child(2) .lbl::before{content:"✕"}
.elex-poll .poll-opts.yesno .poll-opt:nth-child(2):hover{border-color:var(--ink-2);color:var(--ink)}
.elex-poll .poll-opts.yesno .poll-opt.mine{box-shadow:0 0 0 2px var(--brand-soft) inset}
.elex-poll .poll-foot{margin-top:12px}

/* --- milestones timeline --- */
.elex-tl{position:relative;display:flex;flex-direction:column;gap:8px;padding-inline-start:26px}
.elex-tl::before{content:"";position:absolute;inset-block:12px;inset-inline-start:5px;width:2px;background:var(--line)}
.elex-tl li{
  position:relative;display:flex;align-items:center;gap:12px;
  background:var(--red-soft);border-radius:6px;padding:11px 14px;
  font-size:12.5px;line-height:1.7
}
.elex-tl li::before{
  content:"";position:absolute;inset-inline-start:-25px;top:50%;margin-top:-5px;
  width:10px;height:10px;border-radius:50%;background:var(--red)
}
.elex-tl time{
  color:var(--red);font-family:var(--font-head);font-weight:800;font-size:12.5px;
  flex-shrink:0;min-width:42px;font-variant-numeric:tabular-nums
}
.elex-tl li span{flex:1;text-align:start}
.elex-cta{
  display:flex;align-items:center;justify-content:center;gap:7px;margin-top:auto;
  padding:13px;border-radius:8px;background:var(--brand-soft);color:var(--brand);
  font-family:var(--font-head);font-size:13px;font-weight:800;transition:.15s
}
.elex-cta .icon{width:13px;height:13px}
.elex-cta:hover{background:var(--brand);color:#fff}

/* --- election news list --- */
.elex-minis{display:flex;flex-direction:column}
.elex-mini{display:flex;flex-direction:row-reverse;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);align-items:flex-start}
.elex-mini>div{flex:1;min-width:0;text-align:right}
.elex-mini:first-child{padding-top:0}
.elex-mini:last-child{border-bottom:none}
.elex-mini .ph{width:80px;height:60px;border-radius:6px;flex-shrink:0}
.elex-mini p{font-size:13px;font-weight:700;line-height:1.65;-webkit-line-clamp:3;line-clamp:3}
.elex-mini .meta{margin-top:6px}
.elex-mini:hover p{color:var(--red)}

.elex-dates li{display:flex;gap:12px;padding:9px 0;border-bottom:1px dashed var(--line);font-size:12.5px;align-items:baseline}
.elex-dates li:last-child{border-bottom:none}
.elex-dates time{color:var(--red);font-family:var(--font-head);font-weight:800;font-size:12px;flex-shrink:0;min-width:44px;font-variant-numeric:tabular-nums}
/* --- whatsapp banner ---
   Doodle pattern tiled on the X axis only, so the strip keeps one band of
   artwork however wide the viewport gets. Palette: WhatsApp green on dark
   grey over the cream pattern. Swap wa-pattern.svg for the supplied PNG to
   use the exact artwork. */
:root{--wa-green:#25D366;--wa-green-deep:#128C7E;--wa-ink:#3B4A54;--wa-cream:#FAF6EC}
html[data-theme="dark"]{--wa-ink:#0f1418}

.wa-banner{
  margin-top:44px;border-radius:var(--radius);overflow:hidden;
  background-color:var(--wa-cream);
  background-image:url("../img/wa-pattern.svg");
  background-repeat:repeat-x;
  background-position:center;
  background-size:auto 100%;
  color:var(--wa-ink);
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:30px;
  align-items:center;padding:0 34px;
  border:1px solid #EDE5D2
}
.wa-phone{
  width:128px;height:158px;background:#fff;border:5px solid var(--wa-ink);
  border-bottom:none;border-radius:10px 10px 0 0;transform:rotate(-7deg);
  margin-top:34px;display:flex;flex-direction:column;align-items:center;gap:12px;
  padding-top:24px;flex-shrink:0;box-shadow:0 8px 22px rgba(59,74,84,.18)
}
.wa-phone .wp-logo .brand-mark{width:76px;height:auto;color:var(--wa-ink)}
.wa-phone .wp-logo .brand-mark g{fill:currentColor}
.wa-phone .wp-wa{width:44px;height:44px;border-radius:12px;background:var(--wa-green);display:flex;align-items:center;justify-content:center;color:#fff}
.wa-phone .wp-wa .icon{width:24px;height:24px}
.wa-txt{padding:28px 0}
.wa-txt h2{
  font-size:22px;font-weight:800;color:var(--wa-ink);margin-bottom:8px;
  display:flex;align-items:center;gap:10px
}
.wa-txt h2::before{
  content:"";width:8px;height:22px;border-radius:4px;background:var(--wa-green);flex-shrink:0
}
.wa-txt p{font-size:13.5px;color:var(--wa-ink);opacity:.78;line-height:1.85;max-width:560px}
.wa-btn{
  display:inline-flex;align-items:center;gap:9px;height:46px;
  background:var(--wa-green);color:#fff;border-radius:8px;padding:0 24px;
  font-family:var(--font-head);font-weight:800;font-size:14px;transition:.2s;
  line-height:1;white-space:nowrap;box-shadow:0 4px 14px rgba(37,211,102,.35)
}
.wa-btn:hover{background:var(--wa-green-deep);transform:translateY(-1px);box-shadow:0 6px 18px rgba(18,140,126,.4)}
.wa-btn:active{transform:translateY(0) scale(.98)}
.wa-btn .icon{width:15px;height:15px;transform:rotate(180deg)}

/* --- muwajaha series --- */
.muwajaha{margin-top:44px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px;position:relative;overflow:hidden}
.muwajaha::before{content:"";position:absolute;inset-inline-start:0;top:0;bottom:0;width:6px;background:linear-gradient(180deg,var(--red) 0 55%,var(--brand) 55% 100%)}
.mj-head{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:18px}
.mj-logo{font-family:var(--font-head);line-height:1.05}
.mj-logo span{display:block;font-size:32px;font-weight:800;color:var(--red)}
.mj-logo small{font-size:12.5px;color:var(--ink);font-weight:800;letter-spacing:2px}
.mj-desc{font-size:12.5px;color:var(--muted);max-width:440px;line-height:1.85}
.mj-all{margin-inline-start:auto;display:inline-flex;align-items:center;gap:7px;height:42px;border:1px solid var(--line-strong);border-radius:4px;padding:0 20px;font-family:var(--font-head);font-weight:800;font-size:13px;color:var(--ink);transition:.2s;line-height:1}
.mj-all:hover{border-color:var(--red);color:var(--red);background:var(--red-soft)}
.mj-nav{display:flex;gap:8px}
.mj-nav button{width:42px;height:42px;border:1px solid var(--line-strong);border-radius:4px;display:flex;align-items:center;justify-content:center;color:var(--ink);transition:.2s}
.mj-nav button:hover{border-color:var(--red);color:var(--red);background:var(--red-soft)}
.mj-nav button:active{transform:translateY(1px)}
.mj-nav .icon{width:17px;height:17px}
.mj-scroll{display:grid;grid-auto-flow:column;grid-auto-columns:198px;gap:14px;overflow-x:auto;padding-bottom:10px;scroll-snap-type:x mandatory;scrollbar-width:none}
.mj-scroll::-webkit-scrollbar{display:none}
.mj-card{aspect-ratio:9/16;border-radius:var(--radius);overflow:hidden;position:relative;scroll-snap-align:start;background:#131316;display:block}
.mj-card .ph-dark{position:absolute;inset:0}
.mj-ep{position:absolute;top:10px;right:10px;background:var(--red);color:#fff;font-family:var(--font-head);font-weight:800;font-size:11px;padding:3px 10px;border-radius:4px;z-index:2}
.mj-card .dur{position:absolute;top:10px;left:10px;background:rgba(0,0,0,.75);color:#fff;font-size:10.5px;padding:2px 8px;border-radius:4px;z-index:2;font-variant-numeric:tabular-nums}
.mj-info{position:absolute;bottom:0;right:0;left:0;padding:64px 12px 12px;background:linear-gradient(to top,rgba(0,0,0,.94) 20%,transparent);color:#fff;z-index:2}
.mj-info b{display:block;font-family:var(--font-head);font-size:14px;line-height:1.5}
.mj-info small{font-size:11px;color:#c6c6cc}
.mj-card .play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;transition:.25s;z-index:3;background:rgba(9,9,11,.35)}
.mj-card:hover .play{opacity:1}
.mj-card .play span{width:50px;height:50px;border-radius:4px;background:var(--red);display:flex;align-items:center;justify-content:center}
.mj-card .play .icon{width:20px;height:20px;fill:#fff;stroke:none;margin-right:-3px}

/* --- sports --- */
.sport-sec{margin-top:44px}
.sport-grid{display:grid;grid-template-columns:1.2fr 1.2fr 1fr;gap:20px;align-items:start}
.sport-news .story .ph{aspect-ratio:15/10;height:auto}
.sport-news .rows{display:grid;gap:0;margin-top:14px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.sport-news .rowi{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border-bottom:1px solid var(--line);transition:.15s}
.sport-news .rowi:last-child{border-bottom:none}
.sport-news .rowi:hover{background:var(--surface-2)}
.sport-news .rowi .ph{width:88px;height:62px;border-radius:var(--radius-sm);flex-shrink:0}
.sport-news .rowi p{font-size:13px;font-weight:600;line-height:1.6}
.sport-news .rowi:hover p{color:var(--red)}
.std-dd{position:relative;margin:0 0 12px}
.std-dd-btn{display:flex;align-items:center;gap:9px;width:100%;font-size:13px;font-weight:700;font-family:var(--font-head);border:1px solid var(--line-strong);border-radius:10px;padding:8px 12px;color:var(--text);background:var(--surface);cursor:pointer;transition:.15s}
.std-dd-btn:hover{border-color:var(--red)}
.std-dd-btn .std-dd-name{flex:1;text-align:right}
.std-dd-btn>.icon{width:16px;height:16px;color:var(--muted);transition:transform .2s}
.std-dd-btn[aria-expanded="true"]>.icon{transform:rotate(180deg)}
.std-dd-logo{width:22px;height:22px;object-fit:contain;flex:none}
.std-dd-menu{position:absolute;z-index:30;top:calc(100% + 4px);inset-inline:0;margin:0;padding:5px;list-style:none;background:var(--surface);border:1px solid var(--line-strong);border-radius:10px;box-shadow:0 12px 30px rgba(0,0,0,.16);max-height:320px;overflow:auto}
.std-dd-opt{display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:7px;font-size:13px;font-weight:600;color:var(--text);cursor:pointer;transition:.12s}
.std-dd-opt img{width:22px;height:22px;object-fit:contain;flex:none}
.std-dd-opt span{flex:1}
.std-dd-opt:hover{background:var(--surface-2)}
.std-dd-opt.active{background:var(--red);color:#fff}
.std-body{transition:opacity .2s}
.standings{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.standings table{width:100%;border-collapse:collapse;font-size:12.5px}
.standings th{background:var(--black-block);color:var(--on-black);font-weight:600;font-size:11.5px;padding:9px 8px;text-align:center}
.standings th:first-child{text-align:right;padding-right:14px}
.standings td{padding:8px;border-bottom:1px solid var(--line);text-align:center;font-variant-numeric:tabular-nums}
.standings tr:last-child td{border-bottom:none}
.standings td:first-child{text-align:right;padding-right:14px;font-weight:600}
.standings tr:hover td{background:var(--surface-2)}
.standings .pos{display:inline-flex;width:20px;height:20px;border-radius:4px;align-items:center;justify-content:center;font-size:11px;font-weight:700;margin-left:8px}
.standings tbody tr:nth-child(-n+2) .pos{background:var(--red);color:#fff}
.standings tbody tr:nth-child(n+3) .pos{background:var(--surface-2);color:var(--muted)}
.standings .pts{font-weight:800;color:var(--red)}
.standings-foot{padding:8px 14px;border-top:1px solid var(--line);font-size:10.5px;color:var(--muted);text-align:center}

/* --- lower layout + category blocks --- */
.layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:26px;align-items:start;margin-top:8px}
.cat-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.cat-block .story .ph{aspect-ratio:15/10;height:auto}
.cat-block .story-list{display:grid;gap:12px;margin-top:12px}
.cat-block .row{display:flex;gap:12px;align-items:flex-start;padding-bottom:12px;border-bottom:1px solid var(--line)}
.cat-block .row:last-child{border:none;padding-bottom:0}
.cat-block .row .ph{width:92px;height:66px;border-radius:var(--radius-sm);flex-shrink:0}
.cat-block .row p{font-size:13px;font-weight:600;line-height:1.6}
.cat-block .row p:hover{color:var(--red)}
.cat-block .row .meta{margin-top:4px}
/* subcategory chips under the last article — horizontal scroll (10+ subs) with
   left/right arrows. min-width:0 keeps the nowrap row from stretching the grid
   cell (which broke the two-column layout). */
/* flex column + margin-top:auto pins the subs row to the bottom, so blocks with
   a 1-line vs 2-line lead still line their subcategory rows up across the grid. */
.cat-block{min-width:0;display:flex;flex-direction:column}
.cat-subs-wrap{position:relative;margin-top:auto;padding:11px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.cat-subs{display:flex;gap:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;scroll-behavior:smooth}
.cat-subs::-webkit-scrollbar{display:none}
.cat-sub{flex:0 0 auto;white-space:nowrap;font-size:12px;font-weight:600;color:var(--ink-2);background:var(--surface-2);border:1px solid var(--line);border-radius:999px;padding:5px 13px;transition:.15s}
.cat-sub:hover{border-color:var(--red);color:var(--red);background:var(--red-soft)}
/* soft fade under each arrow so chips slide out of view gracefully (RTL: right
   edge = start, left edge = end). Shown in step with the matching arrow. */
.cat-subs-wrap::before,.cat-subs-wrap::after{content:"";position:absolute;top:0;bottom:0;width:42px;z-index:1;pointer-events:none;opacity:0;transition:opacity .15s}
.cat-subs-wrap::before{right:0;background:linear-gradient(to left,var(--bg) 30%,transparent)}
.cat-subs-wrap::after{left:0;background:linear-gradient(to right,var(--bg) 30%,transparent)}
.cat-subs-wrap.has-prev::before{opacity:1}
.cat-subs-wrap.has-next::after{opacity:1}
.cat-subs-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:28px;height:28px;
  border-radius:50%;background:var(--surface);border:1px solid var(--line);box-shadow:0 1px 6px rgba(0,0,0,.14);
  align-items:center;justify-content:center;color:var(--ink-2);cursor:pointer;transition:.15s;display:none}
.cat-subs-nav:hover{color:var(--red);border-color:var(--red)}
.cat-subs-nav .icon{width:14px;height:14px}
.cat-subs-prev{right:2px}
.cat-subs-next{left:2px}
.cat-subs-prev .icon{transform:rotate(-90deg)}
.cat-subs-next .icon{transform:rotate(90deg)}
.cat-subs-wrap.has-prev .cat-subs-prev{display:flex}
.cat-subs-wrap.has-next .cat-subs-next{display:flex}

/* --- rates card --- */
.fx-card{background:var(--surface);border:1px solid var(--line);border-top:3px solid var(--red);border-radius:var(--radius);margin-top:12px;overflow:hidden}
.fx-card .fx-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 14px;border-bottom:1px solid var(--line);font-family:var(--font-head);font-weight:800;font-size:13.5px;flex-wrap:wrap}
.fx-card .fx-head small{font-size:10.5px;color:var(--muted);font-weight:400;font-variant-numeric:tabular-nums}
.fx-card table{width:100%;border-collapse:collapse;font-size:12.5px}
.fx-card td{padding:8px 14px;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}
.fx-card tr:last-child td{border-bottom:none}
.fx-card td:nth-child(2){text-align:left;font-weight:600}
.fx-card td:last-child{text-align:left;font-size:11.5px;min-width:56px}
.fx-up{color:#0d8043}.fx-down{color:var(--red)}

/* --- latest news list --- */
.latest{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:6px 18px;display:grid;grid-template-columns:1fr 1fr;column-gap:30px}
.latest a{display:flex;gap:11px;padding:11px 0;border-bottom:1px solid var(--line);font-size:13px;font-weight:600;line-height:1.6;align-items:baseline}
.latest a:nth-last-child(-n+2){border-bottom:none}
.latest time{color:var(--red);font-size:11.5px;font-variant-numeric:tabular-nums;flex-shrink:0;font-weight:700}
.latest a:hover{color:var(--red)}

/* --- newsletter --- */
.newsletter{background:var(--red);border-radius:var(--radius);margin-top:44px;padding:30px 34px;display:grid;grid-template-columns:1.2fr 1fr;gap:26px;align-items:center;color:#fff}
.newsletter h2{font-size:22px;font-weight:800;color:#fff;margin-bottom:6px;display:flex;align-items:center;gap:10px}
.newsletter p{font-size:13px;color:#ffd6dc;line-height:1.8}
.nl-form{display:flex;gap:10px}
.nl-form input{flex:1;border:none;border-radius:4px;height:46px;padding:0 16px;font-family:inherit;font-size:14px;outline:none;background:#fff;color:#131316;min-width:0}
.nl-form button{height:46px;background:var(--black-block);color:#fff;border-radius:4px;padding:0 26px;font-family:var(--font-head);font-weight:800;font-size:14px;transition:.2s;line-height:1}
.nl-form button:hover{background:var(--brand-deep);transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.3)}
.nl-form button:active{transform:translateY(0) scale(.98);box-shadow:none}
.nl-note{font-size:11px;color:#ffc2cb;margin-top:8px}
.nl-done{display:none;font-size:14px;font-weight:700;background:rgba(255,255,255,.16);border-radius:4px;padding:13px 16px;text-align:center}
