/* Editorial look (preview): serif headlines, white page, red only for links and the logo, no boxes or shadows. */

:root {
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --color-bg: #FFFFFF;
  --ink: #1F2328;
  --muted: #5C636B;
  --rule: #E4E7EA;
}

body { background: #FFFFFF; }
.navbar { box-shadow: none; }

/* Headlines in serif, like a publication */
h1, h2, h3,
.article-hero__title, .lead-story__title, .story__title, .home-section__title,
.category-hero__title, .related__title, .article-list__link {
  font-family: var(--font-serif);
  letter-spacing: -0.01em;
}
.prose h2 { font-weight: 700; }
.prose h3 { font-weight: 600; }

/* Kickers and small labels: grey, not red */
.eyebrow, .story__kicker, .card__category, .article-list__item .eyebrow {
  color: var(--muted) !important;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Byline */
.byline { margin-top: 14px; color: var(--muted); font-size: 1rem; }
.byline strong { color: var(--ink); font-weight: 600; }
.article-hero { border-bottom-color: var(--rule); }
.article-meta { display: none; }

/* Homepage: lead story */
.lead-story {
  display: grid;
  gap: 20px;
  padding: 28px 0 36px;
  border-bottom: 1px solid var(--rule);
}
.lead-story__img { display: block; width: 100%; height: auto; border-radius: 4px; }
.lead-story__title { margin-top: 6px; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); font-weight: 700; line-height: 1.12; }
.lead-story__title a, .story__title a { color: var(--ink); text-decoration: none; }
.lead-story__title a:hover, .story__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.lead-story__excerpt { margin-top: 14px; color: #3A4047; font-size: 1.1875rem; line-height: 1.55; }
@media (min-width: 900px) {
  .lead-story { grid-template-columns: 1.25fr 1fr; align-items: center; gap: 40px; padding: 40px 0 48px; }
}

/* Homepage: sections and story grids */
.home-section { padding: 36px 0 8px; }
.home-section__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding-bottom: 10px; margin-bottom: 22px; border-bottom: 2px solid var(--ink);
}
.home-section__title { font-size: 1.625rem; font-weight: 700; }
.home-section__all { color: var(--muted); font-size: 1rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.home-section__all:hover { color: var(--color-accent); text-decoration: underline; }
.story-grid { display: grid; gap: 28px 32px; }
@media (min-width: 640px) { .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .story-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.story__media { display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 1200 / 630; background: #EEE; }
.story__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s var(--ease); }
.story:hover .story__img { transform: scale(1.03); }
.story__kicker { margin-top: 12px; }
.story__title { margin-top: 4px; font-size: 1.3125rem; font-weight: 600; line-height: 1.3; }
.story__meta { margin-top: 6px; color: var(--muted); font-size: 0.9375rem; }
.home-about { margin: 48px 0 56px; padding-top: 22px; border-top: 1px solid var(--rule); color: #3A4047; font-size: 1.0625rem; line-height: 1.6; max-width: 760px; }
.home-about a { color: var(--color-accent); }

/* Articles: quieter boxes */
.toc__box { border: 0; border-left: 2px solid var(--rule); border-radius: 0; background: none; box-shadow: none; }
.verdict { border: 1px solid var(--rule); border-top: 3px solid var(--ink); box-shadow: none; background: #FAFAFA; }
.callout { box-shadow: none; }
.photo__frame { box-shadow: none; border-radius: 4px; }
.article-hero .featured--hero { border-radius: 4px; }

/* Offer buttons: outlined, not solid red */
.offer-cta .button--primary,
.offer-cta .button--primary:visited {
  background: #FFFFFF;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  box-shadow: none;
}
.offer-cta .button--primary:hover { background: var(--color-accent); color: #FFFFFF; }
.offer-cta .button--large { font-size: 1.0625rem; padding: 12px 22px; }
.offer-cta__note { color: var(--muted); }

/* Author box at the end of each article */
.author-box { margin-top: 44px; padding: 20px 0 0; border-top: 1px solid var(--rule); color: #3A4047; font-size: 1rem; }
.prose .author-box__name { margin: 0 0 6px; font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.author-box a { color: var(--color-accent); }

/* Related and category lists: no cards */
.article-list__item { border: 0; box-shadow: none; background: none; }
.related { border-top: 1px solid var(--rule); }
.prose .author-box { border: 0; border-top: 1px solid var(--rule); border-radius: 0; padding: 20px 0 0; background: none; box-shadow: none; }

/* Header (preview): the current layout, lighter */
.site-header { border-top: 0; }
.masthead { background: #fff; border-bottom: 1px solid var(--rule); }
.search__input { height: 46px !important; border-color: var(--rule); background: #FAFAFA; font-size: 1.0625rem !important; }
.search__input:focus { background: #fff; }
.search__submit {
  height: 46px !important; padding: 0 20px !important;
  background: #F1F2F3; color: var(--ink); border: 1px solid var(--rule); font-size: 1.0625rem !important;
}
.search__submit:hover { background: #E6E8EA; }
.navbar { border-bottom: 1px solid var(--rule); box-shadow: none; }
