/* blog.css — long-form article styles.
   Loaded AFTER website-template.css, which has no prose styles at all (no
   article, table, blockquote, or in-content heading rules). Reuses that file's
   existing :root tokens rather than redefining them, so the blog can never
   drift from the rest of the site. */

.article-wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 9rem 1.5rem 6rem;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.breadcrumb a:hover { color: #E25A3C; }

/* Header */
.article-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #E25A3C;
  margin-bottom: 1.25rem;
}
.article-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 1.5rem;
  color: var(--text-primary);
}
.article-standfirst {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 2rem;
}
.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 3rem;
}

/* Body copy — the measure and rhythm matter more than anything else here. */
.article-body { font-size: 1.12rem; line-height: 1.75; color: var(--text-primary); }
.article-body p { margin: 0 0 1.6rem; }
.article-body h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 3.5rem 0 1.4rem;
  color: var(--text-primary);
}
.article-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem;
  color: var(--text-primary);
}
.article-body strong { color: #fff; font-weight: 600; }
.article-body a {
  color: #E25A3C;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.article-body a:hover { color: #F0A500; }

/* Pull quote — one per article, used for the line that should stick. */
.pull {
  margin: 3rem 0;
  padding: 0 0 0 1.75rem;
  border-left: 3px solid #E25A3C;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  line-height: 1.35;
  color: var(--text-primary);
}

/* FAQ — real <details> so it works with no JS and stays accessible. */
.faq { margin: 4rem 0 0; }
.faq h2 { margin-bottom: 1.5rem; }
.faq details {
  border-top: 1px solid var(--card-border);
  padding: 1.35rem 0;
}
.faq details[open] summary { color: #E25A3C; }
.faq summary {
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  color: var(--text-primary);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: #E25A3C; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 1rem 0 0; color: var(--text-secondary); line-height: 1.7; }

/* Blog index — post cards. Editorial list, not a grid of boxes: with a small
   number of posts a grid looks empty, a list looks deliberate. */
.post-list { margin: 3.5rem 0 0; }
.post-card {
  padding: 2.25rem 0;
  border-top: 1px solid var(--card-border);
}
.post-card:last-child { border-bottom: 1px solid var(--card-border); }
.post-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  margin-bottom: 0.9rem;
}
.post-card-cat { color: #E25A3C; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; }
.post-card h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.28;
  margin: 0 0 0.85rem;
}
.post-card h2 a { color: var(--text-primary); text-decoration: none; }
.post-card h2 a:hover { color: #E25A3C; }
.post-card p { color: var(--text-secondary); line-height: 1.7; margin: 0 0 1rem; font-size: 1.02rem; }
.post-card-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: #E25A3C;
  text-decoration: none;
}
.post-card-link:hover { color: #F0A500; }

/* Closing CTA */
.article-cta {
  margin: 4.5rem 0 0;
  padding: 2.5rem;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  background: var(--card-bg);
}
.article-cta h2 { margin: 0 0 1rem; font-size: 1.5rem; }
.article-cta p { color: var(--text-secondary); line-height: 1.7; margin: 0 0 1.75rem; }
.article-cta .btn { display: inline-block; }
/* Links inside the CTA aren't covered by .article-body a, so without this they
   render in default browser blue against a dark card. */
.article-cta a:not(.btn) {
  color: #E25A3C;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-cta a:not(.btn):hover { color: #F0A500; }

@media (max-width: 640px) {
  .article-wrap { padding: 7rem 1.25rem 4rem; }
  .article-body { font-size: 1.06rem; }
  .article-cta { padding: 1.75rem; }
}
