/* WristFit SG — dark navy + warm gold, mobile-first */
:root {
  --navy-950: #0a0f1a;
  --navy-900: #0f1729;
  --navy-800: #162033;
  --navy-700: #1e2d45;
  --navy-600: #2a3f5c;
  --gold-400: #d4a84b;
  --gold-300: #e8c06a;
  --gold-200: #f0d89a;
  --cream: #f5f0e6;
  --cream-muted: #c8c0b0;
  --text: #e8e4dc;
  --text-muted: #9a9488;
  --border: rgba(212, 168, 75, 0.18);
  --ad-bg: rgba(30, 45, 69, 0.5);
  --radius: 10px;
  --max: 720px;
  --wide: 1100px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Georgia", "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
  max-width: 100%;
}

body {
  font-family: var(--font);
  background: var(--navy-950);
  color: var(--text);
  line-height: 1.7;
  font-size: 1.05rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

a { color: var(--gold-300); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--gold-200); text-decoration: underline; }

img, svg, video, canvas, iframe {
  max-width: 100%;
  height: auto;
}
pre, code {
  max-width: 100%;
  overflow-x: auto;
  word-break: break-word;
  overflow-wrap: anywhere;
}
h1, h2, h3, h4, h5, h6 {
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* —— Header / Nav —— */
.site-header {
  background: var(--navy-900);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-width: 0;
}

.logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.02em;
  text-decoration: none;
}
.logo:hover { color: var(--gold-300); text-decoration: none; }
.logo span { color: var(--gold-400); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--cream);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 0.25rem 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.nav-list a {
  color: var(--cream-muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-list a:hover,
.nav-list a.active { color: var(--gold-300); }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-900);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.75rem;
  }
  .nav-list.open { display: flex; }
}

/* —— Layout —— */
main {
  flex: 1;
  min-width: 0; /* allow flex child to shrink; prevents table-driven page overflow */
  width: 100%;
}

.container {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  width: 100%;
  min-width: 0;
}

.prose {
  max-width: min(var(--max), 100%);
  margin: 0 auto;
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.prose h1, .prose h2, .prose h3 {
  font-family: var(--serif);
  color: var(--cream);
  line-height: 1.25;
  margin: 1.75rem 0 0.85rem;
}
.prose h1 { font-size: clamp(1.75rem, 4vw, 2.35rem); margin-top: 0; }
.prose h2 { font-size: 1.45rem; border-bottom: 1px solid var(--border); padding-bottom: 0.4rem; }
.prose h3 { font-size: 1.15rem; color: var(--gold-200); }
.prose p { margin-bottom: 1.1rem; color: var(--text); }
.prose ul, .prose ol { margin: 0 0 1.25rem 1.35rem; color: var(--text); }
.prose li { margin-bottom: 0.45rem; }
.prose strong { color: var(--cream); font-weight: 600; }
.prose blockquote {
  border-left: 3px solid var(--gold-400);
  padding: 0.6rem 0 0.6rem 1.1rem;
  margin: 1.5rem 0;
  color: var(--cream-muted);
  font-style: italic;
}

.meta-line {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

/* —— Hero —— */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(212, 168, 75, 0.08), transparent),
    linear-gradient(180deg, var(--navy-800) 0%, var(--navy-950) 100%);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 1.25rem 3rem;
}

.hero-inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  width: 100%;
  min-width: 0;
}

@media (min-width: 800px) {
  .hero-inner { grid-template-columns: 1.4fr 1fr; align-items: center; }
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero .lead {
  font-size: 1.15rem;
  color: var(--cream-muted);
  max-width: 36em;
  margin-bottom: 1.75rem;
}

.hero-card {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.hero-card h2 {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold-300);
  margin-bottom: 0.75rem;
}
.hero-card ul { list-style: none; margin: 0; padding: 0; }
.hero-card li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.95rem;
}
.hero-card li:last-child { border-bottom: none; }
.hero-card a { font-weight: 500; }

/* —— Buttons / CTA —— */
.btn {
  display: inline-block;
  background: var(--gold-400);
  color: var(--navy-950);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.35rem;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.btn:hover {
  background: var(--gold-300);
  color: var(--navy-950);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--gold-300);
  border: 1px solid var(--gold-400);
  margin-left: 0.5rem;
}
.btn-outline:hover {
  background: rgba(212, 168, 75, 0.12);
  color: var(--gold-200);
}

.cta-row { display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: center; }

/* —— Cards grid —— */
.section-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 0.35rem;
}
.section-sub {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.98rem;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .card-grid.three { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s;
}
.card:hover { border-color: rgba(212, 168, 75, 0.4); }
.card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 1rem;
}
.card .card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-400);
}

/* —— Callout / tip boxes —— */
.callout {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
}
.callout.tip { border-left: 3px solid var(--gold-400); }
.callout.warn { border-left: 3px solid #c07050; }
.callout h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-400);
  margin-bottom: 0.4rem;
}
.callout p:last-child { margin-bottom: 0; }

/* —— Comparison table —— */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  max-width: 100%;
  width: 100%;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--navy-800);
  table-layout: auto;
}
th, td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  vertical-align: top;
  max-width: 100%;
}
th {
  background: var(--navy-700);
  color: var(--gold-300);
  font-weight: 600;
  white-space: normal; /* allow header wrap — nowrap caused mobile overflow */
  line-height: 1.35;
}
td { color: var(--text); }
tr:last-child td { border-bottom: none; }

/* Desktop: give Notes a usable width (avoid word-by-word wrap) */
table.has-notes {
  table-layout: fixed;
  min-width: 0;
}
table.has-notes th:nth-child(1),
table.has-notes td:nth-child(1) { width: 26%; }
table.has-notes th:nth-child(2),
table.has-notes td:nth-child(2) { width: 34%; }
table.has-notes th.col-notes,
table.has-notes td.td-notes { width: 40%; }
table.has-notes td.td-notes {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Sizing guide table: fixed layout + tighter padding so columns fit narrow viewports */
table.sizing-table {
  table-layout: fixed;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
table.sizing-table th,
table.sizing-table td {
  padding: 0.65rem 0.75rem;
}

@media (max-width: 640px) {
  th, td { padding: 0.6rem 0.7rem; font-size: 0.85rem; }

  /* Stack Notes under each row on small screens */
  .table-wrap--notes {
    overflow-x: auto; /* contain residual width; stacked cards should not need scroll */
    border: none;
    background: transparent;
    max-width: 100%;
  }
  table.has-notes {
    table-layout: auto;
    background: transparent;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  table.has-notes thead { display: none; }
  table.has-notes tbody tr {
    display: block;
    background: var(--navy-800);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    padding: 0.85rem 1rem;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  table.has-notes tbody tr:last-child { margin-bottom: 0; }
  table.has-notes tbody td {
    display: block;
    width: 100%;
    padding: 0.2rem 0;
    border-bottom: none;
  }
  table.has-notes tbody td:first-child {
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 0.25rem;
  }
  table.has-notes tbody td:nth-child(2) {
    color: var(--text);
    font-size: 0.92rem;
  }
  table.has-notes tbody td.td-notes {
    display: block;
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
  }
  table.has-notes tbody td.td-notes::before {
    content: "Notes · ";
    color: var(--gold-400);
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
}

/* —— Ad slots ——
   Hidden by default so empty Ad placeholders never look unfinished.
   JS adds .ad-slot--ready on <html> only when a real ca-pub ID is configured.
*/
.ad-slot {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  overflow: hidden !important;
}
html.ad-slot--ready .ad-slot {
  display: flex !important;
  visibility: visible !important;
  height: auto !important;
  min-height: 90px !important;
  margin: 1.75rem auto !important;
  padding: 0 !important;
  border: 1px dashed rgba(212, 168, 75, 0.25) !important;
  overflow: visible !important;
  background: var(--ad-bg);
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  max-width: 728px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
html.ad-slot--ready .ad-slot::before { content: attr(data-label); opacity: 0.7; }
html.ad-slot--ready .ad-slot.ad-sidebar { min-height: 250px !important; max-width: 300px; }
html.ad-slot--ready .ad-slot.ad-inarticle { min-height: 100px !important; }

/* —— Wrist size helper —— */
.wrist-helper {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  margin: 1.75rem 0;
}
.wrist-helper h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--cream);
  margin: 0 0 0.5rem;
}
.wrist-helper .helper-lead {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}
.wrist-helper-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: flex-end;
  margin-bottom: 0.85rem;
}
.wrist-helper-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1 1 100%;
  min-width: 0;
  max-width: 100%;
}
@media (min-width: 520px) {
  .wrist-helper-field { flex: 1 1 calc(50% - 0.65rem); }
}
.wrist-helper-field label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-400);
}
.wrist-helper-field input,
.wrist-helper-field select {
  background: var(--navy-900);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--cream);
  padding: 0.55rem 0.75rem;
  font-size: 1rem;
  font-family: inherit;
}
.wrist-helper-field input:focus,
.wrist-helper-field select:focus {
  outline: 1px solid var(--gold-400);
  border-color: var(--gold-400);
}
.wrist-helper-result {
  background: var(--navy-900);
  border-radius: 6px;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  color: var(--text);
  min-height: 3.2rem;
  border: 1px solid rgba(255,255,255,0.06);
}
.wrist-helper-result strong { color: var(--gold-300); }
.wrist-helper-result .muted { color: var(--text-muted); font-size: 0.88rem; display: block; margin-top: 0.35rem; }
.wrist-helper-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
.wrist-helper-actions .btn {
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  flex: 0 0 auto;
}

/* —— Footer —— */
.site-footer {
  background: var(--navy-900);
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.25rem 2rem;
  margin-top: auto;
}
.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-brand {
  font-family: var(--serif);
  color: var(--cream);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.footer-brand span { color: var(--gold-400); }
.footer-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 28em;
}
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-400);
  margin-bottom: 0.65rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.35rem; }
.footer-col a {
  color: var(--cream-muted);
  font-size: 0.9rem;
  text-decoration: none;
}
.footer-col a:hover { color: var(--gold-300); }

.footer-bottom {
  max-width: var(--wide);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--text-muted);
  font-size: 0.8rem;
}
.disclaimer {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  opacity: 0.85;
}

/* —— About / misc —— */
.page-header {
  max-width: var(--max);
  margin: 0 auto 2rem;
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--cream-muted); }

.related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.related h2 {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--cream);
  margin-bottom: 1rem;
}

/* —— Diagrams (sizing guide) —— */
.diagram-grid {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}
@media (min-width: 640px) {
  .diagram-grid { grid-template-columns: 1fr 1fr; }
}
.diagram-card {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1rem 0.75rem;
}
.diagram-card figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  text-align: center;
}
.diagram-card svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Real-wrist photo figures */
.photo-grid { margin: 1.5rem 0; }
.photo-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  max-width: 100%;
}
.photo-card--solo {
  margin: 1.25rem 0 1.5rem;
  max-width: 720px;
}
.photo-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0.25rem 0 1.5rem;
}

/* Official product packshots (self-hosted under images/products/) */
.photo-card--product {
  margin: 0.85rem 0 1.25rem;
  max-width: 420px;
}
.photo-card--product img {
  background: #fff;
  object-fit: contain;
}
.photo-card figcaption,
.diagram-card.photo-card figcaption {
  text-align: left;
  line-height: 1.45;
}
.photo-card figcaption a {
  word-break: break-all;
}
.photo-credits {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.photo-credits h3 {
  font-size: 0.95rem;
  margin: 0 0 0.4rem;
  color: var(--text);
}
.photo-credits ul {
  margin: 0;
  padding-left: 1.1rem;
}
.photo-grid--products {
  display: grid;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}
@media (min-width: 640px) {
  .photo-grid--products { grid-template-columns: 1fr 1fr; }
}

/* Mobile overflow harden */
.site-header, .header-inner, .hero, .hero-inner, .container, .prose, .footer-inner {
  max-width: 100%;
  min-width: 0;
}
.prose p, .prose li, .meta-line, .hero .lead, .hero h1, .prose h1 {
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
.diagram-card, .photo-card, .callout, .wrist-helper, .card, .footer-inner, .related, .sources, .news-card {
  max-width: 100%;
  min-width: 0;
}
.diagram-card img, .photo-card img, figure img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 480px) {
  .container, .hero-inner, .header-inner { padding-left: 1rem; padding-right: 1rem; }
  .prose { font-size: 1rem; }
}

/* Force all guide tables to card-stack under 640px — prevents min-content overflow */
@media (max-width: 640px) {
  .table-wrap {
    overflow-x: visible !important;
    border: none;
    width: 100%;
    max-width: 100%;
  }
  .prose table,
  table.sizing-table,
  table.has-notes {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    table-layout: auto !important;
  }
  .prose table thead { display: none; }
  .prose table tbody { display: block; width: 100%; }
  .prose table tr {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: var(--navy-800);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    padding: 0.75rem 0.85rem;
  }
  .prose table td,
  .prose table th {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.25rem 0;
    border: none;
  }
  .prose table td:first-child {
    font-weight: 600;
    color: var(--gold-300);
    margin-bottom: 0.35rem;
  }
  .wrist-helper-form {
    grid-template-columns: 1fr !important;
  }
  .wrist-helper-field,
  .wrist-helper-field input,
  .wrist-helper-field select {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}


/* —— Hero photo (homepage) —— */
.hero-photo {
  margin: 0 0 1.5rem;
  max-width: 36rem;
}
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.hero-photo figcaption {
  font-size: 0.82rem;
  color: var(--cream-muted);
  margin-top: 0.5rem;
  line-height: 1.45;
}

/* —— More guides strip —— */
.more-guides {
  margin: 2.5rem 0 0;
  padding: 1.25rem 1.35rem;
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.more-guides h2 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--gold-300);
  margin: 0 0 0.35rem;
}
.more-guides .section-sub {
  margin-bottom: 0.85rem;
}
.more-guides-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.more-guides-list a { font-weight: 500; }

/* —— AD vs grey compare cards —— */
.compare-grid {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 1.5rem;
}
@media (min-width: 640px) {
  .compare-grid { grid-template-columns: 1fr 1fr; }
}
.compare-card {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}
.compare-card h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--gold-300);
  margin: 0 0 0.65rem;
}
.compare-card ul {
  margin: 0;
  padding-left: 1.15rem;
}
.compare-card li { margin-bottom: 0.35rem; }
.compare-card li:last-child { margin-bottom: 0; }
.compare-card .label-up { color: var(--gold-200); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.compare-card .label-down { color: #c07050; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* —— News hub / homepage strip —— */
.news-hub-intro {
  color: var(--text-muted);
  max-width: 42rem;
  margin-bottom: 1.5rem;
  font-size: 1.02rem;
}
.news-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}
.news-topics li {
  margin: 0;
  padding: 0;
}
.news-topics a {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--gold-200);
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  text-decoration: none;
}
.news-topics a:hover,
.news-topics a:focus-visible {
  border-color: var(--gold-400);
  color: var(--cream);
}
.news-list {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
  scroll-margin-top: 5rem;
}
.news-card {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem;
  position: relative;
  scroll-margin-top: 5rem;
}
.news-card h2,
.news-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--cream);
  margin: 0 0 0.45rem;
}
.news-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
}
.news-card p:last-child { margin-bottom: 0; }
.news-card .news-date {
  font-size: 0.82rem;
  color: var(--cream-muted);
  margin-bottom: 0.35rem;
}
.news-card--thumb {
  display: grid;
  gap: 1rem;
  padding: 0;
  overflow: hidden;
}
@media (min-width: 640px) {
  .news-card--thumb {
    grid-template-columns: minmax(9rem, 13rem) 1fr;
    align-items: stretch;
  }
}
.news-card-media {
  display: block;
  margin: 0;
  background: var(--navy-900, #0b1220);
}
.news-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 11rem;
  object-fit: cover;
  border: 0;
}
@media (min-width: 640px) {
  .news-card-media img {
    max-height: none;
    min-height: 100%;
  }
}
.news-card-body {
  padding: 1.15rem 1.25rem 1.25rem;
}
.news-card-body .card-link { display: inline-block; }
.news-card-caption {
  font-size: 0.8rem !important;
  color: var(--cream-muted) !important;
  line-height: 1.45;
  margin-bottom: 0.85rem !important;
}
.news-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  scroll-margin-top: 5rem;
}

/* —— Article sources —— */
.sources {
  margin: 2rem 0 1.5rem;
  padding: 1.15rem 1.25rem;
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.sources h2 {
  font-size: 1.15rem;
  margin-top: 0;
}
.sources ul {
  margin-bottom: 0;
}
.sources li {
  margin-bottom: 0.45rem;
}
.sources a {
  font-weight: 600;
}
.news-coming-soon {
  border-style: dashed;
}
.news-cta {
  margin-top: 0.5rem;
}
.latest-news {
  margin: 2.5rem 0 0;
}
.latest-news .section-sub {
  margin-bottom: 1rem;
}
