/* KBM Core 1.9.9-rc.71 — First Paint / Layout Stability Authority */
:root{--kbm-fp71-shell:1280px;--kbm-fp71-gutter:24px;--kbm-fp71-mobile-gutter:10px;--kbm-fp71-safe-bottom:env(safe-area-inset-bottom,0px)}
html,body{margin-top:0!important}
body.kbm-first-paint-authority-71{padding-top:0!important;overflow-x:hidden!important}
body.admin-bar.kbm-first-paint-authority-71{padding-top:0!important}
/* Retire legacy mobile top padding while retaining route/card/filter rules. */
body.kbm-first-paint-authority-71.kbm-rwd-device-mobile,
body.kbm-first-paint-authority-71.kbm-rpg-is-mobile{padding-top:0!important}
body.admin-bar.kbm-first-paint-authority-71.kbm-rwd-device-mobile,
body.admin-bar.kbm-first-paint-authority-71.kbm-rpg-is-mobile{padding-top:0!important}
/* CSS-first shell geometry: identical before and after JavaScript classification. */
body.kbm-rpg-active :where(.kbm-shell,.kbm-theme-shell,.kbm-theme-container,.kbm-theme-content,.entry-content,.site-main,.kbm-home-shell,.kbm-screen-shell,.kbm-vhub,.kbm-adsv2,.kbm-adsv2-wrap,.kbm-adsv2-archive,.kbm-ads-shell,.kbm-p20p-archive,.kbm-p20-archive,.kbm-provider-archive,.kbm-p23-archive,.kbm-p5r15-archive,.kbm-driver-archive,.kbm-dashboard,.kbm-auth-page,.kbm-static-page){margin-inline:auto!important}
@media(min-width:1181px){
  body.kbm-rpg-active{--kbm-rpg-gutter:24px}
  body.kbm-rpg-active :where(.kbm-shell,.kbm-theme-shell,.kbm-theme-container,.kbm-theme-content,.entry-content,.site-main,.kbm-home-shell,.kbm-screen-shell,.kbm-vhub,.kbm-adsv2,.kbm-adsv2-wrap,.kbm-adsv2-archive,.kbm-ads-shell,.kbm-p20p-archive,.kbm-p20-archive,.kbm-provider-archive,.kbm-p23-archive,.kbm-p5r15-archive,.kbm-driver-archive,.kbm-dashboard,.kbm-auth-page,.kbm-static-page){width:min(var(--kbm-fp71-shell),calc(100vw - 48px))!important;max-width:min(var(--kbm-fp71-shell),calc(100vw - 48px))!important}
}
@media(min-width:768px) and (max-width:1180px){
  body.kbm-rpg-active{--kbm-rpg-gutter:16px;padding-top:0!important}
  body.kbm-rpg-active :where(.kbm-shell,.kbm-theme-shell,.kbm-theme-container,.kbm-theme-content,.entry-content,.site-main,.kbm-home-shell,.kbm-screen-shell,.kbm-vhub,.kbm-adsv2,.kbm-adsv2-wrap,.kbm-adsv2-archive,.kbm-ads-shell,.kbm-p20p-archive,.kbm-p20-archive,.kbm-provider-archive,.kbm-p23-archive,.kbm-p5r15-archive,.kbm-driver-archive,.kbm-dashboard,.kbm-auth-page,.kbm-static-page){width:calc(100vw - 32px)!important;max-width:980px!important}
}
@media(max-width:767px){
  body.kbm-rpg-active{--kbm-rpg-gutter:10px;padding-top:0!important}
  body.kbm-rpg-active :where(.kbm-shell,.kbm-theme-shell,.kbm-theme-container,.kbm-theme-content,.entry-content,.site-main,.kbm-home-shell,.kbm-screen-shell,.kbm-vhub,.kbm-adsv2,.kbm-adsv2-wrap,.kbm-adsv2-archive,.kbm-ads-shell,.kbm-p20p-archive,.kbm-p20-archive,.kbm-provider-archive,.kbm-p23-archive,.kbm-p5r15-archive,.kbm-driver-archive,.kbm-dashboard,.kbm-auth-page,.kbm-static-page){width:calc(100vw - 20px)!important;max-width:430px!important}
}
/* Fixed hero reservation. Slide changes never alter document geometry. */
body.kbm-hgacfr27 .kbm-sch27-hero-gallery{aspect-ratio:16/9!important;transition:none!important;contain:layout paint style}
@media(max-width:700px){body.kbm-hgacfr27 .kbm-sch27-hero-gallery{aspect-ratio:4/5!important}}
body.kbm-hgacfr27 .kbm-sch27-hero-slide__media img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important}
@media(prefers-reduced-motion:reduce){body.kbm-first-paint-authority-71 *{scroll-behavior:auto!important}}
