/* =========================================================
   HUMANOID ROBOTS TODAY
   Restored visual design + extended business data model
   CSS sections are intentionally grouped for easy editing.
   ========================================================= */

/* 01 — Design tokens */
:root {
  --blue: #1f5eff;
  --blue-700: #1748ca;
  --violet: #7a3cff;
  --violet-soft: #f2ecff;
  --cyan-soft: #eaf6ff;
  --ink: #111a33;
  --ink-soft: #34415f;
  --muted: #69738a;
  --line: #e4e9f3;
  --line-strong: #d2daeb;
  --surface: #ffffff;
  --surface-soft: #f7f9fe;
  --surface-blue: #f1f5ff;
  --shadow-sm: 0 8px 24px rgba(35, 56, 106, .07);
  --shadow-md: 0 20px 55px rgba(35, 56, 106, .14);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
}

/* 02 — Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
.container { width: min(1240px, calc(100% - 36px)); margin-inline: auto; }

/* 03 — Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(220,226,239,.85);
  backdrop-filter: blur(18px);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
}
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 26px; }
.brand { font-size: 21px; font-weight: 900; letter-spacing: -.045em; white-space: nowrap; }
.brand span { color: var(--violet); }
.main-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.main-nav a { position: relative; padding: 28px 0 25px; color: #4d5871; font-size: 14px; font-weight: 760; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 19px; height: 2px; background: linear-gradient(90deg,var(--blue),var(--violet)); transition: .2s; }
.main-nav a:hover { color: var(--blue); }
.main-nav a:hover::after { right: 0; }
.menu-toggle { display: none; margin-left: auto; border: 0; background: none; font-size: 26px; cursor: pointer; }
.header-cta { padding: 11px 17px; border-radius: 999px; background: linear-gradient(135deg,var(--blue),var(--violet)); color: #fff; font-size: 13px; font-weight: 850; box-shadow: 0 10px 24px rgba(60,76,220,.22); }

/* 04 — Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 78px;
  background:
    radial-gradient(circle at 84% 22%, rgba(122,60,255,.18), transparent 25%),
    radial-gradient(circle at 8% 18%, rgba(31,94,255,.13), transparent 27%),
    linear-gradient(180deg,#fff 0%,#f8faff 100%);
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -170px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(31,94,255,.14);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(122,60,255,.035), 0 0 0 110px rgba(31,94,255,.025);
}
.hero-copy { position: relative; z-index: 1; max-width: 920px; }
.eyebrow { margin-bottom: 11px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1 { margin-bottom: 22px; font-size: clamp(48px,7vw,86px); line-height: .98; letter-spacing: -.068em; }
h2 { margin-bottom: 12px; font-size: clamp(30px,4vw,50px); line-height: 1.05; letter-spacing: -.045em; }
.hero p { max-width: 790px; margin-bottom: 9px; color: var(--muted); font-size: clamp(17px,2vw,21px); line-height: 1.55; }
.hero .claim { margin-top: 20px; color: var(--ink); font-weight: 850; }

/* 05 — Shared sections */
.section { padding: 72px 0; }
.section.alt { background: var(--surface-soft); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 30px; }
.section-head p { max-width: 560px; margin-bottom: 2px; color: var(--muted); line-height: 1.65; }
.text-link { color: var(--blue); font-weight: 850; white-space: nowrap; }
.text-link:hover { color: var(--violet); }

/* 06 — News cards */
.news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.news-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.news-card::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg,var(--blue),var(--violet)); transform: scaleX(0); transform-origin: left; transition: .24s; }
.news-card:hover,.news-card:focus { transform: translateY(-7px); border-color: #c8d5ff; box-shadow: var(--shadow-md); outline: none; }
.news-card:hover::after,.news-card:focus::after { transform: scaleX(1); }
.news-card.large { display: grid; grid-template-columns: 1.18fr 1fr; min-height: 430px; border-radius: var(--radius-lg); }
.card-media { position: relative; min-height: 220px; overflow: hidden; background: var(--surface-blue); }
.news-card.large .card-media { min-height: 430px; }
.card-media img,.article-hero img,.preview-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .card-media img { transform: scale(1.035); }
.media-placeholder { min-height: 100%; display: grid; place-items: center; align-content: center; gap: 5px; padding: 28px; text-align: center; color: #3e4d76; background: linear-gradient(145deg,#eaf2ff,#f3edff); }
.media-placeholder span { font-size: 48px; font-weight: 950; letter-spacing: -.09em; background: linear-gradient(135deg,var(--blue),var(--violet)); -webkit-background-clip: text; color: transparent; }
.media-placeholder strong { max-width: 230px; font-size: 12px; line-height: 1.4; }
.badges { position: absolute; top: 15px; left: 15px; display: flex; flex-wrap: wrap; gap: 7px; z-index: 2; }
.badges.inline { position: static; margin-bottom: 18px; }
.badge { display: inline-flex; align-items: center; min-height: 27px; padding: 6px 10px; border-radius: 999px; font-size: 10px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; box-shadow: 0 5px 14px rgba(20,30,70,.08); }
.badge.hot { background: #ff3c64; color: #fff; }
.badge.trend { background: linear-gradient(135deg,var(--blue),var(--violet)); color: #fff; }
.badge.neutral { background: #eef2fa; color: #53607a; box-shadow: none; }
.card-body { display: flex; flex-direction: column; min-width: 0; padding: 23px 23px 21px; }
.news-card.large .card-body { justify-content: center; padding: 38px; }
.card-body h3 { margin-bottom: 13px; font-size: 23px; line-height: 1.17; letter-spacing: -.038em; }
.news-card.large .card-body h3 { font-size: clamp(29px,3vw,42px); }
.card-body > p:not(.eyebrow) { margin-bottom: 18px; color: var(--muted); line-height: 1.62; }
.impact-mini { display: flex; flex-wrap: wrap; gap: 11px 18px; margin-top: auto; padding: 15px 0; border-top: 1px solid var(--line); color: #4c5873; font-size: 11px; font-weight: 850; }
.score { display: inline-flex; align-items: center; gap: 3px; margin-left: 5px; }
.score i { width: 7px; height: 7px; border-radius: 50%; background: #d8dfed; }
.score i.on { background: linear-gradient(135deg,var(--blue),var(--violet)); }
.card-meta { display: flex; justify-content: space-between; gap: 12px; color: #828ba0; font-size: 11px; }

/* 07 — Editorial perspective cards */
.intelligence-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.intelligence-card { position: relative; overflow: hidden; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.intelligence-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(var(--blue),var(--violet)); }
.intelligence-card h3 { margin-bottom: 12px; font-size: 23px; line-height: 1.16; letter-spacing: -.035em; }
.intelligence-card > p:not(.eyebrow) { color: var(--muted); line-height: 1.65; }
.chip-row,.taxonomy > div { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { display: inline-flex; padding: 7px 10px; border: 1px solid #dce5ff; border-radius: 999px; background: #f2f5ff; color: #3850a8; font-size: 11px; font-weight: 800; }

/* 08 — Metrics */
.metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 17px; }
.metric { position: relative; overflow: hidden; padding: 27px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.metric::after { content: ""; position: absolute; right: -28px; bottom: -46px; width: 105px; height: 105px; border-radius: 50%; background: linear-gradient(135deg,rgba(31,94,255,.10),rgba(122,60,255,.12)); }
.metric strong { position: relative; z-index: 1; display: block; margin-bottom: 4px; color: var(--blue); font-size: 37px; letter-spacing: -.05em; }
.metric span { position: relative; z-index: 1; color: var(--muted); font-size: 13px; }

/* 09 — Archive filters */
.filters { position: sticky; top: 94px; z-index: 12; display: grid; grid-template-columns: 2fr repeat(4,1fr); gap: 11px; margin-bottom: 28px; padding: 18px; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); backdrop-filter: blur(16px); }
.filters input,.filters select { width: 100%; padding: 12px 13px; color: #34405a; background: #fff; border: 1px solid var(--line); border-radius: 11px; outline: none; }
.filters input:focus,.filters select:focus { border-color: #9eb5ff; box-shadow: 0 0 0 3px rgba(31,94,255,.08); }
.filter-actions { display: flex; gap: 9px; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 11px; font-weight: 850; cursor: pointer; }
.btn.primary { color: #fff; background: linear-gradient(135deg,var(--blue),var(--violet)); border: 0; box-shadow: 0 10px 22px rgba(74,65,218,.2); }
.btn.secondary { background: #fff; }
.archive-meta { display: flex; justify-content: space-between; margin-bottom: 20px; color: var(--muted); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.page { width: 40px; height: 40px; background: #fff; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.page.active { color: #fff; background: linear-gradient(135deg,var(--blue),var(--violet)); border-color: transparent; }

/* 10 — Preview overlay */
.preview { position: fixed; inset: 0; z-index: 100; display: none; padding: 26px; overflow: auto; background: rgba(10,18,40,.63); backdrop-filter: blur(8px); }
.preview.open { display: grid; place-items: center; }
.preview-panel { position: relative; overflow: hidden; width: min(1040px,100%); background: #fff; border-radius: 28px; box-shadow: 0 35px 100px rgba(8,18,45,.32); }
.preview-close { position: absolute; top: 16px; right: 16px; z-index: 4; width: 42px; height: 42px; background: rgba(255,255,255,.95); border: 1px solid var(--line); border-radius: 50%; font-size: 23px; cursor: pointer; box-shadow: var(--shadow-sm); }
.preview-body { display: grid; grid-template-columns: .88fr 1.12fr; }
.preview-media { min-height: 630px; background: var(--surface-blue); }
.preview-content { padding: 42px; }
.preview-content h2 { margin-bottom: 14px; font-size: clamp(32px,4vw,43px); line-height: 1.05; }
.lead { color: #4a5670; font-size: 18px; line-height: 1.68; }
.editorial-box { margin: 21px 0; padding: 20px; background: linear-gradient(135deg,#f3f6ff,#f7f1ff); border: 1px solid #e1e5f7; border-radius: 17px; }
.editorial-box p { color: var(--muted); line-height: 1.55; }
.editorial-box blockquote,.editorial-panel blockquote { margin: 15px 0 0; padding-left: 15px; border-left: 3px solid var(--violet); color: #2d3856; font-weight: 820; line-height: 1.5; }
.snapshot { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin: 22px 0; }
.snapshot > div { padding: 14px; background: #fafbff; border: 1px solid var(--line); border-radius: 13px; }
.snapshot small { display: block; margin-bottom: 8px; color: var(--muted); }
.preview-actions { display: flex; gap: 10px; margin-top: 24px; }
.no-scroll { overflow: hidden; }

/* 11 — Article detail */
.article { padding: 58px 0 90px; }
.article-header { max-width: 930px; margin-inline: auto; }
.article-header h1 { margin-bottom: 22px; font-size: clamp(43px,6vw,76px); }
.article-lead { color: var(--muted); font-size: 23px; line-height: 1.52; }
.article-meta { display: flex; flex-wrap: wrap; gap: 17px; color: var(--muted); font-size: 13px; }
.article-hero { overflow: hidden; height: 500px; margin: 42px 0; background: var(--surface-blue); border-radius: 28px; box-shadow: var(--shadow-sm); }
.editorial-panel,.business-snapshot,.source-box { margin: 34px 0; padding: 34px; border-radius: 25px; }
.editorial-panel { background: linear-gradient(135deg,#f3f6ff,#f7f2ff); border: 1px solid #dde3f5; border-left: 6px solid var(--violet); }
.business-snapshot { color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.business-snapshot::before { content: ""; display: block; width: 86px; height: 4px; margin-bottom: 22px; border-radius: 99px; background: linear-gradient(90deg,var(--blue),var(--violet)); }
.snapshot-head { display: flex; justify-content: space-between; align-items: start; gap: 18px; }
.maturity { padding: 8px 12px; color: #405071; background: #eff3ff; border-radius: 999px; font-size: 12px; font-weight: 800; }
.snapshot-grid,.kpi-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; margin-top: 23px; }
.snapshot-grid > div,.kpi-grid > div { padding: 17px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 15px; }
.snapshot-grid small,.kpi-grid span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 12px; }
.kpi-grid strong { font-size: 22px; }
.taxonomy { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 24px; }
.taxonomy h3 { margin-bottom: 10px; font-size: 14px; }
.article-copy { max-width: 830px; margin: 46px auto; color: #34405a; font-size: 18px; line-height: 1.82; }
.article-columns { display: grid; grid-template-columns: repeat(2,1fr); gap: 19px; }
.article-section { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 19px; box-shadow: var(--shadow-sm); }
.article-section h2 { font-size: 27px; }
.article-section li { margin: 10px 0; color: #4b5770; }
.source-box { display: flex; justify-content: space-between; align-items: center; gap: 25px; background: var(--surface-soft); border: 1px solid var(--line); }

/* 12 — Footer */
.site-footer { padding: 48px 0; color: #d8def0; background: #111a35; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; }
.site-footer strong { color: #fff; }
.site-footer p { margin-top: 7px; color: #aeb8d1; }
.empty { grid-column: 1/-1; padding: 80px 24px; text-align: center; background: var(--surface-soft); border: 1px dashed var(--line-strong); border-radius: 24px; }

/* 13 — Tablet */
@media (max-width: 980px) {
  .news-grid,.intelligence-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .news-card.large { grid-template-columns: 1fr; }
  .news-card.large .card-media { min-height: 320px; }
  .filters { position: static; grid-template-columns: repeat(2,1fr); }
  .preview-body { grid-template-columns: 1fr; }
  .preview-media { min-height: 310px; max-height: 380px; }
  .snapshot-grid,.kpi-grid { grid-template-columns: repeat(2,1fr); }
}

/* 14 — Mobile */
@media (max-width: 720px) {
  .container { width: min(100% - 24px,1240px); }
  .header-inner { min-height: 68px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 68px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 18px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 4px; border-bottom: 1px solid #eef1f7; }
  .main-nav a::after { display: none; }
  .header-cta { display: none; }
  .hero { padding: 52px 0 48px; }
  h1 { font-size: clamp(42px,13vw,60px); }
  .hero p { font-size: 17px; }
  .section { padding: 50px 0; }
  .section-head { align-items: start; flex-direction: column; gap: 10px; }
  .news-grid,.intelligence-grid,.metrics,.filters,.article-columns,.taxonomy { grid-template-columns: 1fr; }
  .news-card.large .card-media { min-height: 250px; }
  .news-card.large .card-body { padding: 26px; }
  .preview { padding: 0; }
  .preview-panel { min-height: 100%; border-radius: 0; }
  .preview-content { padding: 27px 22px 35px; }
  .preview-actions,.source-box { flex-direction: column; align-items: stretch; }
  .snapshot-grid,.kpi-grid,.snapshot { grid-template-columns: 1fr 1fr; }
  .article { padding-top: 40px; }
  .article-hero { height: 285px; margin: 30px 0; border-radius: 20px; }
  .editorial-panel,.business-snapshot,.source-box { padding: 24px; border-radius: 20px; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 430px) {
  .snapshot-grid,.kpi-grid,.snapshot { grid-template-columns: 1fr; }
  .brand { font-size: 18px; }
}

/* 15 — Restored full homepage sections */
.hero-layout { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(310px,.75fr); gap:48px; align-items:center; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.hero-brief { padding:30px; background:rgba(255,255,255,.82); border:1px solid rgba(196,207,235,.9); border-radius:24px; box-shadow:var(--shadow-sm); backdrop-filter:blur(12px); }
.hero-brief h2 { margin-bottom:18px; font-size:28px; }
.hero-brief ul { margin:0; padding-left:20px; color:var(--muted); line-height:1.65; }
.hero-brief li + li { margin-top:10px; }
.topic-bar { border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:#fff; }
.topic-links { display:grid; grid-template-columns:repeat(4,1fr); }
.topic-links a { display:flex; gap:12px; align-items:center; padding:20px 18px; border-right:1px solid var(--line); font-weight:800; }
.topic-links a:last-child { border-right:0; }
.topic-links span { color:var(--violet); font-size:12px; }
.metrics-spaced { margin-top:24px; }
.section-cta { display:flex; justify-content:center; margin-top:26px; }
.dark-section { color:#fff; background:linear-gradient(135deg,#101a38,#182451 55%,#30205f); }
.section-head.light p,.section-head.light .eyebrow { color:#bfc9e7; }
.industry-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.industry-grid a { min-height:145px; padding:24px; color:#fff; background:rgba(255,255,255,.075); border:1px solid rgba(255,255,255,.14); border-radius:20px; transition:.25s ease; }
.industry-grid a:hover { transform:translateY(-3px); background:rgba(255,255,255,.12); }
.industry-grid strong,.industry-grid span { display:block; }
.industry-grid strong { margin-bottom:9px; font-size:20px; }
.industry-grid span { color:#bcc7e5; line-height:1.5; }
.split-feature { display:grid; grid-template-columns:1.08fr .92fr; gap:46px; align-items:center; }
.section-lead { max-width:690px; color:var(--muted); font-size:19px; line-height:1.7; }
.feature-points { display:grid; gap:12px; margin:25px 0; }
.feature-points div { padding:16px 18px; background:#fff; border:1px solid var(--line); border-radius:15px; }
.feature-points strong,.feature-points span { display:block; }
.feature-points span { margin-top:4px; color:var(--muted); }
.spotlight-panel { min-height:420px; }
.spotlight-panel .news-card { height:100%; }
.voices-grid,.events-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.voice-card,.event-card { padding:28px; background:#fff; border:1px solid var(--line); border-radius:21px; box-shadow:var(--shadow-sm); }
.voice-card > span,.event-card time,.resource-grid article > span { display:inline-flex; margin-bottom:17px; color:var(--violet); font-size:11px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.voice-card blockquote { margin:0 0 20px; color:#24304c; font-size:20px; font-weight:750; line-height:1.5; }
.voice-card p,.event-card p,.resource-grid p { color:var(--muted); line-height:1.6; }
.event-card h3 { font-size:23px; }
.event-card a,.resource-grid a { display:inline-block; margin-top:16px; color:var(--blue); font-weight:850; }
.resource-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.resource-grid article { padding:25px; background:linear-gradient(180deg,#fff,#f8f9ff); border:1px solid var(--line); border-radius:19px; }
.resource-grid h3 { font-size:21px; }
.newsletter-section { padding:72px 0; background:#eef2ff; }
.newsletter-card { display:grid; grid-template-columns:1.1fr .9fr; gap:44px; align-items:center; padding:44px; color:#fff; background:linear-gradient(135deg,#172553,#4c2c91); border-radius:28px; box-shadow:0 25px 70px rgba(29,43,99,.22); }
.newsletter-card .eyebrow,.newsletter-card p { color:#cbd4ef; }
.newsletter-card h2 { color:#fff; }
.newsletter-form { display:grid; grid-template-columns:1fr auto; gap:10px; }
.newsletter-form input { min-height:48px; padding:12px 15px; border:0; border-radius:12px; outline:none; }
.newsletter-form small { grid-column:1/-1; color:#cbd4ef; }
.footer-grid { display:grid; grid-template-columns:1.5fr repeat(3,1fr); gap:35px; }
.footer-grid h4 { margin:0 0 12px; color:#fff; }
.footer-grid a { display:block; margin:8px 0; color:#b8c2dd; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

@media (max-width:980px) {
  .hero-layout,.split-feature,.newsletter-card { grid-template-columns:1fr; }
  .topic-links,.resource-grid { grid-template-columns:repeat(2,1fr); }
  .industry-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:720px) {
  .topic-links,.industry-grid,.voices-grid,.events-grid,.resource-grid,.footer-grid { grid-template-columns:1fr; }
  .topic-links a { border-right:0; border-bottom:1px solid var(--line); }
  .newsletter-card { padding:28px 22px; }
  .newsletter-form { grid-template-columns:1fr; }
  .newsletter-form small { grid-column:auto; }
}


/* 16 — Breaking News ticker (replaces only the former topic bar) */
.breaking-news {
  overflow: hidden;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.breaking-news[hidden] { display: none; }
.breaking-news-inner {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) 48px;
  min-height: 62px;
  align-items: stretch;
  padding-inline: 0;
}
.breaking-news-label {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 26px;
  color: #fff;
  background: linear-gradient(135deg,var(--blue),var(--violet));
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.breaking-news-label::after {
  content: "";
  position: absolute;
  top: 0;
  right: -18px;
  width: 36px;
  height: 100%;
  background: inherit;
  transform: skewX(-18deg);
  z-index: -1;
}
.breaking-news-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255,255,255,.16);
  animation: breakingPulse 1.5s ease-in-out infinite;
}
.breaking-news-window {
  min-width: 0;
  overflow: hidden;
  padding-left: 32px;
  -webkit-mask-image: linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);
  mask-image: linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);
}
.breaking-news-track {
  display: flex;
  align-items: center;
  width: max-content;
  min-height: 62px;
  will-change: transform;
  animation: breakingTicker 42s linear infinite;
}
.breaking-news-track.is-paused { animation-play-state: paused; }
.breaking-news:hover .breaking-news-track { animation-play-state: paused; }
.breaking-news-set {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  min-width: max-content;
}
.breaking-news-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-right: 34px;
  color: var(--ink);
  white-space: nowrap;
}
.breaking-news-item:hover { color: var(--blue); }
.breaking-news-status {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 9px;
  color: #fff;
  background: linear-gradient(135deg,var(--blue),var(--violet));
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.breaking-news-title { font-size: 14px; font-weight: 850; }
.breaking-news-date { color: var(--muted); font-size: 11px; font-weight: 750; }
.breaking-news-separator {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  margin-right: 34px;
  border-radius: 50%;
  background: var(--violet);
}
.breaking-news-toggle {
  position: relative;
  z-index: 3;
  border: 0;
  border-left: 1px solid var(--line);
  color: var(--blue);
  background: #fff;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}
.breaking-news-toggle:hover { background: var(--surface-soft); }
@keyframes breakingTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes breakingPulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.45; transform:scale(.78); } }
@media (max-width:720px) {
  .breaking-news-inner { grid-template-columns:auto minmax(0,1fr); min-height:56px; }
  .breaking-news-label { padding:0 16px; font-size:9px; }
  .breaking-news-window { padding-left:24px; }
  .breaking-news-track { min-height:56px; animation-duration:32s; }
  .breaking-news-toggle,.breaking-news-date { display:none; }
  .breaking-news-title { font-size:13px; }
}
@media (prefers-reduced-motion:reduce) {
  .breaking-news-track,.breaking-news-dot { animation:none; }
  .breaking-news-window { overflow-x:auto; -webkit-mask-image:none; mask-image:none; }
}
