/*
Theme Name: GlobalPulse News
Theme URI: https://example.com/globalpulse-news
Author: GlobalPulse
Description: Fast editorial WordPress theme for English-language news, analysis, and culture media.
Version: 1.1.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: globalpulse
*/

:root {
  color-scheme: dark;
  --bg: #08090b;
  --surface: #111418;
  --surface-2: #181d23;
  --text: #f7f3ea;
  --muted: #a8b0ba;
  --line: rgba(255,255,255,.12);
  --line-strong: rgba(255,255,255,.2);
  --accent: #ff4d3d;
  --accent-2: #2fd4bf;
  --accent-3: #f4c95d;
  --ink: #0c0e11;
  --shadow: 0 22px 70px rgba(0,0,0,.35);
  --radius: 8px;
  --wrap: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f2ea;
  --surface: #fffdfa;
  --surface-2: #ebe6db;
  --text: #151515;
  --muted: #626b75;
  --line: rgba(10,12,14,.13);
  --line-strong: rgba(10,12,14,.22);
  --shadow: 0 20px 52px rgba(26,28,32,.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(800px circle at 15% -10%, rgba(47,212,191,.16), transparent 58%),
    radial-gradient(680px circle at 86% 6%, rgba(255,77,61,.17), transparent 62%),
    linear-gradient(180deg, var(--bg), var(--bg));
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

img,
picture {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 50;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  min-height: 100vh;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}

.topbar {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(255,77,61,.13), 0 0 20px rgba(255,77,61,.52);
}

.ticker {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 28px;
  animation: ticker-slide 30s linear infinite;
}

.ticker a {
  color: var(--text);
}

@keyframes ticker-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.masthead {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 920;
  font-size: 24px;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background:
    radial-gradient(circle at 30% 22%, #fff, transparent 18%),
    conic-gradient(from 210deg, var(--accent), var(--accent-3), var(--accent-2), var(--accent));
  color: #071012;
  box-shadow: 0 14px 32px rgba(255,77,61,.23);
}

.brand small {
  display: block;
  margin-top: -5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
}

.nav a:hover,
.nav .current-menu-item > a {
  background: rgba(255,255,255,.08);
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn,
.search-submit {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: var(--text);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.icon-btn:hover,
.search-submit:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent-2) 48%, var(--line));
  background: rgba(47,212,191,.1);
}

.theme-toggle::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--text) 50%, transparent 50%);
  box-shadow: inset -6px 0 0 rgba(255,255,255,.22), 0 0 0 2px var(--text);
}

.menu-toggle {
  display: none;
}

.search-panel {
  display: none;
  border-top: 1px solid var(--line);
  padding: 14px 0 18px;
}

.search-panel.is-open {
  display: block;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.search-form input {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255,255,255,.05);
  color: var(--text);
  outline: 0;
}

.main {
  padding: 26px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 18px;
}

.lead-story,
.story-card,
.opinion-strip,
.newsletter-card,
.article-body,
.sidebar-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: var(--shadow);
}

.lead-story {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.lead-story img,
.story-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--surface-2);
}

.lead-media {
  position: absolute;
  inset: 0;
}

.lead-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.78)),
    linear-gradient(90deg, rgba(0,0,0,.7), transparent 65%);
}

.lead-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: clamp(22px, 4vw, 42px);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--accent-3);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

.lead-title {
  max-width: 780px;
  margin: 0;
  font-size: clamp(34px, 5.7vw, 74px);
  line-height: .92;
  letter-spacing: -.055em;
}

.lead-excerpt {
  max-width: 630px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 17px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.lead-content .meta {
  margin-top: 20px;
  color: rgba(255,255,255,.74);
}

.side-stack {
  display: grid;
  gap: 18px;
}

.story-card {
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease;
}

.story-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent-2) 40%, var(--line));
}

.story-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,77,61,.22), rgba(47,212,191,.18)),
    var(--surface-2);
}

.story-content {
  padding: 17px;
}

.story-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.story-title a:hover,
.text-link:hover {
  color: var(--accent-2);
}

.story-excerpt {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 46px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.section-head h2,
.archive-title,
.single-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: .98;
  letter-spacing: -.045em;
}

.section-head p,
.archive-description {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.story-card.compact {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  align-items: stretch;
}

.story-card.compact .story-thumb {
  aspect-ratio: auto;
}

.story-card.compact .story-title {
  font-size: 17px;
}

.category-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.topic-pill {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(90px circle at 100% 0, rgba(255,77,61,.18), transparent 62%),
    var(--surface);
}

.topic-pill span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.topic-pill strong {
  font-size: 21px;
  line-height: 1.04;
}

.opinion-strip {
  display: grid;
  grid-template-columns: minmax(240px, .65fr) 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255,77,61,.14), rgba(47,212,191,.1)),
    var(--surface);
}

.opinion-strip h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: .98;
  letter-spacing: -.04em;
}

.opinion-list {
  display: grid;
  gap: 10px;
}

.opinion-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.opinion-item:last-child {
  border-bottom: 0;
}

.opinion-item strong {
  line-height: 1.15;
}

.newsletter-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 42px;
  padding: 26px;
  overflow: hidden;
  background:
    radial-gradient(260px circle at 88% 18%, rgba(244,201,93,.22), transparent 64%),
    radial-gradient(320px circle at 10% 100%, rgba(47,212,191,.16), transparent 66%),
    var(--surface);
}

.newsletter-card h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: .98;
  letter-spacing: -.04em;
}

.newsletter-card p {
  margin: 10px 0 0;
  max-width: 620px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 860;
  cursor: pointer;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
}

.article-hero {
  margin-bottom: 22px;
}

.single-title {
  max-width: 900px;
  font-size: clamp(36px, 6vw, 72px);
}

.single-excerpt {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
}

.single-media {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.single-media img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.article-body {
  padding: clamp(22px, 4vw, 44px);
}

.article-body :where(p, ul, ol, blockquote) {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.article-body p {
  font-size: 18px;
}

.article-body h2,
.article-body h3 {
  max-width: 760px;
  margin: 34px auto 12px;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.article-body a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body blockquote {
  padding: 18px 22px;
  border-left: 4px solid var(--accent);
  background: rgba(255,255,255,.055);
  color: var(--text);
  font-size: 21px;
  line-height: 1.35;
}

.comments-area {
  margin-top: 26px;
}

.comment-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.comment-body,
.comment-respond {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.comment-meta {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}

.comment-form {
  display: grid;
  gap: 12px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: rgba(255,255,255,.045);
  color: var(--text);
  outline: 0;
}

.comment-form textarea {
  min-height: 130px;
  resize: vertical;
}

.sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
}

.sidebar-card {
  padding: 18px;
}

.sidebar-card h3 {
  margin: 0 0 12px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.ranked-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ranked-list a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 11px;
  align-items: start;
}

.ranked-list span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--accent-3);
  font-weight: 900;
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.post-nav a {
  min-height: 92px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.pagination .page-numbers {
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}

.pagination .current {
  background: var(--text);
  color: var(--bg);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fallback-thumb {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255,77,61,.35), transparent 48%),
    radial-gradient(260px circle at 80% 10%, rgba(47,212,191,.4), transparent 60%),
    linear-gradient(160deg, #181d23, #07090b);
  color: rgba(255,255,255,.9);
  font-size: clamp(28px, 8vw, 72px);
  font-weight: 930;
  letter-spacing: -.06em;
}

.reveal {
  animation: reveal-up .55s cubic-bezier(.16,1,.3,1) both;
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .masthead {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
  .menu-toggle {
    display: grid;
  }
  .nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    display: none;
    padding-bottom: 14px;
  }
  .nav.is-open {
    display: block;
  }
  .nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-grid,
  .layout,
  .opinion-strip,
  .newsletter-card {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lead-story {
    min-height: 460px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, var(--wrap));
  }
  .topbar {
    min-height: 34px;
  }
  .ticker-track {
    animation-duration: 22s;
  }
  .brand {
    font-size: 21px;
  }
  .header-actions {
    gap: 6px;
  }
  .icon-btn,
  .search-submit {
    width: 38px;
    height: 38px;
  }
  .lead-story {
    min-height: 430px;
  }
  .lead-content {
    padding: 22px;
  }
  .lead-title {
    font-size: clamp(36px, 12vw, 52px);
  }
  .news-grid,
  .category-rail,
  .post-nav {
    grid-template-columns: 1fr;
  }
  .story-card.compact {
    grid-template-columns: 108px minmax(0, 1fr);
  }
  .story-card.compact .story-content {
    padding: 13px;
  }
  .story-card.compact .story-title {
    font-size: 15px;
  }
  .section-head {
    display: grid;
  }
  .article-body {
    padding: 20px;
  }
  .article-body p {
    font-size: 17px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* v1.1.0 bright European editorial system */
:root,
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f4ee;
  --surface: #fffdf8;
  --surface-2: #ece5d9;
  --text: #111315;
  --muted: #626b73;
  --line: rgba(17,19,21,.13);
  --line-strong: rgba(17,19,21,.24);
  --accent: #b82932;
  --accent-2: #0b6f82;
  --accent-3: #c48a2c;
  --ink: #111315;
  --shadow: 0 18px 50px rgba(35,38,42,.1);
  --radius: 7px;
  --wrap: 1210px;
}

body {
  background:
    linear-gradient(90deg, rgba(17,19,21,.045) 1px, transparent 1px),
    linear-gradient(180deg, #faf8f3 0%, #f3eee5 46%, #f7f4ee 100%);
  background-size: 72px 72px, auto;
}

body::before {
  background:
    radial-gradient(680px circle at 8% 0%, rgba(184,41,50,.11), transparent 62%),
    radial-gradient(760px circle at 92% 4%, rgba(11,111,130,.12), transparent 64%);
  background-size: auto;
  mask-image: none;
}

.site-header {
  border-bottom-color: rgba(17,19,21,.12);
  background: rgba(250,248,243,.88);
  box-shadow: 0 10px 40px rgba(24,27,31,.06);
}

.topbar {
  min-height: 36px;
  color: #4f5862;
  background: linear-gradient(90deg, rgba(184,41,50,.055), rgba(11,111,130,.055));
}

.live-dot {
  background: var(--accent);
  animation: live-pulse 1.6s ease-in-out infinite;
}

@keyframes live-pulse {
  0%,100% { transform: scale(1); box-shadow: 0 0 0 5px rgba(184,41,50,.12), 0 0 18px rgba(184,41,50,.28); }
  50% { transform: scale(.82); box-shadow: 0 0 0 9px rgba(184,41,50,.06), 0 0 25px rgba(184,41,50,.38); }
}

.ticker-track {
  animation-duration: 38s;
}

.ticker a,
.ticker span {
  position: relative;
}

.ticker a::after,
.ticker span::after {
  content: "";
  position: absolute;
  right: -16px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent-3);
}

.masthead {
  min-height: 82px;
}

.brand {
  gap: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 20%, transparent 21%),
    conic-gradient(from 180deg, #b82932, #c48a2c, #0b6f82, #1d2e38, #b82932);
  color: #fff;
  box-shadow: 0 13px 30px rgba(184,41,50,.18);
  animation: brand-orbit 8s linear infinite;
}

@keyframes brand-orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.brand small {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #6b747d;
  letter-spacing: .1em;
}

.nav a {
  min-height: 40px;
  color: #4e5962;
  border: 1px solid transparent;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.nav a:hover,
.nav .current-menu-item > a {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(25,28,32,.08);
  transform: translateY(-1px);
}

.icon-btn,
.search-submit {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(25,28,32,.07);
}

.search-form input {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.main {
  padding-top: 30px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.38fr) minmax(320px, .62fr);
  gap: 20px;
}

.lead-story,
.story-card,
.opinion-strip,
.newsletter-card,
.article-body,
.sidebar-card,
.pulse-board {
  background: rgba(255,253,248,.92);
  border-color: rgba(17,19,21,.12);
  box-shadow: 0 18px 48px rgba(27,31,35,.08);
}

.lead-story {
  min-height: 575px;
  border-radius: 10px;
}

.lead-story::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 3;
  border: 1px solid rgba(255,255,255,.42);
  pointer-events: none;
}

.lead-media::after {
  background:
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.74)),
    linear-gradient(90deg, rgba(0,0,0,.66), rgba(0,0,0,.08) 72%);
}

.lead-content {
  padding: clamp(26px, 4.5vw, 52px);
}

.lead-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 6.5vw, 88px);
  font-weight: 760;
  line-height: .9;
  letter-spacing: -.06em;
}

.lead-excerpt {
  max-width: 650px;
  color: rgba(255,255,255,.9);
  font-size: 18px;
}

.kicker {
  color: var(--accent);
  font-size: 10px;
}

.lead-content .kicker {
  color: #ffd579;
}

.story-card {
  position: relative;
  border-radius: 10px;
  transform: translateZ(0);
  transition: transform .26s cubic-bezier(.16,1,.3,1), box-shadow .26s ease, border-color .26s ease;
}

.story-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 32%, rgba(255,255,255,.55) 45%, transparent 58%);
  opacity: 0;
  transform: translateX(-35%);
  transition: opacity .28s ease, transform .55s cubic-bezier(.16,1,.3,1);
}

.story-card:hover {
  transform: translateY(-7px);
  border-color: rgba(11,111,130,.32);
  box-shadow: 0 24px 65px rgba(27,31,35,.13);
}

.story-card:hover::after {
  opacity: 1;
  transform: translateX(35%);
}

.story-thumb {
  background:
    linear-gradient(135deg, rgba(184,41,50,.18), rgba(11,111,130,.14)),
    var(--surface-2);
}

.story-thumb img,
.lead-story img {
  transition: transform .65s cubic-bezier(.16,1,.3,1), filter .65s ease;
}

.story-card:hover .story-thumb img,
.lead-story:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.04);
}

.story-title {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  font-weight: 760;
  letter-spacing: -.02em;
}

.story-title a:hover {
  color: var(--accent);
}

.meta {
  color: #69737c;
  letter-spacing: .01em;
}

.section-head {
  margin-top: 56px;
  border-bottom-color: rgba(17,19,21,.18);
}

.section-head h2,
.archive-title,
.single-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 760;
  letter-spacing: -.045em;
}

.pulse-board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px 260px;
  gap: 28px;
  align-items: center;
  margin-top: 20px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 10px;
  overflow: hidden;
}

.pulse-board::before {
  content: "";
  position: absolute;
  inset: auto -12% -45% 18%;
  height: 170px;
  background: radial-gradient(ellipse at center, rgba(11,111,130,.12), transparent 68%);
  pointer-events: none;
}

.pulse-copy h2 {
  margin: 0;
  max-width: 640px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: .95;
  letter-spacing: -.05em;
}

.pulse-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
}

.pulse-map {
  position: relative;
  width: 240px;
  height: 240px;
  justify-self: center;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 27%, transparent 28%),
    repeating-radial-gradient(circle at center, rgba(17,19,21,.12) 0 1px, transparent 1px 34px);
  border: 1px solid var(--line);
}

.pulse-map strong {
  position: relative;
  z-index: 2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  letter-spacing: -.06em;
}

.pulse-ring {
  position: absolute;
  inset: 28px;
  border: 2px solid rgba(11,111,130,.32);
  border-radius: 50%;
  animation: radar-sweep 4.8s linear infinite;
}

.pulse-ring::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(11,111,130,.7), transparent);
  transform-origin: 0 50%;
}

@keyframes radar-sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.pulse-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(184,41,50,.1);
  animation: dot-pop 2.2s ease-in-out infinite;
}

.dot-a { left: 34px; top: 64px; }
.dot-b { right: 46px; top: 84px; animation-delay: .35s; background: var(--accent-2); box-shadow: 0 0 0 7px rgba(11,111,130,.1); }
.dot-c { right: 72px; bottom: 42px; animation-delay: .7s; background: var(--accent-3); box-shadow: 0 0 0 7px rgba(196,138,44,.12); }
.dot-d { left: 64px; bottom: 72px; animation-delay: 1.05s; }

@keyframes dot-pop {
  0%,100% { transform: scale(1); opacity: .72; }
  50% { transform: scale(1.42); opacity: 1; }
}

.pulse-stats {
  display: grid;
  gap: 10px;
}

.pulse-stats span {
  display: grid;
  gap: 3px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  box-shadow: 0 10px 24px rgba(27,31,35,.06);
}

.pulse-stats strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
}

.topic-pill {
  background:
    radial-gradient(120px circle at 100% 0, rgba(184,41,50,.1), transparent 62%),
    #fffdf8;
  transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s ease, border-color .22s ease;
}

.topic-pill:hover {
  transform: translateY(-5px);
  border-color: rgba(184,41,50,.28);
  box-shadow: 0 18px 45px rgba(27,31,35,.1);
}

.opinion-strip,
.newsletter-card {
  background:
    linear-gradient(135deg, rgba(184,41,50,.07), rgba(11,111,130,.065)),
    #fffdf8;
}

.opinion-strip h2,
.newsletter-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 760;
}

.btn {
  background: #111315;
  color: #fffdf8;
  box-shadow: 0 12px 28px rgba(17,19,21,.16);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--accent);
  box-shadow: 0 16px 36px rgba(184,41,50,.22);
}

.fallback-thumb {
  background:
    linear-gradient(135deg, rgba(184,41,50,.28), transparent 50%),
    radial-gradient(260px circle at 80% 10%, rgba(11,111,130,.28), transparent 60%),
    #e9e1d3;
  color: #111315;
}

.reveal {
  animation: editorial-rise .62s cubic-bezier(.16,1,.3,1) both;
}

@keyframes editorial-rise {
  0% { opacity: 0; transform: translateY(18px) scale(.985); filter: blur(8px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@media (max-width: 980px) {
  .pulse-board {
    grid-template-columns: 1fr;
  }
  .pulse-map {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 23px;
  }
  .brand-mark {
    width: 38px;
    height: 38px;
  }
  .hero-grid {
    gap: 14px;
  }
  .lead-story {
    min-height: 500px;
  }
  .lead-story::before {
    inset: 10px;
  }
  .pulse-map {
    width: 210px;
    height: 210px;
  }
  .pulse-board {
    gap: 20px;
  }
}
