/* Isolated reader fixes: feature-detail hero and homepage daily-edition header only. */
/* Load as a new cache-busted asset; no masthead, category navigation or cover changes. */

body.mwb-features-page[data-mwb-features-view="detail"] .mwb-feature-hero::after {
  background: linear-gradient(90deg, rgba(5, 27, 22, .94) 0%, rgba(5, 27, 22, .88) 60%, rgba(5, 27, 22, .78) 100%);
}

body.mwb-features-page[data-mwb-features-view="detail"] .mwb-feature-hero > .mwb-feature-hero-copy {
  min-width: 0;
  padding: clamp(24px, 3.2vw, 40px);
}

body.mwb-features-page[data-mwb-features-view="detail"] .mwb-feature-hero .mwb-feature-hero-copy h1[data-mwb-feature-title] {
  max-width: 24ch;
  margin: 12px 0 18px;
  color: #fff !important;
  font-size: clamp(32px, 4.8vw, 60px);
  line-height: 1.12;
  overflow-wrap: break-word;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

body.mwb-features-page[data-mwb-features-view="detail"] .mwb-feature-hero .mwb-feature-hero-copy > p[data-mwb-feature-deck] {
  max-width: 66ch;
  margin: 0 0 20px;
  color: #edf5ef !important;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.55;
}

body.mwb-features-page[data-mwb-features-view="detail"] .mwb-feature-hero .mwb-feature-eyebrow,
body.mwb-features-page[data-mwb-features-view="detail"] .mwb-feature-hero .mwb-feature-meta {
  color: #e1eee6 !important;
}

/* Retain the existing daily lanes and coloured backgrounds below this header. */
body.home-reader-20261001 #today-in-mwb.mwb-daily-edition .home-daily-desk-head {
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
  padding: 22px 24px;
  background: #123e33;
  border: 1px solid #123e33;
  border-left: 5px solid #edc94f;
  border-radius: 10px;
}

body.home-reader-20261001 #today-in-mwb.mwb-daily-edition .home-daily-desk-title {
  min-width: 0;
}

body.home-reader-20261001 #today-in-mwb.mwb-daily-edition .home-daily-desk-title > .story-kicker {
  display: block;
  margin: 0 0 10px;
  color: #ffe6a3 !important;
  font: 800 clamp(15px, 1.2vw, 17px)/1.35 system-ui, sans-serif !important;
  letter-spacing: .05em !important;
}

body.home-reader-20261001 #today-in-mwb.mwb-daily-edition .home-daily-desk-title > h2 {
  max-width: 26ch;
  margin: 0 0 10px;
  color: #fff !important;
  font: 700 clamp(28px, 3vw, 40px)/1.15 Georgia, serif;
}

body.home-reader-20261001 #today-in-mwb.mwb-daily-edition .home-daily-desk-title > .today-edition-date {
  margin: 0;
  color: #deece5 !important;
  font: 600 14px/1.5 system-ui, sans-serif;
}

body.home-reader-20261001 #today-in-mwb.mwb-daily-edition .home-daily-desk-head .daily-edition-tabs {
  align-self: center;
  max-width: 100%;
}

@media (max-width: 640px) {
  body.mwb-features-page[data-mwb-features-view="detail"] .mwb-feature-hero > .mwb-feature-hero-copy {
    padding: 26px 22px;
  }

  body.mwb-features-page[data-mwb-features-view="detail"] .mwb-feature-hero .mwb-feature-hero-copy h1[data-mwb-feature-title] {
    max-width: 100%;
    font-size: clamp(30px, 8.2vw, 38px);
    line-height: 1.15;
  }

  body.home-reader-20261001 #today-in-mwb.mwb-daily-edition .home-daily-desk-head {
    padding: 18px 16px;
    gap: 16px;
  }
}

/* r2: the homepage's feature uses an h2, not the detail page's h1. */
body.home-reader-20261001 .feature-banner::after {
  background: linear-gradient(90deg, rgba(5, 22, 18, .90), rgba(5, 22, 18, .82) 62%, rgba(5, 22, 18, .72)) !important;
}

body.home-reader-20261001 .feature-banner .feature-banner-copy > h2[data-feature-title],
body.home-reader-20261001 .feature-banner .feature-banner-copy > h2[data-feature-title] > span {
  color: #fff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .65);
}

body.home-reader-20261001 .feature-banner .feature-banner-copy > p[data-feature-deck],
body.home-reader-20261001 .feature-banner .feature-banner-copy > p[data-feature-deck] > span {
  color: #fff !important;
}

body.home-reader-20261001 .feature-banner .feature-banner-copy > [data-feature-kicker],
body.home-reader-20261001 .feature-banner .feature-banner-copy > [data-feature-kicker] > span {
  color: #ffe6a3 !important;
}

/* Reader-facing attribution is a distinct link, not a nested small note. */
body.news-public .mwb-day-popover .mwb-day-popover-list > a[data-mwb-nameday-source] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #075b40 !important;
  font: 600 12px/1.45 system-ui, sans-serif !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}
