/* Blog and editorial layouts share navigation, typography and colours with home.css. */
.container { width: min(calc(100% - 80px), var(--shell)); margin: 0 auto; }
.nav a[aria-current="page"] { color: var(--teal); }
.blog-hero, .blog-post-header { padding: 132px 0 76px; background: radial-gradient(ellipse at 16% 22%, #e6ddf3 0%, transparent 53%), radial-gradient(ellipse at 78% 88%, #168e87 0%, transparent 57%), linear-gradient(120deg, #b7dff2, #39afe0 54%, #078fc8 72%, #075f55); }
.blog-hero-inner, .blog-post-header-inner { padding: 56px 64px; border: 1px solid rgba(255,255,255,.63); border-radius: 38px; background: rgba(243,247,255,.38); box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 22px 70px rgba(20,50,76,.08); backdrop-filter: blur(20px); }
.blog-hero-inner { max-width: 1040px; text-align: center; }
.blog-hero h1 { max-width: 870px; margin: 0 auto; font-size: clamp(44px,5.5vw,70px); line-height: 1.08; }
.blog-hero-text { max-width: 630px; margin: 26px auto 0; color: #2e4955; font-size: 18px; line-height: 1.65; }
.blog-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 32px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.blog-breadcrumb strong { font-weight: 500; }
.blog-breadcrumb a { color: var(--teal); }
.blog-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.blog-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.blog-card { display: flex; min-width: 0; padding: 38px; flex-direction: column; background: #fcfcfe; border: 1px solid rgba(20,35,50,.1); border-radius: 28px; }
.blog-card-featured { background: linear-gradient(135deg,#e5e0f2,#e6f1f5 58%,#d7ebe3); }
.blog-card-dark { color: #eef4f6; background: #142329; }
.blog-card:first-child { grid-column: 1 / -1; padding: 46px; }
.blog-card:first-child h2 { max-width: 880px; font-size: 46px; }
.blog-card:first-child > p:not(.blog-card-meta) { max-width: 760px; }
.blog-card-meta { margin-bottom: 30px; color: var(--teal); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; line-height: 1.6; }
.blog-card h2 { font-size: 34px; line-height: 1.15; letter-spacing: -.035em; }
.blog-card > p:not(.blog-card-meta) { margin-top: 22px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.blog-card .text-link { align-self: flex-start; margin-top: auto; padding-top: 30px; font-size: 14px; }
.blog-card .text-link span { display: inline-block; margin-left: 5px; }
.blog-card-dark .blog-card-meta, .blog-card-dark .text-link { color: #8ddbc6; }
.blog-card-dark > p:not(.blog-card-meta) { color: #bccbd2; }
.blog-card .text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.blog-cta-section { background: radial-gradient(ellipse at 20% 30%,#e3dcf3,transparent 60%),linear-gradient(115deg,#b7dff2,#63c4d6 60%,#72b8a6); }
.blog-cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 80px; }
.blog-cta-grid h2 { font-size: 54px; }
.blog-cta-grid > div:last-child > p { margin-bottom: 28px; color: #2b4551; font-size: 17px; line-height: 1.7; }

/* Article pages: an editorial reading column and a quiet, sticky sidebar. */
.blog-post-header-inner { max-width: 1120px; }
.blog-post-header .blog-breadcrumb { margin-bottom: 38px; color: #405a65; }
.blog-post-header .eyebrow { margin-bottom: 18px; }
.blog-post-header h1 { max-width: 940px; font-size: clamp(42px,5.1vw,65px); line-height: 1.1; letter-spacing: -.045em; }
.blog-post-dek { max-width: 800px; margin-top: 28px; color: #2e4955; font-size: 19px; line-height: 1.65; }
.blog-post-byline { margin-top: 28px; font-size: 12px; color: #405a65; }
.blog-post-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 76px; align-items: start; padding-top: 84px; padding-bottom: 108px; }
.blog-prose { min-width: 0; max-width: 740px; font-size: 17px; line-height: 1.8; color: #3e4d59; overflow-wrap: break-word; }
.blog-prose p { margin-bottom: 24px; }
.blog-prose .blog-lead { margin-bottom: 32px; color: var(--ink); font-size: 22px; line-height: 1.6; }
.blog-prose h2 { margin: 52px 0 20px; color: var(--ink); font-size: 37px; line-height: 1.17; letter-spacing: -.035em; }
.blog-prose h3 { margin: 32px 0 16px; color: var(--ink); font-size: 28px; line-height: 1.25; }
.blog-prose ul, .blog-prose ol { margin: 0 0 28px; padding-left: 23px; }
.blog-prose li { padding-left: 5px; }
.blog-prose li + li { margin-top: 12px; }
.blog-prose li::marker { color: var(--teal); }
.blog-prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
.blog-prose a:hover { color: var(--ink); }
.blog-prose strong { color: var(--ink); font-weight: 600; }
.blog-callout { margin: 40px 0; padding: 30px; border: 1px solid #c5ddd5; border-radius: 24px; background: linear-gradient(135deg,#e7f1ee,#dae9ee); }
.blog-callout > strong { display: block; margin-bottom: 14px; color: var(--teal); font-size: 12px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; }
.blog-callout p { margin: 0; color: #284d47; font-size: 18px; line-height: 1.7; }
.blog-next-link { display: grid; gap: 16px; margin-top: 60px; padding-top: 32px; border-top: 1px solid var(--line); }
.blog-next-link > span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.blog-next-link a { font-family: var(--serif); font-size: 30px; line-height: 1.25; text-decoration: none; }
.blog-next-link a:hover { text-decoration: underline; }
.blog-sidebar { position: sticky; top: 112px; min-width: 0; }
.blog-sidebar-card { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding: 30px; border: 1px solid #d7e2e7; border-radius: 26px; background: linear-gradient(145deg,#eae6f4,#e0ecf1 55%,#d9eae2); }
.card-kicker { color: var(--teal); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; line-height: 1.6; }
.blog-sidebar-card h2 { font-size: 32px; line-height: 1.15; }
.blog-sidebar-card p:not(.card-kicker) { color: var(--muted); font-size: 15px; line-height: 1.7; }
.blog-sidebar-card .button { margin-top: 4px; border-radius: 25px; }
.blog-sidebar-links { display: grid; gap: 20px; margin-top: 32px; padding: 28px 4px 0; border-top: 1px solid var(--line); }
.blog-sidebar-links a { color: var(--ink); font-size: 15px; line-height: 1.6; }
.blog-sidebar-links a:hover { color: var(--teal); }
.blog-table-wrap { max-width: 100%; overflow-x: auto; margin: 32px 0; border: 1px solid var(--line); border-radius: 18px; }
.blog-prose table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 14px; line-height: 1.6; }
.blog-prose th, .blog-prose td { padding: 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.blog-prose th { color: #eef4f6; background: var(--ink); font-weight: 500; }
.blog-prose tr:last-child td { border-bottom: 0; }
.blog-prose td { background: #fcfcfe; }
@media (max-width: 1000px) {
  .blog-hero-inner, .blog-post-header-inner { padding: 44px; }
  .blog-post-layout { grid-template-columns: minmax(0,1fr) 260px; gap: 40px; }
  .blog-sidebar-card { padding: 24px; }
  .blog-card { padding: 30px; }
  .blog-card h2 { font-size: 30px; }
  .blog-cta-grid { gap: 40px; }
  .blog-cta-grid h2 { font-size: 44px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .blog-hero, .blog-post-header { padding: 108px 0 56px; }
  .blog-hero-inner, .blog-post-header-inner { width: calc(100% - 32px); padding: 36px 24px; border-radius: 28px; }
  .blog-hero h1, .blog-post-header h1 { font-size: clamp(36px,7vw,48px); }
  .blog-hero-text, .blog-post-dek { font-size: 16px; }
  .blog-post-header .blog-breadcrumb { margin-bottom: 28px; font-size: 11px; }
  .blog-grid { grid-template-columns: 1fr; gap: 18px; }
  .blog-card, .blog-card:first-child { grid-column: auto; padding: 28px; border-radius: 24px; }
  .blog-card h2, .blog-card:first-child h2 { font-size: 31px; }
  .blog-card-meta { margin-bottom: 22px; }
  .blog-cta-grid, .blog-post-layout { grid-template-columns: 1fr; gap: 40px; }
  .blog-cta-grid h2 { font-size: 42px; }
  .blog-post-layout { padding-top: 52px; padding-bottom: 76px; }
  .blog-prose { max-width: 100%; font-size: 16px; }
  .blog-prose .blog-lead { font-size: 20px; }
  .blog-prose h2 { font-size: 32px; margin-top: 40px; }
  .blog-prose h3 { font-size: 26px; }
  .blog-callout { padding: 24px; }
  .blog-callout p { font-size: 16px; }
  .blog-sidebar { position: static; }
  .blog-sidebar-card { padding: 28px; }
  .blog-sidebar-card h2 { font-size: 34px; }
}
