:root {
  --bg: #07111f;
  --bg-soft: #0d1830;
  --paper: #f4f1ea;
  --paper-2: #fbfaf7;
  --card: #fffdf8;
  --card-strong: #ffffff;
  --text: #122033;
  --text-soft: #4f6077;
  --line: rgba(18, 32, 51, 0.1);
  --line-strong: rgba(255, 255, 255, 0.12);
  --accent: #ef4444;
  --accent-2: #3158d4;
  --gold: #caa86a;
  --shadow: 0 34px 80px rgba(7, 17, 31, 0.14);
  --shadow-soft: 0 18px 44px rgba(7, 17, 31, 0.09);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1280px;
  --sans: "Inter", "Segoe UI", sans-serif;
  --serif: "Georgia", "Times New Roman", serif;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.2, 0.8, 0.2, 1);
  --motion-fast: 0.18s;
  --motion-base: 0.28s;
  --motion-slow: 0.42s;
  --section-mark: "NP";
  --section-pattern:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 48%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 52%);
  --section-halo: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 68%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.menu-open {
  overflow: hidden;
}

body {
  font-family: var(--sans);
  background:
    radial-gradient(circle at top left, rgba(49, 88, 212, 0.22), transparent 24%),
    radial-gradient(circle at top right, rgba(239, 68, 68, 0.12), transparent 22%),
    linear-gradient(180deg, #07111f 0%, #111d35 24%, #ece7dd 24%, #f7f4ee 62%, #f2efe8 100%);
  color: var(--text);
  line-height: 1.7;
}

body[data-section="home"] {
  --section-mark: "NP";
  --story-image-position: center 34%;
  --article-cover-position: center 30%;
}

body[data-section="search"] {
  --accent: #2563eb;
  --accent-2: #7c3aed;
  --section-mark: "SR";
  --section-pattern:
    linear-gradient(135deg, rgba(37, 99, 235, 0.16), transparent 44%),
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.14), transparent 54%);
  --section-halo: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 68%);
  --story-image-position: center 32%;
  --article-cover-position: center 30%;
}

body[data-section="saved"] {
  --accent: #475569;
  --accent-2: #3158d4;
  --section-mark: "SV";
  --section-pattern:
    linear-gradient(135deg, rgba(71, 85, 105, 0.16), transparent 44%),
    radial-gradient(circle at top right, rgba(49, 88, 212, 0.14), transparent 54%);
  --section-halo: radial-gradient(circle, rgba(71, 85, 105, 0.18), transparent 68%);
  --story-image-position: center 34%;
  --article-cover-position: center 30%;
}

body[data-section="world"] {
  --accent: #ef4444;
  --accent-2: #3158d4;
  --section-mark: "WN";
  --section-pattern:
    linear-gradient(135deg, rgba(49, 88, 212, 0.18), transparent 44%),
    radial-gradient(circle at top right, rgba(239, 68, 68, 0.14), transparent 54%);
  --section-halo: radial-gradient(circle, rgba(49, 88, 212, 0.18), transparent 68%);
  --story-image-position: center 34%;
  --article-cover-position: center 30%;
}

body[data-section="politics"] {
  --accent: #9f1239;
  --accent-2: #1d4ed8;
  --section-mark: "PO";
  --section-pattern:
    linear-gradient(135deg, rgba(159, 18, 57, 0.16), transparent 44%),
    radial-gradient(circle at top right, rgba(29, 78, 216, 0.13), transparent 54%);
  --section-halo: radial-gradient(circle, rgba(159, 18, 57, 0.18), transparent 68%);
  --story-image-position: center 24%;
  --article-cover-position: center 26%;
}

body[data-section="economic"] {
  --accent: #0f766e;
  --accent-2: #1d4ed8;
  --section-mark: "EC";
  --section-pattern:
    linear-gradient(135deg, rgba(15, 118, 110, 0.16), transparent 44%),
    radial-gradient(circle at top right, rgba(29, 78, 216, 0.13), transparent 54%);
  --section-halo: radial-gradient(circle, rgba(15, 118, 110, 0.18), transparent 68%);
  --story-image-position: center 42%;
  --article-cover-position: center 40%;
}

body[data-section="entertainment"] {
  --accent: #c2410c;
  --accent-2: #7c3aed;
  --section-mark: "EN";
  --section-pattern:
    linear-gradient(135deg, rgba(194, 65, 12, 0.15), transparent 44%),
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.14), transparent 54%);
  --section-halo: radial-gradient(circle, rgba(124, 58, 237, 0.18), transparent 68%);
  --story-image-position: center 28%;
  --article-cover-position: center 24%;
}

body[data-section="sport"] {
  --accent: #15803d;
  --accent-2: #0f766e;
  --section-mark: "SP";
  --section-pattern:
    linear-gradient(135deg, rgba(21, 128, 61, 0.16), transparent 44%),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.13), transparent 54%);
  --section-halo: radial-gradient(circle, rgba(21, 128, 61, 0.18), transparent 68%);
  --story-image-position: center 30%;
  --article-cover-position: center 26%;
}

body[data-section="funny"] {
  --accent: #db2777;
  --accent-2: #2563eb;
  --section-mark: "VI";
  --section-pattern:
    linear-gradient(135deg, rgba(219, 39, 119, 0.16), transparent 44%),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.13), transparent 54%);
  --section-halo: radial-gradient(circle, rgba(219, 39, 119, 0.18), transparent 68%);
  --story-image-position: center 22%;
  --article-cover-position: center 24%;
}

body[data-section="trending"] {
  --accent: #b45309;
  --accent-2: #1d4ed8;
  --section-mark: "TR";
  --section-pattern:
    linear-gradient(135deg, rgba(180, 83, 9, 0.16), transparent 44%),
    radial-gradient(circle at top right, rgba(29, 78, 216, 0.13), transparent 54%);
  --section-halo: radial-gradient(circle, rgba(180, 83, 9, 0.18), transparent 68%);
  --story-image-position: center 30%;
  --article-cover-position: center 28%;
}

a {
  color: inherit;
  text-decoration: none;
}

.topic-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--motion-fast) var(--ease-soft), border-color var(--motion-fast) var(--ease-soft);
}

.topic-link:hover {
  color: var(--accent-2);
  border-color: currentColor;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -56px;
  z-index: 2000;
  padding: 12px 16px;
  border-radius: 14px;
  background: #ffffff;
  color: #101b30;
  font-weight: 700;
  box-shadow: 0 16px 32px rgba(7, 17, 31, 0.18);
  transition: top var(--motion-fast) var(--ease-soft);
}

.skip-link:focus {
  top: 16px;
}

img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.section-card,
.sidebar-card,
.info-card,
.story-card,
.article-related-card,
.author-highlight-card,
.author-rhythm-card,
.author-link-card,
.search-utility-card,
.archive-story-card {
  content-visibility: auto;
  contain-intrinsic-size: 360px;
}

.reading-history-rail,
.footer-browse-rail,
.article-related,
.article-next-card {
  content-visibility: auto;
  contain-intrinsic-size: 420px;
}

body {
  --image-sat: 1;
  --image-brightness: 1;
  --image-contrast: 1.02;
  --image-tint: linear-gradient(180deg, rgba(10, 20, 38, 0.02), rgba(10, 20, 38, 0.16));
  --story-image-position: center 36%;
  --article-cover-position: center 34%;
}

.container {
  width: min(92%, var(--max));
  margin: 0 auto;
}

.topbar {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(14px);
}

.topbar-inner,
.navbar,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.topbar-inner {
  padding: 10px 0;
}

.breaking {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.breaking span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  color: #fff1f2;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.breaking span::before,
.eyebrow::before,
.article-kicker::before {
  content: var(--section-mark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 17, 31, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.navbar {
  padding: 18px 0;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.logo {
  color: #ffffff;
  font-size: 1.72rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo span {
  color: #f43f5e;
}

.site-tagline {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.nav-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.nav-search-shortcut,
.nav-search-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(45, 77, 161, 0.92), rgba(244, 63, 94, 0.88));
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 30px rgba(14, 24, 45, 0.16);
  transition: transform var(--motion-fast) var(--ease-soft), box-shadow var(--motion-fast) var(--ease-soft), filter var(--motion-fast) var(--ease-soft);
}

.nav-search-shortcut:hover,
.nav-search-mobile:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(14, 24, 45, 0.2);
  filter: saturate(1.04);
}

.nav-search-mobile {
  display: none;
}

.nav-command-button,
.nav-command-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.84);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform var(--motion-fast) var(--ease-soft), background var(--motion-fast) var(--ease-soft), border-color var(--motion-fast) var(--ease-soft), color var(--motion-fast) var(--ease-soft);
}

.nav-command-button:hover,
.nav-command-mobile:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.nav-command-button kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.76);
  font: inherit;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.nav-command-mobile {
  display: none;
}

.nav-toggle {
  display: none;
  min-width: 48px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  color: #ffffff;
  backdrop-filter: blur(12px);
  box-shadow: none;
}

.nav-toggle:hover {
  box-shadow: none;
}

.nav-toggle-label {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(3, 8, 18, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--motion-base) var(--ease-soft);
}

body.menu-open .nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.command-open {
  overflow: hidden;
}

.command-palette {
  position: fixed;
  inset: 0;
  z-index: 2200;
}

.command-palette-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 11, 23, 0.62);
  backdrop-filter: blur(14px);
}

.command-palette-dialog {
  position: relative;
  width: min(760px, calc(100% - 32px));
  margin: 72px auto 0;
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(49, 88, 212, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(10, 18, 34, 0.98), rgba(8, 16, 30, 0.99));
  box-shadow: 0 30px 80px rgba(2, 8, 18, 0.36);
}

.command-palette-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.command-palette-kicker {
  color: #f3b9c5;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.command-palette-head h3 {
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.04;
}

.command-palette-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.command-palette-input {
  width: 100%;
  min-height: 64px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 1.02rem;
}

.command-palette-input::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.command-palette-hint {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
}

.command-palette-list {
  display: grid;
  gap: 10px;
}

.command-result {
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  transition: transform var(--motion-fast) var(--ease-soft), background var(--motion-fast) var(--ease-soft), border-color var(--motion-fast) var(--ease-soft);
}

.command-result:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.command-result span {
  color: #f3b9c5;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.command-result strong {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.35;
}

.command-result em {
  color: rgba(255, 255, 255, 0.68);
  font-style: normal;
  line-height: 1.45;
}

.command-result-empty {
  cursor: default;
}

.command-result-empty:hover {
  transform: none;
}

.nav-links a {
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform var(--motion-fast) var(--ease-soft), background var(--motion-fast) var(--ease-soft), border-color var(--motion-fast) var(--ease-soft), color var(--motion-fast) var(--ease-soft);
}

.nav-links a:hover,
.nav-links a.active {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(239, 68, 68, 0.5);
  outline-offset: 3px;
}

.page-hero {
  padding: 58px 0 34px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 48px;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(135deg, #132656 0%, #1f2d59 42%, #4f3148 100%);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -14% -45% 46%;
  height: 340px;
  background: var(--section-halo);
  pointer-events: none;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    var(--section-pattern),
    linear-gradient(180deg, transparent, rgba(7, 17, 31, 0.12));
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 8px 13px;
  border-radius: 999px;
  background: color-mix(in srgb, #ffffff 12%, var(--accent-2) 12%);
  color: #f8fafc;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel h1,
.section-title h2,
.story-body h3,
.article-headline,
.article-copy h2,
.sidebar-card h3,
.info-card h3,
.footer-brand h3,
.footer-col h4,
.article-author-name,
.article-related-head h2,
.article-next-label,
.article-share h3 {
  font-family: var(--serif);
  letter-spacing: -0.03em;
}

.hero-panel h1 {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 4.2vw, 4.2rem);
  line-height: 0.94;
  text-wrap: balance;
}

.hero-panel p {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.72;
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.stat {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
}

.stat strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.45rem;
}

.content {
  padding: 24px 0 80px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(300px, 0.9fr);
  gap: 36px;
  align-items: stretch;
}

.section-card,
.sidebar-card,
.story-card,
.info-card,
.article-card,
.article-sidebar,
.article-related,
.article-next-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), #ffffff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.section-card,
.sidebar-card,
.info-card,
.article-related,
.article-next-card {
  background:
    radial-gradient(circle at top right, rgba(49, 88, 212, 0.05), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 251, 254, 0.96));
}

.section-card::before,
.sidebar-card::before,
.info-card::before,
.article-related::before,
.article-next-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-2), var(--gold), var(--accent));
  opacity: 0.78;
}

.section-card,
.sidebar-card,
.info-card {
  padding: 36px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(18, 32, 51, 0.08);
}

.section-title h2 {
  font-size: 2.24rem;
  color: #112039;
}

.section-title p {
  font-size: 1.01rem;
  line-height: 1.72;
}

.section-title p,
.muted,
.story-card p,
.sidebar-card p,
.info-card p,
.info-card li,
label,
.list-item,
.source-note,
.article-author-role,
.article-readtime,
.article-share p,
.article-next-card p,
.article-related-card p {
  color: var(--text-soft);
}

.stories {
  display: grid;
  gap: 22px;
}

.story-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(247, 249, 253, 0.98));
  transition: transform var(--motion-base) var(--ease-smooth), box-shadow var(--motion-base) var(--ease-smooth), border-color var(--motion-base) var(--ease-soft);
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 66px rgba(7, 17, 31, 0.14);
  border-color: rgba(49, 88, 212, 0.16);
}

.story-card a {
  display: block;
}

.story-card img {
  height: 260px;
  aspect-ratio: 16 / 10;
  object-position: var(--story-image-position);
  filter: saturate(var(--image-sat)) contrast(var(--image-contrast)) brightness(var(--image-brightness));
  transition: transform var(--motion-slow) var(--ease-smooth), filter var(--motion-base) var(--ease-soft);
}

.story-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 260px;
  background: var(--image-tint);
  pointer-events: none;
  z-index: 0;
}

.archive-story-card .story-body {
  padding: 18px 20px;
}

.archive-story-card .story-meta {
  margin-bottom: 8px;
  gap: 8px;
  font-size: 0.72rem;
}

.archive-story-card .story-body h3 {
  margin-bottom: 8px;
  font-size: 1.22rem;
  line-height: 1.16;
}

.archive-story-card .story-body p {
  max-width: 72ch;
  font-size: 0.95rem;
  line-height: 1.6;
}

.archive-story-card .story-link {
  margin-top: 0;
}

.archive-story-card .story-body::before {
  display: none;
}

.archive-story-card {
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(7, 17, 31, 0.06);
}

.archive-story-card:hover {
  box-shadow: 0 20px 36px rgba(7, 17, 31, 0.09);
}

.archive-story-card .story-actions {
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}

.archive-story-card .save-story-button {
  padding: 8px 12px;
  font-size: 0.86rem;
}

.archive-load-more {
  width: 100%;
  margin-top: 22px;
}

.archive-pagination-bar {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid rgba(18, 32, 51, 0.08);
}

.archive-pagination-status {
  color: var(--text-soft);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.archive-pagination-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.archive-page-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 11px 15px;
  border: 1px solid #d7dfeb;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f6f8fc);
  color: #203149;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--motion-fast) var(--ease-soft), background var(--motion-fast) var(--ease-soft), border-color var(--motion-fast) var(--ease-soft), color var(--motion-fast) var(--ease-soft), box-shadow var(--motion-fast) var(--ease-soft), opacity var(--motion-fast) var(--ease-soft);
}

.archive-page-button:hover {
  transform: translateY(-1px);
  border-color: #101b30;
  background: #101b30;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 27, 48, 0.14);
}

.archive-page-button.active {
  background: #101b30;
  border-color: #101b30;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 27, 48, 0.14);
}

.archive-page-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.story-card:hover img {
  transform: scale(1.03);
  filter: saturate(calc(var(--image-sat) * 1.05)) contrast(calc(var(--image-contrast) * 1.02)) brightness(calc(var(--image-brightness) * 1.02));
}

.story-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  position: relative;
  padding: 28px;
}

.story-body::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.story-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #5f7188;
}

.story-meta span {
  padding: 7px 11px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f7f9fc, #eef3f9);
  border: 1px solid #e1e8f1;
}

.story-meta .story-badge {
  background: linear-gradient(180deg, #101b30, #27457a);
  border-color: #101b30;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.story-meta .story-update-chip,
.teaser-meta .story-update-chip,
.lead-rail-meta .story-update-chip {
  display: inline-flex;
  align-items: center;
  align-self: center;
  white-space: nowrap;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 4px 10px;
  color: #9a3412;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.story-body h3 {
  margin-bottom: 14px;
  font-size: 1.66rem;
  line-height: 1.08;
  color: #102039;
  text-wrap: balance;
}

.story-body p {
  max-width: 60ch;
  font-size: 1.01rem;
  line-height: 1.72;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  color: #102039;
  font-weight: 700;
}

.story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: auto;
}

.story-actions .story-link {
  margin-top: 0;
  padding-top: 0;
}

.save-story-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: #f6f8fc;
  color: #24354d;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.save-story-button:hover,
.save-story-button.is-saved {
  transform: translateY(-1px);
  background: #101b30;
  border-color: #101b30;
  color: #ffffff;
}

.story-link.button-link {
  color: #2344a5;
}

.article-next-arrow::after {
  content: ">";
}

.article-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1200;
  width: 100%;
  height: 4px;
  background: transparent;
}

.article-progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #ef4444, #3158d4, #caa86a);
  box-shadow: 0 0 22px rgba(49, 88, 212, 0.4);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(290px, 0.82fr);
  gap: 28px;
}

.article-shell {
  display: grid;
  gap: 22px;
}

.article-card {
  border-radius: 32px;
}

.article-cover {
  height: 500px;
  aspect-ratio: 16 / 9;
  object-position: var(--article-cover-position);
  filter: saturate(calc(var(--image-sat) * 1.04)) contrast(calc(var(--image-contrast) * 1.04)) brightness(calc(var(--image-brightness) * 0.96));
}

.article-body {
  padding: 42px;
}

.article-cover-caption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 24px 0;
  color: #66778d;
  font-size: 0.88rem;
  line-height: 1.5;
}

.article-cover-caption strong {
  color: #102039;
  font-weight: 700;
}

body[data-section="world"] {
  --image-sat: 0.98;
  --image-brightness: 0.97;
  --image-contrast: 1.05;
  --image-tint: linear-gradient(180deg, rgba(16, 35, 68, 0.06), rgba(16, 35, 68, 0.22));
}

body[data-section="politics"] {
  --image-sat: 0.96;
  --image-brightness: 0.95;
  --image-contrast: 1.08;
  --image-tint: linear-gradient(180deg, rgba(51, 31, 31, 0.04), rgba(51, 31, 31, 0.2));
}

body[data-section="economic"] {
  --image-sat: 0.95;
  --image-brightness: 0.96;
  --image-contrast: 1.07;
  --image-tint: linear-gradient(180deg, rgba(33, 49, 37, 0.04), rgba(33, 49, 37, 0.2));
}

body[data-section="entertainment"] {
  --image-sat: 1.08;
  --image-brightness: 1;
  --image-contrast: 1.04;
  --image-tint: linear-gradient(180deg, rgba(59, 31, 78, 0.03), rgba(59, 31, 78, 0.17));
}

body[data-section="sport"] {
  --image-sat: 1.02;
  --image-brightness: 0.98;
  --image-contrast: 1.08;
  --image-tint: linear-gradient(180deg, rgba(13, 59, 76, 0.03), rgba(13, 59, 76, 0.18));
}

body[data-section="funny"],
body[data-section="trending"] {
  --image-sat: 1.1;
  --image-brightness: 1;
  --image-contrast: 1.03;
  --image-tint: linear-gradient(180deg, rgba(76, 33, 92, 0.02), rgba(76, 33, 92, 0.15));
}

.article-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #edf2ff;
  color: #2344a5;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-headline {
  margin-bottom: 18px;
  font-size: clamp(2.55rem, 4.1vw, 3.9rem);
  line-height: 0.95;
  color: #0f1f39;
  text-wrap: balance;
}

.article-standfirst {
  max-width: 800px;
  margin-bottom: 28px;
  font-size: 1.22rem;
  line-height: 1.72;
  color: #52647b;
}

.article-header-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -4px 0 24px;
}

.article-status-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f8fafc, #eef3ff);
  border: 1px solid #dbe3ef;
  color: #1b3766;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e6eaf0;
  color: #607186;
  font-size: 0.92rem;
}

.article-meta span,
.article-readtime {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f4f6fa;
  border: 1px solid #e3e8ef;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.article-meta-label {
  display: inline;
}

.article-readtime {
  display: inline-flex;
  margin-bottom: 22px;
  font-size: 0.9rem;
  font-weight: 600;
}

.article-author {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
  padding: 20px;
  border: 1px solid #e4e9f1;
  border-radius: 22px;
  background: linear-gradient(135deg, #faf8f3, #ffffff 60%);
}

.article-author-avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #101b30, #3158d4);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
}

.article-author-name {
  font-size: 1.22rem;
  color: #102039;
}

.article-author-name a {
  color: inherit;
}

.article-author-role {
  font-size: 0.95rem;
}

.article-author-note {
  margin-top: 8px;
  color: #40546e;
  font-size: 0.9rem;
  font-weight: 600;
}

.article-credibility-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.article-credibility-item {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid #e4e9f1;
  border-radius: 18px;
  background: linear-gradient(180deg, #fcfdff, #f7f5ef);
}

.article-credibility-item span {
  color: var(--text-soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-credibility-item strong {
  color: #102039;
  line-height: 1.35;
}

.author-profile-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border: 1px solid #e4e9f1;
  border-radius: 24px;
  background: linear-gradient(135deg, #faf8f3, #ffffff 60%);
}

.author-profile-card-premium {
  grid-template-columns: minmax(180px, 220px) 1fr;
  align-items: stretch;
}

.author-profile-portrait {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 24px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.72), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(236, 242, 252, 0.94));
  border: 1px solid rgba(20, 37, 62, 0.08);
}

.author-profile-portrait::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  border: 1px solid rgba(32, 56, 92, 0.08);
}

.author-profile-photo {
  position: absolute;
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  aspect-ratio: 12 / 13;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.author-profile-avatar {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: linear-gradient(135deg, #101b30, #3158d4);
  color: #ffffff;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.author-profile-card-premium .author-profile-avatar {
  position: relative;
  z-index: 1;
  width: 132px;
  height: 132px;
  font-size: 2.1rem;
  letter-spacing: 0.08em;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.34), transparent 34%),
    linear-gradient(180deg, #26416c, #12233f);
  box-shadow: 0 18px 40px rgba(16, 27, 48, 0.2);
}

.author-profile-card-premium .author-profile-photo + .author-profile-avatar {
  opacity: 0;
  pointer-events: none;
}

.author-portrait-badge {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(18, 32, 57, 0.08);
  color: #173057;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.author-profile-copy h3 {
  margin-bottom: 6px;
  font-size: 1.6rem;
  color: #102039;
}

.author-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.author-facts span {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: 999px;
  background: #f4f6fa;
  border: 1px solid #e3e8ef;
  color: #42556f;
  font-size: 0.9rem;
  font-weight: 600;
}

.author-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.author-metric {
  padding: 16px 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(243, 246, 253, 0.92));
  border: 1px solid rgba(20, 37, 62, 0.08);
}

.author-metric strong {
  display: block;
  margin-bottom: 6px;
  color: #102039;
  font-size: 1.12rem;
}

.author-metric span {
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 600;
}

.author-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.author-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.author-link-card,
.author-rhythm-card {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(20, 37, 62, 0.08);
  background:
    radial-gradient(circle at top right, rgba(49, 88, 212, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.94));
  box-shadow: 0 16px 36px rgba(16, 27, 48, 0.06);
}

.author-link-card span {
  color: #9a3412;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.author-link-card strong {
  color: #102039;
  font-size: 1.05rem;
  line-height: 1.4;
}

.author-link-card p {
  color: var(--text-soft);
}

.author-link-card p a {
  color: #173057;
  font-weight: 700;
}

.author-archive-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.author-archive-bar span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f8fbff, #eff4fb);
  border: 1px solid rgba(20, 37, 62, 0.08);
  color: #36506d;
  font-size: 0.86rem;
  font-weight: 700;
}

.author-highlight-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(49, 88, 212, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.94));
  border: 1px solid rgba(20, 37, 62, 0.08);
  box-shadow: 0 16px 36px rgba(16, 27, 48, 0.08);
}

.author-highlight-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(49, 88, 212, 0.1);
  color: #22439a;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.author-highlight-card h3 {
  color: #102039;
  font-size: 1.25rem;
}

.author-highlight-card p {
  color: var(--text-soft);
}

.author-highlight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.author-highlight-meta span {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(16, 27, 48, 0.06);
  color: #2f476a;
  font-size: 0.78rem;
  font-weight: 700;
}

.article-editor-note {
  display: grid;
  gap: 10px;
  margin-bottom: 30px;
  padding: 20px 22px;
  border-left: 4px solid var(--accent);
  border-radius: 20px;
  background: linear-gradient(180deg, #fffaf3, #f8fbff);
  border-top: 1px solid #e4e9f1;
  border-right: 1px solid #e4e9f1;
  border-bottom: 1px solid #e4e9f1;
}

.article-editor-note h3 {
  font-size: 1.18rem;
  color: #102039;
}

.article-editor-note p {
  color: #42556f;
  line-height: 1.7;
}

.article-share {
  display: grid;
  gap: 10px;
  margin-bottom: 30px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid #e4e9f1;
  background: #f9fbff;
}

.article-source-card,
.article-snapshot-card,
.article-inline-card,
.article-keypoints,
.article-facts-card,
.article-timeline,
.article-variant-module,
.article-jump-links,
.article-pullquote {
  display: grid;
  gap: 14px;
  padding: 22px 24px;
  border: 1px solid #e4e9f1;
  border-radius: 22px;
  background: linear-gradient(180deg, #fbfcff, #f7f5ef);
}

.article-source-card {
  margin-bottom: 30px;
}

.article-source-card h3,
.article-snapshot-card h3 {
  font-size: 1.32rem;
  color: #102039;
}

.article-source-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.article-source-item {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e4e9f1;
}

.article-source-item span {
  color: var(--text-soft);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-source-item strong {
  color: #102039;
  line-height: 1.35;
}

.article-source-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.article-inline-card {
  max-width: 720px;
  margin: 6px 0;
}

.article-keypoints {
  max-width: 760px;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #f6f8fc, #f8f4ea 75%);
}

.article-jump-links,
.article-facts-card,
.article-timeline {
  max-width: 760px;
  margin-bottom: 4px;
}

.article-variant-module {
  max-width: 760px;
  margin-bottom: 4px;
}

.article-jump-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-jump-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f5f8fd);
  color: #2344a5;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--motion-fast) var(--ease-soft), background var(--motion-fast) var(--ease-soft), border-color var(--motion-fast) var(--ease-soft);
}

.article-jump-link:hover {
  transform: translateY(-1px);
  background: #e6edff;
}

.article-facts-card h3 {
  font-size: 1.24rem;
  color: #102039;
}

.article-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.article-fact-item {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e4e9f1;
}

.article-fact-item span {
  color: var(--text-soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-fact-item strong {
  color: #102039;
  line-height: 1.35;
}

.article-keypoints h3 {
  font-size: 1.28rem;
  color: #102039;
}

.article-keypoints ul {
  display: grid;
  gap: 12px;
  padding-left: 20px;
  color: #31445d;
}

.article-keypoints li {
  line-height: 1.7;
}

.article-inline-card p {
  color: #3b4c62;
  font-size: 1rem;
  line-height: 1.8;
}

.article-timeline h3 {
  font-size: 1.24rem;
  color: #102039;
}

.article-timeline > p {
  color: #42556f;
  line-height: 1.7;
}

.article-timeline-list {
  display: grid;
  gap: 10px;
}

.article-timeline-item {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid #e4e9f1;
  background:
    radial-gradient(circle at top right, rgba(49, 88, 212, 0.06), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), #f8fafc);
  transition: transform var(--motion-fast) var(--ease-soft), border-color var(--motion-fast) var(--ease-soft), box-shadow var(--motion-fast) var(--ease-soft);
}

.article-timeline-item:hover {
  transform: translateY(-1px);
  border-color: rgba(16, 27, 48, 0.14);
  box-shadow: 0 12px 24px rgba(16, 27, 48, 0.08);
}

.article-timeline-item span {
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-timeline-item strong {
  color: #102039;
  line-height: 1.35;
}

.article-timeline-item em {
  color: #4d6078;
  font-style: normal;
  line-height: 1.45;
}

.article-variant-module h3 {
  font-size: 1.24rem;
  color: #102039;
}

.article-variant-module p {
  color: #42556f;
  line-height: 1.7;
}

.article-variant-live {
  background:
    radial-gradient(circle at top right, rgba(220, 38, 38, 0.08), transparent 28%),
    linear-gradient(135deg, #fbf7f4, #fbfcff);
  border-color: rgba(220, 38, 38, 0.14);
}

.article-variant-analysis {
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.08), transparent 28%),
    linear-gradient(135deg, #f4fbfa, #fbfcff);
  border-color: rgba(15, 118, 110, 0.14);
}

.article-variant-explainer {
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 28%),
    linear-gradient(135deg, #f4f8ff, #fbfcff);
  border-color: rgba(37, 99, 235, 0.14);
}

body[data-article-variant="live"] .article-status-chip:nth-child(2) {
  background: linear-gradient(135deg, #991b1b, #dc2626);
  border-color: #991b1b;
  color: #ffffff;
}

body[data-article-variant="analysis"] .article-status-chip:nth-child(2) {
  background: linear-gradient(135deg, #0f766e, #155e75);
  border-color: #0f766e;
  color: #ffffff;
}

body[data-article-variant="explainer"] .article-status-chip:nth-child(2) {
  background: linear-gradient(135deg, #1d4ed8, #3158d4);
  border-color: #1d4ed8;
  color: #ffffff;
}

.article-pullquote {
  max-width: 740px;
  margin: 6px 0;
  gap: 12px;
  padding: 28px 30px;
  border-color: rgba(49, 88, 212, 0.16);
  background:
    radial-gradient(circle at top right, rgba(49, 88, 212, 0.08), transparent 28%),
    linear-gradient(135deg, #f8f5ee, #fbfbfe);
}

.article-pullquote-mark {
  color: #2344a5;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-pullquote p {
  color: #102039;
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1.45;
}

.article-pullquote strong {
  color: var(--text-soft);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-section-anchor {
  position: relative;
  top: -110px;
  height: 0;
}

.article-share h3 {
  font-size: 1.22rem;
  color: #102039;
}

.article-share-row,
.quick-links,
.tag-row,
.footer-col {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-button,
.pill,
.quick-links a,
.article-source-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: #eef3ff;
  color: #2344a5;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--motion-fast) var(--ease-soft), background var(--motion-fast) var(--ease-soft), border-color var(--motion-fast) var(--ease-soft);
}

.quick-links a:hover,
.pill:hover,
.share-button:hover,
.article-source-button:hover,
.article-related-card:hover,
.article-next-card:hover {
  transform: translateY(-1px);
  background: #e6edff;
}

.article-source-button {
  width: fit-content;
}

.article-source-button-inline {
  padding: 7px 11px;
  font-size: 0.84rem;
}

body[data-section="entertainment"] .hero-panel {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(244, 114, 182, 0.18), transparent 18%),
    linear-gradient(135deg, #23143a 0%, #52245d 42%, #a34818 100%);
  box-shadow: 0 30px 80px rgba(42, 19, 56, 0.26);
}

body[data-section="entertainment"] .hero-panel::after {
  inset: auto -12% -42% 44%;
  height: 380px;
  opacity: 0.9;
}

body[data-section="entertainment"] .eyebrow,
body[data-section="entertainment"] .article-kicker,
body[data-section="entertainment"] .section-kicker {
  background: color-mix(in srgb, #ffffff 9%, rgba(124, 58, 237, 0.28) 91%);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

body[data-section="entertainment"] .section-card,
body[data-section="entertainment"] .sidebar-card,
body[data-section="entertainment"] .info-card,
body[data-section="entertainment"] .desk-controls,
body[data-section="entertainment"] .archive-controls {
  border-color: rgba(124, 58, 237, 0.12);
  background:
    radial-gradient(circle at top right, rgba(244, 114, 182, 0.08), transparent 26%),
    radial-gradient(circle at bottom left, rgba(124, 58, 237, 0.06), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 248, 255, 0.97));
}

body[data-section="entertainment"] .section-card::before,
body[data-section="entertainment"] .sidebar-card::before,
body[data-section="entertainment"] .info-card::before,
body[data-section="entertainment"] .article-related::before,
body[data-section="entertainment"] .article-next-card::before {
  background: linear-gradient(90deg, #fb7185, #f97316, #7c3aed);
}

body[data-section="entertainment"] .story-card:hover {
  box-shadow: 0 28px 70px rgba(91, 31, 95, 0.16);
  border-color: rgba(124, 58, 237, 0.18);
}

body[data-section="entertainment"] .story-meta span,
body[data-section="entertainment"] .pill,
body[data-section="entertainment"] .quick-links a,
body[data-section="entertainment"] .desk-chip {
  background: linear-gradient(180deg, #fdf4ff, #fff7ed);
  border-color: rgba(124, 58, 237, 0.12);
  color: #6b21a8;
}

body[data-section="entertainment"] .story-meta .story-badge,
body[data-section="entertainment"] .desk-tab.active,
body[data-section="entertainment"] .desk-tab:hover,
body[data-section="entertainment"] .desk-chip.active,
body[data-section="entertainment"] .desk-chip:hover {
  background: linear-gradient(135deg, #5b21b6, #c2410c);
  border-color: #5b21b6;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(91, 33, 182, 0.2);
}

body[data-section="entertainment"] .sidebar-story-item strong,
body[data-section="entertainment"] .section-title h2 {
  color: #221536;
}

body[data-section="politics"] .hero-panel {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 26%),
    radial-gradient(circle at 84% 18%, rgba(96, 165, 250, 0.14), transparent 18%),
    linear-gradient(135deg, #0f1d38 0%, #1a315c 44%, #4a2a31 100%);
  box-shadow: 0 30px 80px rgba(14, 30, 59, 0.24);
}

body[data-section="politics"] .hero-panel::after {
  inset: auto -14% -42% 48%;
  height: 360px;
  opacity: 0.88;
}

body[data-section="politics"] .eyebrow,
body[data-section="politics"] .article-kicker,
body[data-section="politics"] .section-kicker {
  background: color-mix(in srgb, #ffffff 10%, rgba(37, 99, 235, 0.2) 90%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

body[data-section="politics"] .section-card,
body[data-section="politics"] .sidebar-card,
body[data-section="politics"] .info-card,
body[data-section="politics"] .desk-controls,
body[data-section="politics"] .archive-controls {
  border-color: rgba(37, 99, 235, 0.1);
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.07), transparent 26%),
    radial-gradient(circle at bottom left, rgba(15, 23, 42, 0.045), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(246, 249, 254, 0.97));
}

body[data-section="politics"] .section-card::before,
body[data-section="politics"] .sidebar-card::before,
body[data-section="politics"] .info-card::before,
body[data-section="politics"] .article-related::before,
body[data-section="politics"] .article-next-card::before {
  background: linear-gradient(90deg, #1d4ed8, #475569, #ef4444);
}

body[data-section="politics"] .story-card:hover {
  box-shadow: 0 28px 70px rgba(15, 35, 68, 0.15);
  border-color: rgba(29, 78, 216, 0.16);
}

body[data-section="politics"] .story-meta span,
body[data-section="politics"] .pill,
body[data-section="politics"] .quick-links a,
body[data-section="politics"] .desk-chip {
  background: linear-gradient(180deg, #f8fbff, #eef4fb);
  border-color: rgba(37, 99, 235, 0.12);
  color: #1e3a8a;
}

body[data-section="politics"] .story-meta .story-badge,
body[data-section="politics"] .desk-tab.active,
body[data-section="politics"] .desk-tab:hover,
body[data-section="politics"] .desk-chip.active,
body[data-section="politics"] .desk-chip:hover {
  background: linear-gradient(135deg, #1d4ed8, #0f172a);
  border-color: #1d4ed8;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(29, 78, 216, 0.18);
}

body[data-section="politics"] .sidebar-story-item strong,
body[data-section="politics"] .section-title h2 {
  color: #13233f;
}

body[data-section="sport"] .hero-panel {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.15), transparent 26%),
    radial-gradient(circle at 84% 18%, rgba(34, 197, 94, 0.18), transparent 18%),
    linear-gradient(135deg, #0f2d2b 0%, #134e4a 42%, #1f6f3f 100%);
  box-shadow: 0 30px 80px rgba(12, 58, 54, 0.24);
}

body[data-section="sport"] .hero-panel::after {
  inset: auto -13% -40% 46%;
  height: 370px;
  opacity: 0.9;
}

body[data-section="sport"] .eyebrow,
body[data-section="sport"] .article-kicker,
body[data-section="sport"] .section-kicker {
  background: color-mix(in srgb, #ffffff 10%, rgba(21, 128, 61, 0.22) 90%);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

body[data-section="sport"] .section-card,
body[data-section="sport"] .sidebar-card,
body[data-section="sport"] .info-card,
body[data-section="sport"] .desk-controls,
body[data-section="sport"] .archive-controls {
  border-color: rgba(21, 128, 61, 0.12);
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.08), transparent 24%),
    radial-gradient(circle at bottom left, rgba(13, 148, 136, 0.06), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(246, 252, 249, 0.97));
}

body[data-section="sport"] .section-card::before,
body[data-section="sport"] .sidebar-card::before,
body[data-section="sport"] .info-card::before,
body[data-section="sport"] .article-related::before,
body[data-section="sport"] .article-next-card::before {
  background: linear-gradient(90deg, #22c55e, #14b8a6, #15803d);
}

body[data-section="sport"] .story-card:hover {
  box-shadow: 0 28px 70px rgba(14, 68, 50, 0.16);
  border-color: rgba(21, 128, 61, 0.16);
}

body[data-section="sport"] .story-meta span,
body[data-section="sport"] .pill,
body[data-section="sport"] .quick-links a,
body[data-section="sport"] .desk-chip {
  background: linear-gradient(180deg, #f2fbf6, #ecfbf8);
  border-color: rgba(21, 128, 61, 0.12);
  color: #166534;
}

body[data-section="sport"] .story-meta .story-badge,
body[data-section="sport"] .desk-tab.active,
body[data-section="sport"] .desk-tab:hover,
body[data-section="sport"] .desk-chip.active,
body[data-section="sport"] .desk-chip:hover {
  background: linear-gradient(135deg, #15803d, #0f766e);
  border-color: #15803d;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(21, 128, 61, 0.18);
}

body[data-section="sport"] .sidebar-story-item strong,
body[data-section="sport"] .section-title h2 {
  color: #10352f;
}

body[data-section="economic"] .hero-panel {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 26%),
    radial-gradient(circle at 84% 18%, rgba(45, 212, 191, 0.14), transparent 18%),
    linear-gradient(135deg, #102c31 0%, #155e75 40%, #0f766e 100%);
  box-shadow: 0 30px 80px rgba(13, 63, 71, 0.24);
}

body[data-section="economic"] .hero-panel::after {
  inset: auto -13% -40% 47%;
  height: 365px;
  opacity: 0.88;
}

body[data-section="economic"] .eyebrow,
body[data-section="economic"] .article-kicker,
body[data-section="economic"] .section-kicker {
  background: color-mix(in srgb, #ffffff 10%, rgba(13, 148, 136, 0.2) 90%);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

body[data-section="economic"] .section-card,
body[data-section="economic"] .sidebar-card,
body[data-section="economic"] .info-card,
body[data-section="economic"] .desk-controls,
body[data-section="economic"] .archive-controls {
  border-color: rgba(13, 148, 136, 0.11);
  background:
    radial-gradient(circle at top right, rgba(45, 212, 191, 0.08), transparent 24%),
    radial-gradient(circle at bottom left, rgba(21, 94, 117, 0.06), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(244, 251, 250, 0.97));
}

body[data-section="economic"] .section-card::before,
body[data-section="economic"] .sidebar-card::before,
body[data-section="economic"] .info-card::before,
body[data-section="economic"] .article-related::before,
body[data-section="economic"] .article-next-card::before {
  background: linear-gradient(90deg, #14b8a6, #0f766e, #1d4ed8);
}

body[data-section="economic"] .story-card:hover {
  box-shadow: 0 28px 70px rgba(12, 72, 79, 0.15);
  border-color: rgba(13, 148, 136, 0.16);
}

body[data-section="economic"] .story-meta span,
body[data-section="economic"] .pill,
body[data-section="economic"] .quick-links a,
body[data-section="economic"] .desk-chip {
  background: linear-gradient(180deg, #f0fdfa, #eef8ff);
  border-color: rgba(13, 148, 136, 0.12);
  color: #0f766e;
}

body[data-section="economic"] .story-meta .story-badge,
body[data-section="economic"] .desk-tab.active,
body[data-section="economic"] .desk-tab:hover,
body[data-section="economic"] .desk-chip.active,
body[data-section="economic"] .desk-chip:hover {
  background: linear-gradient(135deg, #0f766e, #155e75);
  border-color: #0f766e;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.18);
}

body[data-section="economic"] .sidebar-story-item strong,
body[data-section="economic"] .section-title h2 {
  color: #12343a;
}

body[data-section="funny"] .hero-panel {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 26%),
    radial-gradient(circle at 84% 18%, rgba(96, 165, 250, 0.16), transparent 18%),
    linear-gradient(135deg, #3b1c63 0%, #7c2d92 42%, #db2777 100%);
  box-shadow: 0 30px 80px rgba(83, 24, 109, 0.26);
}

body[data-section="funny"] .hero-panel::after {
  inset: auto -12% -38% 44%;
  height: 390px;
  opacity: 0.9;
}

body[data-section="funny"] .eyebrow,
body[data-section="funny"] .article-kicker,
body[data-section="funny"] .section-kicker {
  background: color-mix(in srgb, #ffffff 10%, rgba(219, 39, 119, 0.24) 90%);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

body[data-section="funny"] .section-card,
body[data-section="funny"] .sidebar-card,
body[data-section="funny"] .info-card,
body[data-section="funny"] .desk-controls,
body[data-section="funny"] .archive-controls {
  border-color: rgba(219, 39, 119, 0.12);
  background:
    radial-gradient(circle at top right, rgba(244, 114, 182, 0.1), transparent 24%),
    radial-gradient(circle at bottom left, rgba(96, 165, 250, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(253, 247, 254, 0.97));
}

body[data-section="funny"] .section-card::before,
body[data-section="funny"] .sidebar-card::before,
body[data-section="funny"] .info-card::before,
body[data-section="funny"] .article-related::before,
body[data-section="funny"] .article-next-card::before {
  background: linear-gradient(90deg, #db2777, #8b5cf6, #2563eb);
}

body[data-section="funny"] .story-card:hover {
  box-shadow: 0 28px 70px rgba(96, 28, 108, 0.17);
  border-color: rgba(219, 39, 119, 0.16);
}

body[data-section="funny"] .story-meta span,
body[data-section="funny"] .pill,
body[data-section="funny"] .quick-links a,
body[data-section="funny"] .desk-chip {
  background: linear-gradient(180deg, #fdf2f8, #eff6ff);
  border-color: rgba(219, 39, 119, 0.12);
  color: #be185d;
}

body[data-section="funny"] .story-meta .story-badge,
body[data-section="funny"] .desk-tab.active,
body[data-section="funny"] .desk-tab:hover,
body[data-section="funny"] .desk-chip.active,
body[data-section="funny"] .desk-chip:hover {
  background: linear-gradient(135deg, #db2777, #2563eb);
  border-color: #db2777;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(219, 39, 119, 0.2);
}

body[data-section="funny"] .sidebar-story-item strong,
body[data-section="funny"] .section-title h2 {
  color: #481c59;
}

body[data-section="world"] .hero-panel {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.15), transparent 26%),
    radial-gradient(circle at 84% 18%, rgba(56, 189, 248, 0.14), transparent 18%),
    linear-gradient(135deg, #0f2942 0%, #1d4f73 42%, #29486f 100%);
  box-shadow: 0 30px 80px rgba(15, 41, 66, 0.24);
}

body[data-section="world"] .hero-panel::after {
  inset: auto -13% -40% 46%;
  height: 375px;
  opacity: 0.88;
}

body[data-section="world"] .eyebrow,
body[data-section="world"] .article-kicker,
body[data-section="world"] .section-kicker {
  background: color-mix(in srgb, #ffffff 10%, rgba(14, 165, 233, 0.18) 90%);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

body[data-section="world"] .section-card,
body[data-section="world"] .sidebar-card,
body[data-section="world"] .info-card,
body[data-section="world"] .desk-controls,
body[data-section="world"] .archive-controls {
  border-color: rgba(14, 165, 233, 0.11);
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), transparent 24%),
    radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.05), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(245, 250, 255, 0.97));
}

body[data-section="world"] .section-card::before,
body[data-section="world"] .sidebar-card::before,
body[data-section="world"] .info-card::before,
body[data-section="world"] .article-related::before,
body[data-section="world"] .article-next-card::before {
  background: linear-gradient(90deg, #0ea5e9, #2563eb, #475569);
}

body[data-section="world"] .story-card:hover {
  box-shadow: 0 28px 70px rgba(19, 59, 94, 0.15);
  border-color: rgba(14, 165, 233, 0.15);
}

body[data-section="world"] .story-meta span,
body[data-section="world"] .pill,
body[data-section="world"] .quick-links a,
body[data-section="world"] .desk-chip {
  background: linear-gradient(180deg, #f0f9ff, #eff6ff);
  border-color: rgba(14, 165, 233, 0.12);
  color: #1d4f91;
}

body[data-section="world"] .story-meta .story-badge,
body[data-section="world"] .desk-tab.active,
body[data-section="world"] .desk-tab:hover,
body[data-section="world"] .desk-chip.active,
body[data-section="world"] .desk-chip:hover {
  background: linear-gradient(135deg, #0ea5e9, #1d4ed8);
  border-color: #0ea5e9;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.18);
}

body[data-section="world"] .sidebar-story-item strong,
body[data-section="world"] .section-title h2 {
  color: #163552;
}

body[data-section="trending"] .hero-panel {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 26%),
    radial-gradient(circle at 84% 18%, rgba(251, 191, 36, 0.16), transparent 18%),
    linear-gradient(135deg, #2b1d0f 0%, #6b3a12 42%, #1d4f91 100%);
  box-shadow: 0 30px 80px rgba(74, 42, 12, 0.24);
}

body[data-section="trending"] .hero-panel::after {
  inset: auto -12% -39% 45%;
  height: 380px;
  opacity: 0.9;
}

body[data-section="trending"] .eyebrow,
body[data-section="trending"] .article-kicker,
body[data-section="trending"] .section-kicker {
  background: color-mix(in srgb, #ffffff 10%, rgba(251, 191, 36, 0.2) 90%);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

body[data-section="trending"] .section-card,
body[data-section="trending"] .sidebar-card,
body[data-section="trending"] .info-card,
body[data-section="trending"] .desk-controls,
body[data-section="trending"] .archive-controls {
  border-color: rgba(180, 83, 9, 0.12);
  background:
    radial-gradient(circle at top right, rgba(251, 191, 36, 0.1), transparent 24%),
    radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.07), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(255, 250, 242, 0.97));
}

body[data-section="trending"] .section-card::before,
body[data-section="trending"] .sidebar-card::before,
body[data-section="trending"] .info-card::before,
body[data-section="trending"] .article-related::before,
body[data-section="trending"] .article-next-card::before {
  background: linear-gradient(90deg, #f59e0b, #1d4ed8, #b45309);
}

body[data-section="trending"] .story-card:hover {
  box-shadow: 0 28px 70px rgba(107, 58, 18, 0.16);
  border-color: rgba(180, 83, 9, 0.16);
}

body[data-section="trending"] .story-meta span,
body[data-section="trending"] .pill,
body[data-section="trending"] .quick-links a,
body[data-section="trending"] .desk-chip {
  background: linear-gradient(180deg, #fff7ed, #eff6ff);
  border-color: rgba(180, 83, 9, 0.12);
  color: #9a3412;
}

body[data-section="trending"] .story-meta .story-badge,
body[data-section="trending"] .desk-tab.active,
body[data-section="trending"] .desk-tab:hover,
body[data-section="trending"] .desk-chip.active,
body[data-section="trending"] .desk-chip:hover {
  background: linear-gradient(135deg, #b45309, #1d4ed8);
  border-color: #b45309;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(180, 83, 9, 0.2);
}

body[data-section="trending"] .sidebar-story-item strong,
body[data-section="trending"] .section-title h2 {
  color: #473018;
}

.article-copy {
  display: grid;
  gap: 22px;
}

.article-copy > p:first-of-type::first-letter {
  float: left;
  margin: 8px 12px 0 0;
  color: #102039;
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 0.72;
}

.article-copy p {
  max-width: 780px;
  color: #34465c;
  font-size: 1.12rem;
  line-height: 1.9;
}

.article-copy h2 {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(18, 32, 51, 0.08);
  font-size: 1.98rem;
  line-height: 1.12;
  color: #112039;
}

.article-copy blockquote {
  max-width: 740px;
  padding: 28px 30px;
  border: 1px solid rgba(49, 88, 212, 0.18);
  border-left: 4px solid var(--gold);
  border-radius: 24px;
  background: linear-gradient(135deg, #f7f4ee, #fbfbfd);
  color: #102039;
  font-family: var(--serif);
  font-size: 1.38rem;
  font-weight: 600;
  line-height: 1.45;
}

.article-related {
  padding: 30px;
}

.article-related-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
}

.article-related-head h2 {
  font-size: 2rem;
  color: #102039;
  text-wrap: balance;
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.article-related-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid #e4e9f1;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(49, 88, 212, 0.06), transparent 28%),
    linear-gradient(180deg, #ffffff, #f7f9fc);
  transition: transform var(--motion-base) var(--ease-smooth), box-shadow var(--motion-base) var(--ease-smooth);
}

.article-related-card strong,
.article-next-card strong {
  color: #102039;
  font-size: 1.05rem;
  line-height: 1.3;
}

.article-related-card span,
.article-next-card span,
.source-note {
  font-size: 0.92rem;
}

.article-next-card {
  display: grid;
  gap: 10px;
  padding: 26px 30px;
  transition: transform var(--motion-base) var(--ease-smooth), box-shadow var(--motion-base) var(--ease-smooth);
}

.article-next-label {
  color: #102039;
  font-size: 1.45rem;
}

.article-next-arrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #2344a5;
  font-weight: 700;
}

.article-sidebar {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 22px;
  align-self: start;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), #fbfaf7);
}

.article-sidebar h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  color: #102039;
}

.desk-controls {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
  padding: 26px;
  border: 1px solid #e4e9f1;
  border-radius: 24px;
  background: linear-gradient(180deg, #fcfbf8, #f6f8fc);
  box-shadow: var(--shadow-soft);
}

.archive-controls {
  padding: 22px 24px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(49, 88, 212, 0.06), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 253, 0.96));
}

.desk-controls-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
}

.desk-controls-head h3 {
  font-size: 1.4rem;
  color: #102039;
}

.desk-controls-head p,
.desk-result-count,
.desk-empty-state {
  color: var(--text-soft);
}

.desk-control-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(210px, 0.5fr);
  gap: 16px;
}

.desk-tab-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.desk-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border: 1px solid #d7dfeb;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f6f8fc);
  color: #203149;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--motion-fast) var(--ease-soft), background var(--motion-fast) var(--ease-soft), border-color var(--motion-fast) var(--ease-soft), color var(--motion-fast) var(--ease-soft), box-shadow var(--motion-fast) var(--ease-soft);
}

.desk-tab:hover,
.desk-tab.active {
  transform: translateY(-1px);
  background: #101b30;
  border-color: #101b30;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 27, 48, 0.14);
}

.desk-mode-note {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid #e4e9f1;
  border-radius: 16px;
  background: #ffffff;
  font-weight: 600;
}

.desk-search,
.desk-sort {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ccd5e3;
  border-radius: 16px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.desk-chip-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.search-utility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.search-utility-card {
  display: grid;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 249, 255, 0.94));
  border: 1px solid #e4e9f1;
}

.search-utility-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.search-utility-head h4 {
  font-size: 1rem;
  color: #102039;
}

.search-utility-action {
  border: 0;
  background: transparent;
  color: #3158d4;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.search-utility-action:hover {
  text-decoration: underline;
}

.search-utility-row-empty {
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.desk-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: #ffffff;
  color: #24354d;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--motion-fast) var(--ease-soft), background var(--motion-fast) var(--ease-soft), border-color var(--motion-fast) var(--ease-soft), color var(--motion-fast) var(--ease-soft);
}

.desk-chip:hover,
.desk-chip.active {
  transform: translateY(-1px);
  background: #101b30;
  border-color: #101b30;
  color: #ffffff;
}

.desk-result-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.desk-empty-state {
  display: none;
  padding: 8px 0 0;
  font-weight: 600;
}

.desk-empty-state.show,
.story-card.story-card-hidden {
  display: none;
}

.sidebar-stack,
.contact-grid,
.policy-grid {
  display: grid;
  gap: 20px;
}

.content-grid > .section-card,
.content-grid > .sidebar-stack {
  height: 100%;
}

.content-grid > .sidebar-stack {
  position: sticky;
  top: 122px;
  align-self: start;
}

.sidebar-story-list {
  display: grid;
  gap: 12px;
}

.sidebar-read-more {
  width: 100%;
  margin-top: 16px;
}

.sidebar-story-item {
  display: grid;
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(18, 32, 51, 0.08);
}

.sidebar-story-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.sidebar-story-item strong {
  color: #102039;
  font-size: 1.04rem;
  line-height: 1.3;
}

.sidebar-story-item span {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.sidebar-card-hidden,
.sidebar-story-hidden {
  display: none;
}

.sidebar-card h3,
.info-card h3 {
  margin-bottom: 14px;
  font-size: 1.64rem;
  color: #102039;
}

.sidebar-card {
  border-radius: 30px;
}

.sidebar-card p {
  line-height: 1.72;
}

.wire-list,
.most-read-list {
  gap: 16px;
}

.wire-item {
  position: relative;
  padding: 0 0 16px 18px;
  border-bottom: 1px solid #e6ebf2;
}

.wire-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 0 4px rgba(49, 88, 212, 0.08);
}

.empty-collection-card {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 220px;
  padding: 24px 26px;
  border: 1px dashed #d7dfeb;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(49, 88, 212, 0.08), transparent 34%),
    linear-gradient(180deg, #fcfbf8, #f6f8fc);
  overflow: hidden;
}

.empty-collection-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 4px;
  border-radius: 22px;
  border: 1px solid rgba(18, 32, 51, 0.08);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.82), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 252, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.empty-collection-icon {
  position: relative;
  z-index: 1;
  color: #173057;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
}

.empty-collection-orbit {
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  border: 1px solid rgba(49, 88, 212, 0.12);
}

.empty-collection-orbit-a {
  transform: rotate(10deg);
}

.empty-collection-orbit-b {
  inset: 16px;
  border-style: dashed;
  border-color: rgba(239, 68, 68, 0.14);
  transform: rotate(-8deg);
}

.empty-collection-card::after,
body[data-section="search"] .content-grid > .sidebar-stack .sidebar-card::after,
body[data-section="saved"] .content-grid > .sidebar-stack .sidebar-card::after,
body[data-section="search"] .content-grid > .section-card::after,
body[data-section="saved"] .content-grid > .section-card::after {
  content: var(--section-mark);
  position: absolute;
  right: 18px;
  bottom: 14px;
  color: color-mix(in srgb, var(--accent-2) 18%, white);
  font-family: var(--serif);
  font-size: 3.8rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  pointer-events: none;
  opacity: 0.42;
}

body[data-section="search"] .content-grid > .sidebar-stack .sidebar-card,
body[data-section="saved"] .content-grid > .sidebar-stack .sidebar-card,
body[data-section="search"] .content-grid > .section-card,
body[data-section="saved"] .content-grid > .section-card {
  overflow: hidden;
}

body[data-section="search"] .content-grid > .sidebar-stack .sidebar-card::after,
body[data-section="saved"] .content-grid > .sidebar-stack .sidebar-card::after,
body[data-section="search"] .content-grid > .section-card::after,
body[data-section="saved"] .content-grid > .section-card::after {
  top: 18px;
  right: 22px;
  bottom: auto;
  font-size: 2.8rem;
  opacity: 0.12;
}

.empty-collection-card h3 {
  margin: 0;
  font-size: 1.42rem;
  color: #102039;
}

.empty-collection-card p {
  max-width: 56ch;
  color: var(--text-soft);
}

.empty-collection-card-saved .empty-collection-icon {
  color: #9f1239;
}

.empty-collection-card-recent .empty-collection-icon {
  color: #1d4ed8;
}

.empty-collection-card-continue .empty-collection-icon {
  color: #0f766e;
}

.empty-collection-card-history .empty-collection-icon {
  color: #7c3aed;
}

.empty-collection-card-fresh .empty-collection-icon {
  color: #b45309;
}

.empty-collection-kicker,
.last-visit-kicker {
  color: #9a3412;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.empty-collection-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.collection-story-list {
  display: grid;
  gap: 12px;
}

.collection-story-card {
  display: grid;
  gap: 5px;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(18, 32, 51, 0.08);
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 10%, transparent), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), #f8fafc);
  transition: transform var(--motion-fast) var(--ease-soft), border-color var(--motion-fast) var(--ease-soft), box-shadow var(--motion-fast) var(--ease-soft);
}

.collection-story-card:hover {
  transform: translateY(-1px);
  border-color: rgba(16, 27, 48, 0.14);
  box-shadow: 0 12px 24px rgba(16, 27, 48, 0.08);
}

.collection-story-card span {
  color: #9a3412;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.collection-story-card strong {
  color: #102039;
  font-size: 1rem;
  line-height: 1.4;
}

.collection-story-card p,
.collection-story-card em {
  color: #4d6078;
  font-style: normal;
  line-height: 1.45;
}

.reading-history-rail {
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
  padding: 26px 28px;
  border-radius: 30px;
  border: 1px solid rgba(18, 32, 51, 0.08);
  background:
    radial-gradient(circle at top right, rgba(49, 88, 212, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 252, 0.96));
  box-shadow: var(--shadow-soft);
}

.reading-history-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
}

.reading-history-kicker {
  color: #9a3412;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reading-history-head h2 {
  font-size: 1.95rem;
  color: #102039;
}

.reading-history-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.reading-history-card {
  display: grid;
  gap: 6px;
  min-height: 150px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(18, 32, 51, 0.08);
  background:
    radial-gradient(circle at top right, rgba(239, 68, 68, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), #f8fafc);
  transition: transform var(--motion-fast) var(--ease-soft), border-color var(--motion-fast) var(--ease-soft), box-shadow var(--motion-fast) var(--ease-soft);
}

.reading-history-card:hover {
  transform: translateY(-1px);
  border-color: rgba(16, 27, 48, 0.14);
  box-shadow: 0 12px 24px rgba(16, 27, 48, 0.08);
}

.reading-history-card span {
  color: #9a3412;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reading-history-card strong {
  color: #102039;
  font-size: 1rem;
  line-height: 1.45;
}

.reading-history-card p,
.last-visit-intro {
  color: var(--text-soft);
}

.last-visit-card {
  display: grid;
  gap: 14px;
}

.newsroom-rail-panel {
  display: grid;
  gap: 16px;
}

.edition-snapshot-card {
  display: grid;
  gap: 16px;
}

.edition-snapshot-kicker {
  color: #9a3412;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.edition-snapshot-intro,
.edition-snapshot-note {
  color: var(--text-soft);
}

.edition-snapshot-lead {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(18, 32, 51, 0.08);
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 12%, transparent), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), #f7f9fc);
  transition: transform var(--motion-fast) var(--ease-soft), border-color var(--motion-fast) var(--ease-soft), box-shadow var(--motion-fast) var(--ease-soft);
}

.edition-snapshot-lead:hover {
  transform: translateY(-1px);
  border-color: rgba(16, 27, 48, 0.14);
  box-shadow: 0 12px 24px rgba(16, 27, 48, 0.08);
}

.edition-snapshot-lead span,
.edition-snapshot-metric span {
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.edition-snapshot-lead strong {
  color: #102039;
  font-size: 1.05rem;
  line-height: 1.42;
}

.edition-snapshot-lead em {
  color: #39506d;
  font-style: normal;
}

.edition-snapshot-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.edition-snapshot-metric {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(18, 32, 51, 0.08);
  background: linear-gradient(180deg, #fbfcfe, #f4f7fb);
}

.edition-snapshot-metric strong {
  color: #102039;
  font-size: 1.28rem;
  line-height: 1;
}

.start-here-card {
  display: grid;
  gap: 16px;
}

.start-here-kicker {
  color: #9a3412;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.start-here-intro {
  color: var(--text-soft);
}

.start-here-links {
  display: grid;
  gap: 10px;
}

.start-here-link {
  display: grid;
  gap: 5px;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(18, 32, 51, 0.08);
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent-2) 10%, transparent), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), #f8fafc);
  transition: transform var(--motion-fast) var(--ease-soft), border-color var(--motion-fast) var(--ease-soft), box-shadow var(--motion-fast) var(--ease-soft);
}

.start-here-link:hover {
  transform: translateY(-1px);
  border-color: rgba(16, 27, 48, 0.14);
  box-shadow: 0 12px 24px rgba(16, 27, 48, 0.08);
}

.start-here-link span {
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.start-here-link strong {
  color: #102039;
  font-size: 1rem;
  line-height: 1.35;
}

.start-here-link em {
  color: #4d6078;
  font-style: normal;
  line-height: 1.45;
}

.topic-pulse-card {
  display: grid;
  gap: 16px;
}

.topic-pulse-kicker {
  color: #9a3412;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topic-pulse-intro {
  color: var(--text-soft);
}

.topic-pulse-list {
  display: grid;
  gap: 10px;
}

.topic-pulse-item {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(18, 32, 51, 0.08);
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 10%, transparent), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), #f8fafc);
  transition: transform var(--motion-fast) var(--ease-soft), border-color var(--motion-fast) var(--ease-soft), box-shadow var(--motion-fast) var(--ease-soft);
}

.topic-pulse-item:hover {
  transform: translateY(-1px);
  border-color: rgba(16, 27, 48, 0.14);
  box-shadow: 0 12px 24px rgba(16, 27, 48, 0.08);
}

.topic-pulse-item strong {
  color: #102039;
  font-size: 1rem;
  line-height: 1.35;
}

.topic-pulse-item span {
  color: #4d6078;
  font-size: 0.88rem;
  line-height: 1.45;
}

.desk-watch-card {
  display: grid;
  gap: 16px;
}

.desk-watch-kicker {
  color: #9a3412;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desk-watch-intro {
  color: var(--text-soft);
}

.desk-watch-list {
  display: grid;
  gap: 10px;
}

.desk-watch-item {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(18, 32, 51, 0.08);
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent-2) 12%, transparent), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), #f8fafc);
  transition: transform var(--motion-fast) var(--ease-soft), border-color var(--motion-fast) var(--ease-soft), box-shadow var(--motion-fast) var(--ease-soft);
}

.desk-watch-item:hover {
  transform: translateY(-1px);
  border-color: rgba(16, 27, 48, 0.14);
  box-shadow: 0 12px 24px rgba(16, 27, 48, 0.08);
}

.desk-watch-item strong {
  color: #102039;
  font-size: 1rem;
  line-height: 1.35;
}

.desk-watch-item span,
.desk-watch-item em {
  color: #4d6078;
  font-size: 0.88rem;
  line-height: 1.45;
}

.desk-watch-item em {
  font-style: normal;
}

.news-mix-card {
  display: grid;
  gap: 16px;
}

.news-mix-kicker {
  color: #9a3412;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-mix-intro {
  color: var(--text-soft);
}

.news-mix-list {
  display: grid;
  gap: 10px;
}

.news-mix-item {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(18, 32, 51, 0.08);
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 10%, transparent), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), #f8fafc);
  transition: transform var(--motion-fast) var(--ease-soft), border-color var(--motion-fast) var(--ease-soft), box-shadow var(--motion-fast) var(--ease-soft);
}

.news-mix-item:hover {
  transform: translateY(-1px);
  border-color: rgba(16, 27, 48, 0.14);
  box-shadow: 0 12px 24px rgba(16, 27, 48, 0.08);
}

.news-mix-item span {
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-mix-item strong {
  color: #102039;
  font-size: 1rem;
  line-height: 1.35;
}

.news-mix-item em {
  color: #4d6078;
  font-size: 0.88rem;
  line-height: 1.45;
  font-style: normal;
}

.newsroom-rail-grid {
  display: grid;
  gap: 16px;
}

.newsroom-rail-section {
  display: grid;
  gap: 12px;
  padding: 16px 16px 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fbfcfe, #f4f7fb);
  border: 1px solid rgba(18, 32, 51, 0.08);
}

.newsroom-rail-label {
  color: #9a3412;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.newsroom-rail-list {
  display: grid;
  gap: 10px;
}

.newsroom-rail-item {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid #e4e9f1;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), #f8fafc);
  transition: transform var(--motion-fast) var(--ease-soft), border-color var(--motion-fast) var(--ease-soft), box-shadow var(--motion-fast) var(--ease-soft);
}

.newsroom-rail-item:hover {
  transform: translateY(-1px);
  border-color: rgba(16, 27, 48, 0.14);
  box-shadow: 0 12px 26px rgba(16, 27, 48, 0.08);
}

.newsroom-rail-item strong {
  color: #102039;
  font-size: 1rem;
  line-height: 1.35;
}

.newsroom-rail-item span {
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.45;
}

.recommendation-rail-panel {
  display: grid;
  gap: 16px;
}

.recommendation-rail-intro {
  color: var(--text-soft);
}

.recommendation-rail-list {
  display: grid;
  gap: 10px;
}

.recommendation-rail-item {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid #e4e9f1;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(49, 88, 212, 0.06), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), #f8fafc);
  transition: transform var(--motion-fast) var(--ease-soft), border-color var(--motion-fast) var(--ease-soft), box-shadow var(--motion-fast) var(--ease-soft);
}

.recommendation-rail-item:hover {
  transform: translateY(-1px);
  border-color: rgba(16, 27, 48, 0.14);
  box-shadow: 0 12px 26px rgba(16, 27, 48, 0.08);
}

.recommendation-rail-item strong {
  color: #102039;
  font-size: 1rem;
  line-height: 1.35;
}

.recommendation-rail-item span {
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.45;
}

.footer-browse-rail {
  padding: 0 0 22px;
}

.footer-browse-shell {
  display: grid;
  gap: 18px;
  padding: 28px 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(49, 88, 212, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(10, 18, 34, 0.96), rgba(8, 16, 30, 0.98));
  box-shadow: 0 22px 48px rgba(4, 10, 20, 0.2);
}

.footer-browse-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  flex-wrap: wrap;
}

.footer-browse-kicker {
  color: #f3b9c5;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-browse-head h2 {
  color: #ffffff;
  font-size: 2rem;
}

.footer-browse-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.footer-browse-item {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  transition: transform var(--motion-fast) var(--ease-soft), border-color var(--motion-fast) var(--ease-soft), background var(--motion-fast) var(--ease-soft);
}

.footer-browse-item:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.05));
}

.footer-browse-item span {
  color: #9fc0ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-browse-item strong {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.34;
}

.footer-browse-item p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.home-story-badge-soft {
  margin-bottom: 10px;
  color: #9a3412;
  background: #fff7ed;
}

.mini-story-update,
.most-read-update,
.desk-live-note {
  color: #9a3412;
  font-size: 0.9rem;
  font-weight: 700;
}

.mini-story-update,
.most-read-update {
  margin-top: 8px;
}

.list {
  display: grid;
  gap: 14px;
}

.list-item {
  padding-bottom: 16px;
  border-bottom: 1px solid #e7ebf1;
}

.list-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #102039;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ccd5e3;
  border-radius: 16px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  transition: border-color var(--motion-fast) var(--ease-soft), box-shadow var(--motion-fast) var(--ease-soft), transform var(--motion-fast) var(--ease-soft);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(49, 88, 212, 0.48);
  box-shadow: 0 0 0 4px rgba(49, 88, 212, 0.08);
}

input.field-error,
textarea.field-error {
  border-color: #ef4444;
  background: #fff8f8;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08);
}

input.field-success,
textarea.field-success {
  border-color: #22c55e;
  background: #f3fff7;
}

.form-hint {
  margin-top: 8px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #607186;
}

.form-hint.error {
  color: #be123c;
}

.form-hint.success {
  color: #15803d;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

button,
.button-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 20px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #101b30, #17233f);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--motion-base) var(--ease-smooth), box-shadow var(--motion-base) var(--ease-smooth), opacity var(--motion-base) var(--ease-soft);
}

button:hover,
.button-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(16, 27, 48, 0.18);
}

.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 600;
  line-height: 1.5;
  box-shadow: 0 10px 26px rgba(18, 32, 51, 0.08);
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: linear-gradient(180deg, #f3fff7, #edfdf3);
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-status.error {
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #fecdd3;
}

.toast-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2100;
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.toast {
  min-width: 260px;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(16, 27, 48, 0.08);
  box-shadow: 0 18px 40px rgba(12, 22, 38, 0.18);
  backdrop-filter: blur(12px);
  font-weight: 700;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity var(--motion-fast) var(--ease-soft),
    transform var(--motion-fast) var(--ease-soft);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-success {
  background: linear-gradient(180deg, rgba(243, 255, 247, 0.96), rgba(237, 253, 243, 0.96));
  color: #166534;
  border-color: #bbf7d0;
}

.toast-error {
  background: linear-gradient(180deg, rgba(255, 241, 242, 0.96), rgba(255, 228, 230, 0.96));
  color: #be123c;
  border-color: #fecdd3;
}

ul {
  padding-left: 18px;
}

footer {
  background:
    radial-gradient(circle at top right, rgba(49, 88, 212, 0.18), transparent 22%),
    linear-gradient(180deg, #081120, #091426);
  color: #ffffff;
  padding: 50px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-brand h3,
.footer-col h4 {
  margin-bottom: 12px;
}

.footer-brand h3 {
  font-size: 1.7rem;
}

.footer-brand p,
.footer-col a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-col {
  flex-direction: column;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .content-grid,
  .footer-grid,
  .article-layout,
  .contact-grid,
  .policy-grid,
  .article-related-grid {
    grid-template-columns: 1fr;
  }

  .footer-browse-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .content-grid > .sidebar-stack {
    position: static;
  }

  .article-source-grid {
    grid-template-columns: 1fr;
  }

  .article-credibility-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .topbar {
    display: none;
  }

  .navbar {
    position: relative;
    gap: 14px;
    padding: 14px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    position: absolute;
    top: 14px;
    right: 0;
    z-index: 1002;
  }

  .nav-links {
    display: grid;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1001;
    width: min(88vw, 360px);
    height: 100dvh;
    padding: 88px 18px 24px;
    align-content: start;
    gap: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px 0 0 28px;
    background:
      radial-gradient(circle at top right, rgba(49, 88, 212, 0.26), transparent 34%),
      linear-gradient(180deg, rgba(10, 18, 34, 0.98), rgba(7, 17, 31, 0.98));
    box-shadow: -24px 0 70px rgba(3, 8, 18, 0.36);
    transform: translateX(108%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--motion-base) var(--ease-smooth), opacity var(--motion-base) var(--ease-soft);
  }

  .nav-links.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-search-shortcut {
    display: none;
  }

  .nav-command-button {
    display: none;
  }

  .nav-search-mobile {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    min-height: 52px;
    margin-bottom: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 34px rgba(8, 16, 30, 0.22);
  }

  .nav-links a {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
  }

  .nav-links a.active {
    background: rgba(255, 255, 255, 0.12) !important;
  }

  .nav-links a.nav-search-mobile {
    justify-content: center;
    background: linear-gradient(135deg, rgba(45, 77, 161, 0.96), rgba(244, 63, 94, 0.92));
    color: #ffffff;
  }

  .nav-command-mobile {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    min-height: 52px;
    margin-bottom: 6px;
  }

  .brand {
    max-width: calc(100% - 88px);
    padding-right: 10px;
  }
}

@media (max-width: 720px) {
  .page-hero {
    padding: 36px 0 22px;
  }

  .content {
    padding: 16px 0 52px;
  }

  .section-title,
  .article-related-head,
  .footer-browse-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo {
    font-size: 1.46rem;
  }

  .site-tagline {
    max-width: 24ch;
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .hero-panel,
  .section-card,
  .sidebar-card,
  .info-card,
  .article-body,
  .article-sidebar,
  .article-related,
  .article-next-card {
    padding: 22px;
  }

  .hero-panel h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero-panel p,
  .article-standfirst,
  .story-body p,
  .archive-story-card .story-body p {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .section-title {
    margin-bottom: 18px;
    padding-bottom: 12px;
  }

  .section-title h2 {
    font-size: 1.7rem;
  }

  .story-card img {
    height: 220px;
  }

  .story-card::after {
    height: 220px;
  }

  .story-body,
  .archive-story-card .story-body {
    padding: 18px;
  }

  .info-card form,
  .contact-form,
  .newsletter-form {
    gap: 14px;
  }

  .story-meta {
    gap: 6px;
    margin-bottom: 10px;
    font-size: 0.7rem;
    line-height: 1.15;
  }

  .story-meta span {
    width: fit-content;
    max-width: 100%;
    padding: 6px 9px;
  }

  .story-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .story-actions .story-link,
  .save-story-button,
  .archive-load-more,
  .archive-page-button,
  .sidebar-read-more {
    width: 100%;
    justify-content: center;
  }

  .toast-stack {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .toast {
    min-width: 0;
    max-width: none;
  }

  .article-cover {
    height: 300px;
  }

  .article-cover-caption {
    flex-direction: column;
    padding: 14px 20px 0;
  }

  .article-author {
    grid-template-columns: 1fr;
  }

  .article-credibility-strip {
    grid-template-columns: 1fr;
  }

  .author-profile-card {
    grid-template-columns: 1fr;
  }

  .author-profile-card-premium {
    grid-template-columns: 1fr;
  }

  .author-highlight-grid,
  .author-metrics,
  .author-link-grid,
  .reading-history-grid {
    grid-template-columns: 1fr;
  }

  .desk-controls-head,
  .desk-result-row {
    align-items: flex-start;
  }

  .desk-controls,
  .archive-controls {
    gap: 14px;
    padding: 16px;
    border-radius: 20px;
  }

  .desk-controls-head h3,
  .sidebar-card h3,
  .info-card h3 {
    font-size: 1.22rem;
  }

  .desk-mode-note,
  .search-utility-card,
  .archive-pagination-status {
    font-size: 0.88rem;
  }

  .search-utility-grid {
    grid-template-columns: 1fr;
  }

  .search-utility-card {
    padding: 12px 14px;
    border-radius: 16px;
  }

  .reading-history-rail {
    gap: 14px;
    margin-bottom: 24px;
    padding: 18px 16px;
    border-radius: 22px;
  }

  .reading-history-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .reading-history-kicker {
    font-size: 0.74rem;
  }

  .reading-history-head h2 {
    font-size: 1.4rem;
    line-height: 1.04;
  }

  .reading-history-head .pill {
    padding: 8px 12px;
    font-size: 0.84rem;
  }

  .reading-history-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 82%);
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .reading-history-grid::-webkit-scrollbar {
    height: 6px;
  }

  .reading-history-grid::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(49, 88, 212, 0.18);
  }

  .reading-history-card {
    min-height: 124px;
    padding: 14px;
    border-radius: 18px;
    scroll-snap-align: start;
  }

  .reading-history-card span {
    font-size: 0.68rem;
  }

  .reading-history-card strong {
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .reading-history-card p {
    font-size: 0.86rem;
    line-height: 1.42;
  }

  .search-utility-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-utility-action {
    padding: 0;
  }

  .desk-control-grid {
    grid-template-columns: 1fr;
  }

  .desk-tab,
  .desk-chip {
    width: 100%;
  }

  .desk-chip-row,
  .desk-tab-row {
    gap: 10px;
  }

  .sidebar-stack {
    gap: 12px;
  }

  .sidebar-card,
  .sidebar-panel {
    padding: 16px;
    border-radius: 20px;
  }

  .wire-list,
  .most-read-list,
  .newsroom-rail-list,
  .recommendation-rail-list {
    gap: 10px;
  }

  .wire-item,
  .newsroom-rail-item,
  .recommendation-rail-item,
  .most-read-card,
  .sidebar-story-item {
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 12px;
  }

  .archive-story-card {
    border-radius: 18px;
  }

  .archive-story-card .story-meta {
    margin-bottom: 6px;
    font-size: 0.68rem;
  }

  .archive-story-card .story-body h3 {
    margin-bottom: 6px;
    font-size: 1.06rem;
    line-height: 1.18;
  }

  .archive-story-card .story-body p {
    font-size: 0.92rem;
    line-height: 1.58;
  }

  .archive-story-card .story-actions {
    margin-top: 12px;
    gap: 8px;
  }

  .edition-snapshot-metrics {
    grid-template-columns: 1fr;
  }

  .archive-pagination-bar {
    gap: 10px;
    margin-top: 14px;
    padding-top: 10px;
  }

  .archive-pagination-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 10px;
  }

  .archive-page-button {
    min-width: 0;
  }

  .button-link,
  .story-link.button-link,
  .contact-form button,
  .newsletter-form button {
    width: 100%;
    justify-content: center;
  }

  .footer-browse-shell {
    padding: 22px 24px;
    border-radius: 24px;
  }

  .footer-browse-head h2 {
    font-size: 1.6rem;
  }

  .footer-browse-grid {
    grid-template-columns: 1fr;
  }

  .article-source-card,
  .article-snapshot-card,
  .article-inline-card,
  .article-keypoints,
  .article-facts-card,
  .article-jump-links,
  .article-pullquote {
    padding: 18px 20px;
  }

  .article-facts-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .story-card:hover,
  .article-related-card:hover,
  .article-next-card:hover {
    transform: none !important;
  }

  .story-card:hover img,
  .lead-story:hover img,
  .article-teaser:hover img,
  .spotlight-card:hover img,
  .viral-card:hover img {
    transform: none !important;
  }
}

/* Defensive cleanup for stale Google Translate UI from browser cache */
body > .skiptranslate,
body > #google_translate_element,
.skiptranslate,
#google_translate_element,
.goog-te-banner-frame,
.goog-te-banner,
.goog-te-balloon-frame,
.goog-te-menu-frame,
.goog-te-spinner-pos,
.goog-te-spinner-modal,
.goog-tooltip,
#goog-gt-tt,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-l4eHX-hSRGPd,
.VIpgJd-ZVi9od-ORHb-OEVmcd {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

iframe.goog-te-banner-frame,
iframe.goog-te-balloon-frame,
iframe[id*=":0.container"],
iframe[id*=":1.container"],
iframe[id*=":2.container"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
