html {
  font-size: 16px;
  min-height: 100%;
}

/* Default accent color. Per-site override is injected inline by _Layout.cshtml from lt.Sites.PrimaryColor. */
:root {
  --site-accent: #dc2626;
  --ink-900: #111827;
  --ink-700: #334155;
  --ink-500: #64748b;
  --paper: #ffffff;
  --surface: #eeeeff;
  --line: #dbe2ea;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink-900);
  background: var(--surface);
  font-family: var(--font-sans);
  line-height: 1.6;
}

body > .site-shell {
  flex: 1 0 auto;
  width: 100%;
}

.site-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.1rem;
}

.site-shell.site-shell-admin {
  max-width: none;
  width: calc(100vw - 1rem);
  padding: 0 0.5rem;
}

.public-header {
  background: var(--paper);
  border-bottom: 2px solid var(--line);
  margin-bottom: 1.4rem;
}

.public-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  color: var(--ink-900);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-logo {
  width: 200px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.brand-tagline {
  color: var(--ink-700);
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
}

.public-nav {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.public-nav a {
  color: var(--ink-700);
  text-decoration: none;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.public-nav a:hover,
.brand:hover {
  text-decoration: none;
  color: #0b1220;
  background: #eef2f7;
}

.page-header {
  margin-bottom: 1.1rem;
}

.page-header h1 {
  margin: 0 0 0.3rem;
  font-size: 2rem;
  line-height: 1.15;
}

.page-header p {
  margin: 0;
  color: var(--ink-500);
}

.public-page-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.85rem;
}

.public-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(260px, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.feed-column {
  min-width: 0;
}

.article-feed {
  display: grid;
  gap: 0.9rem;
}

.news-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem;
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr;
  gap: 0.8rem;
}

.news-card--no-image {
  grid-template-columns: 1fr;
}

.news-card--hero {
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.9fr);
  padding: 1rem;
  gap: 1rem;
  background:
    linear-gradient(135deg, rgba(189, 217, 255, 0.35), rgba(255, 255, 255, 0) 58%),
    var(--paper);
}

.news-card--feature {
  grid-template-columns: minmax(140px, 220px) 1fr;
  border-left: 4px solid var(--site-accent);
  background:
    linear-gradient(180deg, rgba(255, 245, 225, 0.9), rgba(255, 255, 255, 0.95));
}

.news-card--compact {
  grid-template-columns: 90px minmax(0, 1fr);
  column-gap: 0.8rem;
  align-items: start;
  padding: 0.65rem 0.8rem;
}

.news-card--compact .news-card-thumb {
  grid-column: 1;
  grid-row: 1;
}

.news-card--compact .news-card-body {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.news-card-thumb {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  background: #e2e8f0;
  min-height: 120px;
}

.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card-body {
  min-width: 0;
}

.news-card-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 0.25rem;
}

.news-kicker {
  margin: 0;
  color: var(--site-accent);
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-type-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.45rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: var(--ink-700);
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-card-title {
  margin: 0;
  line-height: 1.25;
  font-size: 1.2rem;
}

.news-card--hero .news-card-title {
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
}

.news-card--feature .news-card-title {
  font-size: 1.35rem;
}

.news-card--compact .news-card-title {
  font-size: 1rem;
}

.news-card-title a {
  color: var(--ink-900);
  text-decoration: none;
}

.news-card-title a:hover {
  text-decoration: underline;
}

.news-card-summary {
  margin: 0.38rem 0 0.5rem;
  color: #233042;
  font-size: 0.96rem;
}

.news-card--hero .news-card-summary {
  font-size: 1.02rem;
  max-width: 58ch;
}

.news-card--compact .news-card-summary {
  display: none;
}

.news-byline {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink-500);
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.84rem;
}

.news-byline p {
  margin: 0;
}

.news-byline-link {
  color: var(--ink-700);
  text-decoration: none;
  font-weight: 600;
}

.news-byline-link:hover {
  text-decoration: underline;
}

.news-card--hero .news-card-thumb {
  min-height: 260px;
}

.news-card--compact .news-card-thumb {
  width: 90px;
  min-width: 90px;
  min-height: 68px;
}

.discovery-column {
  min-width: 0;
  display: grid;
  gap: 0.7rem;
}

.discovery-module {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem;
}

.discovery-module h2 {
  margin: 0 0 0.5rem;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.98rem;
}

.module-subheading {
  margin: 0.55rem 0 0.35rem;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.84rem;
  color: var(--ink-700);
}

.discovery-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.52rem;
}

.discovery-list li {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed #e2e8f0;
}

.discovery-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.discovery-list a {
  color: var(--ink-900);
  text-decoration: none;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-weight: 600;
  line-height: 1.35;
  font-size: 0.9rem;
}

.discovery-list a:hover {
  text-decoration: underline;
}

.discovery-list time,
.module-empty,
.module-placeholder p {
  color: var(--ink-500);
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.82rem;
  margin: 0;
}

.module-placeholder {
  background: #f8fafc;
}

.module-viewall {
  margin: 0.5rem 0 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.82rem;
}

.module-viewall a {
  color: var(--ink-500);
  text-decoration: none;
}

.module-viewall a:hover {
  text-decoration: underline;
}

.facts-matchrow-link {
  display: grid;
  gap: 0.1rem;
  color: inherit;
  text-decoration: none;
}

.facts-matchrow-link:hover .facts-matchrow-teams {
  text-decoration: underline;
}

.facts-matchrow-teams {
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.35;
}

.facts-matchrow-meta {
  color: var(--ink-500);
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.8rem;
}

.facts-subnav {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem;
  margin: 0 0 0.95rem;
  display: grid;
  gap: 0.55rem;
}

.facts-primary-links,
.facts-group-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.facts-subnav a {
  display: inline-block;
  text-decoration: none;
  color: #1f2937;
  border: 1px solid #dbe2ea;
  border-radius: 999px;
  padding: 0.26rem 0.62rem;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
}

.facts-subnav a:hover {
  background: #f8fafc;
}

.facts-subnav a.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.facts-matchline {
  margin: 0;
  color: #0f172a;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.91rem;
  font-weight: 700;
  line-height: 1.35;
}

.facts-group-nav-card p {
  margin: 0;
  color: #475569;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.86rem;
}

.world-cup-facts-cta {
  margin-top: 0.65rem;
}

.world-cup-facts-cta a {
  display: inline-block;
  text-decoration: none;
  background: #0f172a;
  border: 1px solid #0f172a;
  border-radius: 999px;
  color: #ffffff;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-weight: 700;
  font-size: 0.87rem;
  padding: 0.38rem 0.78rem;
}

.world-cup-facts-cta a:hover {
  filter: brightness(0.96);
}

.article-detail {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  max-width: 760px;
  margin: 0 auto;
  padding: 1.1rem 1.1rem 1.25rem;
}

.article-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 320px);
  gap: 1.2rem;
  align-items: start;
  justify-content: center;
}

.article-content-grid .article-detail {
  width: 100%;
  margin: 0;
}

.article-discovery-column {
  width: 100%;
  max-width: 320px;
}

.article-detail-header h1 {
  margin: 0 0 0.45rem;
  line-height: 1.2;
}

.article-hero-wrap {
  margin: 0.8rem 0;
}

.article-hero-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.article-body-text {
  margin-top: 0.9rem;
  padding-top: 0.95rem;
  border-top: 1px solid #e7edf5;
  font-family: "Segoe UI", Tahoma, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.04rem;
  line-height: 1.78;
  letter-spacing: 0.005em;
  color: #1f2937;
}

.article-body-text p {
  margin: 0 0 1rem;
}

.article-body-text p:last-child {
  margin-bottom: 0;
}

.article-inline-image {
  margin: 1.1rem 0;
}

.article-inline-image .article-hero-image {
  max-height: 480px;
}

.article-inline-image figcaption {
  margin-top: 0.4rem;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.4;
}

.article-replies {
  margin-top: 1.25rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.article-replies h2 {
  margin: 0 0 0.75rem;
}

.reply-card {
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  background: #f8fbff;
  padding: 0.75rem;
  margin-bottom: 0.7rem;
}

.reply-card:last-child {
  margin-bottom: 0;
}

.reply-card-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}

.reply-writer-portrait {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #dbe3ef;
}

.reply-byline,
.reply-kind {
  margin: 0;
  color: #475569;
  font-size: 0.84rem;
}

.reply-kind {
  font-weight: 600;
  color: #1e293b;
}

.reply-card h3 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1rem;
  line-height: 1.35;
}

.reply-body {
  margin: 0;
  line-height: 1.65;
}

.reader-feedback {
  margin-top: 1.4rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.reader-feedback h2,
.reader-feedback h3 {
  margin: 0 0 0.5rem;
}

.reader-feedback p {
  margin: 0.35rem 0;
}

.reader-feedback select,
.reader-feedback textarea {
  width: 100%;
  max-width: 560px;
  padding: 0.5rem;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  font: inherit;
}

.feedback-row {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.feedback-box {
  margin-bottom: 0.8rem;
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
  background: #f1f5f9;
  border: 1px solid #d7e0eb;
  color: #1f2937;
}

.feedback-success {
  background: #ecfdf3;
  border-color: #86efac;
}

.feedback-warn {
  background: #fff7ed;
  border-color: #fdba74;
}

.feedback-error {
  background: #fef2f2;
  border-color: #fca5a5;
}

.btn {
  border: 1px solid #94a3b8;
  background: #ffffff;
  border-radius: 999px;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.88rem;
  padding: 0.35rem 0.85rem;
  cursor: pointer;
}

.btn:hover {
  background: #f8fafc;
}

.article-list,
.writer-list {
  display: grid;
  gap: 0.9rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  padding: 0.55rem 0.35rem;
  vertical-align: top;
}

.admin-form-inline {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.admin-form-inline select,
.admin-form-inline button {
  font: inherit;
  padding: 0.25rem 0.45rem;
}

.admin-page {
  font-size: 0.94rem;
}

.admin-page section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
}

.admin-page .page-header {
  padding: 0.9rem;
  margin-bottom: 0.75rem;
}

.admin-page h2 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
}

.admin-page h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
}

.admin-toolbar {
  display: flex;
  gap: 0.45rem;
  align-items: end;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.admin-toolbar label {
  display: grid;
  gap: 0.18rem;
  font-size: 0.82rem;
  color: #334155;
}

.admin-toolbar input,
.admin-toolbar select,
.admin-page input,
.admin-page select,
.admin-page textarea,
.admin-page button {
  font: inherit;
}

.admin-page input,
.admin-page select,
.admin-page textarea {
  padding: 0.28rem 0.42rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
}

.admin-page textarea {
  min-height: 2.7rem;
  resize: vertical;
}

.admin-page button {
  padding: 0.28rem 0.56rem;
  border: 1px solid #94a3b8;
  border-radius: 6px;
  background: #f8fafc;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-page .admin-table {
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
}

.admin-page .admin-table th,
.admin-page .admin-table td {
  padding: 0.34rem 0.3rem;
  line-height: 1.3;
}

.admin-page .admin-table thead th {
  position: sticky;
  top: 0;
  background: #f8fafc;
  z-index: 1;
}

.admin-page .empty-state {
  margin: 0.15rem 0 0.35rem;
  font-size: 0.86rem;
}

.admin-workbench {
  display: grid;
  grid-template-columns: minmax(520px, 0.95fr) minmax(660px, 1.25fr);
  gap: 0.75rem;
  align-items: start;
}

.admin-page-writers .admin-list-pane .admin-table th,
.admin-page-writers .admin-list-pane .admin-table td {
  white-space: nowrap;
}

.admin-list-pane,
.admin-detail-pane {
  min-width: 0;
}

.admin-compact-form .admin-table th {
  width: 170px;
  white-space: nowrap;
  font-size: 0.82rem;
  color: #334155;
}

.admin-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 0.2rem;
}

.admin-image-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 0.8rem;
  align-items: start;
}

.admin-media-picker-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(320px, 0.95fr);
  gap: 0.75rem;
  align-items: start;
}

.admin-selected-row {
  background: #eef2ff;
}

.admin-media-preview {
  margin-bottom: 0.5rem;
}

.admin-media-preview img {
  display: block;
  max-width: 100%;
  max-height: 240px;
  height: auto;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  object-fit: contain;
  background: #f8fafc;
}

.admin-status-box {
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  margin-bottom: 0.65rem;
}

.admin-page-login {
  max-width: 520px;
  margin: 0 auto;
}

@media (max-width: 1180px) {
  .admin-workbench {
    grid-template-columns: 1fr;
  }
}

.article-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.95rem;
}

.article-card h2,
.article-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.article-card p {
  margin: 0;
}

.article-meta,
.writer-tagline,
.empty-state {
  color: #64748b;
  font-size: 0.95rem;
}

.article-meta-with-portrait {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.4rem;
}

.article-meta-with-portrait .article-meta {
  margin: 0;
}

.article-keyword-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.35rem 0 0.75rem;
}

.article-keyword-chip {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f8fafc;
  color: #0f172a;
  text-decoration: none;
  font-size: 0.82rem;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-weight: 600;
}

.article-keyword-chip:hover {
  background: #e2e8f0;
}

.writer-portrait-inline {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid #d1d5db;
  background: #f8fafc;
  flex: 0 0 auto;
}

.footer {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
  font-size: 0.95rem;
  color: var(--ink-500);
  font-family: "Segoe UI", Tahoma, sans-serif;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.35rem;
}

.footer-links a {
  color: var(--ink-700);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  color: var(--ink-500);
  font-size: 0.88rem;
}

.cookie-consent-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(720px, calc(100vw - 1.5rem));
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
  padding: 0.85rem 0.9rem;
  z-index: 1200;
  display: none;
}

.cookie-consent-banner.is-visible {
  display: block;
}

.cookie-consent-banner p {
  margin: 0;
  color: #0f172a;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.9rem;
  line-height: 1.45;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.65rem;
  flex-wrap: wrap;
}

.cookie-consent-btn {
  border-radius: 999px;
  border: 1px solid #94a3b8;
  background: #ffffff;
  color: #0f172a;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.34rem 0.82rem;
  cursor: pointer;
}

.cookie-consent-accept {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.cookie-consent-btn:hover {
  filter: brightness(0.96);
}

.voices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.9rem;
}

.voice-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem;
}

.voice-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.55rem;
}

.voice-header h2 {
  margin: 0;
  font-size: 1.2rem;
}

.voice-beat,
.voice-personality {
  margin: 0.35rem 0;
  color: #1f2937;
}

.voice-latest {
  margin-top: 0.65rem;
}

.voice-latest h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

@media (max-width: 640px) {
  .site-shell.site-shell-admin {
    max-width: 100%;
    padding: 0 0.5rem;
  }

  .public-header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 0;
  }

  .public-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
    padding-bottom: 0.1rem;
  }

  .footer-links {
    gap: 0.55rem;
  }

  .cookie-consent-banner {
    width: calc(100vw - 1rem);
    bottom: 0.5rem;
    padding: 0.8rem;
  }

  .public-content-grid {
    grid-template-columns: 1fr;
  }

  .news-card {
    grid-template-columns: 1fr;
  }

  .news-card--hero,
  .news-card--feature,
  .news-card--compact {
    grid-template-columns: 1fr;
  }

  .news-card-thumb {
    min-height: 160px;
  }

  .news-card--compact .news-card-thumb {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    min-width: 0;
    min-height: 150px;
  }

  .news-card--compact .news-card-body {
    grid-column: 1;
    grid-row: auto;
  }

  .facts-subnav {
    padding: 0.6rem;
  }

  .facts-subnav a {
    font-size: 0.8rem;
    padding: 0.24rem 0.56rem;
  }

  .facts-matchline {
    font-size: 0.86rem;
  }

  .article-detail {
    max-width: 100%;
    padding: 1rem;
  }

  .admin-check-grid,
  .admin-image-preview-grid,
  .admin-media-picker-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .article-content-grid {
    grid-template-columns: 1fr;
  }

  .article-content-grid .article-detail {
    max-width: 760px;
    margin: 0 auto;
  }

  .article-discovery-column {
    max-width: 760px;
    margin: 0 auto;
  }
}

/* Minimal ad slot styles for Google AdSense and future monetization. */
.ad-slot {
  margin: 1.5rem 0;
  padding: 0.5rem;
  background: var(--surface);
  border-radius: 4px;
  line-height: normal;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.ad-slot-default {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-slot-in-article {
  margin: 2rem 0;
  min-height: 300px;
}

.ad-slot-sidebar {
  margin-bottom: 1.5rem;
}

.ad-slot ins {
  display: block;
}
