/* V20: focused responsive layout stabilization. Loaded after earlier styles. */
:root{--ds-max:1180px;--ds-header:88px}
html{scroll-padding-top:96px}
body{overflow-x:hidden}
.container{width:min(100% - 40px,var(--ds-max));max-width:var(--ds-max);margin-inline:auto}
.header,.header.scrolled{position:relative!important;width:100%!important;min-height:var(--ds-header)!important;height:auto!important}
.header .header-row,.header.scrolled .header-row{min-height:var(--ds-header)!important;height:var(--ds-header)!important;gap:20px!important}
.header .brand-crest{width:54px!important;height:54px!important}
.header .brand-name{font-size:11px!important;line-height:1.3!important;max-width:130px}
.header .nav{min-width:0;gap:clamp(10px,1.2vw,20px)!important}
.header .nav>a{font-size:13px!important;line-height:1.4!important}
.header .menu-btn{position:relative;z-index:1003}
.footer .footer-grid{grid-template-columns:minmax(210px,1.5fr) repeat(3,minmax(120px,1fr));gap:clamp(22px,3vw,45px)!important}
.footer .footer-grid>div{min-width:0}.footer .footer-grid a{overflow-wrap:anywhere}
.page-hero{padding-block:clamp(52px,7vw,100px)!important}
body:has(.blog-wrap) .blog-wrap{width:min(100% - 40px,1120px)!important;max-width:1120px!important;padding:56px 0 84px!important;margin-inline:auto!important}
.blog-wrap .blog-admin-intro{padding-bottom:26px}.blog-wrap .blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.blog-wrap .blog-article{max-width:860px!important;margin:0 auto!important}.blog-wrap .blog-article .blog-content{overflow-wrap:anywhere}
@media(max-width:1050px){
 :root{--ds-header:76px}
 .header .header-row,.header.scrolled .header-row{height:76px!important;min-height:76px!important}
 .header .nav,.header.scrolled .nav{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100vw!important;height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important;overscroll-behavior:contain;z-index:1002!important;padding:95px max(22px,calc((100vw - 680px)/2)) 36px!important}
 .header .nav.open,.header.scrolled .nav.open{visibility:visible!important;transform:translateX(0)!important}
 .header .menu-btn{display:grid!important;z-index:1003!important}
 .footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:640px){
 .container{width:calc(100% - 32px)}
 .header .brand-crest{width:44px!important;height:44px!important}
 .header .brand-name{font-size:10px!important}
 .footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 16px!important}
 .footer .footer-grid>div:first-child{grid-column:1/-1}
 .footer .footer-bottom{align-items:flex-start;flex-direction:column;gap:16px}
 body:has(.blog-wrap) .blog-wrap{width:calc(100% - 32px)!important;padding:38px 0 65px!important}
 .blog-wrap .blog-grid{grid-template-columns:minmax(0,1fr)!important}
 .blog-wrap .blog-card-body{padding:22px!important}
 .blog-wrap h1{font-size:clamp(34px,10vw,54px)!important}
 .blog-wrap .blog-article{padding:22px!important}
 .page-hero{padding-block:48px!important}
}
