/* Blog pages only (/blog and /blog/<slug>), linked from lib/blog.js after site.css and site-phone.css.
   Front page sections, search, topic chips, page numbers, branded covers, and the centered call-to-action buttons. */

/* Anything the instant search hides (cards are display:block, so [hidden] needs help) */
.lp .blog-list [hidden],.lp .blog-top [hidden]{display:none!important}

/* ---------- header: search bar and topic chips ---------- */
.lp.site .blog-top{padding-bottom:8px}
.lp .blog-top h1{max-width:20ch}
.lp .blog-top .sub{max-width:58ch}
.lp .blog-search{display:flex;align-items:center;gap:8px;max-width:640px;margin-top:30px;padding:7px 7px 7px 20px;border-radius:999px;
  background:rgb(255 255 255 / .78);-webkit-backdrop-filter:saturate(180%) blur(16px);backdrop-filter:saturate(180%) blur(16px);
  box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgb(1 21 55 / .08),0 24px 50px -26px rgb(0 85 236 / .45);transition:box-shadow .4s var(--ease)}
.lp .blog-search:focus-within{box-shadow:0 0 0 2px var(--accent),0 24px 50px -26px rgb(0 85 236 / .5)}
.lp .bs-ic{flex:none;display:grid;place-items:center}
.lp .bs-ic svg{width:22px;height:22px;fill:none;stroke:#5f6f8c;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.lp .blog-search input{flex:1;min-width:0;min-height:50px;border:0;background:transparent;padding:0;font:500 17.5px var(--font);color:var(--ink)}
.lp .blog-search input:focus{outline:none;border:0;box-shadow:none}
.lp .blog-search input::-webkit-search-cancel-button{cursor:pointer}
.lp.site .blog-search .b{flex:none;min-height:50px;padding:0 24px}
.lp .bs-hint{margin:12px 0 0 22px;color:var(--muted);font-size:15px}
.lp .blog-chips{margin-top:22px}
.lp .blog-chips a{min-height:44px;display:inline-flex;align-items:center}

/* ---------- front page ---------- */
.lp.site .blog-list{padding-top:32px}
.lp .blog-home .post-big{margin-bottom:0}
.lp .blog-sec{margin-top:72px}
.lp .blog-sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:26px}
.lp .blog-sec-head h2{font-size:clamp(26px,2.5vw,34px);letter-spacing:-.03em;line-height:1.15;margin:0}
.lp .blog-sec-head p{color:var(--muted);font-size:16.5px;margin-top:6px}
.lp .see-all{flex:none;display:inline-flex;align-items:center;gap:10px;min-height:46px;padding:0 8px 0 18px;border-radius:999px;background:#fff;color:var(--ink);text-decoration:none;font-weight:700;font-size:15.5px;
  box-shadow:inset 0 0 0 1px rgb(1 21 55 / .12),0 4px 14px -8px rgb(1 21 55 / .2);transition:transform .4s var(--ease),box-shadow .4s var(--ease)}
.lp .see-all .sa-n{min-width:26px;height:24px;padding:0 8px;border-radius:999px;background:rgb(0 85 236 / .09);color:var(--accent);font-size:13px;display:inline-grid;place-items:center}
.lp .see-all i{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;background:rgb(1 21 55 / .06);transition:transform .45s var(--ease),background .3s,color .3s}
.lp .see-all svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media (hover:hover) and (pointer:fine){
  .lp .see-all:hover{transform:translateY(-2px);box-shadow:inset 0 0 0 1px rgb(1 21 55 / .2),0 12px 24px -12px rgb(1 21 55 / .3)}
  .lp .see-all:hover i{transform:translateX(2px);background:var(--accent);color:#fff}
}
.lp .blog-all{display:flex;justify-content:center;margin-top:64px}
.lp .blog-nores{margin-top:40px;text-align:center;color:var(--muted);font-size:17px}

/* ---------- topic, all articles and search results ---------- */
.lp .blog-results-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:24px;color:var(--muted);font-size:16.5px}
.lp .blog-results-head b{color:var(--ink)}
.lp .br-clear{font-weight:700;color:var(--accent);text-underline-offset:3px;min-height:44px;display:inline-flex;align-items:center}
.lp .blog-pages{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:48px;flex-wrap:wrap}
.lp .bp-nums{display:flex;align-items:center;gap:6px}
.lp .bp-num{display:inline-grid;place-items:center;min-width:46px;height:46px;padding:0 6px;border-radius:999px;font-weight:700;font-size:16px;color:var(--ink);text-decoration:none;background:#fff;box-shadow:inset 0 0 0 1px rgb(1 21 55 / .12)}
.lp .bp-num[aria-current="page"]{background:var(--ink);color:#fff;box-shadow:none}
.lp .bp-gap{color:var(--muted);padding:0 2px}
.lp .bp-step{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:0 18px;border-radius:999px;font-weight:700;font-size:16px;color:var(--ink);text-decoration:none;background:#fff;box-shadow:inset 0 0 0 1px rgb(1 21 55 / .12),0 4px 14px -8px rgb(1 21 55 / .2)}
.lp .bp-step svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.lp .bp-step.is-off{opacity:.4;box-shadow:inset 0 0 0 1px rgb(1 21 55 / .08)}
@media (hover:hover) and (pointer:fine){.lp a.bp-num:hover,.lp a.bp-step:hover{box-shadow:inset 0 0 0 1px var(--accent);color:var(--accent)}}
.lp .blog-nomatch .core{text-align:center;padding:56px 30px;display:flex;flex-direction:column;align-items:center;gap:6px}
.lp .blog-nomatch h2{font-size:clamp(24px,2.4vw,32px);letter-spacing:-.02em}
.lp .bn-row{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin-top:14px}
.lp .bn-row span{width:100%;font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.lp .bn-row a{display:inline-flex;align-items:center;min-height:42px;padding:0 16px;border-radius:999px;background:#eef3fb;color:#1b2f55;font-weight:600;text-decoration:none}
@media (hover:hover) and (pointer:fine){.lp .bn-row a:hover{background:var(--accent);color:#fff}}
.lp .blog-nomatch .b{margin-top:20px}

/* ---------- branded (SVG) covers: shown whole, on the cover's own navy ---------- */
.lp .pc-svg{background:#071d49}
.lp .post-cover-svg img{aspect-ratio:1200/630;object-fit:contain;background:#071d49}

/* ---------- call-to-action buttons: the label sits in the middle of the pill, the arrow circle on the right ---------- */
.lp.site .post-cta .b-arrow,.lp.site .cta-band .b-arrow{position:relative;padding-left:60px;padding-right:60px;justify-content:center;text-align:center}
.lp.site .post-cta .b-arrow .b-ic,.lp.site .cta-band .b-arrow .b-ic{position:absolute;right:8px;top:0;bottom:0;margin:auto 0}
.lp .post-cta .core > div{min-width:0}
.lp .post-cta .b{flex:none}

/* ---------- tablets ---------- */
@media (max-width:980px){
  .lp .blog-sec{margin-top:56px}
}

/* ---------- phones: each section scrolls sideways, so the page stays short ---------- */
@media (max-width:760px){
  .lp.site .blog-top{padding-bottom:0}
  .lp .blog-search{margin-top:22px;padding:6px 6px 6px 16px;gap:6px}
  .lp .blog-search input{min-height:46px;font-size:16px}
  .lp.site .blog-search .b{min-height:46px;padding:0 18px;font-size:15.5px}
  .lp .bs-hint{margin-left:6px}
  .lp .blog-chips{flex-wrap:nowrap;overflow-x:auto;margin-inline:-18px;padding:2px 18px 6px;scrollbar-width:none}
  .lp .blog-chips::-webkit-scrollbar{display:none}
  .lp .blog-chips a{flex:none}
  .lp.site .blog-list{padding-top:20px}
  .lp .blog-sec{margin-top:44px}
  .lp .blog-sec-head{align-items:center;margin-bottom:16px}
  .lp .blog-sec-head p{display:none}
  .lp .blog-sec-head h2{font-size:24px}
  .lp .see-all{gap:8px;padding-left:14px;min-height:44px}
  .lp .see-all .sa-n{display:none}
  .lp .blog-row{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:84%;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;
    margin-inline:-18px;padding:4px 18px 18px;scroll-padding-inline:18px;scrollbar-width:none;overscroll-behavior-x:contain}
  .lp .blog-row::-webkit-scrollbar{display:none}
  .lp .blog-row > .post-card{scroll-snap-align:start}
  .lp .blog-row .post-card p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .lp .blog-all{margin-top:40px}
  .lp .blog-all .b{width:100%}
  .lp .blog-pages{gap:8px;margin-top:36px}
  .lp .bp-nums{order:-1;width:100%;justify-content:center}
  .lp .bp-step{flex:1;justify-content:center}
  .lp .post-cta .b{align-self:stretch;width:100%}
  .lp .blog-nomatch .core{padding:36px 20px}
}
/* v158: label and arrow are centered together (the arrow pinned to the edge made the label look off to the left) */
.lp.site .post-cta .b-arrow,.lp.site .cta-band .b-arrow{padding-left:26px;padding-right:8px;gap:12px;justify-content:center}
.lp.site .post-cta .b-arrow .b-ic,.lp.site .cta-band .b-arrow .b-ic{position:static;margin:0}
