:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f4f4f5;
  --dark-band: #141414;
  --dark-card: #1e1e1e;
  --text: #111111;
  --text-muted: #444444;
  --text-soft: #6b7280;
  --border: #e5e7eb;
  --gold: #fa9000;
  --gold-dark: #d97706;
  --live: #d92027;
  --max-w: 1280px;
}

[data-theme='dark'] {
  --bg: #0e1014;
  --surface: #15181e;
  --surface-2: #1d212a;
  --dark-band: #08090c;
  --dark-card: #14171d;
  --text: #f3f4f6;
  --text-muted: #cbd5e1;
  --text-soft: #94a3b8;
  --border: #262c38;
  --gold: #fa9000;
  --gold-dark: #fbbf24;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; }
body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 60;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 62px;
  min-width: 0;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  background: var(--surface);
}
.menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 19px;
  cursor: pointer;
  place-items: center;
}
.brand { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.brand-emblem {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: var(--gold);
  color: #111;
  font-weight: 900;
  font-size: 19px;
  display: grid;
  place-items: center;
}
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.brand-name span { color: var(--gold); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-start;
  padding: 0 4px;
}
.main-nav::-webkit-scrollbar { display: none; }
.nav-link {
  padding: 19px 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  background: var(--surface);
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 4px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}
.hdr-btn {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  height: 36px;
  min-width: 36px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.hdr-btn:hover { border-color: var(--gold); color: var(--gold-dark); }

/* Mobile swipeable category pills */
.mobile-cat-strip {
  display: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 6px;
  padding: 8px 14px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.mobile-cat-strip::-webkit-scrollbar { display: none; }
.mcat-pill {
  flex-shrink: 0;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
}
.mcat-pill.active {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
}

/* Mobile Slide-Out Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(82vw, 310px);
  background: var(--surface);
  z-index: 100;
  transform: translateX(-105%);
  transition: transform 0.24s ease;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.drawer-nav {
  flex: 1;
  overflow-y: auto;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer-link {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-link.active, .drawer-link:active {
  background: var(--surface-2);
  color: var(--gold-dark);
}
.drawer-foot {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.drawer-action {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--surface-2);
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
}

/* Search Drawer */
.search-drawer {
  display: none;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  padding: 10px 0;
}
.search-drawer.open { display: block; }
.search-drawer-form { display: flex; gap: 8px; max-width: 640px; margin: 0 auto; }
.search-drawer-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  outline: none;
}
.search-drawer-form input:focus { border-color: var(--gold); }
.search-drawer-form button {
  background: var(--gold);
  color: #111;
  border: none;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}

/* Breaking Bar */
.breaking-bar {
  background: #141414;
  color: #fff;
  border-bottom: 2px solid var(--gold);
}
.breaking-inner { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.breaking-tag {
  background: var(--live);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}
.breaking-track {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.breaking-track a:hover { color: var(--gold); }
.breaking-nav { display: flex; gap: 4px; flex-shrink: 0; }
.breaking-nav button {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 700;
}
.breaking-nav button:hover { background: var(--gold); color: #111; }

/* ===== HERO 10-SLIDE CAROUSEL + LIVE WIRE ===== */
.main-wrap { padding: 20px 0 0; }
.aj-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 0.95fr);
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.hero-slider {
  min-width: 0;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #111;
  user-select: none;
}
.hero-viewport {
  overflow: hidden;
  width: 100%;
}
.hero-track {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.hero-slide {
  flex: 0 0 100%;
  min-width: 100%;
  position: relative;
  aspect-ratio: 16 / 9.5;
  display: block;
  overflow: hidden;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.58) 42%,
    rgba(0, 0, 0, 0.08) 78%,
    rgba(0, 0, 0, 0.15) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 26px 46px;
  color: #fff;
}
.hero-badge {
  display: inline-block;
  width: fit-content;
  background: var(--gold);
  color: #111;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 9px;
  border-radius: 3px;
  margin-bottom: 10px;
}
.hero-slide-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
.hero-slide-sub {
  font-size: 15px;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.88);
  max-width: 720px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-slide-meta {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.52);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 4;
  display: grid;
  place-items: center;
  transition: background 0.15s;
}
.hero-arrow:hover { background: var(--gold); color: #111; }
.hero-prev { left: 12px; }
.hero-next { right: 12px; }
.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  z-index: 4;
  padding: 0 12px;
}
.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  transition: width 0.2s, background 0.2s;
}
.hero-dot.active {
  width: 24px;
  background: var(--gold);
}
.hero-counter {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  z-index: 4;
}
.kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-dark);
  margin-bottom: 6px;
}

/* Right Live Wire */
.aj-wire { border-left: 1px solid var(--border); padding-left: 22px; }
.aj-wire-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 3px solid var(--text);
}
.aj-wire-list {
  list-style: none;
  padding-left: 14px;
  border-left: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.aj-wire-item { position: relative; }
.aj-wire-item::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--bg);
}
.aj-wire-time { font-size: 11.5px; font-weight: 700; color: var(--gold-dark); margin-bottom: 3px; display: flex; gap: 6px; flex-wrap: wrap; }
.aj-wire-title { font-size: 14px; font-weight: 700; line-height: 1.35; display: block; }
.aj-wire-title:hover { color: var(--gold-dark); }

/* ===== 3-PER-CATEGORY BLOCKS (1 WITH PHOTO + 2 HEADLINES) ===== */
.cat-blocks-wrap { padding: 30px 0 10px; }
.cat-blocks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 30px;
}
.cat-block {
  background: var(--surface);
  border-top: 3px solid var(--gold);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
}
.cat-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cat-block-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.cat-block-more {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-dark);
}
.cat-block-more:hover { text-decoration: underline; }

.cat-lead-card {
  display: block;
}
.cat-lead-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background: var(--surface-2);
  margin-bottom: 11px;
}
.cat-lead-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.cat-lead-card:hover .cat-lead-photo img { transform: scale(1.03); }
.cat-lead-title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.26;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.cat-lead-card:hover .cat-lead-title { color: var(--gold-dark); }
.cat-lead-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cat-sub-list {
  list-style: none;
  margin-top: 14px;
  border-top: 1px solid var(--border);
}
.cat-sub-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.cat-sub-item:last-child { border-bottom: none; padding-bottom: 4px; }
.cat-sub-row {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 12px;
  align-items: center;
}
.cat-sub-thumb {
  width: 104px;
  height: 70px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface-2);
  flex-shrink: 0;
}
.cat-sub-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.cat-sub-row:hover .cat-sub-thumb img { transform: scale(1.05); }
.cat-sub-link {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.32;
  margin-bottom: 4px;
}
.cat-sub-row:hover .cat-sub-link { color: var(--gold-dark); }

/* ===== MOST READ STRIP ===== */
.aj-mostread-band { padding: 26px 0 30px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.sec-heading { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 10px; }
.sec-heading::before { content: ''; width: 5px; height: 22px; background: var(--gold); display: inline-block; }
.mostread-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.mr-card { display: flex; gap: 12px; align-items: flex-start; padding-right: 14px; border-right: 1px solid var(--border); }
.mr-card:last-child { border-right: none; padding-right: 0; }
.mr-num { font-size: 30px; font-weight: 900; line-height: 0.95; color: var(--gold); flex-shrink: 0; }
.mr-title { font-size: 13.8px; font-weight: 700; line-height: 1.35; }
.mr-card:hover .mr-title { color: var(--gold-dark); }

/* ===== DARK BAND ===== */
.aj-dark-band {
  background: var(--dark-band);
  color: #fff;
  padding: 36px 0;
  border-top: 4px solid var(--gold);
}
.aj-dark-band .sec-heading { color: #fff; }
.aj-dark-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.aj-dark-card { background: var(--dark-card); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.aj-dark-img { display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #222; }
.aj-dark-img img { width: 100%; height: 100%; object-fit: cover; }
.aj-dark-body { padding: 13px 15px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.aj-dark-title { font-size: 16px; font-weight: 700; line-height: 1.3; color: #fff; }
.aj-dark-card:hover .aj-dark-title { color: var(--gold); }
.aj-dark-meta { font-size: 12px; color: #a3a3a3; margin-top: auto; }

/* Category & Search Cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.aj-card { display: flex; flex-direction: column; }
.aj-card-img { display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); margin-bottom: 10px; border-radius: 4px; }
.aj-card-img img { width: 100%; height: 100%; object-fit: cover; }
.aj-card-title { font-size: 17.5px; font-weight: 800; line-height: 1.28; margin-bottom: 6px; }
.aj-card:hover .aj-card-title { color: var(--gold-dark); }
.aj-card-sub { font-size: 13.5px; color: var(--text-muted); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta-line { font-size: 12px; color: var(--text-soft); font-weight: 600; display: flex; gap: 8px; align-items: center; }

/* ===== ARTICLE PAGE ===== */
.article-wrap { padding: 24px 0 52px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.breadcrumb { font-size: 13px; color: var(--text-soft); margin-bottom: 10px; display: flex; gap: 8px; font-weight: 600; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--gold-dark); }
.article-h1 { font-size: 36px; font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; margin: 8px 0 14px; }
.article-standfirst { font-size: 18px; color: var(--text-muted); line-height: 1.5; margin-bottom: 16px; }
.article-byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text-soft);
}
.share-group { display: flex; gap: 7px; flex-wrap: wrap; }
.share-btn {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  padding: 7px 12px;
  border-radius: 5px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.share-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.article-figure { margin-bottom: 22px; }
.article-figure img { width: 100%; max-height: 500px; object-fit: cover; border-radius: 4px; }
.article-figure figcaption { font-size: 12.5px; color: var(--text-soft); margin-top: 8px; }
.article-body { font-size: 17px; line-height: 1.75; }
.article-body p { margin-bottom: 18px; }
.article-body h2, .article-body h3 { font-weight: 800; margin: 24px 0 10px; }
.article-body blockquote { border-left: 4px solid var(--gold); background: var(--surface-2); padding: 14px 18px; margin: 20px 0; font-size: 18px; font-weight: 600; }
.tags-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--border); }
.tag-pill { background: var(--surface-2); border: 1px solid var(--border); padding: 5px 11px; border-radius: 4px; font-size: 12.5px; font-weight: 600; color: var(--text-muted); }

/* Optional Comments */
.comments-box { margin-top: 28px; padding-top: 22px; border-top: 2px solid var(--border); }
.comment-form { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 22px; }
.comment-form input, .comment-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-size: 14.5px;
  outline: none;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--gold); }
.comment-form textarea { min-height: 86px; resize: vertical; }
.comment-submit {
  width: fit-content;
  background: var(--gold);
  color: #111;
  border: none;
  padding: 9px 18px;
  border-radius: 5px;
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
}
.comment-item { padding: 12px 14px; border: 1px solid var(--border); border-radius: 6px; margin-bottom: 10px; background: var(--surface-2); }
.comment-head { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-soft); margin-bottom: 5px; }
.comment-head strong { color: var(--text); font-size: 13.5px; }
.comment-body { font-size: 14.5px; line-height: 1.55; white-space: pre-wrap; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.page-btn { padding: 9px 14px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 700; cursor: pointer; border-radius: 4px; }
.page-btn.active, .page-btn:hover { background: var(--gold); color: #111; border-color: var(--gold); }
.empty-box { padding: 42px 20px; text-align: center; color: var(--text-soft); }

/* Category Page Lead + Back-to-top bar */
.cat-page-hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 24px;
  align-items: center;
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border);
}
.cat-page-hero-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: var(--surface-2);
}
.cat-page-hero-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.cat-page-hero:hover .cat-page-hero-img img { transform: scale(1.03); }
.cat-page-hero-title { font-size: 28px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 10px; }
.cat-page-hero:hover .cat-page-hero-title { color: var(--gold-dark); }
.cat-page-hero-sub { font-size: 15px; color: var(--text-muted); line-height: 1.55; margin-bottom: 12px; }
.cat-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 32px 0 28px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cat-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
}
.cat-nav-btn.primary { background: var(--gold); color: #111; border-color: var(--gold); }
.cat-nav-btn:hover { border-color: var(--gold); }

/* Responsive Ad Slots */
.ad-slot {
  margin: 18px auto;
  text-align: center;
  max-width: 100%;
}
.ad-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 5px;
}
.ad-banner-link {
  display: inline-block;
  max-width: 100%;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.ad-banner-link img {
  display: block;
  max-width: 100%;
  max-height: 140px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}
.ad-slot-sidebar .ad-banner-link img {
  max-height: 360px;
  width: 100%;
  object-fit: cover;
}
.ad-code-wrap {
  max-width: 100%;
  overflow: hidden;
}

/* Editorial & Mendime (Al Jazeera Opinion-style strip) */
.opinion-band {
  padding: 32px 0;
  background: var(--surface-2);
  border-top: 3px solid #92400e;
  border-bottom: 1px solid var(--border);
  margin: 12px 0;
}
.opinion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.opinion-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.opinion-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.opinion-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #92400e;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.opinion-author-name { font-size: 13.5px; font-weight: 800; color: var(--text); }
.opinion-type-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 3px;
  background: rgba(146, 64, 14, 0.14);
  color: #b45309;
}
.opinion-title { font-size: 17px; font-weight: 800; line-height: 1.3; }
.opinion-card:hover .opinion-title { color: var(--gold-dark); }
.opinion-disclaimer {
  margin-top: 18px;
  padding: 12px 14px;
  background: var(--surface-2);
  border-left: 3px solid #92400e;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}
@media (max-width: 760px) {
  .opinion-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .cat-page-hero { grid-template-columns: 1fr; gap: 14px; }
  .cat-page-hero-title { font-size: 22px; }
}

/* ===== UTILITY STRIP (WEATHER & CURRENCY — MSN-INSPIRED) ===== */
.utility-bar {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-muted);
}
.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 7px;
  padding-bottom: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}
.utility-inner::-webkit-scrollbar { display: none; }
.util-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.util-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}
.util-pill .util-muted { color: var(--text-muted); font-weight: 500; }
.util-fx {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-weight: 600;
  color: var(--text);
}
.util-fx-tag {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-dark);
  background: rgba(250, 144, 0, 0.14);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ===== MSN-STYLE BENTO DISCOVERY GRID & NATIVE AD CARD ===== */
.bento-band {
  padding: 22px 0 6px;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--gold);
}
.bento-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
  position: relative;
}
.bento-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.bento-card:hover .bento-img img { transform: scale(1.03); }
.bento-cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(20, 20, 20, 0.82);
  color: #fff;
  backdrop-filter: blur(4px);
}
.bento-body {
  padding: 13px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.bento-title {
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.32;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bento-card:hover .bento-title { color: var(--gold-dark); }
.bento-foot {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-muted);
}
.bento-author {
  font-weight: 700;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 62%;
}
.bento-stats {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.native-ad-card {
  border-style: dashed;
  border-color: rgba(250, 144, 0, 0.55);
  background: var(--surface-2);
}
.native-ad-badge {
  background: var(--gold);
  color: #111;
}
@media (max-width: 1080px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .bento-grid { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
.site-footer { background: #141414; color: #d4d4d4; padding: 40px 0 24px; border-top: 4px solid var(--gold); margin-top: 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 28px; margin-bottom: 24px; }
.footer-h { color: #fff; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: #9ca3af; }

/* ===== RESPONSIVE / MOBILE-FIRST POLISH ===== */
@media (max-width: 1140px) {
  .main-nav { display: none; }
  .menu-btn { display: grid; }
  .mobile-cat-strip { display: flex; }
}
@media (max-width: 1080px) {
  .aj-top-grid { grid-template-columns: 1.45fr 1fr; }
  .aj-wire { grid-column: 1 / -1; border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 18px; }
  .mostread-row { grid-template-columns: repeat(2, 1fr); }
  .aj-dark-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { padding: 0 14px; }
  .header-inner { height: 56px; gap: 8px; }
  .brand-name { font-size: 18px; }
  .brand-emblem { width: 28px; height: 28px; font-size: 16px; }
  .live-text, .hdr-admin { display: none; }
  .live-pill { padding: 6px 8px; }
  .main-wrap { padding-top: 12px; }
  .aj-top-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-bottom: 20px; }
  .aj-top-grid > * { min-width: 0; }
  .hero-slide-title, .hero-slide-sub, .aj-wire a { overflow-wrap: anywhere; }
  .hero-slide { aspect-ratio: 4 / 3.4; }
  .hero-overlay { padding: 14px 16px 38px; }
  .hero-slide-title { font-size: 20px; line-height: 1.2; margin-bottom: 6px; }
  .hero-slide-sub { font-size: 13px; -webkit-line-clamp: 2; }
  .hero-arrow { width: 32px; height: 32px; font-size: 18px; }
  .cat-blocks-grid { grid-template-columns: 1fr; gap: 22px; }
  .cat-lead-title { font-size: 18px; }
  .cat-sub-row { grid-template-columns: 92px 1fr; gap: 10px; }
  .cat-sub-thumb { width: 92px; height: 64px; }
  .cat-sub-link { font-size: 14px; }
  .mostread-row, .aj-dark-grid, .cards-3, .footer-grid { grid-template-columns: 1fr; }
  .mr-card { border-right: none; border-bottom: 1px solid var(--border); padding: 0 0 12px; }
  .mr-card:last-child { border-bottom: none; padding-bottom: 0; }
  .article-h1 { font-size: 25px; }
  .article-standfirst { font-size: 16px; }
  .article-body { font-size: 16px; }
  .aj-wire { border-left: none !important; padding-left: 0 !important; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-track { transition: none; }
}
