/* Homepage-specific styles */

/* Ticker */
.ticker {
  border-bottom: 1px solid var(--ink);
  padding: 10px 0;
  background: var(--paper-deep);
  font-family: var(--sans);
  font-size: 13px;
  overflow: hidden;
}
.ticker .container {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  overflow: hidden;
}
.ticker-label {
  background: var(--ink);
  color: var(--paper);
  padding: 4px 10px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  flex-shrink: 0;
}
.ticker-text {
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Lead section */
.lead {
  padding: 36px 0 56px;
  border-bottom: 3px double var(--ink);
}

.lead-grid {
  display: grid;
  grid-template-columns: 220px 1fr 280px;
  gap: 36px;
}

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

.lead-left, .lead-right {
  font-family: var(--sans);
}

/* Table of contents */
.toc {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.toc li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.4;
}
.toc li:last-child { border-bottom: 1px solid var(--line); }
.toc li span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--terracotta);
  font-weight: 500;
  padding-top: 1px;
}
.toc li a {
  font-family: var(--serif-body);
  font-size: 14px;
  color: var(--ink);
  line-height: 1.35;
}
.toc li a:hover { color: var(--terracotta); }

/* Weather grid */
.weather-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
  margin-bottom: 8px;
}
.wx-city {
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.wx-temp {
  font-family: var(--serif-display);
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
}

/* Lead center */
.lead-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.lead-headline {
  font-family: var(--serif-display);
  font-size: clamp(44px, 5.6vw, 84px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.lead-headline em {
  font-style: italic;
  color: var(--terracotta);
}

.lead-dek {
  font-family: var(--serif-body);
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 16px;
}

.lead-byline {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-mute);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.lead-byline strong { color: var(--ink); font-weight: 600; }
.lead-byline .dot { color: var(--ink-faint); }

.lead-img {
  aspect-ratio: 16/9;
  width: 100%;
  margin-bottom: 16px;
}

.lead-body {
  font-family: var(--serif-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  column-count: 2;
  column-gap: 36px;
}
@media (max-width: 800px) { .lead-body { column-count: 1; } }
.lead-body p:first-child { margin-top: 0; }

/* Most read */
.most-read {
  list-style: none;
  padding: 0;
  margin: 0;
}
.most-read li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.most-read li:last-child { border-bottom: 1px solid var(--line); }
.most-read li span {
  font-family: var(--serif-display);
  font-size: 28px;
  line-height: 0.9;
  color: var(--terracotta);
  font-style: italic;
}
.most-read li a {
  font-family: var(--serif-body);
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink);
}
.most-read li a:hover { color: var(--terracotta); }

/* Section band — terracotta block */
.section-band {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.section-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(184,71,42,0.25), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(200,159,74,0.12), transparent 60%);
}
.band-inner {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.band-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mustard);
  display: block;
  margin-bottom: 18px;
}
.band-title {
  font-family: var(--serif-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  color: var(--paper);
  margin-bottom: 22px;
}
.band-title em { font-style: italic; color: var(--mustard); }
.band-dek {
  font-family: var(--serif-body);
  font-size: 19px;
  line-height: 1.55;
  color: rgba(244,237,226,0.8);
  margin-bottom: 30px;
}

/* Sections — generic */
.section {
  padding: 72px 0;
}

.section-band-light {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}
.section-head h2 em { font-style: italic; }
.see-all {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.see-all:hover { color: var(--terracotta); border-color: var(--terracotta); }

/* Story grid */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
.story-grid .story-feature {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  padding-bottom: 36px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.story-grid .story-feature h3 {
  font-size: clamp(28px, 3vw, 40px);
}
.story-grid .story-feature .story-dek {
  font-size: 18px;
}

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr 1fr; }
  .story-grid .story-feature { grid-column: span 2; grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-grid .story-feature { grid-column: span 1; }
}

/* Cities grid */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.city-card {
  display: block;
  background: var(--paper-light);
  border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.city-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
}
.city-img {
  aspect-ratio: 4/3;
}
.city-name {
  font-family: var(--serif-display);
  font-size: 26px;
  padding: 14px 16px 4px;
  line-height: 1;
  font-style: italic;
}
.city-meta {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 0 16px 14px;
}
@media (max-width: 1000px) { .cities-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .cities-grid { grid-template-columns: 1fr 1fr; } }

/* Topics grid */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 48px;
}
.topic-col {
  border-top: 3px solid var(--ink);
  padding-top: 16px;
}
.topic-title {
  font-family: var(--serif-display);
  font-size: 24px;
  font-style: italic;
  margin-bottom: 14px;
  color: var(--terracotta);
}
.topic-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.topic-list li {
  border-top: 1px solid var(--line);
  padding: 10px 0;
}
.topic-list li:last-child { border-bottom: 1px solid var(--line); }
.topic-list a {
  font-family: var(--serif-body);
  font-size: 16px;
  line-height: 1.35;
  color: var(--ink);
  display: block;
}
.topic-list a:hover { color: var(--terracotta); }
@media (max-width: 900px) { .topics-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .topics-grid { grid-template-columns: 1fr; } }

/* Newsletter */
.newsletter-band {
  background: var(--ink, #1A1612);
  color: var(--paper, #FDFAF5);
  position: relative;
  overflow: hidden;
}
/* Ensure all text inside newsletter is readable */
.newsletter-band h3,
.newsletter-band p,
.newsletter-band .eyebrow,
.newsletter-band label,
.newsletter-band span { color: inherit; }
.newsletter-band .eyebrow { color: var(--terracotta, #B85C38); opacity: 1; }
.newsletter-band h3 { color: var(--paper, #FDFAF5) !important; opacity: 1; }
.newsletter-band p { color: rgba(253,250,245,0.75) !important; opacity: 1; }
.newsletter-band blockquote { color: rgba(253,250,245,0.9) !important; opacity: 1; font-style: italic; }
.newsletter-band cite { color: rgba(253,250,245,0.5) !important; }
.newsletter-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 100%, rgba(184,71,42,0.2), transparent 60%);
}
.newsletter-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  position: relative;
}
.nl-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
}
.nl-form input {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid rgba(244,237,226,0.3);
  background: rgba(244,237,226,0.06);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
}
.nl-form input::placeholder { color: rgba(244,237,226,0.5); }
.nl-form input:focus { outline: 2px solid var(--mustard); border-color: var(--mustard); }

@media (max-width: 800px) {
  .newsletter-grid { grid-template-columns: 1fr; gap: 36px; }
}
