/* ── BLOG ARTICLE & INDEX STYLES ─────────────────────────────
   Extends styles.css tokens (--navy, --copper, etc.) */

.blog-article { background: var(--light-bg); padding: 40px 0 80px; }
.blog-article-inner { max-width: 780px; margin: 0 auto; padding: 0 24px; }

.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--blue-accent); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin: 0 6px; color: var(--border-mid); }

.article-eyebrow {
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8a5527; /* darkened from --copper for WCAG AA contrast on light background (5.79:1 vs required 4.5:1) */
  margin-bottom: 10px;
}
.article-h1 {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--navy);
  margin: 0 0 14px;
}
.article-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-weight: 600;
}

.article-hero { margin: 0 0 32px; border-radius: 14px; overflow: hidden; box-shadow: 0 12px 32px rgba(10,22,34,0.12); }
.article-hero img { width: 100%; height: auto; display: block; }
.article-hero figcaption {
  background: var(--navy);
  color: var(--text-blue);
  font-size: 13px;
  padding: 10px 16px;
  font-style: italic;
}

.article-body { font-size: 17px; line-height: 1.75; color: var(--text-mid); }
.article-body h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--navy);
  margin: 42px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.article-body h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin: 28px 0 10px;
}
.article-body p { margin: 0 0 18px; }
.article-body strong { color: var(--navy); font-weight: 700; }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; }
.article-body li { margin-bottom: 8px; }
.article-body .article-note {
  color: var(--text-muted);
  font-size: 15px;
  background: var(--white);
  border-left: 3px solid var(--copper);
  padding: 12px 18px;
  border-radius: 4px;
  margin: 0 0 20px;
}

.article-img { margin: 28px 0; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(10,22,34,0.10); }
.article-img img { width: 100%; height: auto; display: block; }
.article-img figcaption {
  background: var(--white);
  color: var(--text-muted);
  font-size: 13px;
  padding: 10px 16px;
  font-style: italic;
  border-top: 1px solid var(--border);
}

.table-wrap { overflow-x: auto; margin: 24px 0; border-radius: 10px; border: 1px solid var(--border); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--white); }
.table-wrap th { background: var(--navy); color: #fff; font-family: 'Archivo', sans-serif; font-weight: 700; text-align: left; padding: 12px 14px; }
.table-wrap td { padding: 12px 14px; border-top: 1px solid var(--border); vertical-align: top; }
.table-wrap tr:nth-child(even) td { background: var(--light-bg); }

.article-cta {
  margin-top: 52px;
  background: var(--navy);
  border-radius: 16px;
  padding: 36px 32px;
  text-align: center;
}
.article-cta-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  margin-bottom: 10px;
}
.article-cta-text { color: var(--text-blue); font-size: 15px; margin-bottom: 22px; }
.article-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn-ghost-hero-dark {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.22);
  color: #fff; font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 15px;
  padding: 14px 22px; border-radius: 11px; transition: background 0.2s;
}
.btn-ghost-hero-dark:hover { background: rgba(255,255,255,0.18); }

.article-related { margin-top: 48px; }
.section-h2-small {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8a5527; /* darkened from --copper for WCAG AA contrast on light background (5.79:1 vs required 4.5:1) */
  margin-bottom: 16px;
}
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.related-card {
  background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--copper);
  border-radius: 8px; padding: 16px; font-size: 14.5px; font-weight: 600; color: var(--navy);
  line-height: 1.4; transition: box-shadow 0.2s, transform 0.2s;
}
.related-card:hover { box-shadow: 0 8px 20px rgba(10,22,34,0.10); transform: translateY(-2px); }

/* ── BLOG INDEX ───────────────────────────────────────────── */
.blog-index-hero { background: var(--navy-deep); padding: 70px 24px 60px; text-align: center; }
.blog-index-hero-inner { max-width: 720px; margin: 0 auto; }
.blog-index-hero .article-h1 { color: #fff; }
.blog-index-sub { color: var(--text-blue); font-size: 17px; margin-top: 14px; }

.blog-index-inner { max-width: 1240px; margin: 0 auto; padding: 56px 24px 80px; }
.blog-index-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.blog-index-card {
  background: var(--white); border-radius: 14px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(10,22,34,0.08); transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.blog-index-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(10,22,34,0.14); }
.blog-index-img { height: 190px; background-size: cover; background-position: center; background-color: var(--navy-mid); }
.blog-index-card-body { padding: 20px 22px 24px; }
.blog-index-date { font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: #8a5527; margin-bottom: 8px; }
.blog-index-title { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 18px; color: var(--navy); line-height: 1.35; }

@media (max-width: 640px) {
  .article-cta { padding: 28px 20px; }
  .article-cta-btns { flex-direction: column; }
}
