/* ============================================================
   Blog / Guides — extends style-b.css. Load style-b.css first;
   this file only adds long-form article and index-listing styles.
   ============================================================ */

.breadcrumb {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 61, 47, 0.35);
  margin-bottom: 40px;
}
.breadcrumb:hover { border-color: var(--accent); }

/* ---------- Article header ---------- */
.article-header {
  max-width: 720px;
  padding: 56px 0 48px;
}
.article-header .kicker { margin-bottom: 20px; }
.article-header h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.7rem);
  line-height: 1.25;
}
.article-dek {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-top: 20px;
  max-width: 56ch;
  line-height: 1.6;
}
.article-meta {
  font-size: 0.84rem;
  color: var(--ink-faint);
  margin-top: 24px;
  letter-spacing: 0.02em;
}

/* ---------- Article hero photo ---------- */
.article-hero-photo {
  margin: 0 0 64px;
}
.article-hero-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.article-hero-photo figcaption {
  padding-top: 12px;
}
.photo-caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-faint);
}
.photo-credit {
  font-size: 0.76rem;
  color: var(--ink-faint);
  opacity: 0.75;
  margin-top: 3px;
}
.photo-credit a { color: inherit; border-bottom: 1px solid rgba(27,26,23,0.25); text-decoration: none; }

/* ---------- Article body ---------- */
.article-body {
  max-width: 680px;
  padding-bottom: 90px;
}
.article-body h2 {
  font-size: 1.4rem;
  margin-top: 52px;
  margin-bottom: 20px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.article-body ul {
  margin: 0 0 22px;
  padding-left: 22px;
}
.article-body li {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body a { color: var(--accent); border-bottom: 1px solid rgba(31, 61, 47, 0.35); text-decoration: none; }
.article-body a:hover { border-color: var(--accent); }

/* ---------- Callout ---------- */
.callout {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 24px;
  margin: 36px 0;
}
.callout p {
  font-size: 0.98rem;
  color: var(--ink);
  margin-bottom: 0;
}
.callout p strong { color: var(--accent); }

/* ---------- Related guides ---------- */
.related {
  border-top: 1px solid var(--line);
  padding: 56px 0 90px;
  max-width: 900px;
}
.related h2 {
  font-size: 1.2rem;
  margin-bottom: 28px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.related-card {
  text-decoration: none;
  color: inherit;
  display: block;
}
.related-card .kicker { margin-bottom: 10px; font-size: 0.74rem; }
.related-card h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.3;
}
.related-card p {
  font-size: 0.92rem;
  color: var(--ink-faint);
  margin: 0;
  line-height: 1.5;
}

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

/* ---------- Blog index listing ---------- */
.blog-hero {
  max-width: 720px;
  padding: 56px 0 64px;
}
.blog-hero h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); line-height: 1.2; }
.blog-hero p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-top: 20px;
  max-width: 56ch;
}

.post-list { padding-bottom: 100px; }
.post-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.post-list .post-row:last-child { border-bottom: 1px solid var(--line); }
.post-row-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.post-row .kicker { margin-bottom: 0; }
.post-row h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.3;
}
.post-row p {
  font-size: 0.98rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
}
.post-row:hover h2 { color: var(--accent); }

@media (max-width: 640px) {
  .post-row { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- Related card thumbnails ---------- */
.related-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 14px;
}
