/* TrendingFindsWeekly — Editorial Stylesheet */
:root {
  --bg: #ffffff;
  --bg-alt: #f7f6f3;
  --text: #1a1a1a;
  --text-soft: #555;
  --text-muted: #888;
  --rule: #e6e3dc;
  --accent: #c84b1a;
  --accent-dark: #9c3811;
  --serif: "Charter", "Iowan Old Style", "Source Serif Pro", "Apple Garamond", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 720px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Site nav */
.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.nav-logo small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
}
.nav-links a:hover { color: var(--accent); }
@media (max-width: 640px) {
  .nav-links { display: none; }
}

/* Article container */
main { padding: 0 24px; }
article {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 0 48px;
}

/* Article header */
.article-meta {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}
.article-meta .dot { color: var(--text-muted); margin: 0 8px; }
.article-meta .neutral { color: var(--text-muted); }

h1.article-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(28px, 5.4vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 22px;
}
.article-byline {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0 0 28px;
}
.article-byline strong { color: var(--text); font-weight: 600; }

.article-lead {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 32px;
  font-weight: 400;
}

/* Featured image */
figure.lead-figure {
  margin: 0 0 36px;
}
figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
figure figcaption {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
  font-style: italic;
  line-height: 1.5;
}

/* Body */
.article-body p {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.7;
}
.article-body h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 3.4vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  margin: 40px 0 18px;
  letter-spacing: -0.01em;
}
.article-body h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 14px;
}
.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body a:hover { color: var(--accent-dark); }
.article-body strong { font-weight: 600; }
.article-body em { font-style: italic; }
.article-body ul, .article-body ol {
  margin: 0 0 22px;
  padding-left: 22px;
}
.article-body li {
  margin: 0 0 10px;
  line-height: 1.65;
}

/* Pull quotes */
blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--accent);
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  line-height: 1.55;
  color: var(--text);
}
blockquote cite {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-style: normal;
  color: var(--text-muted);
}

/* CTA box */
.cta-block {
  margin: 36px 0;
  padding: 28px 24px;
  background: var(--bg-alt);
  border-radius: 8px;
  text-align: center;
}
.cta-block .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}
.cta-block h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 0 0 8px;
  font-weight: 700;
}
.cta-block p {
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 15px;
}
a.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  transition: background 0.15s;
  font-size: 16px;
}
a.cta:hover { background: var(--accent-dark); }

/* Stats inline */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stat-grid .stat { text-align: center; }
.stat-grid .num {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 28px;
  color: var(--accent);
  line-height: 1.1;
}
.stat-grid .lbl {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}
@media (max-width: 540px) {
  .stat-grid .num { font-size: 22px; }
  .stat-grid .lbl { font-size: 10px; }
}

/* Disclosure */
.disclosure {
  margin: 32px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.55;
}

/* ===== Home / index page ===== */
.hero-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 36px 24px 12px;
}
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}
.hero-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 0 0 32px;
  border-bottom: 1px solid var(--rule);
}
.hero-card .text h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.18;
  margin: 0 0 16px;
  letter-spacing: -0.012em;
}
.hero-card .text h2 a { color: var(--text); text-decoration: none; }
.hero-card .text h2 a:hover { color: var(--accent); }
.hero-card .text p.dek {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0 0 14px;
}
.hero-card .text .meta-line {
  font-size: 13px;
  color: var(--text-muted);
}
.hero-card .img a { display: block; }
.hero-card .img img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}
@media (max-width: 760px) {
  .hero-card { grid-template-columns: 1fr; gap: 18px; }
  .hero-card .img { order: -1; }
}

.feed-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px 12px;
}
.feed-section h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  letter-spacing: -0.01em;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .card-grid { grid-template-columns: 1fr; }
}
.card { display: block; }
.card a.card-link { text-decoration: none; color: inherit; display: block; }
.card .thumb {
  background: var(--bg-alt);
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card .thumb.placeholder {
  color: var(--text-muted);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card .kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}
.card h4 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.card a.card-link:hover h4 { color: var(--accent); }
.card .dek {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.55;
  margin: 0 0 8px;
}
.card .byline {
  font-size: 12px;
  color: var(--text-muted);
}

/* Static legal / about page body */
.page-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px 48px;
}
.page-body h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4.4vw, 40px);
  margin: 0 0 14px;
  letter-spacing: -0.012em;
}
.page-body p.intro {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--text-soft);
  line-height: 1.55;
  margin: 0 0 28px;
}
.page-body h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 12px;
}
.page-body p { line-height: 1.7; margin: 0 0 18px; }
.page-body ul { padding-left: 22px; margin: 0 0 18px; }

/* Site footer */
.site-footer {
  margin-top: 64px;
  padding: 32px 24px 40px;
  border-top: 1px solid var(--rule);
  background: var(--bg-alt);
  font-size: 13px;
  color: var(--text-muted);
}
.footer-wrap {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
  margin-right: 16px;
}
.site-footer a:hover { color: var(--accent); }
