/* Shared article layout for every page under /blog/. */
.blog-page { background: #f7f9fb; color: #1c3245; }
.blog-hero {
  padding: clamp(136px, 13vw, 180px) 0 clamp(44px, 6vw, 76px);
  color: #fff;
  background: radial-gradient(circle at 80% 10%, rgba(121,217,255,.12), transparent 36%), linear-gradient(135deg,#071621,#0d2447 65%,#071621);
}
.blog-hero .container { max-width: 1180px; }
.blog-kicker { margin: 0 0 20px; color: #8be4d5; font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.blog-hero h1 { max-width: 1040px; margin: 0; color: #fff; font-size: clamp(2.25rem,4.5vw,4rem); line-height: 1.13; letter-spacing: -.035em; overflow-wrap: break-word; }
.blog-summary { max-width: 850px; margin: 26px 0 0; color: #d9e4ed; font-size: clamp(1.05rem,1.5vw,1.25rem); line-height: 1.75; }
.blog-summary a { color: #a7ede2; text-decoration: underline; text-underline-offset: 3px; }
.blog-byline { margin: 24px 0 0; color: #c6d5e0; font-size: .9375rem; }
.blog-layout { display: grid; grid-template-columns: minmax(0,780px) minmax(240px,300px); gap: clamp(36px,5vw,72px); align-items: start; padding-block: clamp(36px,5vw,64px) 88px; }
.blog-content { grid-column: 1; grid-row: 1; min-width: 0; font-family: "Open Sans",system-ui,sans-serif; font-size: 1.0625rem; line-height: 1.85; color: #3b5266; }
.blog-content :where(section, h2, h3, [id]) { scroll-margin-top: 112px; }
.blog-content h2 { margin: 3.25rem 0 1.15rem; color: #102b43; font-size: clamp(1.7rem,2.8vw,2.25rem); line-height: 1.3; letter-spacing: -.025em; }
.blog-content h3 { margin: 2rem 0 1rem; color: #102b43; font-size: 1.3rem; line-height: 1.4; }
.blog-content > :first-child, .blog-content > section:first-child > h2:first-child { margin-top: 0; }
.blog-content p { margin: 1.15rem 0; }
.blog-content ul, .blog-content ol { margin: 1.25rem 0; padding-left: 1.5rem; }
.blog-content li { margin: .6rem 0; }
.blog-content a { color: #075c79; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.blog-content strong { color: #102b43; }
.blog-content blockquote { margin: 2rem 0; padding: 20px 24px; border-left: 4px solid #16847e; background: #edf7f6; color: #183b50; }
.blog-figure { margin: 2.5rem 0; overflow: hidden; border: 1px solid #dce5eb; border-radius: 14px; background: #fff; }
.blog-figure img { display: block; width: 100%; height: auto; object-fit: contain; }
.blog-figure figcaption { padding: 16px 20px; color: #526779; font-size: .875rem; line-height: 1.65; }
.blog-table-scroll { max-width: 100%; margin: 1.75rem 0; overflow-x: auto; border: 1px solid #d8e3e8; border-radius: 8px; }
.blog-content table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.65; }
.blog-content th,.blog-content td { min-width: 140px; padding: 14px 16px; border: 1px solid #d8e3e8; text-align: left; vertical-align: top; }
.blog-content th { color: #15384d; background: #eaf3f5; font-weight: 700; }
.blog-content caption { padding: 14px 16px; color: #15384d; text-align: left; font-weight: 700; }
.blog-content .table-hint { color: #526779; font-size: .875rem; }
.blog-toc { position: sticky; top: 110px; grid-column: 2; grid-row: 1; max-height: calc(100dvh - 135px); overflow-y: auto; padding: 24px; border: 1px solid #dce5eb; border-radius: 12px; background: #fff; }
.blog-toc h2 { margin: 0 0 16px; color: #102b43; font: 700 1.0625rem/1.5 "Open Sans",system-ui,sans-serif; }
.blog-toc-disclosure > summary { position: relative; padding-right: 28px; cursor: pointer; list-style: none; }
.blog-toc-disclosure > summary::-webkit-details-marker { display: none; }
.blog-toc-disclosure > summary::after { content: "+"; position: absolute; right: 0; top: 0; color: #08766e; font-size: 1.25rem; }
.blog-toc-disclosure[open] > summary::after { content: "−"; }
.blog-toc-disclosure > summary h2 { margin: 0; }
.blog-toc-disclosure[open] > summary { margin-bottom: 16px; }
.blog-toc a { display: block; padding: 9px 0; color: #31576b; font-size: .875rem; line-height: 1.55; text-decoration: none; }
.blog-toc a:hover { color: #075c79; text-decoration: underline; }
.blog-faq { margin-top: 3rem; border-top: 1px solid #d8e3e8; }
.blog-faq-item { border-bottom: 1px solid #d8e3e8; }
.blog-faq-item summary { position: relative; padding: 22px 36px 22px 0; color: #102b43; font-weight: 700; line-height: 1.5; cursor: pointer; list-style: none; }
.blog-faq-item summary::-webkit-details-marker { display: none; }
.blog-faq-item summary::after { content: "+"; position: absolute; right: 6px; top: 20px; color: #08766e; font-size: 1.4rem; }
.blog-faq-item[open] summary::after { content: "−"; }
.blog-faq-item > p:last-child,.blog-faq-item > div:last-child { margin-bottom: 24px; }
.blog-related { margin-top: 3rem; padding-top: 8px; border-top: 1px solid #d8e3e8; }
.blog-cta { margin-top: 3rem; padding: clamp(24px,4vw,40px); border-radius: 14px; color: #d9e4ed; background: #0d2447; }
.blog-cta h2 { margin-top: 0; color: #fff; }
.blog-cta p { color: #d9e4ed; }
.blog-content .button { color: #fff; text-decoration: none; }
.blog-content .blog-cta a:not(.button) { display: inline-flex; align-items: center; min-height: 44px; color: #a7ede2; }
.blog-toc a { min-height: 44px; }
.blog-page :where(a,summary,[tabindex]):focus-visible { outline: 3px solid #16847e; outline-offset: 4px; }
.blog-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; padding-block: 56px 88px; }
.blog-card { overflow: hidden; border: 1px solid #dce5eb; border-radius: 14px; background: #fff; }
.blog-card img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.blog-card-copy { padding: 24px; }
.blog-card h2 { margin: 0 0 16px; font-size: 1.35rem; line-height: 1.4; }
.blog-card h2 a { color: #102b43; }
.blog-card p { color: #3b5266; line-height: 1.75; }
@media(max-width:960px) {
  .blog-layout { grid-template-columns: minmax(0,1fr); }
  .blog-toc { position: static; grid-column: 1; grid-row: 1; max-height: none; }
  .blog-content { grid-column: 1; grid-row: 2; }
  .blog-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
  .blog-hero { padding-top: 132px; padding-bottom: 40px; }
  .blog-layout { gap: 32px; padding-bottom: 56px; }
  .blog-content { font-size: 1rem; line-height: 1.8; }
  .blog-toc { padding: 20px; }
  .blog-toc a { padding-block: 10px; }
  .blog-content .fde-role-grid { grid-template-columns: 1fr; }
  .blog-cards { grid-template-columns: minmax(0,1fr); }
}
