@layer reset {

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  body {
    margin: 0;
  }
}

:root {
  --navy: #0c1f3d;
  --blue: #1f4b99;
  --red: #e53935;
  --red-dark: #c62828;
  --offwhite: #f6f7fa;
  --text: #0d1526;
  --muted: #5a6070;
  --border: #e3e6ed;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --font-nav: "Oswald", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Ruda", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Spectral", Georgia, serif;
}

body.site-body {
  font-family: var(--font-body);
  background: var(--offwhite);
  color: var(--text);
  line-height: 1.6;
}

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

.page-shell {
  /* Removed max-width: 1150px and margin: 0 auto to allow 80px margins */
  max-width: none;
  margin: 0;
  padding: 0;
}

.site-header {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  position: sticky;
  top: 0;
  z-index: 30;
}

.figma-header {
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 14px 80px;
  gap: 24px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.icon-btn.menu::before {
  content: "☰";
  font-size: 18px;
}

.icon-btn.search::before {
  content: "🔍";
  font-size: 16px;
}

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}

.primary-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  font-family: var(--font-nav);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  justify-content: center;
}

.primary-nav a {
  padding: 10px 10px;
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
}

.primary-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.header-cta .subscribe-btn {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-nav);
  font-weight: 700;
  letter-spacing: 0.05em;
  border: none;
}

.header-cta .subscribe-btn:hover {
  background: var(--red-dark);
}

.trending-bar {
  background: #f6f7fe;
  border-bottom: 1px solid #e3e6ed;
}

.trending-inner {
  max-width: none;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 80px;
  font-family: "Manrope", var(--font-body);
}

.trending-label {
  color: var(--red);
  font-weight: 800;
  font-size: 14px;
}

.trending-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.trending-pills a {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #cad2e1;
  background: #fff;
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
}

.trending-pills a:hover {
  border-color: var(--red);
  color: var(--red);
}

.section {
  margin-top: 36px;
}

.section-heading .eyebrow {
  font-family: var(--font-nav);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  font-size: 12px;
  margin: 0;
}

.section-heading h1,
.section-heading h2,
.section-heading h3 {
  margin: 6px 0 4px;
  font-family: var(--font-head);
  font-weight: 900;
}

.hero-lead {
  max-width: 900px;
  margin: 10px auto 26px;
  text-align: center;
}

.lead-headline {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  margin: 0 0 10px;
  color: var(--text);
}

.lead-dek {
  font-size: 18px;
  color: var(--muted);
  margin: 0 auto;
  max-width: 720px;
}

.lead-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 18px;
}

.lead-hero,
.lead-rail {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 14px;
}

.ratio-16x9 {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 10px;
  overflow: hidden;
  background: var(--offwhite);
}

.ratio-16x9 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.lead-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 26px;
  margin: 12px 0 6px;
}

.lead-title a:hover {
  color: var(--red-dark);
}

.lead-excerpt {
  color: var(--muted);
  margin: 0 0 8px;
}

.lead-rail .rail-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--offwhite);
  margin-bottom: 10px;
}

.rail-item img {
  width: 100%;
  border-radius: 8px;
}

.rail-item h4 {
  margin: 4px 0;
  font-family: var(--font-head);
  font-size: 16px;
}

.rail-item .pill {
  background: rgba(31, 75, 153, 0.12);
  color: var(--blue);
  border: 1px solid rgba(31, 75, 153, 0.2);
}

.rail-empty {
  color: var(--muted);
  font-size: 14px;
  padding: 6px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid.four {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.story-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.story-card .ratio {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--offwhite);
}

.story-card .ratio img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 4px 10px;
  font-family: var(--font-nav);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-card .card-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.story-card h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 19px;
}

.story-card h3 a:hover {
  color: var(--red);
}

.story-card .card-excerpt {
  color: var(--muted);
  margin: 0;
}

.byline {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(229, 57, 53, 0.12);
  color: var(--red-dark);
  border: 1px solid rgba(229, 57, 53, 0.28);
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill-ghost {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
}

.pill-outline {
  background: transparent;
  border: 1px solid var(--border);
}

.filters .filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filters .pill {
  background: rgba(31, 75, 153, 0.08);
  color: var(--text);
  border-color: rgba(31, 75, 153, 0.24);
}

.filters .pill-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.ad-placeholder {
  border: 2px dashed var(--border);
  color: var(--muted);
  text-align: center;
  padding: 18px;
  background: #fff;
  border-radius: 10px;
  font-family: var(--font-nav);
  letter-spacing: 0.06em;
}

.pagination {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--muted);
}

.pagination a {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.article-shell {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
  max-width: 850px;
  margin: 0 auto;
}

.article-meta-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
}

.article-title {
  font-family: var(--font-head);
  font-size: clamp(30px, 4vw, 46px);
  margin: 8px 0;
}

.article-deck {
  color: var(--muted);
  font-size: 18px;
}

.hero-image {
  margin: 14px 0 10px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}

.hero-image img {
  width: 100%;
  display: block;
}

.hero-caption {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.article-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--text);
  line-height: 1.7;
}

.article-body img {
  max-width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.article-photo {
  margin: 0;
}

.article-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.article-photo figcaption {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.article-photo .credit {
  font-family: var(--font-nav);
  letter-spacing: 0.04em;
  font-size: 12px;
}

.article-block-pull_quote {
  padding: 16px 18px;
  border-left: 3px solid var(--red);
  background: var(--offwhite);
  font-family: var(--font-serif);
}

.pull-quote {
  margin: 0;
  font-size: 20px;
}

.pull-quote cite {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.article-divider {
  height: 1px;
  width: 100%;
  background: var(--border);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.related-grid {
  margin-top: 30px;
}

.ad-inline {
  margin: 18px 0;
}

.search-bar {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.search-bar input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

.search-bar button {
  padding: 12px 18px;
  border-radius: 12px;
  border: none;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.muted {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 20px 48px;
  background: var(--navy);
  color: #fff;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto 12px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
  font-weight: 700;
  flex-wrap: wrap;
}

.footer-copy {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-meta {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.brand-wordmark {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

@media (max-width: 1024px) {
  .lead-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .primary-nav {
    flex-wrap: wrap;
    width: 100%;
  }
}