/**
 * v2.css — Qurum.net public site design system (concept2)
 * Fonts: DM Serif Display · DM Sans · Noto Kufi Arabic
 */

/* ─── Variables ─────────────────────────────────────────── */
:root {
  --white:   #ffffff;
  --off:     #F8F7F5;
  --border:  #E8E6E2;
  --border2: #D4D0CA;
  --ink:     #111111;
  --ink2:    #333333;
  --muted:   #888888;
  --faint:   #BBBBBB;
  --blue:    #003580;
  --blue2:   #0047B3;
  --gold:    #C9A84C;
  --green:   #007A5E;
  --red:     #CC2200;
}

/* ─── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* ─── Utility Bar ───────────────────────────────────────── */
.util-bar {
  background: var(--blue);
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 34px;
}
.util-date { font-size: 11px; color: rgba(255,255,255,0.6); letter-spacing: 0.04em; }
.util-right { display: flex; gap: 1.5rem; align-items: center; }
.util-link {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color .2s;
}
.util-link:hover { color: #fff; }
.util-lang {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 2px 10px;
  cursor: pointer;
  background: none;
  text-decoration: none;
  font-family: inherit;
  transition: background .2s, color .2s;
}
.util-lang:hover { background: var(--gold); color: var(--ink); }

/* ─── Masthead ──────────────────────────────────────────── */
.masthead {
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 2rem;
}
.masthead-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo-block { display: flex; align-items: baseline; gap: 12px; cursor: pointer; }
.logo-en {
  font-family: 'DM Serif Display', serif;
  font-size: 2.8rem;
  color: var(--blue);
  letter-spacing: -0.03em;
  line-height: 1;
}
.logo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); display: inline-block; margin: 0 4px 4px; }
.logo-ar {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 500;
}
.masthead-search {
  flex: 1;
  max-width: 400px;
  display: flex;
  border: 1.5px solid var(--border2);
  overflow: hidden;
}
.masthead-search input {
  flex: 1;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border: none;
  outline: none;
  font-family: inherit;
  background: var(--off);
}
.masthead-search button {
  padding: 0 1rem;
  background: var(--blue);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-family: inherit;
  transition: background .2s;
}
.masthead-search button:hover { background: var(--blue2); }
.masthead-ad {
  width: 300px; height: 60px;
  background: #f0f4ff;
  border: 2px dashed #a0b0d0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #6680aa; letter-spacing: 0.08em;
  flex-shrink: 0; border-radius: 4px;
}

/* ─── Breaking Ticker ───────────────────────────────────── */
.ticker {
  background: var(--off);
  border-bottom: 1px solid var(--border);
  height: 34px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ticker-badge {
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 6px;
  white-space: nowrap;
}
.ticker-badge::before { content: '●'; animation: blink 1.2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.ticker-content { overflow: hidden; flex: 1; }
.ticker-scroll { display: flex; animation: scroll 40s linear infinite; white-space: nowrap; }
.ticker-scroll:hover { animation-play-state: paused; }
.ticker-story {
  font-size: 11.5px;
  color: var(--ink2);
  padding: 0 40px;
  font-weight: 400;
  cursor: pointer;
  transition: color .2s;
}
.ticker-story:hover { color: var(--blue); }
.ticker-story::before { content: '▸'; color: var(--gold); margin-right: 8px; }
@keyframes scroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ─── Sticky Nav ────────────────────────────────────────── */
nav {
  background: var(--white);
  border-bottom: 3px solid var(--blue);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }
.nav-item {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink2);
  text-decoration: none;
  padding: 0 1.2rem;
  height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: all .2s;
  white-space: nowrap;
  cursor: pointer;
}
.nav-item:hover { color: var(--blue); border-bottom-color: var(--blue); }
.nav-item.active { color: var(--blue); border-bottom-color: var(--gold); font-weight: 700; }
.nav-space { flex: 1; }
.nav-trending {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  padding: 0 1.2rem;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
}
.nav-trending::before { content: '🔥'; font-size: 12px; }

/* ─── Markets Strip ─────────────────────────────────────── */
.markets-strip {
  background: var(--ink);
  padding: 0.8rem 2rem;
  display: flex;
  gap: 3rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.markets-strip::-webkit-scrollbar { display: none; }
.market-item { display: flex; flex-direction: column; align-items: center; gap: 2px; flex-shrink: 0; }
.market-name { font-size: 9px; font-weight: 700; letter-spacing: .1em; color: rgba(255,255,255,.45); text-transform: uppercase; }
.market-val { font-size: 14px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.market-chg { font-size: 10px; font-weight: 600; }
.market-chg.up   { color: #4CAF50; }
.market-chg.down { color: #F44336; }
.market-chg.flat { color: rgba(255,255,255,.3); }
.market-disclaimer { align-items: flex-start !important; margin-left: auto; flex-shrink: 0; }
.market-disclaimer .market-val { font-size: 9px !important; color: rgba(255,255,255,0.35) !important; line-height: 1.4; }
.market-disclaimer .market-val a { color: var(--gold); }

/* ─── Hero Layout ───────────────────────────────────────── */
.hero-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
}

/* ─── Featured Section ──────────────────────────────────── */
.featured { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.featured-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .2s;
}
.featured-main:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.featured-main-img {
  min-height: 280px;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: rgba(255,255,255,0.3);
  overflow: hidden;
  position: relative;
}
.featured-main-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.featured-main-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.feat-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: var(--blue);
  color: #fff;
  margin-bottom: 0.8rem;
}
.feat-badge.gold  { background: var(--gold);  color: var(--ink); }
.feat-badge.green { background: var(--green); color: #fff; }
.feat-badge.red   { background: var(--red);   color: #fff; }
.feat-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.feat-title-ar {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 1rem;
  color: var(--muted);
  direction: rtl;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}
.feat-excerpt { font-size: 0.88rem; color: var(--muted); line-height: 1.7; margin-bottom: 1rem; }
.feat-meta    { font-size: 11px; color: var(--faint); }
.feat-source  { color: var(--blue); font-weight: 600; }

/* ─── Sub-Features ──────────────────────────────────────── */
.sub-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.sub-card {
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .2s;
}
.sub-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.sub-card-img {
  height: 140px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: rgba(255,255,255,0.3);
  overflow: hidden;
  position: relative;
}
.sub-card-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.sub-card-body { padding: 1rem; }
.sub-title     { font-family: 'DM Serif Display', serif; font-size: 1rem; color: var(--ink); line-height: 1.3; margin-bottom: .3rem; }
.sub-title-ar  { font-family: 'Noto Kufi Arabic', sans-serif; font-size: .78rem; color: var(--muted); direction: rtl; line-height: 1.5; margin-bottom: .3rem; }
.sub-meta      { font-size: 10px; color: var(--faint); }
.sub-source    { color: var(--blue); font-weight: 600; }

/* ─── Right Sidebar ─────────────────────────────────────── */
.rsb-section { margin-bottom: 1.5rem; }
.rsb-head {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--blue);
  padding: 6px 12px;
}
.rsb-item {
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-top: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0.7rem;
  align-items: start;
  transition: background .15s;
}
.rsb-item:hover { background: var(--off); }
.rsb-img {
  height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  overflow: hidden;
  flex-shrink: 0;
}
.rsb-img img { width: 60px; height: 44px; object-fit: cover; }
.rsb-title { font-size: 0.8rem; font-weight: 500; color: var(--ink2); line-height: 1.35; margin-bottom: .2rem; }
.rsb-meta  { font-size: 9px; color: var(--faint); }
.rsb-rank  { font-size: 9px; color: var(--blue); font-weight: 700; }

/* ─── Newsletter Box ────────────────────────────────────── */
.newsletter-box { background: var(--blue); padding: 2rem; color: #fff; }
.nl-title  { font-family: 'DM Serif Display', serif; font-size: 1.4rem; color: #fff; margin-bottom: .4rem; }
.nl-sub    { font-size: .82rem; color: rgba(255,255,255,.65); margin-bottom: 1rem; line-height: 1.5; }
.nl-form   { display: flex; gap: .5rem; }
.nl-input  { flex: 1; padding: .6rem .8rem; border: none; font-size: .85rem; font-family: inherit; outline: none; min-width: 0; }
.nl-btn    { padding: .6rem 1.2rem; background: var(--gold); color: var(--ink); font-size: .82rem; font-weight: 700; border: none; cursor: pointer; font-family: inherit; white-space: nowrap; transition: opacity .2s; }
.nl-btn:hover    { opacity: 0.9; }
.nl-btn:disabled { opacity: 0.6; cursor: default; }

/* ─── Main Content Area (Index) ─────────────────────────── */
.content-area {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
}

/* ─── Section Heading ───────────────────────────────────── */
.sec-head {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}
.sec-head-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--blue);
  padding: 4px 14px;
  text-transform: uppercase;
  margin-right: 12px;
  white-space: nowrap;
}
.sec-head-ar {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 500;
}
.sec-head-space { flex: 1; }
.sec-head-more  { font-size: 11px; font-weight: 600; color: var(--blue); text-decoration: none; white-space: nowrap; }
.sec-head-more:hover { text-decoration: underline; }

/* ─── Article List (Feed) ───────────────────────────────── */
.article-list { display: flex; flex-direction: column; gap: 0; }
.al-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .15s;
}
.al-item:hover { background: var(--off); margin: 0 -0.75rem; padding: 1rem 0.75rem; }
.al-item-img {
  height: 80px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  overflow: hidden;
}
.al-item-img img { width: 120px; height: 80px; object-fit: cover; }
.al-badge { font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 2px 6px; margin-bottom: .4rem; display: inline-block; }
.al-title    { font-family: 'DM Serif Display', serif; font-size: 1rem; color: var(--ink); line-height: 1.3; margin-bottom: .3rem; }
.al-title-ar { font-family: 'Noto Kufi Arabic', sans-serif; font-size: .78rem; color: var(--muted); direction: rtl; line-height: 1.5; margin-bottom: .3rem; }
.al-meta     { font-size: 10px; color: var(--faint); }

/* ─── Categories sidebar list ───────────────────────────── */
.cat-sidebar-list { display: flex; flex-direction: column; gap: .4rem; }
.cat-sidebar-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem .8rem;
  background: var(--off);
  font-size: .85rem;
  cursor: pointer;
  transition: background .15s;
  text-decoration: none;
  color: var(--ink);
}
.cat-sidebar-item:hover { background: var(--border); }
.cat-sidebar-count { font-size: 10px; color: var(--muted); }

/* ─── Ad Placeholders ───────────────────────────────────── */
.ad-slot {
  background: #f0f4ff;
  border: 2px dashed #a0b0d0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #6680aa; letter-spacing: 0.08em;
  text-align: center; border-radius: 4px;
}

/* ─── Article Page ──────────────────────────────────────── */
.article-page-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
}
.article-breadcrumb {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  display: flex;
  gap: 6px;
  align-items: center;
}
.article-breadcrumb a { color: var(--muted); transition: color .2s; }
.article-breadcrumb a:hover { color: var(--blue); }
.article-breadcrumb .sep { opacity: 0.4; }
.article-cat-badge { display: inline-block; margin-bottom: 1rem; }
.article-title-en {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.article-title-ar {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 1.3rem;
  color: var(--muted);
  direction: rtl;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.article-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.article-meta .source-link { color: var(--blue); font-weight: 600; text-decoration: none; }
.article-meta .source-link:hover { text-decoration: underline; }
.article-meta .sep { opacity: 0.4; }
.article-hero-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: 2rem;
}
.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink2);
  margin-bottom: 2rem;
}
.article-body p { margin-bottom: 1.2em; }
.article-body h2 { font-family: 'DM Serif Display', serif; font-size: 1.4rem; margin: 1.5em 0 0.5em; color: var(--ink); }
.article-body h3 { font-family: 'DM Serif Display', serif; font-size: 1.2rem; margin: 1.2em 0 0.4em; color: var(--ink); }
.article-body ul, .article-body ol { padding-left: 1.5em; margin-bottom: 1.2em; }
.article-body li { margin-bottom: 0.4em; }
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 0.8rem 1.2rem;
  margin: 1.5em 0;
  background: var(--off);
  font-style: italic;
  color: var(--muted);
}
.article-body-ar {
  font-family: 'Noto Kufi Arabic', sans-serif;
  direction: rtl;
  font-size: 1.05rem;
  line-height: 2;
  color: var(--ink2);
}
.article-body-ar p { margin-bottom: 1.2em; }
/* Language toggle — single contextual button */
.lang-switch-bar {
  margin: 1.5rem 0 1.75rem;
}
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--off);
  border: 1.5px solid var(--border2);
  color: var(--blue);
  cursor: pointer;
  border-radius: 4px;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s;
}
.lang-switch-btn:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--blue);
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}
.article-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 2rem; }
.article-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  background: var(--off);
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
}
.article-tag:hover { background: var(--border); color: var(--ink); }
.share-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.share-label { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.share-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border: 1.5px solid var(--border2);
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink2);
  transition: all .2s;
}
.share-btn:hover { border-color: var(--blue); color: var(--blue); }
.share-btn.copy-done { border-color: var(--green); color: var(--green); }
.related-section { margin-top: 2.5rem; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 1rem; }

/* ─── Category / Search Page ────────────────────────────── */
.page-header {
  background: var(--blue);
  padding: 2rem 2rem 1.5rem;
  color: #fff;
}
.page-header-inner { max-width: 1280px; margin: 0 auto; }
.page-header-label { font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.page-header-title { font-family: 'DM Serif Display', serif; font-size: 2.4rem; color: #fff; line-height: 1.1; margin-bottom: 0.3rem; }
.page-header-ar    { font-family: 'Noto Kufi Arabic', sans-serif; font-size: 1.2rem; color: rgba(255,255,255,0.65); direction: rtl; }
.page-header-count { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-top: 0.6rem; }
.cat-page-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.grid-card {
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .2s;
}
.grid-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.grid-card-img {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: rgba(255,255,255,0.3);
  overflow: hidden;
  position: relative;
}
.grid-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.grid-card-body { padding: 1rem; }
.grid-card-title    { font-family: 'DM Serif Display', serif; font-size: 1.05rem; color: var(--ink); line-height: 1.3; margin-bottom: .3rem; }
.grid-card-title-ar { font-family: 'Noto Kufi Arabic', sans-serif; font-size: .78rem; color: var(--muted); direction: rtl; line-height: 1.5; margin-bottom: .3rem; }
.grid-card-meta     { font-size: 10px; color: var(--faint); }
.pagination {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.page-btn {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border: 1.5px solid var(--border2);
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink2);
  transition: all .2s;
}
.page-btn:hover, .page-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.page-btn:disabled { opacity: 0.4; cursor: default; }

/* ─── Search Page ───────────────────────────────────────── */
.search-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 2rem 3rem;
}
.search-box-row {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--border2);
  overflow: hidden;
  max-width: 640px;
  margin-bottom: 2rem;
}
.search-box-row input {
  flex: 1;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  border: none;
  outline: none;
  font-family: inherit;
  background: var(--off);
}
.search-box-row button {
  padding: 0 1.4rem;
  background: var(--blue);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  transition: background .2s;
}
.search-box-row button:hover { background: var(--blue2); }
.search-count { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.5rem; }
.search-empty { text-align: center; padding: 4rem 0; color: var(--muted); font-size: 1rem; }

/* ─── Footer ────────────────────────────────────────────── */
footer { background: var(--ink); color: rgba(255,255,255,.5); padding: 3rem 2rem 1.5rem; }
.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}
.f-logo    { font-family: 'DM Serif Display', serif; font-size: 2rem; color: #fff; margin-bottom: .5rem; }
.f-tagline { font-size: .82rem; line-height: 1.6; color: rgba(255,255,255,.35); }
.f-col-title { font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }
.f-links { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.f-links a { font-size: .82rem; color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s; }
.f-links a:hover { color: #fff; }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  font-size: .75rem;
  color: rgba(255,255,255,.25);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─── Skeleton Loading ──────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
  border-radius: 2px;
}

/* ─── RTL / Arabic mode ─────────────────────────────────── */
body.lang-ar .feat-title    { display: none; }
body.lang-ar .feat-title-ar { font-size: 1.4rem; color: var(--ink); font-weight: 600; }
body.lang-ar .sub-title     { display: none; }
body.lang-ar .sub-title-ar  { font-size: 0.95rem; color: var(--ink); font-weight: 500; }
body.lang-ar .al-title      { display: none; }
body.lang-ar .al-title-ar   { font-size: 0.95rem; color: var(--ink); }
body.lang-ar .article-title-en { font-size: 1.4rem; color: var(--muted); }
body.lang-ar .article-title-ar { font-size: 2rem; color: var(--ink); font-weight: 600; }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-wrap    { grid-template-columns: 1fr; }
  .content-area { grid-template-columns: 1fr; }
  .article-page-wrap { grid-template-columns: 1fr; }
  .cat-page-wrap { grid-template-columns: 1fr; }
  .footer-top   { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .masthead-inner { flex-wrap: wrap; }
  .masthead-ad    { display: none; }
  .masthead-search { max-width: 100%; order: 3; flex: 1 1 100%; }
  .util-date      { display: none; }
  .featured-main  { grid-template-columns: 1fr; }
  .sub-features   { grid-template-columns: 1fr; }
  .articles-grid  { grid-template-columns: 1fr; }
  .related-grid   { grid-template-columns: 1fr; }
  .footer-top     { grid-template-columns: 1fr; }
  .article-title-en { font-size: 1.7rem; }
  .page-header-title { font-size: 1.8rem; }
}
@media (max-width: 480px) {
  .util-bar  { padding: 0 1rem; }
  .masthead  { padding: 1rem; }
  .hero-wrap { padding: 1rem; }
  .content-area { padding: 0 1rem 2rem; }
  .cat-page-wrap { padding: 1rem 1rem 2rem; }
  .article-page-wrap { padding: 1rem 1rem 2rem; }
  .markets-strip { padding: 0.6rem 1rem; gap: 2rem; }
  .footer-top { padding: 0 1rem; }
  footer { padding: 2rem 1rem 1rem; }
}
