:root {
  --bg: #f6f8fb;
  --paper: #ffffff;
  --ink: #182027;
  --muted: #68717b;
  --line: #dfe5ea;
  --accent: #c93535;
  --accent-2: #1f7a5a;
  --accent-3: #2f63b7;
  --soft: #eef3f7;
  --radius: 8px;
  --shadow: 0 16px 40px rgba(24, 32, 39, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  letter-spacing: 0;
}

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

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

input,
select,
button {
  font: inherit;
}

.site-header,
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 248, 251, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(223, 229, 234, 0.8);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 18px;
  height: 18px;
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 4px;
}

.site-nav,
.admin-nav {
  display: flex;
  gap: 14px;
  color: var(--muted);
  font-weight: 650;
}

.site-nav a:hover,
.admin-nav a:hover {
  color: var(--ink);
}

.hero-news {
  max-width: 1180px;
  margin: 26px auto 20px;
  padding: 0 20px;
}

.hero-link {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  padding: 42px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(8, 18, 28, 0.14), rgba(8, 18, 28, 0.84)),
    linear-gradient(135deg, #1f7a5a, #2f63b7 50%, #c93535);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-link h1 {
  max-width: 860px;
  margin: 0;
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-link p,
.article-header p {
  max-width: 760px;
  margin: 0;
  font-size: 19px;
}

.kicker {
  display: inline-flex;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-link .kicker {
  color: #ffd8d8;
}

.hero-metrics,
.score-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-metrics span,
.score-strip span {
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 750;
}

.score-strip span {
  color: var(--muted);
  border-color: var(--line);
}

.section-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 20px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 14px;
}

.section-heading h2 {
  margin: 0;
  font-size: 24px;
}

.section-heading span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

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

.top-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.top-grid .news-card {
  grid-column: span 2;
}

.top-grid .news-card:first-child,
.news-card.large {
  grid-column: span 3;
}

.news-card {
  min-height: 240px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(24, 32, 39, 0.04);
}

.news-card a {
  min-height: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}

.news-card h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.12;
}

.news-card p {
  margin: 0;
  color: var(--muted);
}

.news-card .score-strip {
  margin-top: auto;
}

.split-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.stack-list {
  display: grid;
  gap: 8px;
}

.rank-row,
.latest-row,
.admin-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}

.latest-row {
  grid-template-columns: 52px minmax(0, 1fr);
}

.rank-row strong,
.latest-row span,
.admin-row strong {
  color: var(--accent);
}

.site-footer {
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 36px;
}

.article-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 20px;
}

.article-header {
  display: grid;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  max-width: 920px;
  margin: 0;
  font-size: 52px;
  line-height: 1.04;
}

.article-metrics span {
  color: var(--ink);
  border-color: var(--line);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 44px;
  padding-top: 30px;
}

.article-body {
  font-size: 18px;
}

.article-body h1 {
  display: none;
}

.article-body h2 {
  margin: 30px 0 10px;
  font-size: 25px;
}

.article-body p {
  margin: 0 0 14px;
}

.article-body .bullet {
  padding-left: 12px;
}

.source-panel {
  display: grid;
  align-content: start;
  gap: 12px;
}

.source-panel h2 {
  margin: 12px 0 2px;
  font-size: 16px;
}

.source-panel a,
.fact-row {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.source-panel span,
.fact-row span {
  color: var(--muted);
  font-size: 13px;
}

.fact-row p {
  margin: 0;
}

.empty-state,
.login-panel {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 30px 20px;
  text-align: center;
}

.empty-state h1 {
  margin: 0 0 10px;
  font-size: 42px;
}

.button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-weight: 760;
}

.button.primary {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.button.ghost {
  background: transparent;
}

.auth-box {
  width: min(420px, 100%);
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: left;
}

.auth-box.wide {
  width: min(620px, 100%);
}

.auth-box h1 {
  margin: 0;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

input,
select {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 9px 10px;
}

.check-row,
.switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.check-row input,
.switch input {
  width: auto;
}

.notice {
  border-radius: var(--radius);
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.notice.success {
  border-color: rgba(31, 122, 90, 0.3);
  background: rgba(31, 122, 90, 0.08);
}

.notice.error {
  border-color: rgba(201, 53, 53, 0.3);
  background: rgba(201, 53, 53, 0.08);
}

.admin-body {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 20px;
  background: #101820;
  color: #fff;
}

.admin-brand {
  color: #fff;
}

.admin-nav {
  display: grid;
  gap: 8px;
}

.admin-nav a {
  padding: 9px 10px;
  border-radius: var(--radius);
}

.admin-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.logout-form {
  margin-top: auto;
}

.admin-main {
  min-width: 0;
  padding: 24px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.admin-topbar h1 {
  margin: 0;
  font-size: 30px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.status-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.status-grid div,
.admin-section {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.status-grid div {
  display: grid;
  gap: 4px;
  padding: 14px;
}

.status-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 740;
}

.status-grid strong {
  font-size: 28px;
}

.admin-section {
  padding: 16px;
  margin-bottom: 18px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.event-grid {
  align-items: start;
}

.settings-bar,
.source-form {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.source-form {
  grid-template-columns: 1fr 1fr 2fr 1fr 1fr 90px 80px 90px 110px;
}

.opening-panel h2 {
  margin: 6px 0 12px;
  font-size: 26px;
}

.admin-row {
  grid-template-columns: 88px minmax(0, 1fr);
  margin-bottom: 8px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 13px;
}

td input {
  margin-bottom: 5px;
}

.admin-article {
  max-width: 860px;
}

.log-item {
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.log-item summary {
  cursor: pointer;
}

.log-item pre {
  white-space: pre-wrap;
  background: #101820;
  color: #eff7fb;
  border-radius: var(--radius);
  padding: 12px;
  overflow: auto;
}

@media (max-width: 980px) {
  .hero-link h1,
  .article-header h1 {
    font-size: 40px;
  }

  .news-grid,
  .top-grid,
  .split-band,
  .article-layout,
  .admin-grid,
  .status-grid,
  .status-grid.compact,
  .settings-bar,
  .source-form {
    grid-template-columns: 1fr;
  }

  .top-grid .news-card,
  .top-grid .news-card:first-child,
  .news-card.large {
    grid-column: auto;
  }

  .admin-body {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-news,
  .section-wrap,
  .article-page {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-link {
    min-height: 420px;
    padding: 24px;
  }

  .hero-link h1,
  .article-header h1 {
    font-size: 34px;
  }

  .rank-row,
  .latest-row,
  .admin-row {
    grid-template-columns: 48px minmax(0, 1fr);
  }
}

/* Newspaper public theme */
.newspaper-body {
  --bg: #f4f0e8;
  --paper: #fffdf8;
  --ink: #111;
  --muted: #67605a;
  --line: #1f1a17;
  --soft-line: #d8d0c5;
  --accent: #b20d18;
  background-color: var(--bg);
  background-image: url("/assets/img/newsprint.png");
  color: var(--ink);
}

.newspaper-header {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px 10px;
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 4px solid var(--ink);
}

.utility-bar {
  min-height: 34px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  color: var(--muted);
  border-bottom: 1px solid var(--soft-line);
  font-size: 12px;
  font-weight: 740;
  text-transform: uppercase;
}

.utility-bar a:last-child {
  justify-self: end;
}

.masthead {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 12px 0 10px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.masthead-logo {
  display: block;
  width: min(720px, 88vw);
  height: auto;
  mix-blend-mode: multiply;
}

.section-nav {
  display: flex;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.section-nav a {
  flex: 0 0 auto;
  padding: 9px 14px;
  border-right: 1px solid var(--soft-line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 830;
  text-transform: uppercase;
}

.section-nav a:first-child {
  border-left: 1px solid var(--soft-line);
}

.section-nav a:hover {
  color: var(--accent);
}

.newspaper-main {
  max-width: 1240px;
  margin: 0 auto;
  background: rgba(255, 253, 248, 0.96);
  border-left: 1px solid var(--soft-line);
  border-right: 1px solid var(--soft-line);
}

.front-page,
.newspaper-section {
  padding: 18px;
}

.front-grid {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr) 300px;
  gap: 18px;
  border-bottom: 4px double var(--ink);
  padding-bottom: 18px;
}

.front-column {
  display: grid;
  align-content: start;
  gap: 0;
}

.front-column-left {
  border-right: 1px solid var(--soft-line);
  padding-right: 18px;
}

.front-column-right {
  border-left: 1px solid var(--soft-line);
  padding-left: 18px;
}

.front-column h2,
.section-title h2,
.source-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

.front-column h2,
.section-title {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.lead-story {
  min-height: 500px;
  display: grid;
  align-content: end;
  padding: 0 10px 6px;
}

.lead-story a {
  display: grid;
  gap: 14px;
}

.lead-story h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 66px;
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
}

.lead-story p {
  max-width: 760px;
  margin: 0;
  color: #2b2724;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.28;
}

.story {
  border-bottom: 1px solid var(--soft-line);
  padding: 12px 0;
}

.story:first-of-type {
  padding-top: 0;
}

.story a {
  display: grid;
  gap: 8px;
}

.story-kicker {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.article-language-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.article-language-line > a {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.story h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  line-height: 1.05;
  font-weight: 900;
}

.story.brief h3 {
  font-size: 21px;
}

.story p {
  margin: 0;
  color: #3a352f;
  font-size: 15px;
}

.story.major h3 {
  font-size: 34px;
}

.trend-line {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid var(--soft-line);
}

.trend-line strong {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1;
}

.trend-line span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
}

.trend-line em {
  justify-self: end;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}

.section-title span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.story-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 22px;
}

.story-grid .story,
.category-grid .story {
  border-top: 0;
}

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 22px;
  border-top: 1px solid var(--ink);
}

.analysis-panel {
  border-left: 1px solid var(--soft-line);
  padding-left: 22px;
}

.newswire {
  display: grid;
}

.newspaper-body .latest-row,
.index-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--soft-line);
  border-radius: 0;
}

.newspaper-body .latest-row span {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 900;
}

.newspaper-body .latest-row strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.1;
}

.index-row {
  grid-template-columns: 88px minmax(0, 1fr);
}

.index-row span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.index-row strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.08;
}

.index-row em {
  grid-column: 2;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 720;
}

.category-strip {
  border-top: 4px double var(--ink);
}

.newspaper-footer {
  max-width: 1240px;
  background: rgba(255, 253, 248, 0.96);
  border-top: 4px solid var(--ink);
}

.newspaper-article {
  max-width: 1240px;
  padding: 26px 18px;
}

.newspaper-article .article-header {
  display: grid;
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 20px;
  border-bottom: 4px double var(--ink);
}

.newspaper-article .article-header h1 {
  max-width: none;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: 0.98;
  font-weight: 900;
}

.newspaper-article .article-header p {
  max-width: 820px;
  color: #2b2724;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.newspaper-article .article-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  max-width: 1060px;
  margin: 0 auto;
}

.newspaper-article .article-body {
  color: #181410;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.58;
}

.newspaper-article .article-body h2 {
  margin: 34px 0 12px;
  padding-top: 12px;
  border-top: 1px solid var(--soft-line);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.newspaper-article .source-panel {
  border-left: 1px solid var(--soft-line);
  padding-left: 20px;
}

.source-scorebox {
  display: grid;
  justify-items: center;
  border-top: 4px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 14px 0;
}

.source-scorebox strong {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  line-height: 0.9;
}

.source-scorebox span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

  .newspaper-body .source-panel a,
.newspaper-body .fact-row {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--soft-line);
  border-radius: 0;
  padding: 10px 0;
}

/* Notiva modern editorial layer */
.newspaper-body {
  --bg: #eef0ed;
  --paper: #fffdf8;
  --ink: #101214;
  --muted: #646b6a;
  --line: #101214;
  --soft-line: #d6d8d2;
  --accent: #b8081a;
  --signal: #006c72;
  --signal-2: #4153a3;
  background-color: var(--bg);
}

.newspaper-header {
  max-width: 1320px;
  border-bottom: 0;
  box-shadow: 0 18px 60px rgba(16, 18, 20, 0.08);
}

.utility-bar {
  color: #2d3334;
  border-bottom-color: var(--soft-line);
}

.masthead {
  padding: 8px 0 6px;
}

.masthead-logo {
  width: min(560px, 72vw);
}

.section-nav {
  justify-content: center;
  background: var(--ink);
  border: 0;
}

.section-nav a {
  color: #fffdf8;
  border-right: 1px solid rgba(255, 253, 248, 0.18);
  padding: 11px 15px;
}

.section-nav a:first-child {
  border-left: 1px solid rgba(255, 253, 248, 0.18);
}

.section-nav a:hover {
  color: #f4d35e;
}

.newspaper-main {
  max-width: 1320px;
  border-left: 0;
  border-right: 0;
  box-shadow: 0 24px 70px rgba(16, 18, 20, 0.08);
}

.front-page {
  padding-top: 0;
}

.front-grid {
  grid-template-columns: 280px minmax(0, 1fr) 320px;
  gap: 22px;
  border-bottom: 0;
  padding-bottom: 24px;
}

.front-column-left,
.front-column-right {
  border-color: var(--soft-line);
}

.front-column h2,
.section-title h2,
.source-panel h2 {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.front-column h2,
.section-title {
  border-bottom: 1px solid var(--ink);
}

.lead-story {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(184, 8, 26, 0.22), rgba(0, 108, 114, 0.16) 42%, rgba(65, 83, 163, 0.18)),
    #111315;
  color: #fffdf8;
  border-radius: 0;
  isolation: isolate;
}

.lead-story::before {
  content: "N";
  position: absolute;
  right: -26px;
  bottom: -70px;
  z-index: -1;
  color: rgba(255, 253, 248, 0.07);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 360px;
  font-weight: 900;
  line-height: 0.8;
}

.lead-story h1 {
  max-width: 780px;
  font-size: 70px;
  color: #fffdf8;
}

.lead-story p {
  max-width: 720px;
  color: rgba(255, 253, 248, 0.84);
}

.lead-story .story-kicker {
  color: #72d1cb;
}

.story {
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.story:hover,
.trend-line:hover,
.index-row:hover,
.latest-row:hover {
  color: var(--accent);
}

.story:hover {
  transform: translateX(2px);
}

.story-kicker {
  color: var(--accent);
}

.story h3,
.trend-line span,
.newspaper-body .latest-row strong,
.index-row strong {
  font-family: Georgia, "Times New Roman", serif;
}

.story-grid,
.category-grid {
  gap: 0 26px;
}

.newspaper-section {
  padding-top: 26px;
  border-top: 1px solid var(--soft-line);
}

.section-title {
  border-bottom-width: 3px;
}

.section-title span {
  color: var(--signal);
}

.two-columns {
  border-top: 1px solid var(--soft-line);
}

.analysis-panel {
  background: rgba(0, 108, 114, 0.06);
  border-left: 4px solid var(--signal);
  padding: 18px;
}

.analysis-panel .section-title {
  border-bottom-color: var(--signal);
}

.category-strip {
  border-top: 1px solid var(--ink);
}

.newspaper-article .article-header {
  max-width: 1040px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(184, 8, 26, 0.18), rgba(0, 108, 114, 0.14)),
    #111315;
  color: #fffdf8;
  border-bottom: 0;
}

.newspaper-article .article-header h1,
.newspaper-article .article-header p {
  color: #fffdf8;
}

.newspaper-article .article-header p {
  color: rgba(255, 253, 248, 0.84);
}

.newspaper-article .article-byline {
  color: rgba(255, 253, 248, 0.76);
}

.newspaper-article .article-metrics {
  color: #fffdf8;
  border-top-color: rgba(255, 253, 248, 0.4);
  border-bottom-color: rgba(255, 253, 248, 0.4);
}

.newspaper-article .article-metrics span {
  color: #fffdf8;
  border-right-color: rgba(255, 253, 248, 0.24);
}

.newspaper-article .article-layout {
  padding-top: 38px;
}

.newspaper-article .article-body > p:first-of-type {
  font-size: 23px;
  line-height: 1.48;
}

.newspaper-article .article-body h2 {
  border-top: 3px solid var(--ink);
}

@media (max-width: 1040px) {
  .masthead-logo {
    width: min(480px, 82vw);
  }

  .lead-story {
    min-height: auto;
  }

  .lead-story h1 {
    font-size: 52px;
  }
}

@media (max-width: 640px) {
  .masthead-logo {
    width: min(286px, 82vw);
  }

  .front-grid {
    gap: 12px;
  }

  .lead-story {
    padding: 18px;
  }

  .lead-story h1,
  .newspaper-article .article-header h1 {
    font-size: 38px;
  }

  .newspaper-article .article-header {
    padding: 22px 16px;
  }
}

@media (max-width: 1040px) {
  .masthead-logo {
    width: min(600px, 86vw);
  }

  .front-grid {
    grid-template-columns: 1fr;
  }

  .front-column-left,
  .front-column-right,
  .analysis-panel,
  .newspaper-article .source-panel {
    border-left: 0;
    border-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .lead-story {
    min-height: auto;
    padding: 12px 0;
  }

  .lead-story h1,
  .newspaper-article .article-header h1 {
    font-size: 48px;
  }

  .story-grid,
  .category-grid,
  .two-columns,
  .newspaper-article .article-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .newspaper-header,
  .front-page,
  .newspaper-section,
  .newspaper-article {
    padding-left: 12px;
    padding-right: 12px;
  }

  .utility-bar {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 4px;
    padding: 8px 0;
  }

  .utility-bar a:last-child {
    justify-self: center;
  }

  .masthead-logo {
    width: min(340px, 88vw);
  }

  .section-nav {
    justify-content: flex-start;
  }

  .section-nav a {
    padding: 8px 11px;
    font-size: 12px;
  }

  .lead-story h1,
  .newspaper-article .article-header h1 {
    font-size: 36px;
  }

  .lead-story p,
  .newspaper-article .article-header p {
    font-size: 19px;
  }

  .story h3,
  .story.major h3 {
    font-size: 24px;
  }
}

/* Final Notiva responsive overrides */
@media (max-width: 1040px) {
  .masthead-logo {
    width: min(480px, 82vw);
  }

  .lead-story {
    padding: 22px;
  }

  .analysis-panel {
    padding: 18px 0 0;
    background: transparent;
    border-left: 0;
    border-top: 4px solid var(--signal);
  }
}

@media (max-width: 640px) {
  .masthead-logo {
    width: min(286px, 82vw);
  }

  .lead-story {
    padding: 18px;
  }

  .lead-story h1,
  .newspaper-article .article-header h1 {
    font-size: 38px;
  }

}

/* Graceful Notiva polish */
.front-page {
  padding-top: 24px;
}

.lead-story {
  min-height: 490px;
  background:
    radial-gradient(circle at 94% 86%, rgba(184, 8, 26, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(0, 108, 114, 0.08), rgba(255, 253, 248, 0) 42%),
    #fbf7ef;
  color: var(--ink);
  border: 1px solid #cfc7bb;
  box-shadow: 0 22px 55px rgba(16, 18, 20, 0.09);
}

.lead-story::before {
  color: rgba(16, 18, 20, 0.035);
}

.lead-story h1 {
  color: var(--ink);
}

.lead-story p {
  color: #403b35;
}

.lead-story .story-kicker {
  color: var(--accent);
}

.category-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding: 34px 18px 24px;
  border-bottom: 1px solid var(--soft-line);
}

.category-hero-text {
  display: grid;
  align-content: end;
  gap: 12px;
  min-height: 260px;
}

.category-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 76px;
  line-height: 0.9;
}

.category-hero p {
  max-width: 680px;
  margin: 0;
  color: #403b35;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.28;
}

.category-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 26px;
  padding: 24px 18px;
}

.category-lead {
  min-height: 390px;
  display: grid;
  align-content: end;
  padding: 28px;
  background:
    radial-gradient(circle at 98% 96%, rgba(0, 108, 114, 0.18), transparent 34%),
    #fbf7ef;
  border: 1px solid #cfc7bb;
}

.category-lead a {
  display: grid;
  gap: 14px;
}

.category-lead h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  line-height: 0.98;
}

.category-lead p {
  max-width: 720px;
  margin: 0;
  color: #403b35;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.3;
}

.category-side {
  align-content: start;
  display: grid;
  gap: 0;
  padding-left: 18px;
  border-left: 1px solid var(--soft-line);
}

.category-side h2 {
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  text-transform: uppercase;
}

@media (max-width: 1040px) {
  .category-hero,
  .category-layout {
    grid-template-columns: 1fr;
  }

  .category-side {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .front-page {
    padding-top: 12px;
  }

  .category-hero {
    padding: 22px 12px 16px;
  }

  .category-hero-text {
    min-height: 180px;
  }

  .category-hero h1 {
    font-size: 46px;
  }

  .category-hero p,
  .category-lead p {
    font-size: 18px;
  }

  .category-layout {
    padding: 18px 12px;
  }

  .category-lead {
    min-height: auto;
    padding: 20px;
  }

  .category-lead h2 {
    font-size: 34px;
  }
}

/* Mobile: apertura first */
@media (max-width: 1040px) {
  .front-grid {
    grid-template-columns: 1fr;
  }

  .lead-story {
    order: 1;
  }

  .front-column-left {
    order: 2;
  }

  .front-column-right {
    order: 3;
  }
}

/* Article editorial rewrite */
.newspaper-article {
  max-width: 1180px;
  padding: 34px 18px 58px;
}

.newspaper-article .article-header {
  max-width: 920px;
  padding: 0 0 28px;
  background: transparent;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}

.newspaper-article .article-header h1 {
  max-width: 920px;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.95;
}

.newspaper-article .article-header p {
  color: #2d2924;
}

.article-summary-box {
  display: grid;
  gap: 8px;
  max-width: 820px;
  padding: 18px 0 18px 22px;
  background: linear-gradient(90deg, rgba(184, 8, 26, 0.09), rgba(0, 108, 114, 0.05));
  border-left: 5px solid var(--accent);
  border-top: 1px solid #d7cec1;
  border-bottom: 1px solid #d7cec1;
}

.article-summary-box span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.article-summary-box p {
  margin: 0;
  color: #201c18;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.34;
}

.newspaper-article .article-byline {
  color: #5f574e;
  gap: 14px;
}

.newspaper-article .article-layout-clean {
  display: block;
  max-width: 860px;
  padding-top: 34px;
}

.article-main-column {
  min-width: 0;
}

.newspaper-article .article-body {
  color: #15110e;
  font-size: 20px;
  line-height: 1.72;
}

.newspaper-article .article-body p {
  margin: 0 0 22px;
}

.newspaper-article .article-body > p:first-of-type {
  font-size: 23px;
  line-height: 1.55;
}

.article-source-footer {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 3px solid var(--ink);
  color: #2b2724;
}

.article-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}

.article-meta-grid div {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-right: 1px solid var(--soft-line);
}

.article-meta-grid div:last-child {
  border-right: 0;
}

.article-meta-grid span,
.article-source-list time {
  color: #6d6257;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.article-meta-grid strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1;
}

.article-source-list {
  display: grid;
  gap: 0;
  margin-top: 26px;
}

.article-source-list h2 {
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-source-list a {
  display: grid;
  gap: 4px;
  padding: 13px 0;
  border-bottom: 1px solid var(--soft-line);
}

.article-source-list strong {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-source-list span {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.25;
}

@media (max-width: 640px) {
  .newspaper-article {
    padding: 24px 12px 42px;
  }

  .newspaper-article .article-header {
    padding-bottom: 22px;
  }

  .newspaper-article .article-header h1 {
    font-size: 42px;
  }

  .article-summary-box {
    padding: 15px 0 15px 16px;
  }

  .article-summary-box p,
  .newspaper-article .article-body,
  .newspaper-article .article-body > p:first-of-type {
    font-size: 18px;
    line-height: 1.62;
  }

  .newspaper-article .article-layout-clean {
    padding-top: 26px;
  }

  .article-meta-grid {
    grid-template-columns: 1fr;
  }

  .article-meta-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--soft-line);
  }

  .article-meta-grid div:last-child {
    border-bottom: 0;
  }
}

/* Legal footer */
.legal-footer {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1.8fr) auto;
  align-items: start;
  gap: 24px;
  max-width: 1240px;
  padding: 24px 20px 28px;
  color: #403b35;
}

.legal-footer-brand,
.legal-details,
.legal-links {
  display: grid;
  gap: 8px;
}

.legal-footer-brand strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1;
}

.legal-footer-brand span,
.legal-details span {
  color: #625a50;
  font-size: 13px;
  line-height: 1.35;
}

.legal-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  font-style: normal;
}

.legal-links {
  justify-items: end;
}

.legal-links a {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .legal-footer {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .legal-details {
    grid-template-columns: 1fr;
  }

  .legal-links {
    justify-items: start;
  }
}

/* Fresh Notiva polish */
.newspaper-body {
  --bg: #eef4f4;
  --paper: #fffefa;
  --ink: #11171a;
  --muted: #5e686c;
  --line: #11171a;
  --soft-line: #dce4e1;
  --accent: #c3152b;
  --signal: #007d82;
  --signal-2: #395dcc;
  background-color: var(--bg);
  background-image: linear-gradient(180deg, #edf5f6 0, #f8f7f1 360px, #eef4f4 100%);
}

.newspaper-header {
  max-width: 1320px;
  padding: 0 20px 14px;
  background: rgba(255, 254, 250, 0.94);
  border: 1px solid rgba(17, 23, 26, 0.08);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 18px 50px rgba(17, 23, 26, 0.08);
}

.utility-bar {
  min-height: 40px;
  grid-template-columns: minmax(0, 1fr) auto;
  color: #465054;
  border-bottom: 1px solid rgba(17, 23, 26, 0.1);
}

.utility-bar span {
  justify-self: start;
}

.utility-bar a,
.utility-bar a:last-child {
  justify-self: end;
  color: var(--accent);
}

.masthead {
  padding: 14px 0 12px;
}

.masthead-logo {
  width: min(500px, 72vw);
  filter: contrast(1.08);
}

.section-nav {
  justify-content: flex-start;
  gap: 6px;
  padding: 5px;
  background: #f6faf9;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
}

.section-nav a,
.section-nav a:first-child {
  border: 0;
}

.section-nav a {
  padding: 9px 12px;
  color: #1a2225;
  border-radius: 6px;
}

.section-nav a:first-child {
  background: var(--ink);
  color: #fffefa;
}

.section-nav a:hover {
  background: #fffefa;
  color: var(--accent);
  box-shadow: 0 8px 20px rgba(17, 23, 26, 0.08);
}

.newspaper-main {
  max-width: 1320px;
  margin-top: 18px;
  background: rgba(255, 254, 250, 0.97);
  border: 1px solid rgba(17, 23, 26, 0.08);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(17, 23, 26, 0.08);
}

.front-page,
.newspaper-section {
  padding: 26px 24px;
}

.front-grid {
  gap: 24px;
  padding-bottom: 28px;
}

.front-column-left,
.front-column-right {
  border-color: var(--soft-line);
}

.front-column h2,
.section-title h2,
.category-side h2,
.source-panel h2 {
  color: var(--ink);
  font-weight: 900;
}

.section-title,
.front-column h2 {
  border-bottom: 1px solid var(--soft-line);
}

.section-title {
  align-items: end;
  gap: 12px;
}

.section-title span {
  color: var(--signal);
}

.lead-story {
  min-height: 500px;
  padding: 32px;
  background: linear-gradient(180deg, #fffefa 0, #eef8f7 100%);
  border: 1px solid #d5e1de;
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(17, 23, 26, 0.09);
}

.lead-story::before {
  display: none;
}

.lead-story h1 {
  color: var(--ink);
  font-size: 68px;
}

.lead-story p {
  color: #314044;
}

.story-grid .story,
.category-grid .story {
  padding: 18px;
  background: #fffefa;
  border: 1px solid rgba(17, 23, 26, 0.08);
  border-radius: 8px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.front-column .story {
  padding: 14px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--soft-line);
  border-radius: 0;
}

.story-grid .story:hover,
.category-grid .story:hover {
  border-color: rgba(195, 21, 43, 0.28);
  box-shadow: 0 16px 34px rgba(17, 23, 26, 0.08);
  transform: translateY(-2px);
}

.story:hover {
  transform: none;
}

.story-kicker {
  color: var(--accent);
}

.story h3 {
  color: var(--ink);
}

.story p {
  color: #4f575a;
  line-height: 1.45;
}

.trend-line,
.newspaper-body .latest-row,
.index-row {
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.trend-line:hover,
.newspaper-body .latest-row:hover,
.index-row:hover {
  background: rgba(0, 125, 130, 0.06);
  color: var(--accent);
  transform: translateX(2px);
}

.analysis-panel {
  background: #eef8f7;
  border: 1px solid #cfe4df;
  border-left: 0;
  border-radius: 8px;
}

.category-hero {
  margin: 24px 18px 0;
  padding: 34px 28px 28px;
  background: #fffefa;
  border: 1px solid rgba(17, 23, 26, 0.08);
  border-radius: 8px;
}

.category-lead {
  background: linear-gradient(180deg, #fffefa 0, #f3f8f6 100%);
  border: 1px solid #d5e1de;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(17, 23, 26, 0.08);
}

.newspaper-article .article-header,
.article-summary-box,
.article-source-footer,
.legal-footer {
  border-color: var(--soft-line);
}

.article-summary-box {
  background: #f1f8f7;
  border-left-color: var(--signal);
}

.legal-footer {
  margin-top: 22px;
  background: rgba(255, 254, 250, 0.94);
  border: 1px solid rgba(17, 23, 26, 0.08);
  border-radius: 8px 8px 0 0;
}

@media (max-width: 1040px) {
  .newspaper-main {
    margin-top: 12px;
  }

  .front-grid {
    gap: 18px;
  }

  .lead-story {
    min-height: auto;
  }

  .lead-story h1 {
    font-size: 48px;
  }
}

@media (max-width: 640px) {
  .newspaper-header {
    padding: 0 12px 12px;
    border-radius: 0;
  }

  .utility-bar {
    grid-template-columns: 1fr auto;
    min-height: 36px;
    align-items: center;
  }

  .section-nav {
    justify-content: flex-start;
  }

  .newspaper-main {
    margin-top: 8px;
    border-radius: 0;
  }

  .front-page,
  .newspaper-section {
    padding: 18px 12px;
  }

  .lead-story {
    padding: 22px;
  }

  .lead-story h1 {
    font-size: 38px;
  }

  .story-grid .story,
  .category-grid .story {
    padding: 16px;
  }

  .category-hero {
    margin: 14px 12px 0;
    padding: 22px 16px;
  }
}

/* Full-width Notiva footer and legal pages */
.notiva-footer {
  display: block;
  width: 100%;
  max-width: none;
  margin: 34px 0 0;
  padding: 0;
  background: #101719;
  color: #f8f7f1;
  border: 0;
  border-radius: 0;
}

.notiva-footer-inner {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(130px, 0.7fr)) minmax(250px, 1.1fr);
  gap: 30px;
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 42px 24px 46px;
}

.footer-brand-block,
.footer-link-group,
.footer-company-block {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-brand-block img {
  display: block;
  width: min(300px, 72vw);
  height: auto;
}

.footer-brand-block p {
  max-width: 360px;
  margin: 6px 0 0;
  color: rgba(248, 247, 241, 0.74);
  font-size: 14px;
  line-height: 1.5;
}

.footer-link-group h2,
.footer-company-block h2 {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-link-group a,
.footer-link-group button,
.footer-company-block a,
.footer-company-block span {
  color: rgba(248, 247, 241, 0.74);
  font-size: 13px;
  line-height: 1.35;
}

.footer-link-group button {
  width: fit-content;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.footer-link-group a:hover,
.footer-link-group button:hover,
.footer-company-block a:hover {
  color: #ffffff;
}

.footer-company-block {
  font-style: normal;
}

.footer-company-block strong {
  color: #ffffff;
  font-size: 15px;
}

.legal-page {
  padding: 34px 24px 58px;
}

.legal-hero {
  display: grid;
  gap: 12px;
  max-width: 900px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--soft-line);
}

.legal-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.96;
}

.legal-hero p {
  max-width: 760px;
  margin: 0;
  color: #354144;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.35;
}

.legal-hero time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 820px);
  gap: 46px;
  padding-top: 30px;
}

.legal-index {
  position: sticky;
  top: 18px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 18px;
  background: #f1f8f7;
  border: 1px solid #d2e4e0;
  border-radius: 8px;
}

.legal-index h2 {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-index a {
  color: #2f3b3e;
  font-size: 13px;
  line-height: 1.3;
}

.legal-index a:hover {
  color: var(--accent);
}

.legal-content {
  display: grid;
  gap: 28px;
}

.legal-content section {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--soft-line);
}

.legal-content h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.08;
}

.legal-content p,
.legal-note p {
  margin: 0 0 12px;
  color: #374347;
  font-size: 16px;
  line-height: 1.72;
}

.legal-note {
  padding: 16px 18px;
  background: #fff8e8;
  border: 1px solid #eadbb9;
  border-radius: 8px;
}

.legal-note p {
  margin: 0;
}

.cookie-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  padding: 18px;
  background: linear-gradient(180deg, rgba(16, 23, 25, 0), rgba(16, 23, 25, 0.34));
}

.cookie-banner-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 24px;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 20px;
  background: #fffefa;
  border: 1px solid rgba(17, 23, 26, 0.14);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(16, 23, 25, 0.24);
}

.cookie-banner-copy {
  display: grid;
  gap: 8px;
}

.cookie-banner-copy h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.05;
}

.cookie-banner-copy p {
  max-width: 720px;
  margin: 0;
  color: #3b474a;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-banner-copy a {
  width: fit-content;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.cookie-preferences {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 4px;
}

.cookie-preferences label {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  background: #f1f8f7;
  border: 1px solid #d2e4e0;
  border-radius: 8px;
  color: #263134;
  font-size: 13px;
  font-weight: 800;
}

.cookie-preferences input {
  width: 17px;
  height: 17px;
  accent-color: var(--signal);
}

.cookie-banner-actions {
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 360px;
}

.cookie-banner-actions button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.cookie-banner-actions .primary {
  background: var(--ink);
  color: #fffefa;
  border: 1px solid var(--ink);
}

.cookie-banner-actions .secondary {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid #cfd9d6;
}

.cookie-banner-actions button:hover {
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  .notiva-footer-inner {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer-brand-block,
  .footer-company-block {
    grid-column: span 3;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .legal-index {
    position: static;
  }

  .cookie-banner-panel {
    grid-template-columns: 1fr;
  }

  .cookie-banner-actions {
    justify-content: flex-start;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .notiva-footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 18px 40px;
  }

  .footer-brand-block,
  .footer-company-block {
    grid-column: auto;
  }

  .legal-page {
    padding: 26px 16px 44px;
  }

  .legal-hero p {
    font-size: 18px;
  }

  .cookie-banner {
    padding: 10px;
  }

  .cookie-banner-panel {
    padding: 16px;
  }

  .cookie-preferences {
    grid-template-columns: 1fr;
  }

  .cookie-banner-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-banner-actions button {
    width: 100%;
  }
}

/* Editorial images */
.story-visual,
.article-hero-frame,
.image-admin-placeholder {
  --visual-a: #c3152b;
  --visual-b: #007d82;
  --visual-c: #f4d35e;
  position: relative;
  display: grid;
  align-content: end;
  min-height: 132px;
  overflow: hidden;
  padding: 14px;
  color: #fffefa;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--visual-a) 82%, #11171a), color-mix(in srgb, var(--visual-b) 78%, #11171a)),
    #11171a;
  border: 1px solid rgba(17, 23, 26, 0.1);
  border-radius: 8px;
  isolation: isolate;
}

.story-visual::before,
.article-hero-frame::before,
.image-admin-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(90deg, rgba(255, 254, 250, 0.1) 0 1px, transparent 1px 18px),
    linear-gradient(110deg, transparent 0 52%, rgba(255, 254, 250, 0.18) 52% 66%, transparent 66% 100%);
  opacity: 0.72;
}

.story-visual::after,
.article-hero-frame::after,
.image-admin-placeholder::after {
  content: "N";
  position: absolute;
  right: -10px;
  bottom: -34px;
  z-index: -1;
  color: rgba(255, 254, 250, 0.16);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 132px;
  font-weight: 900;
  line-height: 0.82;
}

.story-visual img,
.article-hero-frame img,
.image-admin-current img,
.image-candidate-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-visual.has-image,
.article-hero-frame.has-image {
  padding: 0;
  background: #101719;
}

.story-visual.has-image::before,
.article-hero-frame.has-image::before {
  z-index: 1;
  background: linear-gradient(180deg, rgba(16, 23, 25, 0.04), rgba(16, 23, 25, 0.22));
}

.story-visual.has-image::after,
.article-hero-frame.has-image::after {
  display: none;
}

.story-visual span,
.story-visual strong,
.article-hero-frame span,
.article-hero-frame strong,
.image-admin-placeholder strong,
.image-admin-placeholder span {
  position: relative;
  z-index: 1;
}

.story-visual span,
.article-hero-frame span,
.image-admin-placeholder span {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.story-visual strong,
.article-hero-frame strong,
.image-admin-placeholder strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 0.95;
}

.visual-cat-politica {
  --visual-a: #c3152b;
  --visual-b: #293a68;
  --visual-c: #f4d35e;
}

.visual-cat-economia {
  --visual-a: #007d82;
  --visual-b: #273d2f;
  --visual-c: #d2a83c;
}

.visual-cat-esteri {
  --visual-a: #395dcc;
  --visual-b: #0d6f73;
  --visual-c: #f4d35e;
}

.visual-cat-cronaca {
  --visual-a: #11171a;
  --visual-b: #c3152b;
  --visual-c: #f6efe4;
}

.visual-cat-tecnologia {
  --visual-a: #007d82;
  --visual-b: #523a9f;
  --visual-c: #baf0ec;
}

.visual-cat-sport {
  --visual-a: #18805c;
  --visual-b: #1b4f85;
  --visual-c: #f4d35e;
}

.visual-cat-spettacolo {
  --visual-a: #c3156f;
  --visual-b: #312765;
  --visual-c: #f4d35e;
}

.lead-story .story-visual {
  min-height: 190px;
  margin-bottom: 4px;
}

.lead-story .story-visual strong,
.category-lead .story-visual strong {
  font-size: 46px;
}

.category-lead .story-visual {
  min-height: 178px;
}

.front-column .story-visual {
  display: none;
}

.article-hero-media {
  max-width: 1040px;
  margin: 28px auto 0;
}

.article-hero-frame {
  min-height: 0;
  aspect-ratio: 16 / 9;
  padding: 28px;
}

.article-hero-frame strong {
  font-size: clamp(52px, 10vw, 118px);
}

.article-hero-media figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 9px;
  color: #617074;
  font-size: 12px;
  font-weight: 760;
}

.article-hero-media figcaption a,
.article-hero-media figcaption em {
  color: var(--accent);
  font-style: normal;
  font-weight: 900;
}

.image-admin-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.6fr);
  gap: 20px;
  align-items: start;
}

.image-admin-current,
.image-candidate-area,
.image-candidate-card {
  display: grid;
  gap: 12px;
}

.image-admin-current img,
.image-candidate-card img {
  aspect-ratio: 16 / 10;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.image-admin-current strong,
.image-candidate-card strong {
  color: var(--ink);
}

.image-admin-current span,
.image-candidate-card span,
.image-candidate-area p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.image-admin-placeholder {
  min-height: 220px;
}

.image-candidate-area h3 {
  margin: 0;
  font-size: 16px;
}

.image-candidate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.image-candidate-card {
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.image-candidate-card form {
  display: grid;
  gap: 9px;
}

.image-rights-check {
  align-items: center;
  color: var(--ink);
  font-size: 13px;
}

@media (max-width: 760px) {
  .lead-story .story-visual,
  .category-lead .story-visual {
    min-height: 150px;
  }

  .story-visual {
    min-height: 118px;
  }

  .article-hero-frame {
    padding: 18px;
  }

  .image-admin-layout {
    grid-template-columns: 1fr;
  }
}

/* About Notiva */
.about-page {
  padding: 34px 24px 62px;
}

.about-hero {
  display: grid;
  gap: 14px;
  max-width: 980px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--soft-line);
}

.about-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.92;
}

.about-hero p {
  max-width: 860px;
  margin: 0;
  color: #334044;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.34;
}

.about-method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 26px 0;
}

.about-step {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 250px;
  padding: 18px;
  background: #fffefa;
  border: 1px solid rgba(17, 23, 26, 0.08);
  border-radius: 8px;
}

.about-step span {
  color: var(--signal);
  font-size: 12px;
  font-weight: 900;
}

.about-step h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1;
}

.about-step p,
.about-editorial-band p,
.about-principle-list p,
.about-source-note p {
  margin: 0;
  color: #435054;
  line-height: 1.62;
}

.about-editorial-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding: 30px;
  color: #fffefa;
  background: #11171a;
  border-radius: 8px;
}

.about-editorial-band .story-kicker {
  color: #72d1cb;
}

.about-editorial-band h2 {
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.98;
}

.about-editorial-band p {
  color: rgba(255, 254, 250, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
}

.about-principles {
  padding-top: 32px;
}

.about-principle-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}

.about-principle-list div {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid var(--soft-line);
}

.about-principle-list strong {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.about-source-note {
  display: grid;
  gap: 14px;
  max-width: 860px;
  padding-top: 34px;
}

.about-source-note h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  line-height: 1.02;
}

.about-cta {
  width: fit-content;
  padding: 12px 15px;
  color: #fffefa;
  background: var(--ink);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.about-cta:hover {
  background: var(--accent);
}

@media (max-width: 1040px) {
  .about-method-grid,
  .about-editorial-band,
  .about-principle-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .about-page {
    padding: 26px 14px 46px;
  }

  .about-hero p,
  .about-editorial-band p {
    font-size: 19px;
  }

  .about-method-grid,
  .about-editorial-band,
  .about-principle-list {
    grid-template-columns: 1fr;
  }

  .about-editorial-band {
    padding: 22px;
  }
}

/* Search */
.utility-bar {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px) auto;
}

.site-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  align-items: center;
  width: min(360px, 34vw);
  min-width: 220px;
  background: #fffefa;
  border: 1px solid rgba(17, 23, 26, 0.16);
  border-radius: 8px;
  overflow: hidden;
}

.site-search input,
.search-page-form input {
  min-height: 38px;
  padding: 0 12px;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.site-search input::placeholder,
.search-page-form input::placeholder {
  color: #758184;
}

.site-search button,
.search-page-form button {
  position: relative;
  width: 38px;
  min-width: 38px;
  height: 38px;
  padding: 0;
  background: var(--ink);
  border: 0;
  cursor: pointer;
}

.site-search button::before,
.search-page-form button::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 11px;
  height: 11px;
  border: 2px solid #fffefa;
  border-radius: 999px;
}

.site-search button::after,
.search-page-form button::after {
  content: "";
  position: absolute;
  top: 23px;
  left: 23px;
  width: 8px;
  height: 2px;
  background: #fffefa;
  transform: rotate(45deg);
  transform-origin: left center;
}

.site-search:focus-within,
.search-page-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 10px 28px rgba(17, 23, 26, 0.1);
}

.search-page {
  padding: 34px 24px 62px;
}

.search-hero {
  display: grid;
  gap: 16px;
  max-width: 900px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--soft-line);
}

.search-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.94;
}

.search-page-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  width: min(720px, 100%);
  min-height: 50px;
  background: #fffefa;
  border: 1px solid rgba(17, 23, 26, 0.16);
  border-radius: 8px;
  overflow: hidden;
}

.search-page-form input {
  min-height: 50px;
  padding: 0 16px;
  font-size: 16px;
}

.search-page-form button {
  width: 48px;
  min-width: 48px;
  height: 50px;
}

.search-page-form button::before {
  top: 14px;
  left: 14px;
  width: 13px;
  height: 13px;
}

.search-page-form button::after {
  top: 29px;
  left: 29px;
}

.search-results-section {
  padding-top: 26px;
}

.search-results-list {
  display: grid;
  gap: 0;
}

.search-result {
  border-bottom: 1px solid var(--soft-line);
}

.search-result a {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 18px 0;
}

.search-result-visual {
  min-height: 118px;
  aspect-ratio: 16 / 10;
}

.search-result-copy {
  display: grid;
  align-content: center;
  gap: 8px;
}

.search-result h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.04;
}

.search-result p {
  max-width: 760px;
  margin: 0;
  color: #445054;
  line-height: 1.5;
}

.search-result:hover h2 {
  color: var(--accent);
}

.empty-state.compact {
  min-height: 260px;
  place-items: start;
  text-align: left;
}

@media (max-width: 760px) {
  .utility-bar {
    grid-template-columns: 1fr auto;
  }

  .site-search {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }

  .search-page {
    padding: 26px 14px 46px;
  }

  .search-result a {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .search-result h2 {
    font-size: 25px;
  }
}

/* Front page opening and breaking news */
.breaking-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;
  margin-bottom: 18px;
  border-top: 4px solid var(--accent);
  border-bottom: 1px solid var(--ink);
  background: #fffefa;
}

.breaking-label {
  display: grid;
  place-items: center;
  padding: 10px 14px;
  color: #fffefa;
  background: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.breaking-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.breaking-items a {
  display: grid;
  gap: 5px;
  min-height: 70px;
  padding: 10px 12px;
  border-right: 1px solid var(--soft-line);
}

.breaking-items a:last-child {
  border-right: 0;
}

.breaking-items time,
.breaking-card > span:first-child {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.breaking-items span {
  min-width: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.08;
}

.front-grid {
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.75fr) minmax(260px, 0.86fr);
  align-items: start;
}

.lead-story {
  min-height: 0;
  padding: 0;
}

.lead-story a {
  gap: 12px;
}

.lead-story .story-visual {
  width: 100%;
  min-height: 360px;
  aspect-ratio: 16 / 9;
  border-bottom: 6px solid var(--ink);
}

.lead-copy {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

.lead-story h1 {
  font-size: 58px;
  line-height: 0.95;
}

.lead-story p {
  max-width: 820px;
  font-size: 21px;
}

.lead-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.lead-meta span {
  border: 1px solid rgba(16, 18, 20, 0.18);
  padding: 5px 8px;
  color: #303638;
  background: #fffefa;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.front-ribbon-story {
  display: grid;
  gap: 8px;
  padding: 13px 0;
  border-bottom: 1px solid var(--soft-line);
}

.front-ribbon-story > span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.front-ribbon-story strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.04;
}

.front-ribbon-story:hover strong,
.breaking-card:hover > span:nth-child(2),
.breaking-items a:hover span {
  color: var(--accent);
}

.front-mini-index {
  display: grid;
  gap: 0;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 3px solid var(--ink);
}

.front-mini-index h3 {
  margin: 0 0 6px;
  color: #303638;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.breaking-board {
  border-top: 1px solid var(--ink);
}

.breaking-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--soft-line);
  border-left: 1px solid var(--soft-line);
}

.breaking-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 152px;
  padding: 14px;
  border-right: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
  background: #fffefa;
}

.breaking-card > span:nth-child(2) {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.05;
}

.breaking-card em {
  margin-top: auto;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

@media (max-width: 1040px) {
  .breaking-items,
  .breaking-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .front-grid {
    grid-template-columns: 1fr;
  }

  .front-column-left,
  .front-column-right {
    border-left: 0;
    border-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .lead-story .story-visual {
    min-height: 300px;
  }

  .lead-story h1 {
    font-size: 46px;
  }
}

@media (max-width: 640px) {
  .breaking-strip {
    grid-template-columns: 1fr;
  }

  .breaking-label {
    justify-content: start;
    place-items: center start;
  }

  .breaking-items,
  .breaking-grid {
    grid-template-columns: 1fr;
  }

  .breaking-items a {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--soft-line);
  }

  .lead-story .story-visual {
    min-height: 220px;
  }

  .lead-story h1 {
    font-size: 34px;
  }

  .lead-story p {
    font-size: 18px;
  }
}

/* Opening polish: keep the lead story breathable and contained */
.front-grid .lead-story {
  overflow: hidden;
  background: rgba(243, 252, 250, 0.72);
  border: 1px solid rgba(0, 108, 114, 0.18);
  border-radius: 8px;
}

.front-grid .lead-story .lead-main-link {
  display: grid;
  gap: 0;
}

.front-grid .lead-story .story-visual {
  min-height: 260px;
  max-height: 420px;
  border-bottom: 5px solid var(--ink);
  border-radius: 8px 8px 0 0;
}

.front-grid .lead-story .story-visual img {
  object-fit: cover;
}

.front-grid .lead-copy,
.front-grid .lead-story p,
.front-grid .lead-meta {
  padding-left: clamp(18px, 2.4vw, 34px);
  padding-right: clamp(18px, 2.4vw, 34px);
}

.front-grid .lead-copy {
  gap: 10px;
  padding-top: clamp(20px, 2.8vw, 34px);
}

.front-grid .lead-story h1 {
  max-width: 100%;
  margin: 0;
  font-size: 46px;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.front-grid .lead-story p {
  max-width: 980px;
  margin: 0;
  padding-top: 14px;
  color: #344345;
  font-size: clamp(19px, 1.75vw, 25px);
  line-height: 1.34;
}

.front-grid .lead-meta {
  gap: 10px;
  padding-top: 22px;
  padding-bottom: 26px;
}

.front-grid .lead-meta span {
  padding: 8px 12px;
  border-color: rgba(16, 18, 20, 0.2);
  background: rgba(255, 254, 250, 0.9);
  font-size: 12px;
}

.opening-alternates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(16, 18, 20, 0.16);
  background: rgba(255, 254, 250, 0.84);
}

.front-grid .lead-story .opening-alternate {
  display: grid;
  grid-template-columns: minmax(112px, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: 14px;
  min-height: 132px;
  padding: 14px;
  border-right: 1px solid rgba(16, 18, 20, 0.16);
}

.front-grid .lead-story .opening-alternate:last-child {
  border-right: 0;
}

.front-grid .lead-story .opening-alternate-visual {
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  margin: 0;
  border: 0;
  border-radius: 4px;
}

.front-grid .lead-story .opening-alternate-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.front-grid .lead-story .opening-alternate-copy > span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.front-grid .lead-story .opening-alternate strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 1.75vw, 28px);
  line-height: 1.05;
}

.front-grid .lead-story .opening-alternate:hover strong {
  color: var(--accent);
}

@media (max-width: 1040px) {
  .front-grid .lead-story h1 {
    font-size: 42px;
  }
}

@media (max-width: 640px) {
  .front-grid .lead-story .story-visual {
    min-height: 190px;
    max-height: 280px;
  }

  .front-grid .lead-copy,
  .front-grid .lead-story p,
  .front-grid .lead-meta {
    padding-left: 16px;
    padding-right: 16px;
  }

  .front-grid .lead-copy {
    padding-top: 18px;
  }

  .front-grid .lead-story h1 {
    font-size: 34px;
    line-height: 1;
  }

  .front-grid .lead-story p {
    padding-top: 12px;
    font-size: 18px;
  }

  .opening-alternates {
    grid-template-columns: 1fr;
  }

  .front-grid .lead-story .opening-alternate {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding: 14px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(16, 18, 20, 0.16);
  }

  .front-grid .lead-story .opening-alternate:last-child {
    border-bottom: 0;
  }

  .front-grid .lead-story .opening-alternate strong {
    font-size: 20px;
  }

  .front-grid .lead-meta {
    padding-top: 18px;
    padding-bottom: 20px;
  }
}
