/* ── Shared editorial article template (blog-*.html) ── */
/* Replaces the old embedded <style> block previously duplicated in each article file. */

.article-hero { display: block; }
.article-hero img, .article-hero picture img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  display: block;
}

.breadcrumb-bar { background: #fff; border-bottom: 1px solid var(--gray-200); padding: 14px 40px; }
.breadcrumb-inner { max-width: var(--max-w); margin: 0 auto; display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--gray-500); }
.breadcrumb-inner a { color: var(--gray-500); text-decoration: none; }
.breadcrumb-inner a:hover { color: var(--black); }

/* ── Header block: tag, title, excerpt, byline — sits on white, below the hero image ── */
.article-header { max-width: 740px; margin: 0 auto; padding: 48px 40px 0; }
.article-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.article-tag.tag-funding  { color: #0a6b3a; }
.article-tag.tag-tech     { color: #1a4db8; }
.article-tag.tag-market   { color: #7c3aed; }
.article-tag.tag-product  { color: #1a5a4a; }
.article-tag.tag-press    { color: #92400e; }
.article-tag.tag-glossary { color: #475569; }
.article-header h1 {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 800;
  color: var(--black);
  line-height: 1.12;
  margin: 14px 0 16px;
}
.article-excerpt { font-size: 18px; color: var(--gray-600); line-height: 1.6; margin: 0 0 24px; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--gray-500);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 0;
}

/* ── Body ── */
.article-body { max-width: 740px; margin: 0 auto; padding: 40px 40px 80px; font-size: 17px; line-height: 1.75; color: #1a1a1a; }
.article-body h2 { font-size: clamp(20px, 2.5vw, 26px); font-weight: 800; color: var(--black); margin: 52px 0 18px; line-height: 1.2; }
.article-body h3 { font-size: 18px; font-weight: 700; color: var(--black); margin: 36px 0 12px; }
.article-body p { margin: 0 0 20px; }
.article-body ul, .article-body ol { margin: 0 0 20px 20px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--black); }
.article-body a { color: #1a4a7a; font-weight: 600; }

/* ── Bordered box: used for both key-facts and callouts. No fill, no shadow. ── */
.key-facts, .article-callout {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 28px 32px;
  margin: 36px 0;
}
.key-facts-title { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 20px; }
.key-facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; }
.key-fact-num { font-size: 22px; font-weight: 800; color: var(--black); line-height: 1.15; }
.key-fact-label { font-size: 13px; color: var(--gray-500); margin-top: 6px; }
.article-callout p { margin: 0; color: #1a1a1a; font-size: 16px; }
.article-callout strong { color: var(--black); }

.article-img-wrap { margin: 40px 0; }
.article-img-wrap img { width: 100%; display: block; border-radius: 6px; }
.article-img-caption { font-size: 13px; color: var(--gray-500); text-align: center; margin-top: 10px; font-style: italic; }

/* ── Table: print-style, no fill header ── */
.arch-table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 28px 0; }
.arch-table th {
  background: none;
  color: var(--black);
  padding: 10px 16px 10px 0;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--black);
}
.arch-table td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--gray-200); vertical-align: top; }
.arch-table tr:last-child td { border-bottom: none; }

/* ── Product badges: plain text, separated by a middle dot, no pill shape ── */
.product-badge {
  display: inline;
  background: none;
  border: none;
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 600;
  padding: 0;
  margin: 0;
}
.product-badge:not(:last-of-type)::after { content: " \00b7 "; color: var(--gray-400); }

/* ── CTA: bordered box, no gradient fill ── */
.article-cta { background: #fff; border: 1px solid var(--gray-200); border-radius: 12px; padding: 44px 40px; text-align: center; margin: 56px 0 0; color: #1a1a1a; }
.article-cta h2 { font-size: clamp(22px, 2.5vw, 28px); font-weight: 800; margin: 0 0 14px; color: var(--black); }
.article-cta p { color: var(--gray-600); margin: 0 0 26px; }
.article-cta a {
  display: inline-block;
  background: none;
  border: 2px solid var(--black);
  color: var(--black);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.article-cta a:hover { background: var(--black); color: #fff; }

@media (max-width: 700px) {
  .article-hero img { max-height: 320px; }
  .article-header { padding: 32px 20px 0; }
  .article-body { padding: 32px 20px 60px; }
  .breadcrumb-bar { padding: 12px 20px; }
  .article-img-wrap { margin: 32px 0; }
  .key-facts-grid { grid-template-columns: repeat(2, 1fr); }
  .article-cta { padding: 32px 24px; }
  .math-block { font-size: 13px; }
}

/* ── Per-article extras: not part of the shared template, ported verbatim from
   the removed embedded <style> block so these pages don't lose layout. ── */

/* math-block, related-card (blog-hv-direct-hgv-depot) */
.arch-table .highlight { color: #1a4a7a; font-weight: 700; }
.math-block { background: #f5f5f7; border: 1px solid rgba(26,77,184,.18); border-radius: 8px; padding: 20px 24px; margin: 28px 0; font-family: monospace; font-size: 15px; line-height: 1.9; color: #1a1a1a; }
.math-block .math-label { font-family: 'Hanken Grotesk', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #1a4db8; margin-bottom: 10px; display: block; }
.math-result { color: #c00; font-weight: 700; }
.math-good { color: #007a40; font-weight: 700; }
.related-section { padding: 56px 0; border-top: 1px solid var(--gray-200); margin-top: 24px; }
.related-section h3 { font-size: 20px; font-weight: 800; color: var(--gray-900); margin: 0 0 28px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.related-card { border: 1px solid var(--gray-200); border-radius: 12px; padding: 20px; text-decoration: none; display: block; transition: border-color .18s, box-shadow .18s; background: var(--white); }
.related-card:hover { border-color: #93c5fd; box-shadow: 0 2px 12px rgba(37,99,235,.08); }
.related-card-tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 8px; }
.related-card-title { font-size: 14px; font-weight: 700; color: var(--gray-900); line-height: 1.45; }
