/* Siyakna newsroom redesign: original editorial styling with a disciplined red/black/white palette. */
:root {
  --news-red: #b80000;
  --news-red-dark: #8f0000;
  --news-ink: #171717;
  --news-muted: #595959;
  --news-rule: #d4d4d4;
  --news-soft: #f2f2f2;
  --news-paper: #fff;
}

html { scroll-behavior: smooth; }
body {
  background: var(--news-paper);
  color: var(--news-ink);
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  line-height: 1.75;
}
a { color: var(--news-red-dark); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid #d99a00;
  outline-offset: 3px;
}

/* Front page masthead */
body > header {
  border-top: 5px solid var(--news-red) !important;
  border-bottom: 1px solid var(--news-ink) !important;
  background: #fff !important;
}
.edition {
  background: #171717;
  color: #f5f5f5 !important;
  border: 0 !important;
  min-height: 39px;
  padding: 5px 12px !important;
}
.edition > span, .edition-brand > span { color: #f5f5f5 !important; }
.edition-brand { gap: 14px !important; }
.edition .theme-toggle {
  background: transparent !important;
  border: 1px solid #777 !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  color: #fff !important;
  margin: 0 !important;
  padding: 4px 9px !important;
}
.top { padding: 16px 0 18px !important; }
.brand {
  color: var(--news-ink);
  font-family: "Aref Ruqaa", "Noto Naskh Arabic", serif !important;
  font-size: clamp(40px, 5vw, 56px) !important;
  font-weight: 700 !important;
  letter-spacing: 0;
  line-height: 1.1 !important;
  padding-right: 17px;
  position: relative;
  text-align: right !important;
}
.brand::before {
  background: var(--news-red);
  content: "";
  height: 38px;
  right: 0;
  position: absolute;
  top: 7px;
  width: 6px;
}
.brand small {
  color: #585858 !important;
  font: 500 12px/1.6 "Noto Sans Arabic", Tahoma, Arial, sans-serif !important;
  letter-spacing: 0;
  margin-top: 5px !important;
}
.desk-nav {
  border-top: 1px solid var(--news-rule) !important;
  border-bottom: 3px solid var(--news-red);
  gap: 0 !important;
  justify-content: flex-start !important;
  padding: 0 !important;
}
.desk-nav a {
  border-left: 1px solid #e4e4e4;
  color: #202020 !important;
  display: block;
  font-size: 13px !important;
  padding: 10px 17px;
  transition: background .15s ease, color .15s ease;
}
.desk-nav a:hover, .desk-nav a:focus-visible {
  background: var(--news-soft);
  color: var(--news-red) !important;
}
.filter-nav {
  justify-content: flex-start !important;
  border: 0 !important;
  gap: 7px !important;
  padding: 11px 0 13px !important;
}
.filter-nav button {
  background: #f2f2f2 !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 2px !important;
  color: #252525 !important;
  font-weight: 600 !important;
  padding: 6px 12px !important;
}
.filter-nav button:hover, .filter-nav button[aria-pressed="true"] {
  background: #222 !important;
  border-color: #222 !important;
  color: #fff !important;
}

/* Lead headline and article grid */
.hero {
  background: #f3f3f3 !important;
  border-bottom: 1px solid var(--news-rule) !important;
  border-top: 4px solid var(--news-red);
  padding: clamp(25px, 4vw, 46px) 0 !important;
}
.eyebrow {
  color: var(--news-red) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}
.hero h1 {
  color: #181818;
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif !important;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.32 !important;
  margin: 12px 0 !important;
}
.hero p { color: #444 !important; font-size: 16px; }
.toolbar input {
  border: 1px solid #858585 !important;
  border-radius: 2px !important;
}
.toolbar button {
  background: var(--news-red) !important;
  border-radius: 2px !important;
}
.toolbar button:hover { background: var(--news-red-dark) !important; }
.notice {
  background: #fff !important;
  border-right: 4px solid var(--news-red) !important;
  color: #444 !important;
}
.section-head {
  align-items: center;
  border-bottom: 2px solid #222 !important;
  border-right: 5px solid var(--news-red);
  margin: 34px 0 14px !important;
  min-height: 43px;
  padding: 0 12px 8px 0 !important;
}
.section-head h2 {
  color: #171717;
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif !important;
  font-size: 22px !important;
  font-weight: 800;
}
.badge { color: #666 !important; }
.cards {
  column-gap: 24px !important;
  border-top: 0 !important;
  row-gap: 0 !important;
}
.card {
  border-bottom: 1px solid var(--news-rule) !important;
  padding: 16px 0 21px !important;
  transition: transform .16s ease;
}
.card:hover { transform: translateY(-2px); }
.card-image img {
  background: #eee;
  aspect-ratio: 16/9 !important;
}
.tag {
  color: var(--news-red) !important;
  display: inline-block;
  font-size: 12px !important;
  font-weight: 800 !important;
  margin-top: 3px;
}
.card h3 {
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 750;
  line-height: 1.55 !important;
  margin: 7px 0 !important;
}
.card h3 a { color: #171717 !important; }
.card h3 a:hover { color: var(--news-red) !important; }
.card p { color: #4b4b4b !important; font-size: 13px !important; }
.meta, .source { color: #6b6b6b !important; }
.lead-story {
  border-bottom: 2px solid #222 !important;
  gap: 25px !important;
  padding: 18px 0 24px !important;
}
.lead-story h3 { font-size: clamp(26px, 3.2vw, 38px) !important; }
.lead-story p { font-size: 15px !important; }
.image-disclosure { color: #777 !important; }

/* Shared article and information-page masthead */
.site-header {
  background: #fff !important;
  border-bottom: 1px solid #222 !important;
  border-top: 5px solid var(--news-red) !important;
  display: block !important;
  padding: 0 clamp(16px, calc((100vw - 1200px)/2), 48px) !important;
}
.site-masthead {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 76px;
  gap: 18px;
}
.site-brand {
  border-right: 6px solid var(--news-red);
  color: #171717 !important;
  font: 700 35px/1.2 "Aref Ruqaa", "Noto Naskh Arabic", serif !important;
  padding-right: 13px;
  text-decoration: none !important;
  white-space: nowrap;
}
.site-tagline { color: #555 !important; font-size: 13px !important; }
.site-nav {
  border-top: 1px solid #ddd;
  border-bottom: 3px solid var(--news-red);
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.site-nav a {
  border-left: 1px solid #e3e3e3;
  color: #222 !important;
  display: block;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  text-decoration: none;
}
.site-nav a:hover { background: #f2f2f2; color: var(--news-red) !important; }
.editorial-page main {
  max-width: 1040px !important;
  margin: 30px auto !important;
  padding: 0 clamp(16px, 3vw, 32px) !important;
}
.editorial-page main > nav {
  color: #666 !important;
  font-size: 13px !important;
  margin: 0 0 20px !important;
  padding-bottom: 12px;
  border-bottom: 1px solid #ddd;
}
.editorial-page article {
  background: #fff !important;
  border: 1px solid #dedede !important;
  border-top: 4px solid var(--news-red) !important;
  border-radius: 0 !important;
  box-shadow: 0 5px 20px #0000000a;
  padding: clamp(22px, 4.5vw, 54px) !important;
}
.editorial-page .meta {
  color: var(--news-red) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}
.editorial-page h1 {
  color: #171717;
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif !important;
  font-size: clamp(32px, 5vw, 48px) !important;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.38 !important;
  margin: 12px 0 18px !important;
}
.editorial-page .dek {
  color: #444 !important;
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif !important;
  font-size: clamp(18px, 2.1vw, 22px) !important;
  line-height: 1.8 !important;
}
.editorial-page .byline {
  background: #f5f5f5;
  border-right: 4px solid var(--news-red) !important;
  color: #555 !important;
  margin: 24px 0 !important;
  padding: 10px 14px !important;
}
.editorial-page .illustration img, .editorial-page img.cover {
  aspect-ratio: 16/9;
  border-radius: 0 !important;
  display: block;
  object-fit: cover;
  width: 100%;
}
.editorial-page figcaption { color: #666 !important; font-size: 12px !important; }
.editorial-page .body h2 {
  border-right: 4px solid var(--news-red);
  color: #171717;
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif !important;
  font-size: 23px !important;
  font-weight: 800;
  line-height: 1.5;
  margin: 34px 0 12px !important;
  padding-right: 12px;
}
.editorial-page .body p { color: #292929; line-height: 2 !important; }
.editorial-page .sources {
  border-top: 2px solid #222 !important;
  margin-top: 38px !important;
  padding-top: 18px !important;
}
.editorial-page .sources h2 { color: #171717; font-size: 21px; }
.editorial-page .sources li { margin: 0 0 11px; line-height: 1.8; }
.editorial-page .related {
  background: #f3f3f3 !important;
  border-right: 4px solid var(--news-red);
  color: #222 !important;
  padding: 15px 18px !important;
}
.editorial-page footer {
  border-top: 1px solid #222 !important;
  color: #555 !important;
  font-size: 13px !important;
  margin: 28px auto !important;
  max-width: 1040px !important;
  padding: 18px clamp(16px, 3vw, 32px) !important;
}
.editorial-page footer a { color: #333 !important; }
.editorial-page h1, .editorial-page h2, .editorial-page h3 { text-wrap: pretty; }

/* Night theme remains legible on pages that already expose the toggle. */
body.night, body.night .editorial-page { background: #111 !important; color: #eee !important; }
body.night .site-header, body.night .site-nav, body.night .editorial-page article,
body.night .editorial-page .byline, body.night .editorial-page .related { background: #1b1b1b !important; color: #eee !important; border-color: #444 !important; }
body.night .site-brand, body.night .editorial-page h1, body.night .editorial-page h2,
body.night .editorial-page .body p, body.night .editorial-page footer a { color: #eee !important; }
body.night .site-tagline, body.night .editorial-page .dek, body.night .editorial-page main > nav,
body.night .editorial-page figcaption { color: #ccc !important; }
body.night .site-nav a { color: #eee !important; border-color: #444; }
body.night .site-nav a:hover { background: #282828; }
body.night .editorial-page footer { border-color: #444 !important; color: #ccc !important; }

@media (max-width: 760px) {
  .wrap { padding-left: 18px !important; padding-right: 18px !important; }
  .desk-nav { justify-content: flex-start !important; overflow-x: auto; flex-wrap: nowrap !important; }
  .desk-nav a { flex: 0 0 auto; padding: 9px 12px; }
  .cards { column-gap: 16px !important; }
  .lead-story { gap: 14px !important; }
  .site-masthead { align-items: flex-start; flex-direction: column; gap: 5px; padding: 13px 0; }
  .site-brand { font-size: 30px !important; }
  .site-tagline { font-size: 11px !important; }
  .site-nav { flex-wrap: nowrap; overflow-x: auto; }
  .site-nav a { flex: 0 0 auto; padding: 9px 12px; }
}
@media (max-width: 480px) {
  .edition { align-items: flex-start; flex-direction: column; gap: 4px; }
  .edition-brand { align-items: flex-start; flex-direction: column; gap: 4px !important; }
  .brand { font-size: 39px !important; }
  .brand::before { height: 30px; }
  .filter-nav { justify-content: flex-start !important; overflow-x: auto; flex-wrap: nowrap !important; }
  .filter-nav button { flex: 0 0 auto; }
  .cards { grid-template-columns: 1fr !important; }
  .lead-story { grid-column: span 1 !important; grid-template-columns: 1fr !important; }
  .lead-story .card-image, .lead-copy { grid-column: 1 !important; grid-row: auto !important; }
  .lead-story h3 { font-size: 27px !important; }
  .hero h1 { font-size: 32px !important; }
  .editorial-page article { padding: 22px 18px !important; }
}

/* Siyakna 2026 newsroom system — polished editorial identity */
:root {
  color-scheme: light;
  --news-red: #bd2635;
  --news-red-dark: #9d1d2c;
  --news-ink: #152136;
  --news-muted: #637086;
  --news-rule: #e2e6ec;
  --news-soft: #f4f6f9;
  --news-paper: #fff;
  --news-navy: #111b2c;
  --news-gold: #d8ad62;
  --news-radius: 14px;
  --news-shadow: 0 18px 50px rgba(20, 31, 49, .09);
}
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { background:#f5f6f8; color:var(--news-ink); font-size:16px; line-height:1.8; }
body, button, input { font-family:"Noto Sans Arabic",Tahoma,Arial,sans-serif; }
a { color:var(--news-red-dark); text-decoration-thickness:1px; text-underline-offset:3px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline:3px solid var(--news-gold); outline-offset:3px; }
::selection { background:#f4d7da; color:#26131a; }

/* Compact utility bar and recognizable calligraphic masthead */
body > header { background:#fff !important; border:0 !important; border-top:4px solid var(--news-red) !important; box-shadow:0 5px 24px rgba(17,27,44,.05); position:relative; z-index:10; }
.edition { align-items:center; background:var(--news-navy); color:#f4f6f9 !important; display:flex; justify-content:space-between; min-height:42px; padding:6px 18px !important; }
.edition-brand { align-items:center; display:flex; gap:14px !important; }
.edition > span,.edition-brand > span { color:#e6eaf0 !important; font-size:12px; letter-spacing:.01em; }
.edition .theme-toggle,.theme-toggle { background:transparent !important; border:1px solid rgba(255,255,255,.28) !important; border-radius:999px !important; box-shadow:none !important; color:#fff !important; cursor:pointer; font-size:12px; margin:0 !important; min-height:34px; padding:4px 12px !important; transition:background .2s ease,border-color .2s ease,transform .2s ease; }
.theme-toggle:hover { background:rgba(255,255,255,.1) !important; border-color:rgba(255,255,255,.65) !important; transform:translateY(-1px); }
.edition-date { color:#bec7d5; font-size:12px; margin-inline-start:auto; }
.top { align-items:center; display:flex; justify-content:flex-start; padding:13px 2px 15px !important; }
.brand { color:var(--news-ink); font-family:"Aref Ruqaa","Noto Naskh Arabic",serif !important; font-size:clamp(46px,5.5vw,64px) !important; font-weight:700 !important; line-height:1.05 !important; padding-right:20px; position:relative; text-align:right !important; }
.brand::before { background:linear-gradient(180deg,var(--news-red),#e3a64c); border-radius:4px; content:""; height:48px; right:0; position:absolute; top:6px; width:6px; }
.brand small { color:#647087 !important; font:500 12px/1.6 "Noto Sans Arabic",Tahoma,Arial,sans-serif !important; margin-top:7px !important; }
.desk-nav { border:0 !important; border-top:1px solid var(--news-rule) !important; border-bottom:1px solid var(--news-rule) !important; gap:2px !important; justify-content:flex-start !important; padding:0 !important; }
.desk-nav a { border:0 !important; border-bottom:3px solid transparent; color:#29374d !important; display:block; font-size:13px !important; font-weight:700; padding:11px 17px 9px; text-decoration:none; transition:color .18s ease,border-color .18s ease,background .18s ease; }
.desk-nav a:hover,.desk-nav a:focus-visible { background:#f8f9fb; border-bottom-color:var(--news-red); color:var(--news-red) !important; }
.filter-nav { border:0 !important; gap:8px !important; justify-content:flex-start !important; padding:12px 0 13px !important; }
.filter-nav button { background:#fff !important; border:1px solid #dfe4eb !important; border-radius:999px !important; color:#334158 !important; cursor:pointer; font-size:13px; font-weight:700 !important; padding:7px 14px !important; transition:all .18s ease; }
.filter-nav button:hover { background:#f5e8ea !important; border-color:#e8c2c7 !important; color:var(--news-red-dark) !important; }
.filter-nav button[aria-pressed="true"] { background:var(--news-navy) !important; border-color:var(--news-navy) !important; color:white !important; }

/* Live-style editorial ribbon: headlines are real articles, no fabricated data */
.news-ribbon { align-items:center; background:#fff; border-bottom:1px solid var(--news-rule); display:flex; min-height:46px; overflow:hidden; }
.news-ribbon-label { align-items:center; align-self:stretch; background:var(--news-red); color:#fff; display:flex; flex:0 0 auto; font-size:12px; font-weight:800; gap:8px; padding:0 16px; }
.news-ribbon-label::before { animation:ribbon-pulse 1.7s infinite; background:#fff; border-radius:50%; content:""; height:7px; width:7px; }
.news-ribbon-window { flex:1; overflow:hidden; }
.news-ribbon-track { align-items:center; animation:ribbon-scroll 38s linear infinite; display:flex; gap:48px; min-width:max-content; padding:0 20px; }
.news-ribbon:hover .news-ribbon-track,.news-ribbon:focus-within .news-ribbon-track { animation-play-state:paused; }
.news-ribbon a { color:#26354b; font-size:13px; font-weight:700; text-decoration:none; }
.news-ribbon a:hover { color:var(--news-red); }
@keyframes ribbon-scroll { from{transform:translateX(0)} to{transform:translateX(50%)} }
@keyframes ribbon-pulse { 50%{opacity:.45;transform:scale(.78)} }

/* Deep, distinctive hero with restrained motion and editorial hierarchy */
.hero { background:radial-gradient(ellipse at 9% 18%,rgba(189,38,53,.18),transparent 31%),radial-gradient(ellipse at 85% 92%,rgba(216,173,98,.16),transparent 26%),linear-gradient(115deg,#101a2b 0%,#17243a 68%,#1d2b42 100%) !important; border:0 !important; color:#fff; overflow:hidden; padding:clamp(38px,6vw,76px) 0 !important; position:relative; }
.hero::after { background:repeating-linear-gradient(135deg,rgba(255,255,255,.035) 0 1px,transparent 1px 13px); content:""; inset:0 57% 0 0; mask-image:linear-gradient(90deg,#000,transparent); pointer-events:none; position:absolute; }
.hero .wrap { position:relative; z-index:1; }
.hero .eyebrow { align-items:center; color:#f1c77d !important; display:flex; font-size:13px !important; font-weight:800 !important; gap:10px; }
.hero .eyebrow::before { background:var(--news-red); content:""; height:2px; width:27px; }
.hero h1 { color:#fff; font-size:clamp(34px,5.3vw,60px) !important; font-weight:850; letter-spacing:-.035em; line-height:1.4 !important; margin:12px 0 15px !important; max-width:800px; }
.hero p { color:#d5dce6 !important; font-size:clamp(15px,1.7vw,18px); line-height:1.95; margin:0 0 25px; max-width:740px; }
.toolbar { display:flex; gap:9px; max-width:610px; }
.toolbar input { background:#fff !important; border:1px solid rgba(255,255,255,.25) !important; border-radius:9px !important; color:#152136; flex:1; min-height:50px; padding:0 16px; }
.toolbar button { background:var(--news-red) !important; border:0; border-radius:9px !important; color:white; cursor:pointer; font-weight:800; min-width:92px; padding:0 18px; transition:background .2s,transform .2s; }
.toolbar button:hover { background:#d23b49 !important; transform:translateY(-1px); }

/* Featured story: strong image, readable text and clear path into the article */
.featured-wrap { margin:30px auto 9px; max-width:1200px; padding:0 clamp(16px,3vw,32px); }
.featured-kicker { align-items:center; color:var(--news-red-dark); display:flex; font-size:12px; font-weight:900; gap:10px; margin:0 0 11px; }
.featured-kicker::after { background:#e8c5c9; content:""; height:1px; flex:1; }
.lead-story { background:#fff; border:1px solid #e5e8ed !important; border-radius:var(--news-radius); box-shadow:var(--news-shadow); display:grid; gap:0 !important; grid-template-columns:minmax(0,1.1fr) minmax(310px,.9fr); overflow:hidden; padding:0 !important; transition:transform .3s ease,box-shadow .3s ease; }
.lead-story:hover { box-shadow:0 24px 60px rgba(20,31,49,.14); transform:translateY(-3px); }
.lead-story .card-image { grid-column:1; grid-row:1; min-height:320px; overflow:hidden; }
.lead-story .card-image img { aspect-ratio:16/10 !important; height:100%; object-fit:cover; transition:transform .65s cubic-bezier(.2,.65,.3,1); width:100%; }
.lead-story:hover .card-image img { transform:scale(1.035); }
.lead-copy { align-content:center; display:grid; grid-column:2; grid-row:1; padding:clamp(23px,4vw,48px); }
.lead-story .tag { color:var(--news-red-dark) !important; font-size:12px !important; font-weight:900 !important; }
.lead-story h3 { font-size:clamp(25px,3vw,37px) !important; line-height:1.55 !important; margin:9px 0 12px !important; }
.lead-story h3 a { color:var(--news-ink) !important; text-decoration:none; }
.lead-story p { color:#59667a !important; font-size:15px !important; line-height:1.9 !important; }
.lead-story .source { border-top:1px solid var(--news-rule); color:#718096 !important; font-size:12px !important; margin-top:12px; padding-top:12px; }
.featured-link { align-items:center; color:var(--news-red-dark); display:inline-flex; font-size:13px; font-weight:900; gap:8px; margin-top:12px; text-decoration:none; }
.featured-link::after { content:"←"; transition:transform .2s ease; }
.featured-link:hover::after { transform:translateX(-4px); }

/* Main listing, category badges and card surfaces */
main.wrap { padding-bottom:36px !important; }
.section-head { align-items:end; border:0 !important; display:flex; justify-content:space-between; margin:42px 0 17px !important; min-height:0; padding:0 13px 12px 0 !important; position:relative; }
.section-head::before { background:linear-gradient(180deg,var(--news-red),#e8a25a); border-radius:3px; content:""; height:35px; position:absolute; right:0; top:1px; width:4px; }
.section-head::after { background:var(--news-ink); bottom:0; content:""; height:1px; left:0; position:absolute; right:0; }
.section-head h2 { color:var(--news-ink); font-size:24px !important; font-weight:900 !important; margin:0 !important; }
.badge { color:#778398 !important; font-size:12px !important; font-weight:700; }
.cards { border:0 !important; column-gap:18px !important; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); row-gap:18px !important; }
.card { background:#fff; border:1px solid #e5e8ed !important; border-radius:12px; box-shadow:0 5px 18px rgba(20,31,49,.035); display:flex; flex-direction:column; min-width:0; overflow:hidden; padding:0 0 17px !important; transition:border-color .22s,box-shadow .22s,transform .22s; }
.card:hover { border-color:#d3dbe5 !important; box-shadow:0 15px 32px rgba(20,31,49,.09); transform:translateY(-4px); }
.card-image { display:block; overflow:hidden; }
.card-image img { aspect-ratio:16/9 !important; display:block; object-fit:cover; transition:transform .45s ease; width:100%; }
.card:hover .card-image img { transform:scale(1.035); }
.card > :not(.card-image) { margin-left:17px; margin-right:17px; }
.card .tag { align-self:flex-start; background:#f8edef; border-radius:999px; color:var(--news-red-dark) !important; font-size:11px !important; font-weight:900 !important; margin-top:14px !important; padding:4px 10px; }
.card h3 { font-size:17px !important; font-weight:850; line-height:1.65 !important; margin-bottom:8px !important; margin-top:8px !important; }
.card h3 a { color:#19263a !important; text-decoration:none; }
.card h3 a:hover { color:var(--news-red-dark) !important; }
.card p { color:#5a667a !important; font-size:13px !important; line-height:1.85 !important; }
.card .source { color:#7d8797 !important; font-size:11px !important; margin-top:auto; padding-top:12px; }
.no-results { background:#fff; border:1px dashed #cbd2dd; border-radius:12px; color:#66738a; padding:22px; text-align:center; }
.image-disclosure { color:#7a8597 !important; font-size:12px !important; margin:20px 0 5px; text-align:center; }

/* Official Gazette section as a useful reader destination, not a detached footer box */
.official-gazette { background:linear-gradient(135deg,#fff 0%,#f8f5ef 100%) !important; border:1px solid #e6e1d7 !important; border-radius:16px !important; box-shadow:0 12px 35px rgba(20,31,49,.06); margin:43px 0 15px !important; overflow:hidden; padding:clamp(20px,3vw,32px) !important; position:relative; }
.official-gazette::before { background:linear-gradient(180deg,var(--news-gold),var(--news-red)); content:""; inset:0 auto 0 0; position:absolute; width:4px; }
.gazette-kicker { color:#9a6d25 !important; font-size:12px !important; font-weight:900; letter-spacing:.03em; }
.official-gazette h2 { color:var(--news-ink); font-size:clamp(23px,3vw,30px); margin:5px 0 5px; }
.official-gazette p { color:#626e7f; font-size:14px; margin:0; }
.gazette-seal { background:#fff; border:1px solid #e7dcc5; border-radius:10px; color:#816329; display:grid; min-width:155px; padding:12px; text-align:center; }
.gazette-resources { gap:12px !important; margin-top:20px; }
.gazette-resource { background:#fff; border:1px solid #e5e8ed; border-radius:10px; color:var(--news-ink) !important; min-height:76px; padding:13px !important; text-decoration:none; transition:border-color .2s,transform .2s,box-shadow .2s; }
.gazette-resource:hover { border-color:#d7b979; box-shadow:0 8px 22px rgba(20,31,49,.08); transform:translateY(-2px); }

/* Editorial trust strip and full-width footer */
.editorial-trust { align-items:center; background:#eaf0f5; border:1px solid #dce4ec; border-radius:12px; color:#304057; display:flex; flex-wrap:wrap; gap:8px 20px; margin:28px 0 0; padding:17px 20px; }
.editorial-trust strong { color:var(--news-ink); font-size:13px; }
.editorial-trust span { color:#69778b; font-size:12px; }
body > footer { background:var(--news-navy); color:#c6cfdb; margin-top:28px; padding:22px 0 !important; }
body > footer .wrap { align-items:center; display:flex; flex-wrap:wrap; gap:14px 28px; justify-content:space-between; }
body > footer a { color:#f3f5f8 !important; text-decoration:none; }
body > footer a:hover { color:#f0c77d !important; }

/* Article reading experience: comfortable measure, controls, progress and contents */
.reading-progress { background:linear-gradient(90deg,var(--news-red),#e5b15f); height:3px; left:0; position:fixed; top:0; transform:scaleX(0); transform-origin:right center; transition:transform .08s linear; width:100%; z-index:100; }
.site-header { background:rgba(255,255,255,.96) !important; border:0 !important; border-top:4px solid var(--news-red) !important; box-shadow:0 5px 22px rgba(17,27,44,.05); padding:0 clamp(16px,calc((100vw - 1200px)/2),48px) !important; position:relative; z-index:5; }
.site-masthead { min-height:76px; }
.site-brand { border:0 !important; color:var(--news-ink) !important; font-family:"Aref Ruqaa","Noto Naskh Arabic",serif !important; font-size:38px !important; padding:0 18px 0 0 !important; position:relative; text-decoration:none !important; }
.site-brand::before { background:linear-gradient(180deg,var(--news-red),#e3a64c); border-radius:4px; content:""; height:38px; position:absolute; right:0; top:2px; width:5px; }
.site-tagline { color:#69768b !important; font-size:12px !important; margin-inline-start:auto; }
.site-masthead .theme-toggle { background:var(--news-navy) !important; border-color:var(--news-navy) !important; flex:0 0 auto; }
.site-nav { border:0 !important; border-top:1px solid var(--news-rule) !important; border-bottom:1px solid var(--news-rule) !important; }
.site-nav a { border:0; border-bottom:3px solid transparent; color:#2d3a50 !important; padding:10px 16px 8px; text-decoration:none; transition:all .18s ease; }
.site-nav a:hover { background:#f8f9fb; border-bottom-color:var(--news-red); color:var(--news-red) !important; }
.editorial-page { background:#f5f6f8; }
.editorial-page main { margin:30px auto !important; max-width:940px !important; }
.editorial-page main > nav { color:#768196 !important; font-size:12px !important; margin-bottom:16px !important; }
.editorial-page article { background:#fff !important; border:1px solid #e4e8ee !important; border-radius:16px !important; box-shadow:var(--news-shadow); padding:clamp(24px,5vw,58px) !important; }
.editorial-page .meta { color:var(--news-red-dark) !important; display:flex; flex-wrap:wrap; font-size:12px !important; font-weight:900 !important; gap:8px 14px; }
.reading-time { color:#778398; font-size:12px; font-weight:700; }
.editorial-page h1 { color:var(--news-ink); font-size:clamp(31px,5vw,49px) !important; font-weight:900; line-height:1.5 !important; margin:12px 0 17px !important; }
.editorial-page .dek { color:#59667a !important; font-size:clamp(17px,2vw,21px) !important; line-height:1.95 !important; }
.editorial-page .byline { background:#f4f6f9 !important; border-right:3px solid var(--news-red) !important; border-radius:0 9px 9px 0; color:#5e6a7d !important; font-size:13px; margin:20px 0 13px !important; padding:11px 14px !important; }
.article-tools { align-items:center; border-bottom:1px solid var(--news-rule); border-top:1px solid var(--news-rule); display:flex; flex-wrap:wrap; gap:8px; margin:0 0 20px; padding:10px 0; }
.article-tools-label { color:#758196; font-size:12px; font-weight:700; margin-inline-end:auto; }
.article-tool { align-items:center; background:#fff; border:1px solid #e1e5eb; border-radius:8px; color:#334158; cursor:pointer; display:inline-flex; font:700 12px "Noto Sans Arabic",Tahoma,sans-serif; gap:6px; min-height:36px; padding:5px 10px; transition:background .18s,border-color .18s,color .18s; }
.article-tool:hover { background:#f7eef0; border-color:#e9c6ca; color:var(--news-red-dark); }
.article-tools .tool-group { align-items:center; display:flex; gap:5px; }
.article-tools .font-size-value { color:#657187; font-size:12px; min-width:32px; text-align:center; }
.article-toc { background:#f5f7fa; border:1px solid #e5e9ef; border-right:3px solid var(--news-red); border-radius:10px; margin:20px 0 24px; padding:15px 18px; }
.article-toc summary { color:var(--news-ink); cursor:pointer; font-size:14px; font-weight:900; }
.article-toc ol { display:grid; gap:8px; margin:12px 0 0; padding:0 20px 0 0; }
.article-toc a { color:#526078; font-size:13px; text-decoration:none; }
.article-toc a:hover { color:var(--news-red-dark); text-decoration:underline; }
.editorial-page .illustration img,.editorial-page img.cover { aspect-ratio:16/9; border-radius:12px !important; }
.editorial-page figcaption { color:#788397 !important; font-size:12px !important; padding-top:7px; }
.editorial-page .body { font-size:17px; }
.editorial-page .body h2 { border:0; border-right:4px solid var(--news-red); color:var(--news-ink); font-size:23px !important; margin:36px 0 13px !important; padding-right:13px; scroll-margin-top:22px; }
.editorial-page .body p { color:#2f3b4e; font-size:17px; line-height:2.05 !important; margin:0 0 17px; }
.editorial-page .body ul,.editorial-page .body ol { line-height:2; }
.editorial-page .body a { font-weight:700; }
.editorial-page .sources { background:#f7f8fa; border:1px solid #e3e7ed !important; border-radius:12px; margin-top:42px !important; padding:18px 20px !important; }
.editorial-page .sources h2 { color:var(--news-ink); font-size:20px; }
.editorial-page .sources li { color:#46536a; font-size:14px; margin:0 0 10px; }
.editorial-page .related { background:#f7f1e7 !important; border-right:3px solid #d8ad62; border-radius:0 10px 10px 0; color:#344056 !important; padding:15px 18px !important; }
.editorial-page footer { border-top:1px solid var(--news-rule) !important; color:#758196 !important; margin:24px auto !important; max-width:940px !important; }
.editorial-page footer a { color:#39465b !important; }
.site-nav a, .desk-nav a, .card, .gazette-resource, .article-tool { -webkit-tap-highlight-color:transparent; }
.back-to-top { align-items:center; background:var(--news-navy); border:0; border-radius:50%; bottom:22px; box-shadow:0 8px 25px #111b2c30; color:#fff; cursor:pointer; display:grid; height:44px; opacity:0; pointer-events:none; position:fixed; right:20px; transform:translateY(8px); transition:opacity .2s,transform .2s; width:44px; z-index:20; }
.back-to-top.is-visible { opacity:1; pointer-events:auto; transform:translateY(0); }
.reader-toast { background:var(--news-navy); border-radius:9px; bottom:24px; color:#fff; font-size:13px; left:50%; opacity:0; padding:10px 15px; pointer-events:none; position:fixed; transform:translate(-50%,8px); transition:opacity .2s,transform .2s; z-index:100; }
.reader-toast.is-visible { opacity:1; transform:translate(-50%,0); }

/* Night reading mode persists across the home page and every article */
body.night,body.night.editorial-page { background:#0e1420 !important; color:#e8edf4 !important; }
body.night > header,body.night .site-header { background:#131c2b !important; border-color:#283447 !important; }
body.night .top,body.night .desk-nav,body.night .filter-nav,body.night .site-nav { background:#131c2b; border-color:#283447 !important; }
body.night .brand,body.night .site-brand,body.night .section-head h2,body.night .card h3 a,body.night .official-gazette h2,body.night .editorial-trust strong { color:#eef2f7 !important; }
body.night .brand small,body.night .site-tagline { color:#aab5c5 !important; }
body.night .desk-nav a,body.night .site-nav a { color:#d9e0ea !important; }
body.night .desk-nav a:hover,body.night .site-nav a:hover { background:#1b2638; }
body.night .filter-nav button,body.night .card,body.night .lead-story,body.night .featured-card,
body.night .article-toc,body.night .article-tool,body.night .official-gazette,body.night .gazette-resource,
body.night .editorial-trust,body.night .editorial-page article,body.night .editorial-page .byline,
body.night .editorial-page .sources,body.night .editorial-page .related { background:#151f2f !important; border-color:#2d3a4e !important; color:#e5ebf3 !important; }
body.night .filter-nav button[aria-pressed="true"] { background:#bd2635 !important; border-color:#bd2635 !important; }
body.night .hero { background:radial-gradient(ellipse at 9% 18%,rgba(189,38,53,.17),transparent 31%),linear-gradient(115deg,#101827,#172238) !important; }
body.night .news-ribbon { background:#141e2d; border-color:#29364a; }
body.night .news-ribbon a,body.night .card h3 a { color:#e8edf4 !important; }
body.night .lead-story p,body.night .card p,body.night .editorial-page .body p,body.night .editorial-page .dek,
body.night .editorial-page .sources li,body.night .editorial-page main > nav,body.night .editorial-page figcaption,
body.night .article-tools-label,body.night .article-toc a,body.night .gazette-resource { color:#b8c3d2 !important; }
body.night .section-head::after,body.night .editorial-page .sources { border-color:#354257 !important; }
body.night > footer { background:#090e17; }
body.night .notice { background:#151f2f !important; color:#dce3ed !important; }

/* Subtle reveal, never hiding content when motion is reduced or scripting is off */
.reveal-ready .reveal-on-scroll { opacity:0; transform:translateY(14px); transition:opacity .55s ease,transform .55s cubic-bezier(.2,.65,.3,1); }
.reveal-ready .reveal-on-scroll.is-in-view { opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; scroll-behavior:auto !important; transition-duration:.01ms !important; }
  .reveal-ready .reveal-on-scroll { opacity:1; transform:none; }
}
@media (max-width:900px) {
  .cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .lead-story { grid-template-columns:1fr 1fr; }
  .lead-story .card-image { min-height:285px; }
  .lead-copy { padding:24px; }
}
@media (max-width:700px) {
  .wrap { padding-left:16px !important; padding-right:16px !important; }
  .edition { align-items:flex-start; flex-wrap:wrap; gap:6px 12px; padding:7px 12px !important; }
  .edition-brand { gap:8px !important; }
  .edition-date { font-size:11px; }
  .top { padding:11px 0 13px !important; }
  .brand { font-size:47px !important; }
  .brand::before { height:38px; }
  .desk-nav { flex-wrap:nowrap !important; overflow-x:auto; scrollbar-width:thin; }
  .desk-nav a { flex:0 0 auto; padding:10px 13px; }
  .filter-nav { flex-wrap:nowrap !important; overflow-x:auto; scrollbar-width:none; }
  .filter-nav button { flex:0 0 auto; }
  .hero { padding:35px 0 !important; }
  .hero h1 { font-size:35px !important; }
  .news-ribbon-label { padding:0 11px; }
  .news-ribbon-track { gap:30px; }
  .featured-wrap { margin-top:22px; padding:0 15px; }
  .lead-story { grid-template-columns:1fr; }
  .lead-story .card-image { grid-column:1; grid-row:1; min-height:0; }
  .lead-copy { grid-column:1; grid-row:2; padding:20px; }
  .lead-story h3 { font-size:27px !important; }
  .section-head { margin-top:32px !important; }
  .section-head h2 { font-size:21px !important; }
  .cards { gap:12px !important; }
  .card > :not(.card-image) { margin-left:13px; margin-right:13px; }
  .card .tag { margin-top:10px !important; }
  .card h3 { font-size:15px !important; }
  .card p { font-size:12px !important; }
  .site-header { padding:0 15px !important; }
  .site-masthead { align-items:center; flex-direction:row; flex-wrap:wrap; gap:5px 12px; padding:10px 0; }
  .site-brand { font-size:32px !important; }
  .site-tagline { flex:1 1 100%; font-size:11px !important; margin:0; }
  .site-masthead .theme-toggle { font-size:11px; min-height:32px; margin-inline-start:auto; }
  .site-nav { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; }
  .site-nav a { flex:0 0 auto; padding:9px 12px 7px; }
  .editorial-page main { margin:18px auto !important; padding:0 14px !important; }
  .editorial-page article { border-radius:12px !important; padding:22px 17px !important; }
  .editorial-page h1 { font-size:31px !important; }
  .editorial-page .body p { font-size:16px; }
  .article-tools-label { flex:1 0 100%; }
  .official-gazette { margin-top:30px !important; }
}
@media (max-width:470px) {
  .edition { align-items:flex-start; flex-direction:column; }
  .edition-brand { flex-wrap:wrap; }
  .toolbar { flex-wrap:wrap; }
  .toolbar input { min-width:0; width:100%; }
  .toolbar button { min-height:46px; width:100%; }
  .cards { grid-template-columns:1fr !important; }
  .card h3 { font-size:18px !important; }
  .card p { font-size:13px !important; }
  .editorial-page h1 { font-size:28px !important; }
}
/* Explicit grid lines keep the promoted story balanced outside the article grid. */
.featured-wrap .lead-story { grid-template-columns:minmax(0,1.1fr) minmax(330px,.9fr) !important; }
.featured-wrap .lead-story > .card-image { grid-column:1 / 2 !important; grid-row:1 / 2 !important; height:100%; margin:0 !important; min-height:320px; min-width:0; }
.featured-wrap .lead-story > .card-image img { aspect-ratio:unset !important; height:100%; min-height:320px; object-fit:cover; width:100%; }
.featured-wrap .lead-story > .lead-copy { grid-column:2 / 3 !important; grid-row:1 / 2 !important; margin:0 !important; min-width:0; }
@media(max-width:700px) {
  .featured-wrap .lead-story { grid-template-columns:minmax(0,1fr) !important; }
  .featured-wrap .lead-story > .card-image { grid-column:1 / 2 !important; grid-row:1 / 2 !important; min-height:0; }
  .featured-wrap .lead-story > .card-image img { aspect-ratio:16/10 !important; height:auto; min-height:0; }
  .featured-wrap .lead-story > .lead-copy { grid-column:1 / 2 !important; grid-row:2 / 3 !important; }
}
.featured-wrap .lead-story { align-items:stretch !important; display:flex !important; flex-direction:row !important; }
.featured-wrap .lead-story > .card-image { flex:0 0 55% !important; width:55% !important; }
.featured-wrap .lead-story > .lead-copy { align-content:center; flex:1 1 auto !important; width:auto !important; }
@media(max-width:700px) {
  .featured-wrap .lead-story { flex-direction:column !important; }
  .featured-wrap .lead-story > .card-image { flex:0 0 auto !important; width:100% !important; }
  .featured-wrap .lead-story > .lead-copy { flex:1 1 auto !important; width:auto !important; }
}
/* Content must remain visible after browser back/forward cache restores. */
.reveal-ready .reveal-on-scroll { opacity:1 !important; transform:none !important; }
.reveal-ready .reveal-on-scroll.is-in-view { opacity:1 !important; transform:none !important; }
