:root {
  --bg-page: #f6f6f3;
  --bg-surface: #ffffff;
  --bg-subtle: #efefe9;
  --ink-primary: #111215;
  --ink-secondary: #4a4f5a;
  --ink-muted: #767c89;
  --border-hairline: #e2e2dc;
  --border-strong: #c8c8c0;
  --accent-red: #d91e18;
  --accent-red-dark: #b51611;
  --masthead-bg: #0f1115;
  --font-headline: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-page);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.hidden {
  display: none !important;
}

/* =========================================
   MASTHEAD & NAVIGATION
   ========================================= */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-surface);
  box-shadow: 0 1px 0 var(--border-hairline);
}

.masthead-top {
  background: var(--masthead-bg);
  color: #ffffff;
  padding: 12px 0;
}

.masthead-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.masthead-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #ffffff;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
}

.brand-wordmark {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.brand-pulse {
  color: var(--accent-red);
  margin-left: 2px;
}

.masthead-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.16);
}

.masthead-edition-date {
  font-size: 0.78rem;
  color: #9ca3af;
  font-weight: 500;
}

.masthead-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 280px;
}

.search-icon {
  position: absolute;
  left: 11px;
  width: 15px;
  height: 15px;
  color: #9ca3af;
}

.search-wrapper input {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  padding: 7px 28px 7px 34px;
  border-radius: 5px;
  font-size: 0.82rem;
  font-family: var(--font-sans);
  outline: none;
  transition: background 0.15s, border-color 0.15s;
}

.search-wrapper input::placeholder {
  color: #9ca3af;
}

.search-wrapper input:focus {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.38);
}

.search-clear {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  padding: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: #9ca3af;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.15s;
}

.lang-btn:hover {
  color: #ffffff;
}

.lang-btn.active {
  background: var(--accent-red);
  color: #ffffff;
}

/* PRIMARY NAVIGATION BAR */
.primary-nav {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-hairline);
}

.primary-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-link-btn {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--ink-secondary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 13px 12px 11px;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.nav-link-btn:hover {
  color: var(--ink-primary);
}

.nav-link-btn.active {
  color: var(--ink-primary);
  border-bottom-color: var(--accent-red);
  font-weight: 700;
}

.btn-series-index {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  font-size: 0.79rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-series-index:hover,
.btn-series-index.active {
  background: var(--ink-primary);
  color: #ffffff;
  border-color: var(--ink-primary);
}

.chevron-icon {
  width: 15px;
  height: 15px;
}

/* SECONDARY SERIES STRIP */
.series-strip {
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-hairline);
  padding: 7px 0;
}

.series-links {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.series-links::-webkit-scrollbar {
  display: none;
}

.series-chip {
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink-secondary);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 3px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.12s;
}

.series-chip:hover {
  color: var(--ink-primary);
  background: rgba(0, 0, 0, 0.04);
}

.series-chip.active {
  background: var(--ink-primary);
  color: #ffffff;
  font-weight: 600;
}

/* MEGA MENU */
.series-megamenu {
  background: var(--bg-surface);
  border-bottom: 2px solid var(--ink-primary);
  padding: 24px 0 28px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.megamenu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-hairline);
}

.megamenu-header h2 {
  font-family: var(--font-headline);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.megamenu-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--ink-secondary);
  cursor: pointer;
  line-height: 1;
}

.megamenu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.megamenu-col h3 {
  font-family: var(--font-headline);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-red);
  margin-bottom: 8px;
}

.megamenu-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.megamenu-item {
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.83rem;
  color: var(--ink-secondary);
  padding: 3px 0;
  cursor: pointer;
  transition: color 0.12s;
}

.megamenu-item:hover {
  color: var(--accent-red);
  font-weight: 600;
}

/* =========================================
   MAIN EDITORIAL LAYOUT
   ========================================= */
.editorial-main {
  padding-top: 28px;
  padding-bottom: 64px;
}

.section-filter-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--ink-primary);
}

.section-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-red);
  margin-bottom: 4px;
}

.section-heading {
  font-family: var(--font-headline);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.btn-clear-filter {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 4px;
  cursor: pointer;
}

.btn-clear-filter:hover {
  background: var(--ink-primary);
  color: #ffffff;
}

/* FRONTPAGE EDITORIAL TOP GRID */
.frontpage-lead {
  margin-bottom: 40px;
}

.lead-top-grid {
  display: grid;
  grid-template-columns: 1.75fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-hairline);
}

/* Dominant Lead Story */
.lead-primary {
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.lead-media-wrap {
  width: 100%;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: #e5e5e0;
  margin-bottom: 16px;
}

.lead-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.lead-primary:hover .lead-media-wrap img {
  transform: scale(1.02);
}

.kicker-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-red);
  margin-bottom: 6px;
  display: inline-block;
}

.lead-headline {
  font-family: var(--font-headline);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  margin-bottom: 10px;
  transition: color 0.15s;
}

.lead-primary:hover .lead-headline {
  color: var(--accent-red);
}

.lead-deck {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-secondary);
  margin-bottom: 12px;
}

.byline-meta {
  font-size: 0.76rem;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Right Column: Top Stories List */
.lead-sidebar {
  border-left: 1px solid var(--border-hairline);
  padding-left: 28px;
  display: flex;
  flex-direction: column;
}

.sidebar-section-label {
  font-family: var(--font-headline);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-primary);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink-primary);
  margin-bottom: 14px;
}

.sidebar-story-list {
  display: flex;
  flex-direction: column;
}

.sidebar-story-item {
  display: grid;
  grid-template-columns: 1fr 96px;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-hairline);
  cursor: pointer;
  align-items: start;
}

.sidebar-story-item:first-child {
  padding-top: 2px;
}

.sidebar-story-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-story-title {
  font-family: var(--font-headline);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink-primary);
  margin: 3px 0 6px;
  transition: color 0.15s;
}

.sidebar-story-item:hover .sidebar-story-title {
  color: var(--accent-red);
}

.sidebar-thumb {
  width: 96px;
  height: 68px;
  object-fit: cover;
  background: #e5e5e0;
}

/* Sub-Features 3-Column Strip below Lead */
.lead-subfeatures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 24px;
}

.subfeature-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.subfeature-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e5e5e0;
  margin-bottom: 10px;
}

.subfeature-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.subfeature-card:hover .subfeature-img-wrap img {
  transform: scale(1.03);
}

.subfeature-title {
  font-family: var(--font-headline);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.28;
  color: var(--ink-primary);
  margin-bottom: 6px;
  transition: color 0.15s;
}

.subfeature-card:hover .subfeature-title {
  color: var(--accent-red);
}

/* =========================================
   MAIN NEWS STREAM GRID
   ========================================= */
.stream-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.stream-title {
  font-family: var(--font-headline);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.stream-line {
  flex: 1;
  height: 1px;
  background: var(--border-strong);
}

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

.news-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.news-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.news-card-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e5e5e0;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-card-media img {
  transform: scale(1.03);
}

.news-card-content {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-title {
  font-family: var(--font-headline);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.32;
  color: var(--ink-primary);
  margin-bottom: 8px;
  transition: color 0.15s;
}

.news-card:hover .news-card-title {
  color: var(--accent-red);
}

.news-card-summary {
  font-size: 0.87rem;
  line-height: 1.5;
  color: var(--ink-secondary);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-card-footer {
  padding-top: 10px;
  border-top: 1px solid var(--border-hairline);
  font-size: 0.74rem;
  color: var(--ink-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pagination-wrap {
  text-align: center;
  margin-top: 36px;
}

.btn-more {
  background: var(--ink-primary);
  color: #ffffff;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 11px 28px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-more:hover {
  background: var(--accent-red);
}

/* =========================================
   DEDICATED FULL-PAGE ARTICLE VIEW (/article.html)
   ========================================= */
.article-page-main {
  padding-top: 24px;
  padding-bottom: 72px;
}

.article-breadcrumb-bar {
  max-width: 860px;
  margin: 0 auto 18px;
}

.breadcrumb-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-secondary);
  text-decoration: none;
  padding: 6px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: 4px;
  transition: all 0.15s;
}

.breadcrumb-back-link:hover {
  color: var(--ink-primary);
  border-color: var(--ink-primary);
}

.article-full-container {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
}

.article-loading-state {
  padding: 80px 32px;
  text-align: center;
  color: var(--ink-secondary);
  font-size: 1rem;
}

.article-header-pad {
  padding: 36px 52px 24px;
}

.article-main-title {
  font-family: var(--font-headline);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  margin: 10px 0 16px;
}

.article-lead-summary {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink-secondary);
  margin-bottom: 20px;
  font-weight: 400;
}

.article-byline-row {
  font-size: 0.82rem;
  color: var(--ink-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.article-byline-row strong {
  color: var(--ink-primary);
}

.article-cover-figure {
  width: 100%;
  background: #e5e5e0;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.article-cover-img {
  width: 100%;
  max-height: 490px;
  object-fit: cover;
  display: block;
}

.article-body-pad {
  padding: 36px 52px 52px;
}

.reader-prose {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.8;
  color: #1c1f24;
}

.reader-prose p {
  margin-bottom: 22px;
}

/* Table of Contents Box */
.article-toc {
  background: var(--bg-page);
  border: 1px solid var(--border-hairline);
  border-left: 4px solid var(--accent-red);
  padding: 20px 26px;
  margin: 28px 0 32px;
  font-family: var(--font-sans);
}

.article-toc strong {
  display: block;
  font-family: var(--font-headline);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-primary);
  margin-bottom: 10px;
}

.article-toc ol {
  margin-left: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 6px 24px;
  font-size: 0.88rem;
  color: var(--ink-secondary);
  font-weight: 600;
}

/* Subheadings inside article */
.article-subheading,
.reader-prose h2,
.reader-prose h3,
.reader-prose h4 {
  font-family: var(--font-headline);
  color: var(--ink-primary);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-top: 38px;
  margin-bottom: 16px;
}

.reader-prose h2 {
  font-size: 1.55rem;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink-primary);
}

.reader-prose h3 {
  font-size: 1.25rem;
  color: var(--ink-primary);
}

/* Lists inside article */
.article-list,
.reader-prose ul,
.reader-prose ol {
  margin: 14px 0 26px 24px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--ink-primary);
}

.reader-prose ul li,
.reader-prose ol li {
  margin-bottom: 8px;
  padding-left: 6px;
}

.reader-prose ul li::marker {
  color: var(--accent-red);
}

/* Data & Timing Tables inside article */
.article-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0 34px;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
}

.article-table,
.reader-prose table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  line-height: 1.45;
}

.article-table th,
.reader-prose table th {
  background: var(--masthead-bg);
  color: #ffffff;
  font-family: var(--font-headline);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.76rem;
  padding: 11px 14px;
  text-align: left;
  border-bottom: 2px solid var(--accent-red);
  white-space: nowrap;
}

.article-table td,
.reader-prose table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-hairline);
  color: var(--ink-primary);
  vertical-align: middle;
}

.article-table tbody tr:nth-child(even),
.reader-prose table tbody tr:nth-child(even) {
  background: #fafaf8;
}

.article-table tbody tr:hover,
.reader-prose table tbody tr:hover {
  background: #f1f1ec;
}

.article-table .col-pos {
  width: 54px;
  font-weight: 800;
  color: var(--accent-red);
  text-align: center;
}

.article-table .col-time {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  white-space: nowrap;
  text-align: right;
}

/* Inline Figures */
.article-inline-figure {
  margin: 28px 0;
}

.article-inline-figure img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border-hairline);
}

.related-section {
  max-width: 860px;
  margin: 48px auto 0;
}

/* =========================================
   EDITORIAL FOOTER
   ========================================= */
.editorial-footer {
  background: var(--masthead-bg);
  color: #9ca3af;
  padding: 40px 0;
  border-top: 3px solid var(--accent-red);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-logo {
  width: 30px;
  height: 30px;
  border-radius: 5px;
}

.footer-wordmark {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
}

.footer-wordmark span {
  color: var(--accent-red);
  margin-left: 2px;
}

.footer-desc {
  font-size: 0.82rem;
  max-width: 540px;
}

.footer-lang-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
}

.footer-lang-row a {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
}

.footer-lang-row a:hover {
  color: var(--accent-red);
}

/* =========================================
   RESPONSIVE BREAKPOINTS
   ========================================= */
@media (max-width: 1024px) {
  .lead-top-grid {
    grid-template-columns: 1fr;
  }
  .lead-sidebar {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border-hairline);
    padding-top: 20px;
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .masthead-edition-date,
  .masthead-divider {
    display: none;
  }
  .search-wrapper {
    width: 180px;
  }
  .lead-subfeatures,
  .news-grid {
    grid-template-columns: 1fr;
  }
  .article-header-pad,
  .article-body-pad {
    padding: 24px 20px 32px;
  }
  .article-main-title {
    font-size: 1.55rem;
  }
}

/* Google AdSense Slot Containers (hidden until enabled in ADSENSE_CONFIG) */
.ad-slot-container {
  max-width: 860px;
  margin: 28px auto;
  padding: 10px 0;
  text-align: center;
  min-height: 90px;
}

/* =========================================
   SEO LINKS & LEGAL PAGES
   ========================================= */
.seo-card-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.seo-card-link:hover {
  color: inherit;
}

.footer-legal-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  font-size: 0.78rem;
}

.footer-legal-row a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-legal-row a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.legal-doc-container .legal-intro-lead {
  margin-top: 12px;
  font-size: 0.98rem;
  color: var(--ink-secondary);
  line-height: 1.55;
}

.legal-section {
  padding: 18px 0;
  border-bottom: 1px solid var(--border-hairline);
}

.legal-section:last-child {
  border-bottom: none;
}

.nav-tab.active-legal {
  color: var(--accent-red);
  border-bottom-color: var(--accent-red);
}
