/* The look of the fictional publisher sites of the demo pages;
   each site sets its own --site-accent. */
:root {
  --site-accent: #b91c1c;
  --site-text: #1f2937;
  --site-muted: #6b7280;
  --site-border: #e5e7eb;
  --site-bg: #ffffff;
  --site-soft: #f9fafb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--site-bg);
  color: var(--site-text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.demo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 0.5rem 1rem;
  background: #1f2937;
  color: #e5e7eb;
  font: 13px/1.4 Roboto, Arial, sans-serif;
}

.demo-bar strong {
  color: #ffffff;
}

.demo-bar a {
  color: #93c5fd;
}

.demo-bar p {
  margin: 0;
}

.demo-bar nav {
  display: flex;
  gap: 1rem;
  margin-left: auto;
}

.site-header {
  border-bottom: 3px solid var(--site-accent);
}

.site-header .inner,
.site-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-header .inner {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  padding-top: 1.25rem;
  padding-bottom: 0.75rem;
}

.site-logo {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-logo span {
  color: var(--site-accent);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font: 14px Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-nav a {
  text-decoration: none;
  color: var(--site-muted);
}

.site-nav a[aria-current="page"] {
  color: var(--site-accent);
}

.site-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2.5rem;
  padding-top: 2rem;
  padding-bottom: 3rem;
}

@media (max-width: 860px) {
  .site-main {
    grid-template-columns: 1fr;
  }
}

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 600px) {
  .teaser-grid {
    grid-template-columns: 1fr;
  }
}

.story .image {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #d1d5db, #9ca3af);
  border-radius: 2px;
}

.story h2 {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.3rem;
  line-height: 1.25;
}

.story p {
  margin: 0;
  color: var(--site-muted);
  font-size: 0.95rem;
}

.kicker {
  font: bold 12px Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--site-accent);
}

.cf-ad {
  margin: 0 0 2rem;
}

.article h1 {
  margin: 0.25rem 0 0.75rem;
  font-size: 2.2rem;
  line-height: 1.15;
}

.article .lead {
  font-size: 1.2rem;
  color: #374151;
}

.article p {
  font-size: 1.08rem;
}

.sidebar h3 {
  margin: 0 0 0.75rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--site-border);
  font: bold 13px Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sidebar ol {
  margin: 0 0 2rem;
  padding-left: 1.2rem;
}

.sidebar li {
  margin-bottom: 0.5rem;
}

.site-footer {
  padding: 2rem 1rem;
  border-top: 1px solid var(--site-border);
  background: var(--site-soft);
  color: var(--site-muted);
  font: 13px Arial, sans-serif;
  text-align: center;
}

.demo-index {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.demo-index li {
  margin-bottom: 1rem;
}

.demo-index li span {
  display: block;
  color: var(--site-muted);
  font-size: 0.95rem;
}
