:root {
  --bg: #f5f7fb;
  --bg-elev: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #0b3d91;
  --brand-2: #123e7a;
  --accent: #c8102e;
  --accent-soft: #ffe4e8;
  --chip: #2563eb;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 14px;
  --font: "IBM Plex Sans Arabic", "Noto Naskh Arabic", Tahoma, sans-serif;
  --header-h: 64px;
  --topbar-h: 40px;
}

html[data-theme="dark"] {
  --bg: #0b1220;
  --bg-elev: #111827;
  --ink: #e5eefc;
  --muted: #94a3b8;
  --line: #243244;
  --brand: #7db0ff;
  --brand-2: #93c5fd;
  --accent: #fb7185;
  --accent-soft: #3f1d24;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1200px, calc(100% - 2rem)); margin: 0 auto; }

/* Top bar */
.topbar {
  background: linear-gradient(90deg, #071525 0%, #0b1f3a 45%, #122b4a 100%);
  color: #dbe7f8;
  font-size: 0.86rem;
  min-height: var(--topbar-h);
}
.topbar-inner,
.header-inner,
.breaking-inner,
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: inherit;
}
.topbar-inner--end { justify-content: center; }
.topbar-actions { display: flex; align-items: center; justify-content: center; gap: 0.85rem; flex-wrap: nowrap; }
.topbar a { color: #dbe7f8; text-decoration: none; }
.lang-switch a {
  margin-inline-start: 0.55rem;
  font-weight: 600;
  opacity: 0.8;
}
.lang-switch a.active { opacity: 1; color: #fff; border-bottom: 2px solid var(--accent); }
.social-mini { display: flex; gap: 0.45rem; }
.social-mini a,
.icon-btn {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  border: 0;
  background: rgba(255,255,255,0.08);
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}
.site-header .icon-btn {
  background: #eef2ff;
  color: var(--brand);
}
html[data-theme="dark"] .site-header .icon-btn {
  background: #1e293b;
  color: var(--brand);
}

/* Header + nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
html[data-theme="dark"] .site-header { background: rgba(17,24,39,0.96); }

/* Logo (left) | Date & Time (center) | Search (right) — always LTR for English logo */
.site-header .header-inner {
  direction: ltr;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(0, auto) minmax(120px, 1fr);
  align-items: center;
  min-height: var(--header-h);
  gap: 0.75rem;
  padding-block: 0.35rem;
}
.header-start {
  justify-self: start;
  display: flex;
  align-items: center;
  min-width: 0;
  padding-inline-end: 0.25rem;
}
.header-center {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.header-center .dt-board {
  --dt-value: clamp(0.82rem, 1.8vw, 1.05rem);
  --dt-label: clamp(0.62rem, 1.2vw, 0.78rem);
  --dt-gap: clamp(0.55rem, 1.8vw, 1.35rem);
  --dt-inner: clamp(0.22rem, 0.8vw, 0.4rem);
}
.header-end {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  padding-inline-start: 0.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--brand);
}
.brand-logo { max-height: 46px; width: auto; max-width: min(240px, 42vw); object-fit: contain; }
.brand-mark {
  background: linear-gradient(135deg, #0b3d91, #c8102e);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  font-size: 1.05rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.35rem; letter-spacing: 0.04em; }
.brand-text small { color: var(--muted); font-size: 0.75rem; }
.header-tools { display: flex; gap: 0.45rem; }

@media (max-width: 900px) {
  .site-header .header-inner {
    grid-template-columns: minmax(90px, 1fr) minmax(0, auto) minmax(48px, 1fr);
    gap: 0.5rem;
  }
  .brand-logo { max-height: 40px; max-width: min(180px, 36vw); }
  .header-center .dt-board {
    --dt-value: clamp(0.72rem, 2.2vw, 0.9rem);
    --dt-label: clamp(0.58rem, 1.4vw, 0.7rem);
    --dt-gap: clamp(0.4rem, 1.5vw, 0.85rem);
  }
}

@media (max-width: 640px) {
  .site-header .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 56px;
  }
  .brand-logo { max-height: 36px; max-width: 120px; }
  .brand-text small { display: none; }
  .header-center .dt-board .dt-sec { display: none; }
}

.main-nav {
  border-top: 1px solid var(--line);
  background: var(--bg-elev);
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.25rem;
}
.main-nav a {
  display: block;
  padding: 0.75rem 0.85rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--brand);
  border-bottom-color: var(--accent);
}

/* Breaking ticker */
.breaking-bar {
  background: var(--accent);
  color: #fff;
}
.breaking-inner { min-height: 42px; gap: 0.75rem; }
.breaking-label {
  flex: 0 0 auto;
  background: rgba(0,0,0,0.18);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
  white-space: nowrap;
}
.breaking-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.breaking-marquee {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: ticker 45s linear infinite;
}
.breaking-marquee a {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 600;
}
/* Single DOM list — no duplicate headlines for crawlers */
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% - 2.5rem)); }
}
html[dir="rtl"] .breaking-marquee { animation-name: ticker-rtl; }
@keyframes ticker-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(calc(100% + 2.5rem)); }
}

.site-main { padding: 1.4rem 0 3.5rem; }

/* Hero bento */
.hero-bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
  min-height: 420px;
}
.hero-feature,
.hero-card,
.recent-media,
.most-thumb,
.video-main,
.video-thumb {
  background-color: #1e293b;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
}
.card-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  display: block;
}
.hero-feature-overlay,
.hero-card-overlay,
.recent-media .cat-chip,
.recent-media .img-source-bar,
.hero-feature .img-source-bar,
.hero-card .img-source-bar,
.video-caption,
.play-btn,
.video-thumb > i {
  position: relative;
  z-index: 2;
}
.hero-feature::after,
.hero-card::after,
.recent-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 15, 30, 0.15) 20%, rgba(8, 15, 30, 0.82) 100%);
  pointer-events: none;
}
.hero-feature.no-image,
.hero-card.no-image,
.recent-media.no-image,
.most-thumb.no-image,
.video-main.no-image,
.video-thumb.no-image {
  background-image:
    linear-gradient(135deg, rgba(11,61,145,0.92), rgba(200,16,46,0.75)),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.15), transparent 45%);
}
.hero-feature.no-image::after,
.hero-card.no-image::after,
.recent-media.no-image::after {
  display: none;
}
.hero-feature {
  border-radius: var(--radius);
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
  animation: rise 0.55s ease both;
}
.hero-feature-overlay,
.hero-card-overlay {
  width: 100%;
  padding: 1.25rem 1.35rem;
  background: transparent;
}
.hero-feature h2 {
  margin: 0.55rem 0 0.45rem;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.35;
}
.hero-feature p { margin: 0 0 0.7rem; color: rgba(255,255,255,0.88); }
.hero-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.9rem;
}
.hero-card {
  border-radius: 12px;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
  animation: rise 0.6s ease both;
}
.hero-card:nth-child(2) { animation-delay: 0.05s; }
.hero-card:nth-child(3) { animation-delay: 0.1s; }
.hero-card:nth-child(4) { animation-delay: 0.15s; }
.hero-card h3 {
  margin: 0.4rem 0 0;
  font-size: 0.98rem;
  line-height: 1.4;
}

.cat-chip {
  display: inline-block;
  background: var(--chip);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.01em;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  align-items: center;
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
}
.recent-body .meta-row,
.article-page .meta-row { color: var(--muted); }

.section-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1rem;
}
.section-head h2 {
  margin: 0;
  font-size: 1.35rem;
  white-space: nowrap;
}
.section-head.compact { margin-bottom: 0.75rem; }
.section-line {
  height: 3px;
  flex: 1;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 99px;
}

/* Main + sidebar */
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.recent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.recent-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  animation: rise 0.55s ease both;
}
.recent-media {
  display: block;
  height: 160px;
  position: relative;
}
.recent-media .cat-chip {
  position: absolute;
  inset-inline-start: 0.7rem;
  top: 0.7rem;
  z-index: 4;
}
.recent-body { padding: 0.9rem 1rem 1.05rem; }
.recent-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  line-height: 1.45;
}
.recent-body h3 a { text-decoration: none; }
.recent-body h3 a:hover { color: var(--brand); }
.recent-body p {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* 15 most recent news + videos — same vertical card grid as تازه خبرونه */
.latest-feed-grid {
  margin-top: 1rem;
}
.recent-card.is-video .latest-feed-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  z-index: 3;
  pointer-events: none;
  background: rgba(15, 23, 42, 0.22);
}
.recent-card.is-video .latest-feed-play i {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  background: rgba(200, 16, 46, 0.95);
  display: grid;
  place-items: center;
  padding-inline-start: 2px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  font-size: 0.85rem;
}

.side-widget {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.most-read {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.most-read li {
  display: grid;
  grid-template-columns: 28px 56px 1fr;
  gap: 0.65rem;
  align-items: center;
}
.rank {
  width: 26px; height: 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
}
.most-thumb {
  width: 56px; height: 56px;
  border-radius: 10px;
  display: block;
}
.most-title {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.4;
}
.most-title:hover { color: var(--brand); }

.weather-now {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
}
.weather-temp { font-size: 2.4rem; font-weight: 800; color: var(--brand); line-height: 1; }
.weather-icon { font-size: 1.8rem; color: #f59e0b; }
.weather-days {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-top: 0.9rem;
}
.weather-days div {
  text-align: center;
  background: var(--bg);
  border-radius: 10px;
  padding: 0.45rem 0.2rem;
  font-size: 0.8rem;
}
.weather-days strong { display: block; margin-top: 0.15rem; }

.newsletter-widget {
  border: 2px solid var(--accent);
}
.newsletter-widget h2 { margin: 0 0 0.35rem; }
.newsletter-widget p { margin: 0 0 0.75rem; color: var(--muted); font-size: 0.92rem; }
.newsletter-form { display: grid; gap: 0.55rem; }
.newsletter-form input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  background: var(--bg);
  color: var(--ink);
}
.newsletter-form button {
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0.75rem;
  cursor: pointer;
}
.nl-ok { margin: 0; color: var(--brand); font-size: 0.86rem; }

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.social-grid a {
  text-decoration: none;
  color: #fff;
  border-radius: 10px;
  padding: 0.8rem 0.6rem;
  font-weight: 700;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.sg.fb { background: #1877f2; }
.sg.x { background: #111827; }
.sg.yt { background: #dc2626; }
.sg.tg { background: #0ea5e9; }

/* Categories */
.category-grid-section,
.video-section { margin-bottom: 2rem; }
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}
.category-tile {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1rem;
  text-decoration: none;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.category-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}
.category-tile i {
  font-size: 1.55rem;
  color: var(--chip);
  margin-bottom: 0.45rem;
  display: block;
}
.category-tile strong { display: block; margin-bottom: 0.2rem; }
.category-tile span { color: var(--muted); font-size: 0.84rem; }

/* Video */
.video-layout {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1rem;
  align-items: start;
}
.video-main-wrap {
  display: grid;
  gap: 0.85rem;
}
.video-main {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: #0b1220;
}
.video-main.is-player {
  aspect-ratio: 16 / 9;
  min-height: 0;
}
.video-main iframe,
.video-page-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-main .play-btn { position: relative; z-index: 2; }
.play-btn {
  width: 64px; height: 64px;
  border-radius: 999px;
  background: rgba(200,16,46,0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  text-decoration: none;
}
.video-main-info {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.95rem 1.05rem;
}
.video-main-info h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  line-height: 1.4;
}
.video-main-channel {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.video-main-desc {
  margin: 0 0 0.7rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
}
.video-open-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  font-size: 0.9rem;
}
.video-open-link:hover { text-decoration: underline; }
.video-list { display: grid; gap: 0.75rem; }
.video-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.75rem;
  text-decoration: none;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  align-items: center;
}
.video-row.is-active {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 25%, transparent);
}
.video-row-play {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: block;
}
.video-row-copy {
  text-decoration: none;
  color: inherit;
  padding-inline-end: 0.65rem;
  min-width: 0;
}
.video-thumb {
  position: relative;
  height: 78px;
  width: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}
.video-thumb > i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,.55);
}
.video-row strong { display: block; font-size: 0.95rem; }
.video-row small { color: var(--muted); }

/* Video detail page */
.video-page { max-width: 960px; margin: 0 auto 2rem; }
.video-page-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0b1220;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 1.1rem;
}
/* Cover YouTube end-screen / “more videos” (cannot remove in-iframe branding) */
.yt-clean-player.is-ended iframe {
  pointer-events: none;
}
.yt-clean-ended {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(8, 14, 28, 0.72), rgba(8, 14, 28, 0.92));
  color: #fff;
  text-align: center;
}
.yt-clean-ended[hidden] { display: none !important; }
.yt-clean-ended-inner p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.yt-clean-ended-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}
.yt-clean-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  background: #c8102e;
  color: #fff !important;
}
.yt-clean-btn:hover { filter: brightness(1.06); }
.yt-clean-btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.video-main.yt-clean-player .yt-clean-ended {
  border-radius: inherit;
}
.video-page-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.75rem;
  color: #fff;
  text-align: center;
  padding: 1rem;
}
.video-page-meta h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.35;
}
.video-meta-row { flex-wrap: wrap; gap: 0.75rem 1rem; margin-bottom: 1rem; }
.video-meta-row a { color: var(--brand); text-decoration: none; font-weight: 600; }
.video-page-body {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  margin-bottom: 1.5rem;
}
.video-page-body p {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
  line-height: 1.9;
}
.video-page-body p:last-child { margin-bottom: 0; }
.video-page-actions {
  margin-top: 0.25rem;
  margin-bottom: 1.75rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.video-related h2 { margin: 0 0 0.8rem; font-size: 1.2rem; }
.video-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.video-related-card {
  text-decoration: none;
  color: inherit;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.video-related-card .video-thumb {
  width: 100%;
  height: 140px;
}
.video-related-card strong {
  display: block;
  padding: 0.7rem 0.8rem 0.9rem;
  font-size: 0.92rem;
  line-height: 1.45;
}
.btn-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

/* Public RSS page */
.feed-page { margin-bottom: 2rem; }
.feed-hero {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}
.feed-lead { margin: 0 0 0.9rem; line-height: 1.7; }
.feed-url-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.feed-url-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: stretch;
}
.feed-url-input {
  flex: 1 1 240px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--text);
  direction: ltr;
  text-align: left;
}
.feed-open-btn,
.feed-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.feed-open-btn { background: var(--accent); color: #fff; }
.feed-copy-btn { background: var(--brand); color: #fff; }
.feed-hint { margin: 0.7rem 0 0; font-size: 0.88rem; }
.feed-item-list { display: grid; gap: 0.75rem; }
.feed-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-elev);
}
.feed-item-thumb {
  display: block;
  background: #0f172a;
  min-height: 80px;
}
.feed-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 80px;
}
.feed-item-body { padding: 0.7rem 0.85rem 0.85rem; }
.feed-item-body h3 { margin: 0 0 0.3rem; font-size: 1.02rem; line-height: 1.4; }
.feed-item-body h3 a { text-decoration: none; color: inherit; }
.feed-item-body time { font-size: 0.8rem; }
.feed-item-body p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.92rem; line-height: 1.6; }
@media (max-width: 640px) {
  .feed-item { grid-template-columns: 1fr; }
  .feed-item-thumb { height: 160px; }
}

/* Footer — navy / gold professional (reference match, LTR columns) */
.site-footer,
.site-footer--pro {
  --footer-bg: #0B1E36;
  --footer-gold: #d4af37;
  --footer-gold-soft: #e8c96a;
  --footer-text: #ffffff;
  --footer-muted: #c8d6ea;
  --footer-line: rgba(255, 255, 255, 0.12);
  direction: ltr;
  background-color: var(--footer-bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(30, 58, 95, 0.35), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='600' viewBox='0 0 1200 600'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='0.7' opacity='0.45'%3E%3Cpath d='M80 180c60-40 140-55 210-20s130 40 200 10 140-70 220-40 130 55 200 30 140-25 210 15'/%3E%3Cpath d='M40 320c70-25 150-15 220 25s140 35 210 5 150-55 230-25 140 45 210 25'/%3E%3Cpath d='M120 420c90-20 170 10 250 35s160 10 240-20 170-40 250-10'/%3E%3Ccircle cx='180' cy='140' r='2' fill='%23fff' stroke='none'/%3E%3Ccircle cx='340' cy='110' r='1.5' fill='%23fff' stroke='none'/%3E%3Ccircle cx='520' cy='160' r='2' fill='%23fff' stroke='none'/%3E%3Ccircle cx='700' cy='120' r='1.5' fill='%23fff' stroke='none'/%3E%3Ccircle cx='880' cy='170' r='2' fill='%23fff' stroke='none'/%3E%3Ccircle cx='1040' cy='140' r='1.5' fill='%23fff' stroke='none'/%3E%3Ccircle cx='260' cy='280' r='1.5' fill='%23fff' stroke='none'/%3E%3Ccircle cx='480' cy='300' r='2' fill='%23fff' stroke='none'/%3E%3Ccircle cx='760' cy='270' r='1.5' fill='%23fff' stroke='none'/%3E%3Ccircle cx='960' cy='310' r='2' fill='%23fff' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover, 110% auto;
  background-position: center, center 30%;
  background-repeat: no-repeat;
  color: var(--footer-text);
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}
.site-footer--pro::before {
  content: none;
}
.footer-pro-grid {
  position: relative;
  z-index: 1;
  direction: ltr;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 2.75rem 0 2.2rem;
  align-items: start;
}
.footer-col {
  padding: 0 1.25rem;
  min-width: 0;
}
.footer-col:not(:last-child) {
  border-right: 1px solid var(--footer-line);
}
.footer-col:first-child {
  padding-left: 0;
}
.footer-col:last-child {
  padding-right: 0;
}
.footer-col-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem; /* ~10px */
  margin: 0 0 1.1rem;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.3;
  direction: ltr; /* icon always on the left */
  text-align: left;
}
.footer-col-icon {
  display: inline-grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  border: 1.5px solid var(--footer-gold);
  color: var(--footer-gold);
  background: transparent;
  flex-shrink: 0;
  order: 0;
}
.footer-col-icon i {
  color: var(--footer-gold);
  font-size: 0.7rem;
  line-height: 1;
}
.footer-col-title-text {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}
.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer-brand-link {
  display: block;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  text-decoration: none;
}
.footer-brand-logo {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}
.footer-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 100%;
  min-height: 4.5rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #12325a, #0b1f3a);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #fff;
  font-weight: 900;
  font-size: 2.4rem;
  letter-spacing: 0.04em;
}
.footer-brand-copy {
  margin: 1.05rem 0 1.2rem;
  color: #e8eef8;
  line-height: 1.85;
  font-size: 0.92rem;
  max-width: 16.5rem;
}
.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.footer-social-btn {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #122a48;
  border: 1px solid rgba(160, 190, 230, 0.35);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.92rem;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.footer-social-btn:hover {
  background: rgba(212, 175, 55, 0.22);
  border-color: rgba(212, 175, 55, 0.65);
  transform: translateY(-1px);
  color: #fff !important;
}
.footer-link-list {
  display: grid;
  gap: 0.62rem;
}
.footer-link-list a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem; /* ~10px */
  color: #e8eef8;
  text-decoration: none;
  font-size: 0.94rem;
  line-height: 1.4;
  direction: ltr; /* chevron always on the left */
  text-align: left;
  transition: color 0.15s ease, padding-left 0.15s ease;
}
.footer-link-list a i {
  font-size: 0.62rem;
  color: var(--footer-gold);
  flex-shrink: 0;
  width: 0.75rem;
  text-align: center;
  line-height: 1;
  order: 0;
}
.footer-link-list a:hover {
  color: #fff;
  padding-left: 3px;
}
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.78rem;
}
.footer-contact-list li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.65rem; /* ~10px */
  color: #e8eef8;
  font-size: 0.9rem;
  line-height: 1.5;
  direction: ltr; /* contact icon always on the left */
  text-align: left;
  min-width: 0;
}
.footer-contact-list i {
  margin-top: 0.22rem;
  color: var(--footer-gold);
  width: 1rem;
  font-size: 0.9rem;
  text-align: center;
  flex-shrink: 0;
  line-height: 1;
  order: 0;
}
.footer-contact-list li > span,
.footer-contact-text {
  flex: 1;
  min-width: 0;
}
.footer-contact-text {
  display: grid;
  gap: 0.2rem;
  justify-items: start;
}
.footer-contact-list em {
  font-style: normal;
  color: var(--footer-gold);
  font-weight: 700;
}
.footer-contact-value {
  color: #fff;
  overflow-wrap: anywhere;
}
.footer-contact-list a,
.footer-email {
  color: #fff;
  text-decoration: none;
}
.footer-email {
  display: inline-block;
  max-width: 100%;
  direction: ltr;
  unicode-bidi: isolate;
  /* Prefer wrapping after @ / . instead of mid-letter cuts */
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
  font-size: clamp(0.78rem, 1.9vw, 0.9rem);
}
.footer-contact-list a:hover,
.footer-email:hover { color: var(--footer-gold-soft); }
@media (max-width: 720px) {
  .footer-email {
    font-size: 0.84rem;
  }
}
.footer-newsletter-lead {
  margin: 0 0 0.9rem;
  color: #d7e3f5;
  font-size: 0.92rem;
  line-height: 1.7;
}
.footer-newsletter-form {
  display: grid;
  gap: 0.6rem;
}
.footer-newsletter-form input {
  width: 100%;
  border: 1px solid rgba(160, 190, 230, 0.28);
  background: rgba(4, 14, 28, 0.55);
  color: #fff;
  border-radius: 8px;
  padding: 0.78rem 0.9rem;
  outline: none;
  font-size: 0.95rem;
}
.footer-newsletter-form input::placeholder { color: #8aa0c0; }
.footer-newsletter-form input:focus {
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}
.footer-newsletter-form button {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #e0c04a 0%, #d4af37 55%, #c49a28 100%);
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.78rem 1rem;
  cursor: pointer;
  direction: ltr; /* plane icon on the left of label */
  transition: filter 0.15s ease, transform 0.15s ease;
}
.footer-newsletter-form button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.footer-newsletter-note {
  margin: 0.85rem 0 0;
  color: #a8bdd8;
  font-size: 0.78rem;
  line-height: 1.6;
  display: flex;
  flex-direction: row;
  gap: 0.65rem;
  align-items: flex-start;
  direction: ltr; /* lock icon on the left */
  text-align: left;
}
.footer-newsletter-note i {
  color: var(--footer-gold);
  margin-top: 0.15rem;
  flex-shrink: 0;
  font-size: 0.85rem;
  width: 1rem;
  text-align: center;
  line-height: 1;
}
.footer-trust-badge {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-align: center;
  direction: ltr;
}
.footer-trust-badge i {
  color: var(--footer-gold);
  flex-shrink: 0;
  font-size: 0.95rem;
}
.footer-bottom--pro {
  position: relative;
  z-index: 1;
  direction: ltr;
  border-top: 1px solid var(--footer-line);
  padding: 0.95rem 0;
  background: rgba(0, 0, 0, 0.22);
}
.footer-bottom-pro {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr;
  gap: 0.85rem 1rem;
  align-items: center;
  color: #9fb3d1;
  font-size: 0.84rem;
}
.footer-mini-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem 0.55rem;
  align-items: center;
}
.footer-mini-nav a {
  color: #b7c8e0;
  text-decoration: none;
}
.footer-mini-nav a:hover { color: var(--footer-gold-soft); }
.footer-mini-nav span { opacity: 0.45; }
.visually-hidden-seo {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.author-page { max-width: 820px; margin: 0 auto; }
.author-header {
  display: flex; gap: 1.25rem; align-items: flex-start;
  margin-bottom: 1.25rem;
}
.author-photo {
  width: 120px; height: 120px; object-fit: cover;
  border-radius: 16px; background: #e2e8f0;
}
.author-header h1 { margin: 0 0 0.35rem; font-size: 1.75rem; }
.author-role { margin: 0; color: #64748b; font-weight: 700; }
.author-social { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.65rem; }
.author-social a { color: #c8102e; font-weight: 700; text-decoration: none; }
.author-bio p { line-height: 1.85; margin: 0 0 0.9rem; }
.author-article-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.author-article-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.7rem 0; border-bottom: 1px solid var(--line, #e5e7eb);
}
.author-article-list a { color: inherit; font-weight: 700; text-decoration: none; }
.author-article-list time { color: #64748b; white-space: nowrap; font-size: 0.9rem; }

/* Article / legal / empty */
.empty-portal {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.article-page, .legal-page, .error-page, .article-shell {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem 1.8rem;
  box-shadow: var(--shadow);
}
.legal-page h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.35;
}
.legal-body h2 {
  margin: 1.5rem 0 0.65rem;
  font-size: 1.15rem;
  color: var(--brand);
  line-height: 1.4;
}
.legal-list {
  margin: 0 0 1rem;
  padding-inline-start: 1.25rem;
  display: grid;
  gap: 0.4rem;
}
.legal-list li {
  line-height: 1.7;
  color: var(--ink);
}
.legal-note {
  margin: 1.5rem 0 0;
  font-size: 0.9rem;
}
.breadcrumbs { margin: 0 0 1rem; color: var(--muted); font-size: 0.92rem; }
.breadcrumbs a { color: var(--brand); text-decoration: none; }
.breadcrumbs .sep { margin: 0 0.35rem; opacity: 0.6; }
.article-header h1 {
  margin: 0.2rem 0 0.7rem;
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  line-height: 1.35;
  color: var(--ink);
}
.eyebrow { color: var(--accent); font-weight: 700; margin: 0; }
.article-byline, .article-source { color: var(--muted); margin: 0.25rem 0; }
.article-header .article-byline-staff { margin-bottom: 0.15rem; }

/* End-of-article actions: CTA + share */
.article-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
}
.article-actions-spacer { flex: 1; min-width: 0; }
.article-actions .article-source-cta {
  width: auto;
  max-width: min(100%, 520px);
  flex: 1 1 280px;
}
.article-share {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.article-share-label {
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--ink);
}
.article-share-icons,
.related-share-mini {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.share-btn {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff !important;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.15s ease, filter 0.15s ease;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.16);
}
.share-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  color: #fff !important;
}
.share-facebook { background: #1877f2; }
.share-x { background: #0f172a; }
.share-whatsapp { background: #25d366; }
.related-share-mini .share-btn {
  width: 1.7rem;
  height: 1.7rem;
  font-size: 0.78rem;
  box-shadow: none;
}

.article-source-cta {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: min(100%, 640px);
  min-height: 3.85rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  color: #fff !important;
  font-weight: 800;
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  line-height: 1.35;
  background:
    linear-gradient(
      180deg,
      #ef3340 0%,
      #d4182c 38%,
      #c8102e 55%,
      #9a0f22 100%
    );
  box-shadow:
    0 10px 22px rgba(15, 23, 42, 0.24),
    inset 0 2px 0 rgba(255, 255, 255, 0.32),
    inset 0 -3px 0 rgba(0, 0, 0, 0.2);
  border: 1px solid #7a0c1c;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
a.article-source-cta:hover {
  color: #fff !important;
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow:
    0 14px 28px rgba(15, 23, 42, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.34),
    inset 0 -3px 0 rgba(0, 0, 0, 0.2);
}
.article-source-cta-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: #fff;
  color: #c8102e;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(200, 16, 46, 0.45);
  font-size: 1.05rem;
}
.article-source-cta-text {
  flex: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 720px) {
  .article-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .article-share {
    justify-content: flex-start;
    width: 100%;
  }
}
.lang-alt a { color: var(--brand); font-weight: 700; }
/* Featured news image: fixed 830×580 desktop standard (scales down on smaller screens). */
.article-hero-media {
  margin: 1.1rem auto 1.3rem;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  width: 100%;
  max-width: 830px;
}
.article-hero-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 830 / 580;
  height: auto;
  max-height: none;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.06), transparent 45%),
    #0f172a;
  overflow: hidden;
}
.article-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 0;
  image-rendering: auto;
}
@media (max-width: 860px) {
  .article-hero-media {
    max-width: 100%;
    border-radius: 12px;
  }
}
@media (max-width: 720px) {
  .article-hero-media {
    border-radius: 12px;
  }
}
.img-source-bar {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 4;
  margin: 0;
  padding: 0.4rem 0.75rem;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
  pointer-events: none;
  border-inline-start: 4px solid var(--accent);
}
.hero-feature .img-source-bar,
.hero-card .img-source-bar,
.recent-media .img-source-bar {
  background: rgba(0, 0, 0, 0.72);
}
.hero-feature-overlay { padding-bottom: 2.4rem; }
.hero-card-overlay { padding-bottom: 2rem; }
.article-body p { font-size: 1.08rem; line-height: 1.95; margin: 0 0 1rem; }
/* Related news — 3-column card grid */
.related-news { margin-top: 1.75rem; }
.related-news h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.related-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.related-media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0f172a;
  overflow: hidden;
  text-decoration: none;
}
.related-media .card-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-media.no-image {
  background: linear-gradient(135deg, #1e3a5f, #0f172a);
}
.related-badge {
  position: absolute;
  inset-inline-start: 0.65rem;
  top: 0.65rem;
  z-index: 2;
  background: #c8102e;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(200, 16, 46, 0.35);
}
.related-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem 0.2rem;
}
.related-date {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  direction: ltr;
}
.related-title {
  margin: 0;
  padding: 0.35rem 0.85rem 0.95rem;
  font-size: 1rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-title a {
  text-decoration: none;
  color: inherit;
}
.related-title a:hover { color: var(--brand); }

.news-list { display: grid; gap: 0.85rem; }
.news-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.9rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}
.news-item.compact { grid-template-columns: 1fr; }
.news-thumb img {
  width: 140px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
}
.news-body h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.news-body h3 a { text-decoration: none; }
.news-excerpt { margin: 0; color: var(--muted); }
.muted { color: var(--muted); }
.btn {
  display: inline-block;
  margin-top: 0.8rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  font-weight: 700;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
  .hero-bento { grid-template-columns: 1fr; min-height: 0; }
  .hero-feature { min-height: 320px; }
  .home-grid { grid-template-columns: 1fr; }
  .recent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-layout { grid-template-columns: 1fr; }
  .video-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-pro-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 0;
  }
  .footer-col { border-right: 0 !important; padding: 0 0.85rem !important; }
  .footer-col:nth-child(odd) { padding-left: 0 !important; }
  .footer-col:nth-child(even) {
    padding-right: 0 !important;
    border-left: 1px solid rgba(255,255,255,0.12);
  }
  .footer-brand-col {
    grid-column: 1 / -1;
    grid-row: 1;
    border: 0 !important;
    padding: 0 0 0.5rem !important;
    order: -1;
  }
  .footer-newsletter-col {
    grid-column: 1 / -1;
    border: 0 !important;
    padding: 0 !important;
  }
  .footer-bottom-pro { grid-template-columns: 1fr; text-align: center; }
  .footer-mini-nav { justify-content: center; }
}

@media (max-width: 720px) {
  .social-mini { display: none; }
  .main-nav {
    display: none;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .hero-side { grid-template-columns: 1fr; }
  .hero-card { min-height: 170px; }
  .recent-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; }
  .news-thumb img { width: 100%; height: 180px; }
  .video-related-grid { grid-template-columns: 1fr; }
  .footer-pro-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-col,
  .footer-col:nth-child(odd),
  .footer-col:nth-child(even),
  .footer-brand-col,
  .footer-newsletter-col {
    grid-column: auto;
    border: 0 !important;
    padding: 0 !important;
  }
  .breaking-label { font-size: 0.78rem; }
}
