:root {
  --navy: #001a33;
  --deep: #001326;
  --blue: #135cc5;
  --line: #cbd5df;
  --soft: #dce6f0;
  --muted: #647286;
  --up: #42d392;
  --down: #ff6b6b;
  --watch: #ffd166;
}

* { box-sizing: border-box; }

body {
  background: #fff;
  color: var(--navy);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { height: auto; max-width: 100%; }

.site-header {
  background: var(--navy);
  color: #fff;
  padding: 14px clamp(18px, 4vw, 34px);
}

.header-inner {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  margin: 0 auto;
  max-width: 1360px;
}

.brand { align-items: center; display: flex; min-width: 0; }
.brand-mark { display: block; width: 210px; }
.brand-mark img,
.custom-logo { display: block; max-height: 82px; object-fit: contain; width: 100%; }
.brand-title { display: block; font-size: 24px; font-weight: 900; letter-spacing: .14em; line-height: .9; text-transform: uppercase; }
.brand-title span { display: block; font-size: 11px; letter-spacing: .38em; margin-bottom: 5px; }

nav {
  display: flex;
  gap: clamp(10px, 1.2vw, 18px);
  justify-content: center;
  overflow: hidden;
  white-space: nowrap;
}

nav a,
.language-switcher a {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.language-switcher {
  border-left: 1px solid rgba(255,255,255,.24);
  display: flex;
  gap: 7px;
  padding-left: 18px;
}

.language-switcher a { color: #9cc5ff; line-height: 1; padding: 0 2px; }
.language-switcher a.is-active {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #62a2ff;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

[dir="rtl"] .language-switcher {
  border-left: 0;
  border-right: 1px solid rgba(255,255,255,.24);
  padding-left: 0;
  padding-right: 18px;
}

.hero {
  background: var(--navy);
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  min-height: 610px;
}

.hero-main {
  align-items: end;
  background:
    linear-gradient(0deg, rgba(0,19,38,.92), rgba(0,26,51,.08) 58%, rgba(0,26,51,.1)),
    linear-gradient(120deg, rgba(19,92,197,.25), rgba(255,255,255,0));
  background-position: center top;
  background-size: cover;
  display: flex;
  min-height: 610px;
  padding: clamp(26px, 5vw, 58px);
}

.hero-copy { max-width: 720px; }
.kicker { color: #62a2ff; font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
h1 { font-family: Georgia, serif; font-size: clamp(46px, 6vw, 92px); font-weight: 500; letter-spacing: -.045em; line-height: .92; margin: 12px 0 18px; }
.hero-copy p { color: var(--soft); font-size: 19px; line-height: 1.45; max-width: 610px; }
.byline { align-items: center; color: #fff; display: flex; gap: 14px; font-size: 12px; font-weight: 900; letter-spacing: .06em; margin-top: 24px; text-transform: uppercase; }
.avatar { background: #dce6f0; border-radius: 50%; height: 42px; width: 42px; }

.hero-rail { border-left: 1px solid rgba(255,255,255,.22); display: grid; grid-template-rows: repeat(3,1fr); }
.rail-story { border-bottom: 1px solid rgba(255,255,255,.22); display: grid; gap: 22px; grid-template-columns: 1fr 190px; padding: 26px; }
.rail-number { color: #fff; display: block; font-size: 38px; font-weight: 900; line-height: 1; margin-bottom: 8px; }
.rail-story h2 { font-family: Georgia, serif; font-size: 24px; font-weight: 500; line-height: 1.05; margin: 8px 0; }
.thumb { background: linear-gradient(135deg, #95abc1, #dbe5ee); min-height: 140px; overflow: hidden; }

.section { margin: 0 auto; max-width: 1320px; padding: 42px clamp(18px, 4vw, 40px); }
.section-title { align-items: center; border-bottom: 1px solid var(--navy); display: flex; font-size: 30px; font-weight: 900; justify-content: space-between; letter-spacing: .12em; margin: 0 0 22px; padding-bottom: 10px; text-transform: uppercase; }
.section-title span { color: var(--blue); font-size: 13px; letter-spacing: .08em; }

.ad-slot {
  align-items: center;
  background: linear-gradient(90deg, rgba(19,92,197,.08), rgba(255,255,255,.92)), #f6f9fc;
  border: 1px dashed rgba(0,26,51,.34);
  color: var(--navy);
  display: flex;
  gap: 18px;
  justify-content: center;
  margin: 18px auto;
  max-width: 1320px;
  min-height: 92px;
  padding: 16px clamp(18px, 4vw, 40px);
  text-align: center;
}

.ad-slot--placeholder {
  outline: 1px solid rgba(19, 92, 197, .28);
  outline-offset: -7px;
}

.ad-slot--placeholder small::before {
  content: "AD SLOT · ";
}

.ad-slot:empty::before {
  content: "Advertisement";
}

.ad-slot small { color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.ad-slot strong { display: block; font-size: 16px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.ad-slot span { color: var(--muted); display: block; font-size: 12px; font-weight: 900; letter-spacing: .08em; margin-top: 4px; text-transform: uppercase; }
.ad-slot--square { aspect-ratio: 1 / 1; flex-direction: column; margin: 0; min-height: 0; padding: 18px; width: 100%; }
.ad-slot--footer { background: linear-gradient(90deg, rgba(0,26,51,.04), rgba(100,114,134,.08)), #eef2f6; border-color: rgba(100,114,134,.54); margin-bottom: 24px; }
.ad-slot--footer small, .ad-slot--footer span { color: #647286; }

.now-layout { align-items: start; display: grid; gap: 22px; grid-template-columns: minmax(0,1fr) minmax(260px,300px); }
.now-row { border-bottom: 1px solid var(--line); display: grid; gap: 18px; grid-template-columns: 90px 150px minmax(0,1fr) 130px; padding: 13px 0; }
.now-row strong { color: var(--blue); }
.now-row b, .now-row small { font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }

.regions { display: grid; gap: 12px; grid-template-columns: repeat(5,minmax(0,1fr)); }
.region-card { background: #f3f6f9; min-height: 210px; padding: 16px; position: relative; }
.region-card .num { color: var(--blue); display: block; font-size: 28px; font-weight: 900; margin-bottom: 40px; }
.region-card h3 { font-family: Georgia, serif; font-size: 22px; font-weight: 500; line-height: 1.05; margin: 10px 0 0; }

.strip { background: var(--navy); color: #fff; overflow: hidden; position: relative; }
.strip--after-section { margin-top: -2px; }
.strip--before-footer { margin-top: 24px; }
.strip::before { background: repeating-linear-gradient(0deg, rgba(98,162,255,.12) 0 2px, transparent 2px 12px); bottom: 0; content: ""; left: 0; opacity: .55; position: absolute; top: 0; width: 36%; }
.strip-inner { display: grid; grid-template-columns: 230px minmax(0,1fr) 150px; min-height: 76px; position: relative; z-index: 1; }
.strip-label { align-items: center; border-right: 1px solid rgba(255,255,255,.24); display: flex; flex-direction: column; font-size: 24px; font-weight: 900; justify-content: center; letter-spacing: .12em; line-height: .9; text-transform: uppercase; }
.strip-label span { color: #62a2ff; font-size: 13px; letter-spacing: .28em; margin-top: 6px; }
.strip-viewport { overflow: hidden; position: relative; }
.strip-track { align-items: center; animation: scroll 36s linear infinite; display: flex; gap: 18px; min-height: 76px; width: max-content; }
.strip:hover .strip-track { animation-play-state: paused; }
.ticker-item { align-items: center; display: inline-flex; gap: 10px; min-width: max-content; }
.ticker-item small, .ticker-tag { color: #62a2ff; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.ticker-tag { border: 1px solid rgba(98,162,255,.7); padding: 5px 9px; }
.source-flag { font-size: 17px; }
.strip-meta { align-items: center; border-left: 1px solid rgba(255,255,255,.24); color: #9db0c2; display: flex; justify-content: center; }
.ticker-icon { align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.26); border-radius: 50%; color: #fff; display: inline-flex; flex: 0 0 auto; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: 17px; height: 30px; justify-content: center; line-height: 1; width: 30px; }
.env-icon--fire { color: #ff8a4c; }
.env-icon--earthquake { color: #ffd166; }
.env-icon--storm { color: #76b7ff; }
.env-icon--flood { color: #62d6ff; }
.env-icon--volcano { color: #ff6b6b; }
.env-icon--heat { color: #ffb35c; }
.env-icon--drought { color: #d8b26e; }
.env-icon--air { color: #a9c8ff; }
.env-icon--watch { color: var(--watch); }
.up { color: var(--up); }
.down { color: var(--down); }
.watch { color: var(--watch); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.analysis { background: var(--navy); color: #fff; padding: 54px clamp(18px,4vw,40px); }
.analysis-inner { display: grid; gap: 32px; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0 auto; max-width: 1320px; }
.analysis-card { display: grid; gap: 22px; grid-template-columns: 210px minmax(0,1fr); }
.portrait { background: linear-gradient(135deg, #dce6f0, #5d7188); min-height: 230px; }
.analysis-card h3 { font-family: Georgia, serif; font-size: 44px; font-weight: 500; line-height: 1; margin: 0 0 14px; }

.explainers { display: grid; gap: 12px; grid-template-columns: 1.2fr repeat(2,minmax(0,1fr)); }
.explainer-card { background: #f5f8fb; border-top: 4px solid var(--navy); display: flex; flex-direction: column; justify-content: space-between; min-height: 245px; padding: 20px; }
.explainer-card:first-child { background: var(--navy); color: #fff; }
.explainer-card small, .data-tool small { color: #62a2ff; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.explainer-card h3, .data-tool h3 { font-family: Georgia, serif; font-size: 30px; font-weight: 500; letter-spacing: -.025em; line-height: 1.02; margin: 16px 0 12px; }
.explainer-card p, .data-tool p { color: var(--muted); font-size: 15px; line-height: 1.45; margin: 0; }
.explainer-card:first-child p { color: var(--soft); }
.explainer-meta { border-top: 1px solid rgba(100,114,134,.32); color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .08em; margin-top: 22px; padding-top: 12px; text-transform: uppercase; }

.data-tools { border-bottom: 1px solid var(--line); border-top: 1px solid var(--navy); display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.data-tool { border-right: 1px solid var(--line); min-height: 176px; padding: 20px 18px; }
.data-tool:last-child { border-right: 0; }

.video-dispatch { background: var(--deep); color: #fff; display: grid; gap: 12px; grid-template-columns: 1.45fr .9fr; padding: 12px; }
.video-main, .video-stack article { background: var(--navy); position: relative; }
.video-frame { aspect-ratio: 16/9; background: linear-gradient(0deg,rgba(0,19,38,.72),rgba(0,19,38,.12)), repeating-linear-gradient(0deg,rgba(255,255,255,.14) 0 2px,transparent 2px 11px), linear-gradient(135deg,#123d72,#001a33); overflow: hidden; position: relative; }
.video-frame iframe { border: 0; display: block; height: 100%; width: 100%; }
.video-copy { padding: 18px; }
.video-copy h3 { font-family: Georgia, serif; font-size: 36px; font-weight: 500; letter-spacing: -.03em; line-height: 1; margin: 12px 0; }
.video-copy p { color: var(--soft); line-height: 1.45; margin: 0; }
.video-stack { display: grid; gap: 12px; grid-template-rows: repeat(2,1fr); }
.video-stack article { display: grid; grid-template-columns: 180px minmax(0,1fr); }
.video-stack .video-copy h3 { font-size: 24px; }
.play-chip { align-items: center; background: rgba(255,255,255,.92); border-radius: 50%; color: var(--navy); display: flex; font-size: 28px; font-weight: 900; height: 58px; justify-content: center; left: 50%; position: absolute; top: 50%; transform: translate(-50%,-50%); width: 58px; }

.dispatch-panel { display: grid; gap: 12px; grid-template-columns: repeat(6,minmax(0,1fr)); }
.social-card { background: var(--navy); color: #fff; min-height: 230px; padding: 14px; position: relative; }
.social-card::after { background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.12) 0 2px, transparent 2px 12px); bottom: 0; content: ""; opacity: .22; position: absolute; right: 0; top: 0; width: 48%; }
.social-card h3 { font-family: Georgia, serif; font-size: 22px; font-weight: 500; line-height: 1.05; margin: 28px 0 10px; position: relative; z-index: 1; }
.social-card p, .social-card small { position: relative; z-index: 1; }
.social-card small { color: #62a2ff; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }

.newsletter { align-items: center; background: var(--navy); color: #fff; display: grid; gap: 28px; grid-template-columns: 1fr 1.4fr; padding: 28px clamp(18px,4vw,44px); }
.newsletter h2 { font-size: 34px; letter-spacing: .12em; line-height: .95; margin: 0; text-transform: uppercase; }
.newsletter form { display: grid; gap: 12px; grid-template-columns: 1fr 150px; }
input, button { border: 0; font: inherit; min-height: 48px; padding: 0 16px; }
button { background: var(--blue); color: #fff; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }

footer { background: var(--deep); color: #fff; padding: 42px clamp(18px,4vw,44px); }
.footer-inner { display: grid; gap: 34px; grid-template-columns: 1fr 1fr 1fr; margin: 0 auto; max-width: 1320px; }
footer h4 { color: #62a2ff; letter-spacing: .1em; text-transform: uppercase; }
footer p { color: var(--soft); }

.article-page { background: #f5f8fb; padding: 48px clamp(18px,4vw,44px); }
.article-shell { background: #fff; margin: 0 auto; max-width: 980px; padding: clamp(28px,5vw,68px); }
.article-header h1 { color: var(--navy); }
.article-header p { color: var(--muted); font-size: 20px; line-height: 1.45; }
.article-content { font-family: Georgia, serif; font-size: 20px; line-height: 1.7; }
.article-content p { margin: 0 0 1.3em; }
.article-image { margin: 28px 0; }

@media (max-width: 920px) {
  .header-inner,
  .hero,
  .analysis-inner,
  .newsletter,
  .footer-inner,
  .now-layout,
  .video-dispatch {
    grid-template-columns: 1fr;
  }

  nav { justify-content: start; overflow-x: auto; }
  .language-switcher { border-left: 0; flex-wrap: wrap; padding-left: 0; }
  .header-inner { gap: 14px; }
  .brand-mark { width: min(220px,58vw); }
  .hero-rail { border-left: 0; }
  .regions,
  .explainers,
  .data-tools,
  .dispatch-panel {
    grid-template-columns: 1fr;
  }
  .ad-slot { align-items: stretch; flex-direction: column; margin: 12px 18px; }
  .ad-slot--square { aspect-ratio: auto; margin: 0; min-height: 180px; }
  .now-row { grid-template-columns: 1fr; gap: 5px; }
  .strip-inner { grid-template-columns: 150px minmax(0,1fr); }
  .strip-meta, .ticker-tag { display: none; }
  .video-stack article { grid-template-columns: 1fr; }
  .newsletter form { grid-template-columns: 1fr; }
}
