/* Growth Library templates (single, archive, search, 404): not in the design. Built on design parts
   (editorial-hero, .legal-layout / .legal-content, .insight-grid) with the design's tokens. */

/* Header band without a backdrop photo (featured images carry text, so they sit in the article instead). */
.post-hero{min-height:0}
.post-hero .editorial-hero-copy{max-width:900px}
.post-hero h1{overflow-wrap:break-word}
.post-hero .eyebrow a{color:inherit;text-decoration:none}
.post-hero .eyebrow a:hover{text-decoration:underline}
.post-hero .post-meta{margin-top:18px;font-size:13px;color:var(--mist)}
.post-hero .post-meta span{margin:0 8px}

/* Article body: the Terms reading column, sized for long-form reading. */
.post-figure{margin:0 0 24px;border-radius:18px;overflow:hidden;border:1px solid #d5dfeb;background:#fff}
.post-figure img{display:block;width:100%;height:auto}
.inner-page .post-content{padding:44px 56px}
.inner-page .post-content p,.post-content li{font-size:16px;line-height:1.8;color:#3d5167}
.inner-page .post-content h2{font-size:24px!important;line-height:1.3}
.post-content h3{font-size:19px;line-height:1.35;margin:30px 0 12px;color:var(--ink)}
.post-content h4{font-size:16px;line-height:1.4;margin:24px 0 10px;color:var(--ink)}
.post-content strong{color:var(--ink)}
.post-content a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.post-content a:hover{color:var(--red)}
.post-content :is(ul,ol){margin:16px 0;padding-left:22px}
.post-content li{margin:8px 0;padding-left:4px}
.post-content li::marker{color:var(--red)}
.post-content .wp-block-table{margin:26px 0;overflow-x:auto;-webkit-overflow-scrolling:touch}
.post-content table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.6;color:#3d5167}
.post-content :is(th,td){padding:12px 14px;border:1px solid #dce5ef;text-align:left;vertical-align:top}
.post-content th{background:var(--paper);color:var(--ink);font-weight:700}
.post-content .post-embed{margin:26px auto}
.post-topics{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:40px;padding-top:26px;border-top:1px solid #dce5ef}
.post-topics .filter-label{width:100%;margin:0 0 4px;font:600 12px/1.4 var(--body);color:#52657a}
.post-content .post-topics a{display:inline-flex;align-items:center;min-height:40px;padding:8px 16px;border:1px solid #c6d3e0;border-radius:10px;font:600 13px/1.4 var(--body);color:#32485e;text-decoration:none}
.post-content .post-topics a:hover{background:#e1eaf4;border-color:#91abc4}
@media(max-width:1100px){.inner-page .post-content{padding:34px}}
@media(max-width:767px){
  .inner-page .post-content{padding:26px 22px}
  .inner-page .post-content p,.post-content li{font-size:15px}
  .inner-page .post-content h2{font-size:21px!important}
}

/* Related posts / archive lists: the design's Browse-insights heading. */
.post-related{padding-top:0}
:is(.post-related,.archive-list) .insights-filter-heading{margin:0 0 24px}
:is(.post-related,.archive-list) .insights-filter-heading h2{font-family:var(--display);font-size:clamp(24px,2.1vw,30px);line-height:1.2;letter-spacing:-.035em;margin:0;color:var(--ink)}
.inner-page .post-content>h2:first-child{margin-top:0;padding-top:0;border-top:0}
.post-hero h1{font-size:clamp(32px,4vw,58px);line-height:1.08}

/* Search form (archive/search header, 404) — styled like the design's filter controls, on the dark band. */
.site-search{display:flex;gap:8px;max-width:520px;margin:26px auto 0}
.post-hero .site-search input{flex:1;min-width:0;height:48px;padding:10px 16px;border:1px solid rgba(159,176,196,.35);border-radius:10px;background:rgba(255,255,255,.06);color:#fff;font:400 16px/1.4 var(--body)}
.post-hero .site-search input::placeholder{color:var(--mist)}
.site-search button{height:48px;padding:0 22px;border:0;border-radius:10px;background:var(--red);color:#fff;font:600 14px/1 var(--body);cursor:pointer}
.site-search button:hover{background:#fff;color:var(--red)}
.site-search :is(input,button):focus-visible{outline:2px solid var(--sky);outline-offset:3px}
.not-found .actions{justify-content:center}

/* Archive pagination (crawlable page links). */
.archive-list .pagination{margin-top:44px}
.archive-list .nav-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.archive-list .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:46px;min-height:46px;padding:0 16px;border:1px solid #c6d3e0;border-radius:10px;font:600 13px/1 var(--body);color:#32485e;text-decoration:none}
.archive-list a.page-numbers:hover{background:#e1eaf4;border-color:#91abc4}
.archive-list .page-numbers.current{background:var(--ink);border-color:var(--ink);color:#fff}
.archive-list .page-numbers.dots{border:0;min-width:0;padding:0 4px}
