/* Blog, feature and integration templates. Builds on site.css (tokens, nav, footer, buttons). */
.chero .hero-panel{padding:128px 0 72px}
.chero h1{font-size:clamp(2.4rem,5vw,4rem)}
.chero h1 em{font-style:normal;color:var(--coral)}
.chero .sub{max-width:38rem;margin-top:18px}
.chero .eyebrow{display:inline-flex;margin-bottom:18px;padding:6px 14px;border-radius:99px;background:rgba(238,241,255,.08);box-shadow:inset 0 0 0 1px rgba(238,241,255,.16);font-size:.82rem;font-weight:500;color:var(--navy-ink-2);letter-spacing:.02em}
a.eyebrow:hover{color:#fff}
.fhero .eyebrow{background:color-mix(in srgb,var(--c) 18%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c) 40%,transparent);color:#fff}
.band.blog{padding-top:56px}
.band.lg{padding-top:56px}
.empty{text-align:center;color:var(--ink-3);padding:60px 0}

/* chips */
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:36px}
.chips a{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 16px;border-radius:99px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line-2);font-size:.9rem;font-weight:500;color:var(--ink-2);transition:background .2s,color .2s,transform .25s var(--ease)}
.chips a[style]::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--c)}
.chips a:hover{transform:translateY(-1px);color:var(--ink)}
.chips a[aria-current=page]{background:var(--navy);color:#fff;box-shadow:none}

/* post grid and cards */
.pgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.pgrid.three{grid-template-columns:repeat(3,1fr)}
.pcard{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:var(--shadow);transition:transform .35s var(--ease),box-shadow .35s}
.pcard:hover{transform:translateY(-3px);box-shadow:0 2px 4px rgba(30,40,100,.05),0 24px 44px -22px rgba(30,40,100,.3)}
.pcard .pimg{display:block;aspect-ratio:16/10;background:linear-gradient(135deg,color-mix(in srgb,var(--c,var(--coral)) 22%,#fff),#e6e9f7);position:relative;overflow:hidden}
.pcard .pimg img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.pcard:hover .pimg img{transform:scale(1.03)}
.pcard .pph{position:absolute;inset:0;display:grid;place-items:center;color:var(--cd,var(--coral-deep))}
.pcard .pph svg.i{width:38px;height:38px}
.pcard .ptx{padding:20px 22px 24px;display:flex;flex-direction:column;gap:10px;flex:1}
.pchip{align-self:flex-start;display:inline-flex;align-items:center;gap:7px;font-size:.74rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--cd,var(--coral-deep))}
.pchip::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--c,var(--coral))}
.pcard h2{font-size:1.18rem;letter-spacing:-.025em;line-height:1.25}
.pcard h2 a:hover{color:var(--cd,var(--coral-deep))}
.pcard p{color:var(--ink-2);font-size:.94rem;line-height:1.55}
.pmeta{display:flex;gap:8px;align-items:center;font-size:.82rem;color:var(--ink-3);margin-top:auto}
.pcard.featured{grid-column:1/-1;flex-direction:row;border-radius:26px}
.pcard.featured .pimg{flex:1.15;aspect-ratio:auto;min-height:340px}
.pcard.featured .ptx{flex:1;justify-content:center;padding:38px 42px;gap:14px}
.pcard.featured h2{font-size:clamp(1.6rem,2.6vw,2.2rem);letter-spacing:-.035em;line-height:1.12}
.pcard.featured p{font-size:1.04rem}

/* pagination */
.navigation.pagination{margin-top:44px}
.navigation .nav-links{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.navigation .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 14px;border-radius:12px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line-2);font-weight:500;color:var(--ink-2)}
.navigation .page-numbers.current{background:var(--navy);color:#fff;box-shadow:none}
.navigation a.page-numbers:hover{color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink-3)}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* article */
.art-head{padding-top:132px;max-width:860px;text-align:left}
.art-head .back{display:inline-block;margin-bottom:22px;font-size:.9rem;color:var(--ink-3)}
.art-head .back:hover{color:var(--ink)}
.art-head .pchip{display:flex;margin-bottom:14px}
.art-head h1{font-size:clamp(2.2rem,4.6vw,3.6rem);letter-spacing:-.04em;line-height:1.05}
.art-head .lead{margin-top:18px;font-size:1.2rem;color:var(--ink-2);max-width:42rem}
.art-head .pmeta{margin-top:22px}
.art-img{max-width:1000px;margin-top:34px}
.art-img img{width:100%;height:auto;border-radius:26px;box-shadow:var(--shadow-lg)}
.art-body{max-width:860px;padding-top:44px;padding-bottom:20px}
.prose-art{font-size:1.08rem;line-height:1.75;color:var(--ink-2)}
.prose-art.solo{max-width:760px;margin:0 auto}
.prose-art>*+*{margin-top:1.15em}
.prose-art h2{font-size:1.75rem;letter-spacing:-.035em;line-height:1.15;color:var(--ink);margin-top:2.1em}
.prose-art h3{font-size:1.3rem;letter-spacing:-.025em;color:var(--ink);margin-top:1.8em}
.prose-art h4{font-size:1.05rem;color:var(--ink);margin-top:1.6em}
.prose-art a{color:var(--coral-deep);text-decoration:underline;text-underline-offset:3px}
.prose-art strong{color:var(--ink);font-weight:600}
.prose-art ul,.prose-art ol{padding-left:1.3rem;display:grid;gap:.5em}
.prose-art li::marker{color:var(--coral)}
.prose-art blockquote{margin-left:0;padding:6px 0 6px 22px;border-left:3px solid var(--coral);color:var(--ink);font-size:1.18rem;line-height:1.55}
.prose-art img,.prose-art figure img{max-width:100%;height:auto;border-radius:16px}
.prose-art figure{margin-left:0;margin-right:0}
.prose-art figcaption{font-size:.85rem;color:var(--ink-3);margin-top:8px}
.prose-art table{width:100%;border-collapse:collapse;font-size:.95rem}
.prose-art th,.prose-art td{padding:11px 14px;border-bottom:1px solid var(--line);text-align:left}
.prose-art th{color:var(--ink);font-weight:600;background:var(--surface-2)}
.prose-art code{background:var(--surface-2);padding:2px 6px;border-radius:6px;font-size:.92em}
.prose-art pre{background:var(--navy);color:var(--navy-ink);padding:18px 20px;border-radius:14px;overflow:auto;font-size:.9rem}
.prose-art pre code{background:none;padding:0}
.prose-art hr{border:0;border-top:1px solid var(--line);margin:2.4em 0}
.prose-art .alignwide,.prose-art .alignfull{max-width:none}
.related{padding-top:40px}
.related h2{font-size:1.8rem;letter-spacing:-.035em;margin-bottom:26px}

/* features and integrations */
.fgroup{margin-bottom:54px}
.fgroup h2{display:flex;align-items:center;gap:12px;font-size:1.5rem;letter-spacing:-.03em;margin-bottom:20px}
.fgroup h2 .dot{width:12px;height:12px;border-radius:50%;background:var(--c,var(--coral))}
.fgroup h2 a{margin-left:auto;font-size:.9rem;font-weight:500;letter-spacing:0;color:var(--cd,var(--coral-deep));display:inline-flex;gap:6px;align-items:center}
.fgridcards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.fcard{display:flex;gap:14px;align-items:flex-start;padding:18px 20px;border-radius:18px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);transition:transform .3s var(--ease),border-color .2s,box-shadow .3s}
.fcard:hover{transform:translateY(-2px);border-color:var(--c,var(--line-2));box-shadow:0 18px 34px -22px rgba(30,40,100,.35)}
.fcard i{flex:none;width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:color-mix(in srgb,var(--c,var(--coral)) 15%,#fff);color:var(--cd,var(--coral-deep));overflow:hidden}
.fcard i svg.i{width:20px;height:20px}
.fcard i img{width:26px;height:26px;object-fit:contain}
.fcard b{display:block;font-weight:600;font-size:1rem;letter-spacing:-.015em;line-height:1.25}
.fcard small{display:block;margin-top:4px;color:var(--ink-2);font-size:.88rem;line-height:1.45}
.fbody{padding-top:56px}
.fgrid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start}
.ftext{font-size:1.06rem;line-height:1.7;color:var(--ink-2)}
.ftext>*+*{margin-top:1em}
.ftext strong{color:var(--ink)}
.ftext ul{padding-left:1.2rem;display:grid;gap:.45em}
.ftext li::marker{color:var(--c,var(--coral))}
.fcta{display:flex;flex-wrap:wrap;gap:10px;margin-top:1.6em!important}
.fshot img{width:100%;height:auto;border-radius:22px;box-shadow:var(--shadow-lg);background:#fff}
.fshot.logo{display:grid;place-items:center;padding:36px;border-radius:26px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow)}
.fshot.logo img{max-width:280px;box-shadow:none;border-radius:0;background:none}
.ffaq,.fmore{padding-top:20px}
.ffaq .sec-head,.fmore .sec-head{text-align:center;margin-bottom:28px}
.ffaq .sec-head h2,.fmore .sec-head h2{font-size:clamp(1.8rem,3vw,2.5rem)}
.ffaq .sec-head em.hl,.fmore .sec-head em.hl{font-style:normal;color:var(--c,var(--coral-deep))}
.fall{margin-top:24px;text-align:center}
.fall a{font-weight:600;color:var(--coral-deep);display:inline-flex;gap:8px;align-items:center}
.fall a:hover{text-decoration:underline}

/* search + 404 */
.searchbar{display:flex;align-items:center;gap:10px;max-width:520px;margin:0 auto 36px;height:54px;padding:0 8px 0 18px;border-radius:16px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line-2)}
.searchbar svg.i{color:var(--ink-3)}
.searchbar input{flex:1;border:0;background:none;font:inherit;outline:0}
.lost404{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}

@media (max-width:1000px){
  .pgrid,.pgrid.three,.fgridcards{grid-template-columns:1fr 1fr}
  .pcard.featured{flex-direction:column}
  .pcard.featured .pimg{min-height:240px;flex:none}
  .pcard.featured .ptx{padding:26px 24px}
  .fgrid{grid-template-columns:1fr;gap:34px}
}
@media (max-width:640px){
  .pgrid,.pgrid.three,.fgridcards{grid-template-columns:1fr}
  .chero .hero-panel{padding-top:104px}
  .art-head{padding-top:108px}
}

/* feature page: text only (no screenshot or demo) and the live demo slot */
.fgrid.solo{grid-template-columns:minmax(0,760px);justify-content:center}
.fshot.demo{min-width:0;overflow:hidden;border-radius:22px}
.ftext .feats{list-style:none;padding:0;display:grid;gap:10px;margin-top:1.2em}
.ftext .feats li{display:flex;gap:10px;align-items:flex-start;color:var(--ink-2)}
.ftext .feats li svg.i{width:18px;height:18px;margin-top:4px;color:var(--ok);flex:none}

/* home page: recent posts scroller */
.bsec{padding-top:70px}
.bsec-top{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:30px;flex-wrap:wrap}
.bsec-top h2{font-size:clamp(1.9rem,3.4vw,2.8rem)}
.bsec-top h2 em.hl{font-style:normal;color:var(--c,var(--coral-deep))}
.bsec-top .lead{margin-top:8px;color:var(--ink-2)}
.bsec-ctl{display:flex;align-items:center;gap:10px}
.bsec-ctl .ball{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:var(--coral-deep);margin-right:10px}
.bsec-ctl .ball:hover{text-decoration:underline}
.bsec-ctl button{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line-2);color:var(--ink);transition:background .2s,transform .25s var(--ease),opacity .2s}
.bsec-ctl button:hover:not(:disabled){background:var(--navy);color:#fff;transform:translateY(-1px)}
.bsec-ctl button:disabled{opacity:.35;cursor:default}
.bsec-ctl .bprev svg.i{transform:rotate(180deg)}
.bsc{margin:0 -28px}
.bscroll{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0 28px;padding:6px 28px 26px;scrollbar-width:none;-webkit-overflow-scrolling:touch;outline-offset:-2px}
.bscroll::-webkit-scrollbar{display:none}
.bscroll .pcard{flex:0 0 min(360px,82vw);scroll-snap-align:start}
@media (max-width:640px){.bsec-ctl .ball{margin-right:auto}.bsec-top{align-items:flex-start}}
