/* Zero Impulse blog */
.blog-body { background: #f3f6fa; }
.blog-wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.blog-wrap.narrow { width: min(760px, calc(100% - 32px)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.blog-hero { padding: clamp(120px, 13vw, 160px) 0 46px; background: #0d1b38; color: #fff; }
.blog-hero .eyebrow { color: #73e0d7; }
.blog-hero h1 { max-width: 820px; margin: 12px 0 14px; font-size: clamp(2.3rem, 4.6vw, 4rem); line-height: 1.05; letter-spacing: -.045em; }
.blog-hero p { max-width: 700px; margin: 0; color: #c8d3e2; font-size: 1.05rem; line-height: 1.65; }
.blog-search { display: flex; gap: 8px; max-width: 520px; margin-top: 26px; }
.blog-search input { flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; border: 1px solid #ffffff38; border-radius: 999px; background: #ffffff12; color: #fff; font: inherit; }
.blog-search input::placeholder { color: #aab8cc; }
.blog-search input:focus { outline: 3px solid #63dbd1; outline-offset: 1px; }
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.blog-cats a { padding: 9px 14px; border: 1px solid #ffffff35; border-radius: 999px; color: #fff; font-size: .8rem; font-weight: 800; text-decoration: none; }
.blog-cats a small { opacity: .7; }
.blog-cats a:hover, .blog-cats a.active { border-color: #63dbd1; background: #63dbd1; color: #09152f; }

.blog-list { padding: 46px 0 70px; }
.blog-note { margin: 0 0 18px; color: #4f5f76; }
.blog-note a { color: #087e78; font-weight: 800; }
.blog-empty { padding: 50px 28px; border: 1px dashed #c9d5e2; border-radius: 18px; background: #fff; text-align: center; }
.blog-empty h2 { margin: 0 0 8px; color: #10203e; }
.blog-empty p { margin: 0 0 18px; color: #5b6a7f; }

.blog-lead { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); overflow: hidden; margin-bottom: 22px; border: 1px solid #dbe4ec; border-radius: 20px; background: #fff; color: #10203e; text-decoration: none; box-shadow: 0 16px 40px #0b153010; }
.blog-lead-img { min-height: 300px; background: #dfe7f0; }
.blog-lead-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-lead-body { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: clamp(24px, 4vw, 44px); }
.blog-lead-body strong { font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.15; letter-spacing: -.03em; }
.blog-lead-body > span { color: #56667d; line-height: 1.6; }
.blog-lead em { margin-top: 4px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.blog-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dbe4ec; border-radius: 16px; background: #fff; color: #10203e; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.blog-card:hover, .blog-lead:hover { transform: translateY(-3px); box-shadow: 0 18px 40px #0b15301a; }
.blog-card-img { display: block; aspect-ratio: 16 / 9; background: #dfe7f0; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-noimg { background: linear-gradient(135deg, #0d1b38, #145e66); }
.blog-card-body { display: flex; flex: 1; flex-direction: column; gap: 9px; padding: 18px 20px 20px; }
.blog-card-body strong { font-size: 1.15rem; line-height: 1.28; }
.blog-card-body > span { color: #5d6b7f; font-size: .9rem; line-height: 1.55; }
.blog-card small, .blog-lead small { color: #087e78; font-size: .72rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.blog-card em, .blog-lead em { margin-top: auto; padding-top: 6px; color: #27458b; font-style: normal; font-size: .84rem; font-weight: 900; }
.blog-pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 30px; color: #4f5f76; font-weight: 700; }
.blog-pager a { padding: 10px 16px; border: 1px solid #c9d5e2; border-radius: 999px; background: #fff; color: #10203e; text-decoration: none; }

/* Article */
.blog-article { background: #fff; padding-bottom: 50px; }
.blog-article-head { padding: clamp(118px, 12vw, 150px) 0 30px; background: #0d1b38; color: #fff; }
.blog-crumbs { color: #9fb0cc; font-size: .82rem; font-weight: 700; }
.blog-crumbs a { color: #73e0d7; text-decoration: none; }
.blog-article-head h1 { margin: 14px 0 14px; font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.1; letter-spacing: -.04em; }
.blog-standfirst { margin: 0 0 18px; color: #c8d3e2; font-size: 1.15rem; line-height: 1.6; }
.blog-byline { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; color: #aab8cc; font-size: .88rem; }
.blog-byline strong { color: #fff; }
.blog-hero-img { width: min(1080px, calc(100% - 32px)); margin: -1px auto 0; padding-top: 30px; }
.blog-hero-img img { display: block; width: 100%; max-height: 560px; object-fit: cover; border-radius: 18px; }

.blog-content { padding-top: 34px; color: #23324a; font-size: 1.1rem; line-height: 1.8; overflow-wrap: anywhere; }
.blog-content > * { margin-top: 0; margin-bottom: 1.1em; }
.blog-content li > p { margin: 0; }
.blog-content h2 { margin: 1.8em 0 .5em; color: #10203e; font-size: 1.75rem; line-height: 1.2; letter-spacing: -.025em; }
.blog-content h3 { margin: 1.5em 0 .4em; color: #10203e; font-size: 1.35rem; line-height: 1.3; }
.blog-content h4 { margin: 1.3em 0 .3em; color: #10203e; font-size: 1.1rem; }
.blog-content a { color: #087e78; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.blog-content ul, .blog-content ol { padding-left: 1.4em; }
.blog-content li + li { margin-top: .4em; }
.blog-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid #2cc8bb; color: #10203e; font-size: 1.25rem; font-weight: 700; line-height: 1.5; }
.blog-content blockquote.callout, .blog-content p.callout { padding: 18px 20px; border: 0; border-radius: 12px; background: #eaf6f4; font-size: 1.02rem; font-weight: 500; }
.blog-content img { display: block; max-width: 100%; height: auto; margin: 1.6em auto; border-radius: 12px; }
.blog-content figure { margin: 1.6em 0; }
.blog-content figure img { margin: 0 auto; }
.blog-content figcaption { margin-top: 8px; color: #6b788b; font-size: .85rem; text-align: center; }
.blog-content img.img-wide { width: 100%; }
.blog-content img.img-left { float: left; max-width: 45%; margin: .3em 1.4em 1em 0; }
.blog-content img.img-right { float: right; max-width: 45%; margin: .3em 0 1em 1.4em; }
.blog-content .align-center { text-align: center; }
.blog-content .align-right { text-align: right; }
.blog-content .align-justify { text-align: justify; }
.blog-content hr { margin: 2em 0; border: 0; border-top: 1px solid #dbe4ec; clear: both; }
.blog-content pre { overflow-x: auto; padding: 16px; border-radius: 10px; background: #0d1b38; color: #e6edf6; font-size: .9rem; }
.blog-content code { padding: 2px 6px; border-radius: 5px; background: #eef2f7; font-size: .92em; }
.blog-content pre code { padding: 0; background: none; }
.blog-content table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.blog-content th, .blog-content td { padding: 10px 12px; border: 1px solid #dbe4ec; text-align: left; }
.blog-content th { background: #f3f6fa; }
.blog-content mark { background: #fff1a8; }
.blog-content::after { content: ""; display: block; clear: both; }

.blog-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 0; }
.blog-tags span { padding: 6px 11px; border-radius: 999px; background: #eaf5f4; color: #146f69; font-size: .78rem; font-weight: 800; }
.blog-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; padding: 18px 0; border-top: 1px solid #e3e9f0; border-bottom: 1px solid #e3e9f0; }
.blog-share strong { margin-right: 6px; color: #10203e; font-size: .9rem; }
.blog-share a, .blog-share button { padding: 8px 13px; border: 1px solid #d3dde8; border-radius: 999px; background: #fff; color: #10203e; font: inherit; font-size: .82rem; font-weight: 800; text-decoration: none; cursor: pointer; }
.blog-share a:hover, .blog-share button:hover { border-color: #2cc8bb; background: #eaf7f5; }
.blog-author-cta { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 30px; padding: 22px; border-radius: 16px; background: #0d1b38; color: #fff; }
.blog-author-cta .button { flex: none; white-space: nowrap; }
.blog-author-cta p { margin: 4px 0 0; color: #c8d3e2; font-size: .92rem; }
.blog-related { background: #f3f6fa; }
.blog-related h2 { margin: 0 0 18px; color: #10203e; font-size: 1.6rem; }

@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .blog-lead { grid-template-columns: 1fr; } .blog-lead-img { min-height: 220px; aspect-ratio: 16 / 9; } }
@media (max-width: 620px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-search { flex-direction: column; }
  .blog-content { font-size: 1.02rem; }
  .blog-content img.img-left, .blog-content img.img-right { float: none; max-width: 100%; margin: 1.2em 0; }
  .blog-author-cta { flex-direction: column; align-items: flex-start; }
  .blog-hero-img { width: 100%; padding-top: 0; }
  .blog-hero-img img { border-radius: 0; }
}
