/* Blog landing page. Scoped to avoid changing the invoice generator. */
.blog-home { width: min(1180px, calc(100% - 64px)); margin: 0 auto; padding: 24px 0 64px; color: #162c46; }
.blog-home a:focus-visible, .blog-home summary:focus-visible { outline: 3px solid #2563eb; outline-offset: 5px; border-radius: 3px; }
.blog-home section[id] { scroll-margin-top: 95px; }
.blog-breadcrumb { display: flex; gap: 12px; align-items: center; font-size: 13px; margin-bottom: 24px; color: #526379; }
.blog-breadcrumb a { color: #435971; }
.blog-hero { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; padding: 52px; background: #132e50; border-radius: 20px; color: #fff; }
.blog-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .13em; line-height: 1.6; color: #365da0; margin-bottom: 12px; }
.blog-hero .blog-eyebrow { color: #b9d4ff; }
.blog-hero h1 { font-size: clamp(34px, 3.6vw, 48px); line-height: 1.12; letter-spacing: -.045em; font-weight: 800; margin-bottom: 20px; }
.blog-hero h1 span { color: #afd0ff; }
.blog-hero-copy > p:not(.blog-eyebrow) { color: #d9e4f3; line-height: 1.8; max-width: 51ch; font-size: 15px; }
.blog-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin: 28px 0 20px; }
.blog-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 13px 19px; font-size: 13px; font-weight: 750; border-radius: 7px; }
.blog-button-light { background: #fff; color: #17375f; }
.blog-button-light:hover { background: #edf4ff; color: #17375f; text-decoration: none; }
.blog-hero-link { font-size: 13px; color: #fff; font-weight: 650; }
.blog-hero-link:hover { color: #c7ddff; }
.blog-hero-note { color: #bdd0e9; display: flex; flex-wrap: wrap; gap: 9px; font-size: 11px; }
.blog-hero-note-card { align-self: center; border: 1px solid #49617f; padding: 28px; border-radius: 12px; background: #213e61; }
.blog-note-label { color: #c0d6f3; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.blog-hero-note-card h2 { font-size: 24px; letter-spacing: -.025em; line-height: 1.3; margin: 12px 0 22px; }
.blog-workflow { list-style: none; display: grid; gap: 17px; }
.blog-workflow li { display: flex; gap: 14px; }
.blog-workflow li > span { font-size: 11px; color: #bdd7ff; border: 1px solid #5a7395; border-radius: 50%; width: 29px; height: 29px; flex: 0 0 29px; display: grid; place-items: center; }
.blog-workflow strong { display: block; font-size: 13px; margin-bottom: 3px; }
.blog-workflow p { font-size: 12px; line-height: 1.6; color: #d1dded; }
.blog-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 23px 0; border-bottom: 1px solid #d7dfe9; }
.blog-topics > span { font-size: 12px; color: #526379; margin-right: auto; }
.blog-topics a { padding: 7px 13px; font-size: 12px; font-weight: 650; color: #304866; border: 1px solid #d5dfec; background: #fff; border-radius: 30px; }
.blog-topics a:hover { border-color: #6786b4; text-decoration: none; background: #e8f0fc; }
.blog-section { margin-top: 52px; }
.blog-section-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.blog-home h2 { font-size: 29px; font-weight: 750; letter-spacing: -.035em; line-height: 1.2; }
.blog-section-note { font-size: 13px; color: #526379; }
.blog-feature { display: grid; grid-template-columns: .9fr 1.15fr; border: 1px solid #d9e1eb; border-radius: 14px; overflow: hidden; background: #fff; }
.blog-feature-art { background: #e3ebf8; padding: 35px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 20px; }
.blog-paper { width: min(285px, 100%); border-radius: 6px; background: #fff; padding: 25px; box-shadow: 0 12px 25px #203b6112; transform: rotate(-3deg); }
.blog-paper-label { font-size: 9px; letter-spacing: .12em; color: #526379; font-weight: 700; }
.blog-paper-title { font-size: 24px; letter-spacing: -.035em; font-weight: 750; margin: 12px 0 20px; }
.blog-paper-line { background: #e4eaf2; height: 5px; border-radius: 6px; margin-top: 9px; width: 90%; }
.blog-paper-line-short { width: 65%; }
.blog-paper-total { border-top: 1px solid #e0e6ee; margin-top: 24px; padding-top: 15px; display: flex; justify-content: space-between; font-size: 11px; }
.blog-paper-total strong { color: #285da3; }
.blog-art-caption { font-size: 11px; color: #475f7e; }
.blog-feature-copy { padding: 38px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.blog-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 11px; color: #526379; margin-bottom: 17px; }
.blog-tag { font-size: 10px; letter-spacing: .04em; font-weight: 750; text-transform: uppercase; color: #2a5294; background: #eaf1fc; border-radius: 4px; padding: 5px 9px; }
.blog-feature h3 { font-size: 27px; line-height: 1.3; letter-spacing: -.03em; margin-bottom: 15px; }
.blog-home h3 a { color: inherit; }
.blog-feature-copy > p { font-size: 14px; line-height: 1.8; color: #526379; margin-bottom: 22px; }
.blog-text-link { display: inline-flex; gap: 12px; align-items: center; color: #214f98; font-weight: 750; font-size: 12px; line-height: 1.6; }
.blog-article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.blog-feature + .blog-article-grid { margin-top: 20px; }
.blog-resource-card { border: 1px solid #d9e1eb; background: #fff; padding: 28px; border-radius: 12px; display: flex; flex-direction: column; align-items: flex-start; }
.blog-card-number { font-size: 10px; font-weight: 750; letter-spacing: .1em; color: #365da0; margin-bottom: 20px; }
.blog-resource-card h3 { font-size: 19px; line-height: 1.4; letter-spacing: -.02em; margin-bottom: 14px; }
.blog-resource-card p { color: #526379; font-size: 13px; line-height: 1.85; margin-bottom: 14px; }
.blog-resource-card code { font-size: 12px; overflow-wrap: anywhere; }
.blog-resource-card .blog-text-link { margin-top: auto; padding-top: 10px; }
.blog-practice { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #d9e1eb; border-radius: 14px; overflow: hidden; }
.blog-example { padding: 36px; background: #e8eff9; }
.blog-example > p:not(.blog-eyebrow) { font-size: 13px; line-height: 1.85; color: #475f7c; margin: 18px 0; }
.blog-example pre { padding: 22px; border-radius: 8px; background: #142f50; color: #edf4ff; font-size: 12px; line-height: 1.95; white-space: pre-wrap; overflow-wrap: anywhere; }
.blog-example .blog-example-note { font-size: 12px; }
.blog-checklist { padding: 36px; background: #fff; }
.blog-checklist h2 { font-size: 25px; }
.blog-checklist ul { margin-top: 25px; list-style: none; display: grid; gap: 19px; }
.blog-checklist li { display: flex; align-items: flex-start; gap: 13px; }
.blog-checklist li > span { display: grid; place-items: center; border-radius: 50%; background: #e9f5f0; color: #227151; width: 23px; height: 23px; flex: 0 0 23px; font-size: 12px; }
.blog-checklist h3 { font-size: 13px; margin-bottom: 4px; }
.blog-checklist p { font-size: 12px; line-height: 1.75; color: #526379; }
.blog-faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; }
.blog-faq-intro { font-size: 13px; line-height: 1.85; color: #526379; margin-top: 18px; max-width: 30ch; }
.blog-faq-intro a, .blog-faq p a { text-decoration: underline; text-underline-offset: 3px; }
.blog-faq { border-top: 1px solid #d7dfe9; }
.blog-faq details { border-bottom: 1px solid #d7dfe9; }
.blog-faq summary { font-size: 14px; font-weight: 650; cursor: pointer; padding: 20px 0; }
.blog-faq summary::marker { color: #365da0; }
.blog-faq details p { padding: 0 0 20px; color: #526379; font-size: 13px; line-height: 1.85; }
.blog-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 36px 40px; background: #132e50; color: #fff; border-radius: 14px; margin-top: 52px; }
.blog-cta .blog-eyebrow { color: #b9d4ff; }
.blog-cta h2 { font-size: 28px; }
.blog-cta p:not(.blog-eyebrow) { color: #d1dded; font-size: 13px; margin-top: 12px; }
.blog-cta .blog-button { flex-shrink: 0; }
.blog-empty { background: #fff; padding: 28px; border: 1px solid #d9e1eb; border-radius: 12px; }
@media (max-width: 1000px) {
  .blog-hero { padding: 36px; gap: 28px; }
  .blog-hero-note-card { padding: 23px; }
  .blog-topics > span { width: 100%; margin-bottom: 3px; }
  .blog-resource-card { padding: 22px; }
  .blog-example, .blog-checklist { padding: 28px; }
  .blog-faq-layout { gap: 36px; }
}
@media (max-width: 760px) {
  .blog-home { width: calc(100% - 32px); padding-top: 20px; padding-bottom: 36px; }
  .blog-hero { grid-template-columns: 1fr; padding: 30px; gap: 30px; }
  .blog-hero h1 { font-size: 40px; }
  .blog-hero-note-card h2 br { display: none; }
  .blog-feature, .blog-practice, .blog-faq-layout { grid-template-columns: 1fr; }
  .blog-feature-art { padding: 30px; }
  .blog-feature-copy { padding: 28px; }
  .blog-feature h3 { font-size: 24px; }
  .blog-article-grid { grid-template-columns: 1fr; }
  .blog-resource-card { padding: 27px; }
  .blog-section { margin-top: 36px; }
  .blog-faq-intro { max-width: none; }
  .blog-faq-layout { gap: 24px; }
  .blog-cta { align-items: flex-start; flex-direction: column; padding: 30px; margin-top: 36px; }
}
@media (max-width: 380px) {
  .blog-hero, .blog-feature-copy, .blog-example, .blog-checklist, .blog-cta { padding: 24px; }
  .blog-hero h1 { font-size: 33px; }
  .blog-topics a { padding: 7px 10px; }
}
