/* GovInbox blog: beautiful reading template.
   Overrides the base site stylesheet for article pages only.
   Editorial serif headlines + clean sans body, generous negative space,
   mobile-first fluid type. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Inter:wght@400;500;600&display=swap');

.blog-post {
  --ink: #232147;
  --ink-soft: #4a4870;
  --ink-faint: #7a7899;
  --navy: #1A1647;
  --gold: #B98A1F;
  --gold-soft: #F7F0DC;
  --paper: #FFFFFF;
  --rule: #E8E6F0;
}

/* ---- reading column: the 700px rule ---- */
.blog-post .wrap-narrow {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---- macro whitespace: sections are islands ---- */
.blog-post main.page {
  padding-top: 48px;
  padding-bottom: 96px;
}

.blog-post .prose > * + * {
  margin-top: 0;
}

.blog-post .prose p,
.blog-post .prose ul,
.blog-post .prose figure {
  margin-bottom: 1.75rem;
}

.blog-post .prose h2 {
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
}

/* ---- kicker: matches the top nav tab exactly ---- */
.blog-post .blog-kicker {
  font-family: "Public Sans", system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  margin-bottom: 2rem;
}

.blog-post .blog-kicker a {
  color: #253049;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.blog-post .blog-kicker a:hover {
  color: #1A1647;
  border-bottom-color: #1A1647;
}

/* two-tone brand lockup, matching the logo */
.blog-post .blog-kicker .kicker-gov {
  color: #1A1647;
}

.blog-post .blog-kicker .kicker-inbox {
  color: #A47600;
}

/* ---- headline: editorial serif, tight leading ---- */
.blog-post .prose h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.1rem, 1.4rem + 3.4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin-bottom: 1.75rem;
  text-wrap: balance;
}

.blog-post .prose h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 1.25rem + 1.4vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
  text-wrap: balance;
}

/* ---- body: the workhorse ---- */
.blog-post .prose p,
.blog-post .prose li {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
}

/* lede: first paragraph after the headline, larger */
.blog-post .prose h1 + p {
  font-size: 1.35rem;
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 500;
}

.blog-post .prose ul {
  padding-left: 1.4rem;
}

.blog-post .prose li {
  margin-bottom: 0.65rem;
}

.blog-post .prose li::marker {
  color: var(--gold);
}

/* ---- links: quiet, gold on hover ---- */
.blog-post .prose a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.blog-post .prose a:hover {
  color: var(--gold);
}

/* ---- hero: full column width, soft corners, breathing room ---- */
.blog-post .blog-hero {
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 0.5rem 0 2.5rem;
  display: block;
}

/* ---- figures ---- */
.blog-post .blog-figure {
  margin: 2.75rem 0;
}

.blog-post .blog-figure img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

.blog-post .blog-figure figcaption {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-faint);
  text-align: center;
  margin-top: 0.9rem;
  padding: 0 1rem;
}

/* ---- Q&A examples: calm cards, gold edge ---- */
.blog-post .qa-example {
  background: var(--gold-soft);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 1.4rem 1.6rem;
  margin: 2rem 0 2rem;
}

.blog-post .qa-example p {
  margin-bottom: 0.9rem;
  font-size: 1.05rem;
}

.blog-post .qa-example p:last-child {
  margin-bottom: 0;
}

.blog-post .qa-q strong {
  color: var(--navy);
}

.blog-post .qa-a strong {
  color: var(--gold);
}

/* ---- disclaimer: small, quiet, out of the way ---- */
.blog-post .blog-disclaimer {
  font-size: 0.85rem !important;
  line-height: 1.6 !important;
  color: var(--ink-faint) !important;
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
  margin-top: 3rem;
}

/* ---- phones: spacing adapts, type stays readable ---- */
@media (max-width: 640px) {
  .blog-post main.page {
    padding-top: 32px;
    padding-bottom: 64px;
  }

  .blog-post .prose p,
  .blog-post .prose li {
    font-size: 1.05rem;
    line-height: 1.65;
  }

  .blog-post .prose h1 + p {
    font-size: 1.2rem;
  }

  .blog-post .prose h2 {
    margin-top: 2.75rem;
  }

  .blog-post .qa-example {
    padding: 1.1rem 1.2rem;
    margin-left: -8px;
    margin-right: -8px;
  }

  .blog-post .blog-hero {
    border-radius: 10px;
  }
}

.blog-post .blog-dates {
  color: #5a6b8c;
  font-size: 0.95rem;
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
}
