/* ========================================
   REDESIGN CSS - Deadline Detroit
   BEM component styles for redesigned layout
   ======================================== */

/* ========================================
   CSS CUSTOM PROPERTIES
   ======================================== */
:root {
  --color-ink: #1B1B1B;
  --color-ink-light: #3A3A3A;
  --color-ink-muted: #7A756F;
  --color-newsprint: #F4EDE4;
  --color-newsprint-dark: #E8DFD3;
  --color-white: #FEFCF9;
  --color-accent: #C41E3A;
  --color-accent-dark: #9E1830;
  --color-section-politics: #1B4D8F;
  --color-section-crime: #8B2500;
  --color-section-media: #5B4A8A;
  --color-section-education: #2E6B50;
  --color-section-food: #B8860B;
  --color-section-business: #4A6741;
  --color-section-column: #6B4226;
  --color-section-obit: #555;
  --color-section-sports: #2C5282;
  --color-section-lifestyle: #B45309;

  --font-display: 'Bebas Neue', sans-serif;
  --font-editorial: 'Cormorant Garamond', serif;
  --font-ui: 'Outfit', sans-serif;

  --max-width: 1280px;
  --article-width: 720px;
  --gutter: 24px;

  /* Backward-compat aliases for sub-pages */
  --dd-red: var(--color-accent);
  --dd-red-dark: var(--color-accent-dark);
  --dd-maroon: var(--color-accent-dark);
  --dd-body-bg: var(--color-newsprint);
  --dd-text: var(--color-ink-light);
  --dd-text-dark: var(--color-ink);
  --dd-text-muted: var(--color-ink-muted);
  --dd-text-light: var(--color-ink-muted);
  --dd-border: #ddd;

  /* ----- Homepage redesign tokens (2026-05) ----- */
  --ink: #12110F;
  --ink-2: #2C2A26;
  --mute: #6E6A63;
  --mute-2: #9A958D;
  --rule: #E4DFD6;
  --rule-2: #D5D0C5;
  --newsprint: #F4EDE4;
  --paper-2: #FAF6EC;
  --red: #C12C2C;
  --red-deep: #A31F1F;

  /* Beat colors — kicker text only, never backgrounds */
  --politics: #1B4D8F;
  --crime: #7A2E1F;
  --column: #5B3A8B;
  --business: #2A6041;
  --sports: #A8521B;
  --media: #2D5B7A;
  --lifestyle: #8B6B2A;

  --font-mono: "JetBrains Mono", monospace;
}

/* ========================================
   LINK RESETS FOR REDESIGN COMPONENTS
   ======================================== */
.utility-bar a,
.masthead a,
.footer a,
a.hero__featured,
a.hero__side-story,
a.most-read__item,
a.story-card,
a.tv__featured,
a.tv__list-item,
a.more-stories__item,
a.sidebar__trending-item {
  color: inherit;
  text-decoration: none;
}

/* ========================================
   SKIP LINK (a11y)
   ======================================== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--color-ink);
  color: var(--color-newsprint);
  padding: 10px 16px;
  font-family: var(--font-ui);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ========================================
   UTILITY BAR
   ======================================== */
.utility-bar {
  background: var(--color-ink);
  color: var(--color-newsprint);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 0;
}

.utility-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.utility-bar__left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.utility-bar__weather {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-ink-muted);
}

.utility-bar__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.utility-bar a {
  color: var(--color-newsprint);
  opacity: 0.7;
  transition: opacity 0.2s;
}

.utility-bar a:hover { opacity: 1; }

.newsletter-link {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--color-accent);
  padding: 4px 12px;
  font-weight: 500;
  opacity: 1 !important;
  transition: background 0.2s !important;
}

.newsletter-link:hover {
  background: var(--color-accent-dark);
}

/* ========================================
   MASTHEAD
   ======================================== */
.masthead {
  background: var(--color-white);
  border-bottom: 3px solid var(--color-ink);
  padding: 28px 0 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.masthead__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}

.masthead__logo {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 0.85;
  letter-spacing: 0.02em;
  color: var(--color-ink);
  margin-bottom: 4px;
}

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

.masthead__tagline {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-ink-muted);
  margin-bottom: 20px;
}

/* ========================================
   NAVIGATION (C-01 · two-row Variant B)
   Top row = editorial destinations.
   Bottom row = beat sections; per-item color via --beat CSS var.
   ======================================== */
.nav-b {
  list-style: none;
}

.nav-b--top {
  border-top: 2px solid var(--color-ink);
}

.nav-b--bottom {
  border-top: 1px solid rgba(0,0,0,0.08);
  background: var(--color-newsprint);
}

.nav-b__list,
.nav-b__beats {
  display: flex;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-b__item a {
  display: block;
  padding: 12px 20px;
  font-family: var(--font-editorial);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-ink-light);
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}

.nav-b__item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-ink);
  transition: width 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-b__item a:hover,
.nav-b__item.is-active a {
  color: var(--color-ink);
}

.nav-b__item a:hover::after,
.nav-b__item.is-active a::after {
  width: calc(100% - 28px);
}

.nav-b__item a:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 2px;
}

/* Bottom row — beats */
.beat {
  --beat: var(--color-ink);
}

.beat a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink-light);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}

.beat__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--beat);
  flex-shrink: 0;
}

.beat a:hover,
.beat.is-active a {
  color: var(--beat);
}

.beat a:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 2px;
}

/* ========================================
   HAMBURGER MENU
   ======================================== */
.hamburger {
  display: none;
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}

/* ========================================
   SUPPORT BUTTON (header)
   Floating top-right of the masthead. Hidden on mobile (footer covers it,
   and the hamburger lives in the same corner).
   ======================================== */
.support-btn {
  position: absolute;
  top: 16px;
  right: var(--gutter);
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-white);
  border: 1.5px solid var(--color-accent);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.support-btn:hover,
.support-btn:focus-visible {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-1px);
}

.support-btn__heart {
  font-size: 0.95rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .support-btn {
    display: none;
  }
}

.hamburger__line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-ink);
  margin: 5px auto;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.2s ease;
}

.hamburger.active .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .masthead__inner {
    position: relative;
  }

  .hamburger {
    display: block;
  }

  /* Top row collapses into the hamburger drawer; bottom (beats) row stays
     visible as a horizontal-scroll strip under the masthead so beats are
     always one tap away on mobile. */
  .nav-b--top {
    display: none;
    border-top: none;
  }

  .nav-b--top.open {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--color-white);
    border-top: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    animation: navSlideDown 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 150;
  }

  .nav-b--top.open .nav-b__list {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0;
  }

  .nav-b--top.open .nav-b__item a {
    padding: 14px var(--gutter);
    font-size: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    white-space: normal;
    text-align: left;
  }

  .nav-b--top.open .nav-b__item:last-child a {
    border-bottom: none;
  }

  .nav-b--top.open .nav-b__item a::after {
    display: none;
  }

  .nav-b--top.open .nav-b__item a:hover,
  .nav-b--top.open .nav-b__item.is-active a {
    background: var(--color-newsprint);
    color: var(--color-accent);
  }

  .nav-b--bottom {
    border-top: 1px solid rgba(0,0,0,0.08);
  }

  .nav-b--bottom .nav-b__beats {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    /* Hide scrollbar in WebKit/Firefox/IE — beats hint at scrollability via
       trailing fade rather than a chrome bar. */
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 var(--gutter);
  }

  .nav-b--bottom .nav-b__beats::-webkit-scrollbar {
    display: none;
  }

  @keyframes navSlideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--color-ink);
  padding-bottom: 8px;
}

.section-header__title {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-header__rule {
  flex: 1;
  height: 0;
}

.section-header__link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  font-weight: 500;
  white-space: nowrap;
  transition: opacity 0.2s;
  text-decoration: none;
}

.section-header__link:hover {
  opacity: 0.7;
}

/* ========================================
   CATEGORY LABELS
   ======================================== */
.category {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 4px 12px;
  margin-bottom: 10px;
  color: var(--color-white);
  background: var(--color-ink);
  text-decoration: none;
}

.category--politics { background: var(--color-section-politics); }
.category--crime { background: var(--color-section-crime); }
.category--media { background: var(--color-section-media); }
.category--education { background: var(--color-section-education); }
.category--food, .category--food-drink { background: var(--color-section-food); }
.category--business { background: var(--color-section-business); }
.category--column, .category--columns { background: var(--color-section-column); }
.category--obit, .category--obituaries { background: var(--color-section-obit); }

/* ========================================
   ARTICLE META
   ======================================== */
.meta {
  font-size: 0.7rem;
  color: var(--color-ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 8px;
}

.meta__source {
  color: var(--color-accent);
  font-weight: 500;
}

/* ========================================
   MOST READ
   ======================================== */
.most-read {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px var(--gutter);
}

.most-read__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.most-read__item {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  border-right: 1px solid rgba(0,0,0,0.1);
  cursor: pointer;
  transition: background 0.2s;
}

.most-read__item:last-child {
  border-right: none;
}

.most-read__item:hover {
  background: var(--color-newsprint-dark);
}

.most-read__number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 0.8;
  color: var(--color-accent);
  opacity: 0.3;
  flex-shrink: 0;
}

.most-read__content {
  min-width: 0;
}

.most-read__headline {
  font-family: var(--font-editorial);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   LATEST STORIES
   ======================================== */
.latest {
  background: var(--color-white);
  padding: 56px 0;
}

.latest__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.latest__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.story-card {
  cursor: pointer;
  transition: transform 0.3s;
}

.story-card:hover {
  transform: translateY(-4px);
}

.story-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 16px;
}

.story-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.story-card:hover .story-card__image img {
  transform: scale(1.06);
}

.story-card__headline {
  font-family: var(--font-editorial);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 2px;
}

/* Placeholder for missing card images */
.story-card__placeholder {
  width: 100%;
  height: 100%;
  background: #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-card__placeholder svg {
  width: 48px;
  height: 48px;
  color: #ccc;
}

/* ========================================
   DEADLINE TV
   ======================================== */
.deadline-tv {
  background: var(--color-ink);
  color: var(--color-white);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

.deadline-tv::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(196, 30, 58, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.03) 0%, transparent 40%);
  pointer-events: none;
}

.deadline-tv__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

.deadline-tv .section-header {
  border-color: rgba(255,255,255,0.2);
}

.deadline-tv .section-header__title {
  color: var(--color-white);
}

.deadline-tv .section-header__link {
  color: rgba(255,255,255,0.5);
}

.tv__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}

.tv__featured {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
}

.tv__featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.tv__featured:hover img {
  transform: scale(1.03);
}

.tv__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background 0.3s;
}

.tv__featured:hover .tv__play {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--color-accent-dark);
}

.tv__play svg {
  width: 24px;
  height: 24px;
  fill: white;
  margin-left: 3px;
}

.tv__featured-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 24px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}

.tv__featured-headline {
  font-family: var(--font-editorial);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.tv__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tv__list-item {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: opacity 0.2s;
}

.tv__list-item:hover {
  opacity: 0.8;
}

.tv__list-thumb {
  width: 140px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  border-radius: 2px;
}

.tv__list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tv__list-thumb .tv__play {
  width: 32px;
  height: 32px;
}

.tv__list-thumb .tv__play svg {
  width: 12px;
  height: 12px;
  margin-left: 2px;
}

.tv__list-headline {
  font-family: var(--font-editorial);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.tv__list-meta {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
}

/* ========================================
   SIDEBAR AD WRAPPER (shared by article + homepage sidebar slots)
   ======================================== */
.sidebar__ad {
  background: var(--color-newsprint-dark);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sidebar__ad-label {
  font-family: var(--font-ui);
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-ink-muted);
  opacity: 0.6;
  margin-bottom: 8px;
}

.sidebar__ad-slot {
  width: 300px;
  height: 250px;
  background: rgba(0,0,0,0.03);
  border: 1px dashed rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink-muted);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.sidebar__ad-slot--tall {
  height: 600px;
}

/* ========================================
   NEWSLETTER CTA
   ======================================== */
.newsletter {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 48px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(0,0,0,0.03) 20px,
    rgba(0,0,0,0.03) 40px
  );
  pointer-events: none;
}

.newsletter__inner {
  max-width: 580px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

.newsletter__title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.newsletter__subtitle {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 24px;
}

.newsletter__form {
  display: flex;
  gap: 0;
  max-width: 440px;
  margin: 0 auto;
}

.newsletter__input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  background: var(--color-white);
  color: var(--color-ink);
  outline: none;
}

.newsletter__input::placeholder {
  color: var(--color-ink-muted);
}

.newsletter__btn {
  padding: 14px 28px;
  background: var(--color-ink);
  color: var(--color-white);
  border: none;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter__btn:hover {
  background: var(--color-ink-light);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--color-ink);
  color: var(--color-newsprint);
  padding: 48px 0 24px;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

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

.footer__description {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  max-width: 360px;
  line-height: 1.6;
}

.footer__links {
  display: flex;
  gap: 48px;
}

.footer__link-group h4 {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer__link-group ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__link-group a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.footer__link-group a:hover {
  color: var(--color-white);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}

.footer__social a:hover {
  border-color: var(--color-accent);
  background: var(--color-accent);
}

.footer__social svg {
  width: 16px;
  height: 16px;
  fill: rgba(255,255,255,0.7);
}

/* ========================================
   FOOTER SUPPORT BLOCK
   Reader-donation CTA. Sits between footer__top and footer__bottom.
   ======================================== */
.footer__support {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__support-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--color-white);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__support-heart {
  color: var(--color-accent);
  font-size: 1.4rem;
  line-height: 1;
}

.footer__support-copy {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0;
}

.footer__support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-accent);
  border: 2px solid var(--color-accent);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.footer__support-btn:hover,
.footer__support-btn:focus-visible {
  background: transparent;
  color: var(--color-accent);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .footer__support {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: left;
  }

  .footer__support-btn {
    justify-self: start;
  }
}

/* ========================================
   AD ZONES
   ======================================== */
.ad-zone {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}

.ad-zone__container {
  background: var(--color-newsprint-dark);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ad-zone__label {
  font-family: var(--font-ui);
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-ink-muted);
  opacity: 0.6;
  margin-bottom: 8px;
}

.ad-zone__slot {
  background: rgba(0,0,0,0.03);
  border: 1px dashed rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink-muted);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* Zone A: Leaderboard below nav */
.ad-zone--a {
  padding-top: 20px;
  padding-bottom: 8px;
}

.ad-zone--a .ad-zone__slot {
  width: 728px;
  max-width: 100%;
  height: 90px;
}

/* Zone B: Mid-page between Most Read & Latest */
.ad-zone--b {
  padding-top: 0;
  padding-bottom: 0;
}

.ad-zone--b .ad-zone__container {
  background: var(--color-white);
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 24px 16px;
}

.ad-zone--b .ad-zone__slot {
  width: 728px;
  max-width: 100%;
  height: 90px;
}

/* Responsive: GAM serves 320x50 on phones via defineSizeMapping. Reserve
   space to limit CLS; the iframe sizes itself once the creative arrives. */
@media (max-width: 767px) {
  .ad-zone--a .ad-zone__slot,
  .ad-zone--b .ad-zone__slot {
    width: 320px;
    min-height: 50px;
    height: auto;
  }
}

/* ========================================
   STICKY MOBILE ANCHOR AD (320x50)
   Phones only. Dismissable via sticky_ad_controller.js.
   ======================================== */
.ad-anchor {
  display: none;
}

@media (max-width: 767px) {
  .ad-anchor {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 4px 0;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #d0d0d0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
  }
}

.ad-anchor__slot {
  width: 320px;
  min-height: 50px;
}

.ad-anchor__close {
  position: absolute;
  top: -12px;
  right: 8px;
  width: 24px;
  height: 24px;
  border: 1px solid #d0d0d0;
  border-radius: 50%;
  background: #fff;
  color: #333;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.ad-anchor__close:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* ========================================
   BREADCRUMB
   ======================================== */
.breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px var(--gutter) 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-ink-muted);
}
.breadcrumb a {
  color: var(--color-ink-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--color-ink); }
.breadcrumb__sep { margin: 0 8px; opacity: 0.4; }

/* ========================================
   ARTICLE HEADER
   ======================================== */
.article-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px var(--gutter) 0;
}
.article-header__inner {
  max-width: var(--article-width);
}
.article-header__headline {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}
.article-header__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  font-size: 0.78rem;
  color: var(--color-ink-muted);
}
.article-header__author {
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-header__author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-newsprint-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--color-ink-muted);
  overflow: hidden;
}
.article-header__author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-header__author-name {
  font-weight: 500;
  color: var(--color-ink);
}
.article-header__date { color: var(--color-ink-muted); }
.article-header__share {
  margin-left: auto;
  display: flex;
  gap: 8px;
}
.share-btn {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0,0,0,0.12);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.share-btn:hover {
  background: var(--color-ink);
  border-color: var(--color-ink);
}
.share-btn svg {
  width: 14px;
  height: 14px;
  fill: var(--color-ink-muted);
  transition: fill 0.2s;
}
.share-btn:hover svg { fill: var(--color-white); }

/* ========================================
   ARTICLE LAYOUT (body + sidebar)
   ======================================== */
.article-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px var(--gutter) 0;
  display: grid;
  grid-template-columns: var(--article-width) 1fr;
  gap: 48px;
  align-items: start;
}

/* ========================================
   ARTICLE BODY
   ======================================== */
.article-body {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.85;
  color: var(--color-ink);
  letter-spacing: 0.005em;
}
.article-body p { margin-bottom: 1.4em; }
.article-body a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-color: rgba(196,30,58,0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.article-body a:hover { text-decoration-color: var(--color-accent); }
.article-body blockquote {
  font-family: var(--font-editorial);
  border-left: 3px solid var(--color-accent);
  padding: 8px 0 8px 24px;
  margin: 1.6em 0;
  font-style: italic;
  color: var(--color-ink);
  font-size: 1.1rem;
}
.article-body h2, .article-body h3, .article-body h4 {
  font-family: var(--font-editorial);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 2em;
  margin-bottom: 0.6em;
}
.article-body h2 { font-size: 1.5rem; }
.article-body h3 { font-size: 1.3rem; }
.article-body h4 { font-size: 1.1rem; }
.article-body ul, .article-body ol {
  margin-bottom: 1.4em;
  padding-left: 1.5em;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 0.4em; }
.article-body__figure { margin: 2em 0; }
.article-body__figure img { width: 100%; }
.article-body__figcaption {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--color-ink-muted);
  margin-top: 8px;
  font-style: italic;
}
.article-body__source {
  margin-top: 2em;
  padding-top: 1.5em;
  border-top: 1px solid rgba(0,0,0,0.1);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--color-ink-muted);
}
.article-body__source a {
  color: var(--color-accent);
  font-weight: 500;
}

/* ActionText content within article body */
.article-body .trix-content { font: inherit; line-height: inherit; color: inherit; }
.article-body .trix-content a { color: var(--color-accent); }

/* ========================================
   ARTICLE SIDEBAR
   ======================================== */
.article-sidebar {
  position: sticky;
  top: 110px;
}
.article-sidebar__ad {
  background: var(--color-newsprint-dark);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
}
.article-sidebar__ad-label {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-ink-muted);
  opacity: 0.6;
  margin-bottom: 8px;
}
.article-sidebar__ad-slot {
  width: 300px;
  height: 250px;
  max-width: 100%;
  background: rgba(0,0,0,0.03);
  border: 1px dashed rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink-muted);
  font-size: 0.75rem;
}
.article-sidebar__section {
  border-top: 2px solid var(--color-ink);
  padding-top: 16px;
  margin-bottom: 32px;
}
.article-sidebar__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Contributors list */
.contributors__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contributors__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}
.contributors__item:hover { opacity: 0.7; }
.contributors__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-newsprint-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--color-ink-muted);
  flex-shrink: 0;
  overflow: hidden;
}
.contributors__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contributors__name {
  font-family: var(--font-editorial);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Photo of the Day */
.potd__image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 10px;
}
.potd__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.potd__caption {
  font-family: var(--font-editorial);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--color-ink-muted);
  line-height: 1.4;
}
.potd__credit {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--color-ink-muted);
  margin-top: 6px;
}

/* ========================================
   RELATED STORIES
   ======================================== */
.related {
  background: var(--color-white);
  padding: 56px 0;
  margin-top: 48px;
}
.related__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.related__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
a.related-card {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s;
  display: block;
}
a.related-card:hover { transform: translateY(-4px); }
.related-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 12px;
}
.related-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
a.related-card:hover .related-card__image img { transform: scale(1.06); }
.related-card__placeholder {
  width: 100%;
  height: 100%;
  background: #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.related-card__placeholder svg {
  width: 32px;
  height: 32px;
  color: #ccc;
}
.related-card__headline {
  font-family: var(--font-editorial);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}
.related-card .meta {
  font-size: 0.65rem;
  color: var(--color-ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

/* ========================================
   ARTICLES INDEX
   ======================================== */
.articles-index {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter) 56px;
}

.articles-index__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.articles-index__empty {
  text-align: center;
  padding: 80px var(--gutter);
}

.articles-index__empty svg {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  color: #ccc;
}

.articles-index__empty h3 {
  margin-top: 16px;
  font-family: var(--font-editorial);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-ink);
}

.articles-index__empty p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--color-ink-muted);
}

/* ========================================
   SEARCH PAGE
   ======================================== */
.search-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter) 48px;
}

.search-form {
  margin-bottom: 32px;
}

.search-form__row {
  display: flex;
  gap: 12px;
}

.search-form__input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--color-ink);
  background: #fff;
  transition: border-color 0.2s;
}

.search-form__input::placeholder {
  color: #999;
}

.search-form__input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.search-form__btn {
  padding: 10px 24px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.search-form__btn:hover {
  background: #a00;
}

.search-results__count {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--color-ink-muted);
  margin-bottom: 24px;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }

/* ========================================
   LOAD MORE BUTTON
   ======================================== */
.load-more {
  text-align: center;
  padding: 40px 0 0;
}

.load-more__btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 14px 48px;
  border: 2px solid var(--color-ink);
  background: transparent;
  color: var(--color-ink);
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  text-decoration: none;
}

.load-more__btn:hover {
  background: var(--color-ink);
  color: var(--color-white);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .nav__item a {
    padding: 10px 12px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }

  .articles-index__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Article layout stacks on tablet */
  .article-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.1);
  }
  .related__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero__featured { min-height: 420px; }

  .most-read__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .most-read__item:nth-child(2) { border-right: none; }
  .most-read__item:nth-child(3),
  .most-read__item:nth-child(4) { border-top: 1px solid rgba(0,0,0,0.1); }

  .latest__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .utility-bar { display: none; }

  .articles-index__grid {
    grid-template-columns: 1fr;
  }

  /* Article responsive */
  .article-header__headline { font-size: 1.8rem; }
  .article-header__meta { flex-wrap: wrap; }
  .article-header__share { margin-left: 0; margin-top: 8px; }
  .article-sidebar { grid-template-columns: 1fr; }
  .related__grid { grid-template-columns: 1fr; }

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

  .hero__featured { min-height: 340px; }

  .hero__sidebar {
    flex-direction: row;
  }

  .hero__side-story {
    aspect-ratio: 16 / 10;
  }

  .most-read__grid {
    grid-template-columns: 1fr;
  }

  .most-read__item {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }

  .most-read__item:last-child { border-bottom: none; }

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

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

  .more-stories__layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
  }

  .sidebar__ad-slot {
    width: 100%;
    max-width: 300px;
  }

  .sidebar__trending {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
  }

  .more-stories__item {
    grid-template-columns: 120px 1fr;
    gap: 16px;
  }

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

  .footer__links {
    gap: 32px;
  }

  .newsletter__form {
    flex-direction: column;
  }

  .newsletter__btn {
    padding: 14px;
  }
}

@media (max-width: 480px) {
  .hero__sidebar {
    flex-direction: column;
  }

  .hero__side-story {
    aspect-ratio: 16 / 9;
  }

  .masthead__logo {
    font-size: 2.5rem;
  }

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

/* ========================================
   SUB-PAGE COMPONENT STYLES
   (articles, sections, search, etc.)
   ======================================== */
body {
  background-color: var(--color-newsprint);
  font-family: var(--font-ui), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.public-layout :where(a) { color: var(--dd-red); transition: all 0.3s ease; }
.public-layout :where(a):hover { color: var(--dd-text); }

.section-heading {
  position: relative;
  text-align: left;
  font-weight: 700;
  font-family: var(--font-ui);
  font-size: 1.75rem;
  color: var(--dd-text-dark);
  margin-bottom: 0.75rem;
}
.section-heading::before {
  background: var(--dd-red);
  content: "";
  display: block;
  height: 2px;
  position: absolute;
  top: 50%;
  width: 100%;
  left: 0;
}
.section-heading span {
  background: var(--dd-body-bg);
  padding: 0 8px 0 0;
  position: relative;
  z-index: 1;
}

.card-title {
  color: var(--dd-text);
  font-family: var(--font-editorial);
  font-weight: 700;
  line-height: 1.25;
}
.card-title a { color: var(--dd-text); text-decoration: none; }
.card-title a:hover { color: var(--dd-red); text-decoration: none; }

.title-link { color: var(--dd-text); text-decoration: none; line-height: 1.25; }
.title-link:hover { color: var(--dd-red); text-decoration: none; }

.category-tag {
  color: var(--dd-text-muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-decoration: none;
}
.category-tag:hover { color: #000; text-decoration: none; }

.date {
  color: var(--dd-text-muted);
  font-weight: normal;
  font-size: 13px;
}

.author {
  color: var(--dd-red);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}
.author:hover { text-decoration: none; color: var(--dd-text); }

.photo-caption {
  color: var(--dd-text-light);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25px;
}

.tag-overlay {
  color: var(--dd-text-light);
  font-family: Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25px;
}

.teaser-box {
  border-left: 4px solid var(--dd-red);
  padding-left: 0.75rem;
}
.teaser-text {
  font-family: var(--font-ui);
  font-weight: 600;
  font-style: italic;
  color: var(--dd-text-muted);
  font-size: 0.9rem;
}

.ad-placeholder {
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dd-text-light);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
}

.side-img-box {
  overflow: hidden;
  position: relative;
}
.side-img-box img {
  width: 100%;
  height: auto;
  display: block;
}

.newsfeed-img {
  width: 100%;
  height: auto;
  display: block;
}

.sponsored-text {
  color: var(--dd-text-light);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.8rem;
}

/* ========================================
   COLUMNISTS COMPONENT STYLES
   ======================================== */

.columnists-index {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter) 56px;
}

.columnist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

a.columnist-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background: var(--color-white);
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

a.columnist-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.columnist-card__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-newsprint-dark);
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.columnist-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.columnist-card__initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-ui), sans-serif;
  color: var(--color-ink-muted);
}

.columnist-card__name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-ink);
  font-family: var(--font-ui), sans-serif;
  transition: color 0.2s ease;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

a.columnist-card:hover .columnist-card__name {
  color: var(--color-accent);
}

.columnist-card__bio {
  font-size: 0.875rem;
  color: var(--color-ink-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.columnist-empty {
  text-align: center;
  padding: 80px var(--gutter);
}

.columnist-empty svg {
  margin: 0 auto;
  width: 48px;
  height: 48px;
  color: #ccc;
}

.columnist-empty__title {
  margin-top: 16px;
  font-family: var(--font-editorial);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-ink);
}

.columnist-empty__text {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--color-ink-muted);
}

@media (max-width: 1024px) {
  .columnist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ========================================
   COLUMNIST SHOW PAGE
   ======================================== */

.columnist-show {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter) 56px;
}

.columnist-header {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--color-ink);
}

.columnist-header__photo {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-newsprint-dark);
  flex-shrink: 0;
}

.columnist-header__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.columnist-header__initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-ui), sans-serif;
  color: var(--color-ink-muted);
}

.columnist-header__info {
  flex: 1;
}

.columnist-header__name {
  font-family: var(--font-editorial);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.columnist-header__bio {
  font-size: 1rem;
  color: var(--color-ink-muted);
  line-height: 1.65;
}

.columnist-articles {
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .columnist-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ========================================
   STATIC PAGE CONTENT
   ======================================== */

.page-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter) 56px;
}

.page-content__title {
  font-family: var(--font-editorial);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.15;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-ink);
}

/* ========================================
   HOMEPAGE REDESIGN (2026-05)
   New Top Stories / Best Rest / River / TV / Sticky Sidebar
   ======================================== */

/* ----- Section header (homepage redesign) ----- */
.hp-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.hp-section-header__title {
  font-family: var(--font-editorial);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  white-space: nowrap;
}
.hp-section-header__rule {
  flex: 1;
  height: 2px;
  background: var(--red);
}
.hp-section-header__link {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  white-space: nowrap;
}
.hp-section-header__link:hover { color: var(--red-deep); }

/* ----- Kicker (beat-colored) ----- */
.kicker {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.kicker--politics  { color: var(--politics); }
.kicker--crime     { color: var(--crime); }
.kicker--column    { color: var(--column); }
.kicker--columns   { color: var(--column); }
.kicker--business  { color: var(--business); }
.kicker--sports    { color: var(--sports); }
.kicker--media     { color: var(--media); }
.kicker--lifestyle { color: var(--lifestyle); }

/* ----- Photo placeholder (newsprint stripe) ----- */
.photo-placeholder {
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0,0,0,0.06), rgba(0,0,0,0.06)),
    repeating-linear-gradient(135deg, #c9c0ad 0 8px, #b9b09c 8px 16px);
}
.photo-placeholder--16x10 { aspect-ratio: 16 / 10; }
.photo-placeholder--16x9  { aspect-ratio: 16 / 9; }
.photo-placeholder--thumb { width: 92px; height: 68px; flex: none; }

/* ----- Meta line (homepage redesign) ----- */
.top-stories .meta,
.best-rest .meta,
.river .meta {
  font-family: var(--font-ui);
  font-size: 11.5px;
  color: var(--mute);
  margin: 0;
}
.top-stories .meta__source,
.best-rest .meta__source,
.river .meta__source {
  color: var(--red);
  font-weight: 600;
}

/* ----- Top Stories ----- */
.top-stories {
  max-width: var(--max-width);
  margin: 48px auto 0;
  padding: 0 var(--gutter);
}
.top-stories__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 36px;
}
@media (max-width: 768px) {
  .top-stories__grid { grid-template-columns: 1fr; gap: 24px; }
}

a.top-lead { display: block; color: inherit; text-decoration: none; }
.top-lead__photo {
  aspect-ratio: 16 / 10;
  width: 100%;
  background: var(--rule);
  overflow: hidden;
  margin-bottom: 14px;
}
.top-lead__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.top-lead__body .kicker { margin-bottom: 10px; }
.top-lead__headline {
  font-family: var(--font-editorial);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 8px;
  text-wrap: balance;
}
.top-lead__excerpt {
  border-left: 3px solid var(--red);
  padding: 2px 0 2px 14px;
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 14px 0 0;
}

/* Top Stack (3 rows) */
.top-stack { display: flex; flex-direction: column; }
a.top-stack__item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  color: inherit;
  text-decoration: none;
}
a.top-stack__item:first-child { padding-top: 0; }
a.top-stack__item:last-child  { border-bottom: 0; }
.top-stack__thumb {
  flex: none;
  width: 92px;
  height: 68px;
  background: var(--rule);
  overflow: hidden;
}
.top-stack__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.top-stack__body { flex: 1; min-width: 0; }
.top-stack__body .kicker { margin-bottom: 4px; font-size: 9.5px; }
.top-stack__headline {
  font-family: var(--font-editorial);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 4px;
  text-wrap: balance;
}

/* ----- The Best Rest ----- */
.best-rest {
  max-width: var(--max-width);
  margin: 48px auto 0;
  padding: 0 var(--gutter);
}
.best-rest__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .best-rest__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .best-rest__grid { grid-template-columns: 1fr; } }

a.best-rest__card { display: block; color: inherit; text-decoration: none; }
.best-rest__photo {
  aspect-ratio: 16 / 10;
  width: 100%;
  background: var(--rule);
  overflow: hidden;
  margin-bottom: 10px;
}
.best-rest__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.best-rest__card .kicker { margin-bottom: 6px; }
.best-rest__headline {
  font-family: var(--font-editorial);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 4px;
  text-wrap: balance;
}

/* ----- More Stories: outer layout (river + sidebar) ----- */
.hp-more {
  max-width: var(--max-width);
  margin: 48px auto 0;
  padding: 0 var(--gutter);
}
.hp-more__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .hp-more__layout { grid-template-columns: 1fr; gap: 32px; }
}
.hp-more__main {
  padding-bottom: 90px; /* reserve space so sticky anchor ad doesn't overlap load-more */
}

/* ----- River ----- */
.river {
  display: flex;
  flex-direction: column;
}
a.river__item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  color: inherit;
  text-decoration: none;
}
.river > a.river__item:first-child { border-top: 0; padding-top: 0; }
.river__thumb {
  aspect-ratio: 16 / 10;
  width: 200px;
  background: var(--rule);
  overflow: hidden;
}
.river__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.river__body { min-width: 0; }
.river__body .kicker { margin-bottom: 6px; }
.river__headline {
  font-family: var(--font-editorial);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 4px;
  text-wrap: balance;
}
.river__excerpt {
  font-family: var(--font-editorial);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 8px 0 0;
}
@media (max-width: 600px) {
  a.river__item { grid-template-columns: 120px 1fr; gap: 14px; }
  .river__thumb { width: 120px; }
  .river__headline { font-size: 19px; }
}

/* ----- Load more ----- */
.river__load-more {
  margin-top: 32px;
  text-align: center;
}
.river__load-more-btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 14px 32px;
  text-decoration: none;
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.river__load-more-btn:hover {
  background: var(--ink);
  color: #fff;
}

/* ----- Deadline TV card (interleaved in river) ----- */
.tv-card {
  background: var(--ink);
  color: #fff;
  border-radius: 2px;
  padding: 24px 28px;
  margin: 20px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
@media (max-width: 600px) {
  .tv-card { grid-template-columns: 1fr; padding: 18px; }
}
.tv-card__body { min-width: 0; }
.tv-card__flag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.tv-card__title {
  font-family: var(--font-editorial);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 6px;
  text-wrap: balance;
}
.tv-card__meta {
  font-family: var(--font-ui);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}
.tv-card__player {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background-image:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    repeating-linear-gradient(135deg, #6e6557 0 8px, #5a5246 8px 16px);
  border-radius: 2px;
  overflow: hidden;
}
.tv-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--red);
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.tv-card__play:hover { background: var(--red-deep); }
.tv-card__play-tri {
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px; /* optical centering */
}
.tv-card__duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 2px;
}

/* ----- Sticky sidebar (homepage redesign) ----- */
.hp-sidebar {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
@media (max-width: 900px) {
  .hp-sidebar { position: static; }
}

/* ----- Trending Now ----- */
.trending {
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}
.trending__title {
  font-family: var(--font-editorial);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.2;
}
.trending__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.trending__item {
  border-bottom: 1px solid var(--rule);
}
.trending__item:last-child { border-bottom: 0; }
a.trending__link {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  align-items: flex-start;
  color: inherit;
  text-decoration: none;
}
.trending__num {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  color: var(--red);
  width: 28px;
  flex: none;
}
.trending__body { min-width: 0; flex: 1; }
.trending__headline {
  font-family: var(--font-editorial);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 4px;
}
.trending__meta {
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0;
}
