/* Layout repair: loaded last, keeping existing theme and admin content. */
body.home-page .site-nav{position:relative!important;inset:auto!important;transform:none!important;width:100%!important;max-width:none!important;margin:0!important;border-radius:0!important;min-height:88px!important;height:auto!important;padding:12px clamp(20px,3.8vw,75px)!important;background:#0c0c10!important;z-index:1000!important}
body.home-page #vv-home-banner:not([hidden]){width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:1920/800;min-height:0!important;margin:0!important;overflow:hidden}
body.home-page #vv-home-banner .vv-banner-media{background-size:cover!important}
body.vp-page main.vp-main .sv-item .sv-pic{display:block!important;width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:16/8;min-width:0!important;margin:0!important;position:relative!important;overflow:hidden}
body.vp-page main.vp-main .sv-item .sv-pic img{position:absolute!important;inset:0!important;width:100%!important;max-width:none!important;height:100%!important;object-fit:cover!important;margin:0!important;border-radius:0!important}
body.vp-page:is(.vp-portfolio,.vp-blog) main.vp-main{width:100%!important;max-width:none!important;margin:0!important}
body.vp-page:is(.vp-portfolio,.vp-blog) main.vp-main .vp-wrap{width:calc(100% - clamp(32px,8vw,144px))!important;max-width:1800px!important;margin-inline:auto!important;min-width:0}
body.vp-portfolio main.vp-main .pf-note{display:block!important;width:100%!important;max-width:none!important;margin:0!important}
body.vp-portfolio main.vp-main .pf-note>.vp-wrap{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:center;gap:clamp(24px,4vw,70px)}
body.vp-portfolio .pf-note img{width:100%!important;max-width:none!important}
body.vp-portfolio .pf-bento{grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-flow:dense;width:100%;margin-inline:auto}
body.vp-portfolio .pf-tile{margin:0;min-width:0}.pf-tile img{width:100%!important;height:100%!important;object-fit:cover}
body.vp-blog .bl-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,2vw,34px)}
body.vp-blog .bl-list .bl-post:nth-child(n){grid-column:span 1;margin:0;min-width:0}
body.vp-blog .bl-feat{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
body.vp-blog .bl-feat img,body.vp-blog .bl-post img{width:100%!important;max-width:none!important;object-fit:cover}
.totop{display:none!important}
@media(max-width:900px){
 body.home-page .site-nav{min-height:76px!important;padding:10px 20px!important}
 body.vp-page main.vp-main .ct-split{display:grid!important;grid-template-columns:minmax(0,1fr)!important;min-height:0!important}
 body.vp-page main.vp-main .ct-left>div{position:relative!important;inset:auto!important;transform:none!important}
 body.vp-page main.vp-main .ct-left,body.vp-page main.vp-main .ct-right{min-width:0!important;width:100%!important;padding:36px 24px!important;overflow:hidden}
 body.vp-page main.vp-main .ct-left .vp-btns{position:relative!important;inset:auto!important;transform:none!important;margin:24px 0 0!important;display:flex!important;flex-wrap:wrap;gap:12px;z-index:1}
 body.vp-page main.vp-main .ct-right form{grid-template-columns:minmax(0,1fr)!important}
 body.vp-page main.vp-main .ct-right .field{min-width:0}
 body.vp-portfolio main.vp-main .pf-note>.vp-wrap,body.vp-blog .bl-feat{grid-template-columns:minmax(0,1fr)!important}
 body.vp-portfolio .pf-bento{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:clamp(160px,42vw,310px)}
 body.vp-portfolio .pf-bento .pf-tile{grid-column:span 1;grid-row:span 1}
 body.vp-blog .bl-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
 html,body{max-width:100%;overflow-x:clip!important}
 body main,body main section,body main article{min-width:0;max-width:100%;box-sizing:border-box}
 body main :is(h1,h2,h3,p,a){overflow-wrap:break-word}
 body main img,body main video{max-width:100%}
 body.home-page #vv-home-banner:not([hidden]){aspect-ratio:1080/1350}
 body.vp-page main.vp-main .vp-wrap{width:calc(100% - 32px)!important;max-width:100%!important;margin-inline:auto!important}
 body.vp-page main.vp-main :is(.ab-hero .vp-wrap,.ab-state,.ab-think,.sv-show,.sv-how .vp-wrap,.pf-note,.pr-line,.bl-ideas .vp-wrap,.co-grid,.co-learn .vp-wrap,.sd-hero .vp-wrap,.sd-body,.ar-grid,.vv-insight-grid,.ex-split){grid-template-columns:minmax(0,1fr)!important}
 body.vp-page main.vp-main :is(.vp-wrap,.vv-insight-grid)>*{min-width:0}
 body.vp-page main.vp-main h1{font-size:clamp(32px,10vw,56px)!important}
 body.vp-page main.vp-main .vp-h{font-size:clamp(28px,8vw,44px)!important}
 body.vp-portfolio .pf-bento,body.vp-blog .bl-list{grid-template-columns:minmax(0,1fr)}
 body.vp-portfolio .pf-bento{grid-auto-rows:clamp(220px,72vw,420px)}
 body.vp-page main.vp-main .ct-facts a{overflow-wrap:anywhere}
 body.vp-page main.vp-main .ct-left .vp-btn{max-width:100%;white-space:normal}
}
