/* ========================================
   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;

  --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;
}

/* ========================================
   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;
}

/* ========================================
   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
   ======================================== */
.nav {
  border-top: 1px solid rgba(0,0,0,0.1);
}

.nav__list {
  display: flex;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__item a {
  display: block;
  padding: 12px 24px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-ink-light);
  position: relative;
  transition: color 0.2s;
}

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

.nav__item a:hover,
.nav__item.active a {
  color: var(--color-ink);
}

.nav__item a:hover::after,
.nav__item.active a::after {
  width: 100%;
}

/* ========================================
   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;
}

.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;
  }

  .nav {
    display: none;
    border-top: none;
  }

  .nav.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.open .nav__list {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0;
    overflow-x: visible;
  }

  .nav.open .nav__item a {
    padding: 14px var(--gutter);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    white-space: normal;
    text-align: left;
  }

  .nav.open .nav__item:last-child a {
    border-bottom: none;
  }

  .nav.open .nav__item a::after {
    display: none;
  }

  .nav.open .nav__item a:hover,
  .nav.open .nav__item.active a {
    background: var(--color-newsprint);
    color: var(--color-accent);
  }

  @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;
}

/* ========================================
   HERO SECTION (TOP STORIES)
   ======================================== */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px var(--gutter) 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2px;
  background: var(--color-ink);
  margin-top: 32px;
}

.hero__featured {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  cursor: pointer;
}

.hero__featured-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.hero__featured-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 100px 36px 36px;
  background: linear-gradient(to top, rgba(0,0,0,0.97) 0%, rgba(0,0,0,0.85) 40%, rgba(0,0,0,0.5) 70%, transparent 100%);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  color: var(--color-white);
}

.hero__featured-headline {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.hero__featured .meta {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
}

.hero__featured .meta__source {
  color: #fff;
  font-weight: 600;
}

.hero__sidebar {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__side-story {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.hero__side-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero__side-story:hover img {
  transform: scale(1.03);
}

.hero__side-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 80px 24px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.97) 0%, rgba(0,0,0,0.85) 40%, rgba(0,0,0,0.4) 75%, transparent 100%);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  color: var(--color-white);
}

.hero__side-headline {
  font-family: var(--font-editorial);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.hero__side-content .meta {
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
}

.hero__side-content .meta__source {
  color: #fff;
  font-weight: 600;
}

.hero__side-content .category {
  font-size: 0.7rem;
  padding: 4px 12px;
}

/* Placeholder for missing hero images */
.hero__placeholder {
  position: absolute;
  inset: 0;
  background: #3a3a3a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__placeholder svg {
  width: 64px;
  height: 64px;
  color: #666;
}

/* ========================================
   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;
}

/* ========================================
   MORE STORIES
   ======================================== */
.more-stories {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px var(--gutter);
}

.more-stories__layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.more-stories__list {
  display: flex;
  flex-direction: column;
}

.more-stories__item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
  transition: background 0.2s;
}

.more-stories__item:first-child {
  padding-top: 0;
}

.more-stories__item:hover {
  background: rgba(0,0,0,0.02);
}

.more-stories__thumb {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.more-stories__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.more-stories__item:hover .more-stories__thumb img {
  transform: scale(1.05);
}

.more-stories__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.more-stories__headline {
  font-family: var(--font-editorial);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 2px;
}

.more-stories__excerpt {
  font-size: 0.85rem;
  color: var(--color-ink-muted);
  line-height: 1.5;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Placeholder for missing thumbnails */
.more-stories__placeholder {
  width: 100%;
  height: 100%;
  background: #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.more-stories__placeholder svg {
  width: 32px;
  height: 32px;
  color: #ccc;
}

/* ========================================
   SIDEBAR (Zone D)
   ======================================== */
.sidebar {
  position: sticky;
  top: 100px;
}

.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__trending {
  margin-top: 32px;
  border-top: 2px solid var(--color-ink);
  padding-top: 16px;
}

.sidebar__trending-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.sidebar__trending-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.sidebar__trending-item:hover {
  opacity: 0.7;
}

.sidebar__trending-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.35;
  flex-shrink: 0;
  width: 24px;
}

.sidebar__trending-headline {
  font-family: var(--font-editorial);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
}

.sidebar__trending-meta {
  font-size: 0.65rem;
  color: var(--color-ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* ========================================
   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);
}

/* ========================================
   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: swap to 300x250 on smaller screens */
@media (max-width: 768px) {
  .ad-zone--a .ad-zone__slot,
  .ad-zone--b .ad-zone__slot {
    width: 300px;
    height: 250px;
  }
}

/* ========================================
   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: 'Montserrat', sans-serif;
  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: 'Lora', Georgia, serif;
  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: 'Montserrat', sans-serif;
  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: 'Montserrat', sans-serif;
  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);
}
