/* CMS pages and page builder blocks. Uses the home page building blocks
   (.sec-h, .kick, .about-hero, .vals, .faq, .offer, .stats) and only adds
   the layout around them. */

.cms-preview{position:sticky;top:0;z-index:60;display:flex;align-items:center;justify-content:center;gap:8px;background:var(--yel);color:var(--navy);font:600 12.5px var(--font-body);padding:8px 16px;text-align:center}
.cms-preview svg{width:16px;height:16px;flex:0 0 auto}

.cms-title{margin:8px 0 22px}
.cms-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start}
.cms-main{display:flex;flex-direction:column;gap:22px;min-width:0}
.cms-narrow{max-width:920px}
.cms-cover{display:block;width:100%;height:340px;object-fit:cover;border-radius:22px;margin-bottom:4px}
.cms-blocks.wide .cms-cover{margin-bottom:22px}

/* sidebar */
.cms-side{position:sticky;top:100px;display:flex;flex-direction:column;gap:18px;min-width:0}
.cms-links h3{font-size:16px;margin-bottom:8px}
.cms-links a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);font:500 13.5px var(--font-body);color:var(--ink);overflow-wrap:anywhere}
.cms-links a:last-child{border-bottom:0}
.cms-links a svg{width:15px;height:15px;color:var(--mute);flex:0 0 auto;transition:transform .2s}
.cms-links a:hover{color:var(--navy)}.cms-links a:hover svg{transform:translateX(3px);color:var(--yel2)}
.cms-help{display:flex;flex-direction:column;gap:8px;background:var(--navy);border-color:var(--navy);color:#fff}
.cms-help .ico{width:46px;height:46px}.cms-help .ico svg{width:20px;height:20px}
.cms-help .ico{background:var(--yel);color:var(--navy)}
.cms-help b{font:700 17px var(--font-heading);color:#fff}
.cms-help p{margin:0;font:400 13px/1.6 var(--font-body);color:#F1DCD2}
.cms-contact{display:flex;align-items:center;gap:8px;font:500 13px var(--font-body);color:var(--yel);overflow-wrap:anywhere}
.cms-contact svg{width:15px;height:15px;flex:0 0 auto}
.cms-acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}

/* blocks: shared */
.pbk{min-width:0}
.cms-blocks.wide>.pbk:not(.full){padding:26px 0}
.cms-blocks.wide>.pbk.tight{padding:0}
.cms-blocks.wide>.pbk:last-child:not(.full){padding-bottom:64px}
.cms-pg .cms-blocks.wide>.pbk:first-child:not(.full){padding-top:4px}
.pbk .sec-h{margin-bottom:22px}
.pbk-heading .sec-h{margin-bottom:0}
.pbk h2,.pbk h3,.pbk p,.pbk b,.pbk span,.pbk figcaption{overflow-wrap:anywhere}

/* hero */
.pbk-hero h1,.pbk-hero h2.pbk-hero-t{margin:0 0 14px;font:800 42px/1.1 var(--font-heading);letter-spacing:-.02em;color:#fff}
.pbk-hero .pbk-hero-t em{font-style:normal;color:var(--yel)}
.pbk-hero .kick{color:var(--yel)}
.pbk-hero.no-img .ah{grid-template-columns:minmax(0,1fr)}
.pbk-hero.no-img p{max-width:720px}
.pbk-hero.boxed{border-radius:22px;padding:40px 36px}
.pbk-hero.boxed .ah{gap:28px}
.pbk-hero.boxed h2.pbk-hero-t{font-size:32px}
.pbk-hero.boxed .ah-img img{height:260px}

/* rich text, image, two columns */
.pbk-prose{min-width:0}
.cms-blocks.wide .pbk-prose{max-width:920px;margin:0 auto}
.pbk-prose>:first-child{margin-top:0}.pbk-prose>:last-child{margin-bottom:0}
.pbk-fig{margin:0}
.pbk-fig img{display:block;width:100%;max-height:620px;object-fit:cover;border-radius:22px}
.pbk-fig figcaption{margin-top:10px;font:400 13px/1.5 var(--font-body);color:var(--mute);text-align:center}
.pbk-cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:center}
.pbk-cols.no-img{grid-template-columns:minmax(0,1fr)}
.pbk-cols.img-left .pbk-cols-img{order:-1}
.pbk-cols h2{margin:0 0 12px;font:700 30px/1.15 var(--font-heading);letter-spacing:-.02em;color:var(--navy)}
.pbk-cols .prose{margin-bottom:18px}
.pbk-cols .prose>:first-child{margin-top:0}.pbk-cols .prose>:last-child{margin-bottom:0}
.pbk-cols-img img{display:block;width:100%;height:360px;object-fit:cover;border-radius:22px;border:6px solid #fff;box-shadow:0 30px 60px -36px rgba(var(--navy-rgb),.55)}
.cms-main .pbk-cols{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;gap:24px}
.cms-main .pbk-cols h2{font-size:24px}
.cms-main .pbk-cols-img img{height:260px;border:0;box-shadow:none;border-radius:14px}

/* features, FAQ, call to action, stats */
.pbk-feats{gap:20px}
.pbk-feats .card{padding:24px 20px}
.pbk-faq .acc-item b{gap:12px}
.pbk-faq .acc-item b svg{flex:0 0 auto}
.pbk-faq .acc-item{transition:border-color .25s,box-shadow .25s}
.pbk-faq .acc-item.open{border-color:var(--yel);box-shadow:0 18px 36px -30px rgba(var(--navy-rgb),.6)}
.pbk-cta .big .pill{width:max-content}
.pbk-cta .sm2{padding:34px 36px;gap:10px}
.pbk-cta .sm2 h3 em{font-style:normal;background:#fff;padding:0 8px;border-radius:8px}
.pbk-cta .sm2 .pill{width:max-content}
.pbk-cta .sm2 .btn{width:max-content}
.pbk-stats .g4.cols-1{grid-template-columns:minmax(0,1fr)}
.pbk-stats .g4.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.pbk-stats .g4.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.pbk-stats.boxed{border-radius:22px;padding:34px 20px}
.pbk-stats.boxed b{font-size:34px}

/* spacer and custom HTML */
.pbk-space{display:flex;align-items:center;height:40px}
.pbk-space.sm{height:16px}.pbk-space.lg{height:80px}
.pbk-space hr{width:100%;border:0;border-top:1.5px solid var(--line);margin:0}
.pbk-html{min-width:0;overflow-wrap:anywhere}
.pbk-html img{max-width:100%;height:auto}
.pbk-html iframe{display:block;width:100%;max-width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:16px}
.pbk-html table{width:100%;border-collapse:collapse}
.pbk-html pre{overflow:auto}

@media (max-width:1100px){
  .cms-grid{grid-template-columns:minmax(0,1fr)}
  .cms-side{position:static}
  .pbk-hero h1,.pbk-hero h2.pbk-hero-t{font-size:34px}
}
@media (max-width:760px){
  .cms-title{margin:6px 0 16px}
  .cms-cover{height:200px;border-radius:16px}
  .cms-main{gap:16px}
  .cms-blocks.wide>.pbk:not(.full){padding:16px 0}
  .cms-blocks.wide>.pbk:last-child:not(.full){padding-bottom:40px}
  .pbk .sec-h{margin-bottom:14px}
  .pbk .sec-h .kick{display:inline-flex}
  .pbk-hero h1,.pbk-hero h2.pbk-hero-t,.pbk-hero.boxed h2.pbk-hero-t{font-size:28px}
  .pbk-hero.boxed{padding:26px 20px;border-radius:18px}
  .pbk-hero.boxed .ah-img img{height:200px}
  .pbk-cols{grid-template-columns:minmax(0,1fr);gap:18px}
  .pbk-cols .pbk-cols-img{order:-1}
  .pbk-cols h2{font-size:22px}
  .pbk-cols-img img,.cms-main .pbk-cols-img img{height:210px}
  .cms-main .pbk-cols{padding:16px}
  .pbk-fig img{border-radius:16px}
  .pbk-cta .sm2{padding:22px 20px}
  .pbk-cta .sm2 h3{font-size:22px}
  .pbk-stats .g4.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pbk-stats .g4.cols-3{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .pbk-stats .g4.cols-3 b{font-size:22px}
  .pbk-stats .g4.cols-3>div{text-align:center}
  .pbk-stats .g4.cols-3 span{font-size:11px}
  .pbk-cta .ring{width:120px;height:120px;right:-44px;top:-44px}
  .pbk-cta .big h3,.pbk-cta .big p{max-width:calc(100% - 40px)}
  .pbk-stats.boxed{padding:22px 18px;border-radius:18px}
  .pbk-stats.boxed b{font-size:26px}
  .pbk-space.lg{height:48px}
}
.cms-main .prose-card>:first-child,.cms-narrow .prose-card>:first-child{margin-top:0}
