
/* Document corrections 22 October 2026 */
#masthead .site-header-inner{box-sizing:border-box;max-width:1440px!important;margin:auto!important;padding:18px 28px!important;gap:10px 28px;align-items:center}
#masthead .site-branding,#masthead .header-html-1,#masthead .header-html-2,#masthead .top-menu{width:auto!important;max-width:100%!important;min-width:0;margin:0!important;position:static!important;transform:none!important}
#masthead .site-logotype img{width:68px!important;height:68px!important;object-fit:contain}
#masthead .site-branding{display:flex!important;align-items:center;gap:14px}
#masthead .site-title{font-size:25px!important;line-height:1.2!important}
#masthead .header-html-1 .profile-header{font-size:13px;line-height:1.5;text-align:left}
#masthead .header-html-1 .profile-header a{white-space:nowrap}
#masthead .header-html-1>div[style*="visibility"]{display:none!important}
#masthead .header-html-2 .wp-block-buttons{margin:0!important;justify-content:center}
#masthead .header-html-2 .btn-header{display:flex!important;justify-content:center;align-items:center;width:100%!important;min-height:48px;padding:12px 18px!important;box-sizing:border-box;line-height:1.3!important;text-align:center;white-space:normal}
@media(min-width:1100px){
 #masthead .site-header-inner{display:grid!important;grid-template-columns:minmax(240px,.9fr) minmax(280px,1.2fr) 215px}
 #masthead .site-branding{grid-column:1;grid-row:1/3}
 #masthead .top-menu{display:block!important;grid-column:2/4;grid-row:1;justify-self:end}
 #masthead .top-menu .menu{display:flex;flex-wrap:wrap;gap:8px 24px;margin:0!important}
 #masthead .top-menu li{margin:0!important;padding:0!important}
 #masthead .top-menu a{font-size:12px!important;line-height:1.4!important}
 #masthead .header-html-1{grid-column:2;grid-row:2}
 #masthead .header-html-2{grid-column:3;grid-row:2;width:215px!important}
 #masthead .humburger{display:none!important}
}
@media(max-width:1099px){
 #masthead .site-header-inner{display:grid!important;grid-template-columns:minmax(0,1fr) 180px;position:relative!important;padding:16px 24px!important;gap:14px 20px}
 #masthead .site-branding{grid-column:1/3;justify-content:center;padding:0 28px!important}
 #masthead .top-menu{display:none!important}
 #masthead .humburger{display:block!important;position:absolute!important;left:18px;top:30px}
 #masthead .header-html-1{grid-column:1;grid-row:2}
 #masthead .header-html-2{grid-column:2;grid-row:2}
 #masthead .header-html-2 .btn-header{font-size:12px!important}
}
@media(max-width:600px){
 #masthead .site-header-inner{grid-template-columns:minmax(0,1fr) 132px;padding:12px 14px!important;gap:10px 8px}
 #masthead .site-title{font-size:21px!important}
 #masthead .site-logotype img{width:52px!important;height:52px!important}
 #masthead .site-branding{gap:8px}
 #masthead .header-html-1 .profile-header{font-size:11px!important;line-height:1.5}
 #masthead .header-html-2 .btn-header{font-size:11px!important;padding:12px 8px!important}
}
body .ngs-quote-panel,body .ngs-quote-panel.wp-block-columns,body .ngs-quote-panel .wp-block-columns,body .ngs-quote-panel>.wp-block-group__inner-container{height:auto!important;min-height:0!important;max-height:none!important;align-items:stretch!important}
body .ngs-quote-panel .ngs-quote-form,body .ngs-quote-panel .ngs-quote-photo{height:auto!important;max-height:none!important;overflow:visible!important}
body .ngs-quote-panel .ngs-quote-form{padding:24px!important;min-height:420px!important}
body .ngs-quote-form__h{margin:0 0 8px!important}
body .ngs-quote-form__note{margin:0 0 14px!important}
body .ngs-cf7-quote__row--2{grid-template-columns:1fr!important}
body .ngs-cf7-quote__field{margin:0 0 12px!important}
body .ngs-cf7-quote__field br,body .ngs-cf7-quote__privacy>br,body .ngs-cf7-quote__submit>br{display:none!important}
body .ngs-cf7-quote__field label{display:block;margin-bottom:5px}
body .ngs-quote-panel .ngs-quote-photo{position:relative;min-height:420px!important;overflow:hidden!important}
body .ngs-quote-panel .ngs-quote-photo .wp-block-cover{height:100%!important;min-height:420px!important;max-height:none!important}
.ngs-revision-cta{box-sizing:border-box;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px 24px;margin:0!important;padding:24px clamp(18px,5vw,72px)!important;background:#f4f6f8;color:#091425;text-align:center}
.ngs-revision-cta p{margin:0!important;max-width:720px;font-size:17px;line-height:1.5}
.ngs-revision-cta a{display:inline-block;padding:14px 22px;border-radius:5px;background:#ff8614;color:#fff!important;text-decoration:none;font-weight:700;font-size:14px}
.ngs-revision-cta a:focus-visible{outline:3px solid #06172d;outline-offset:4px}
body:has(.ngs-b2b) .ngs-section{padding-top:clamp(40px,5vw,72px)!important;padding-bottom:clamp(40px,5vw,72px)!important}
body:has(.ngs-b2b) .ngs-step{min-height:260px!important}
body:has(.ngs-b2b) .ngs-step .ngs-num{margin-bottom:44px!important}
@media(max-width:700px){body .ngs-quote-panel .ngs-quote-form{padding:20px 18px!important;min-height:0!important}body .ngs-quote-panel .ngs-quote-photo,body .ngs-quote-panel .ngs-quote-photo .wp-block-cover{min-height:240px!important}body:has(.ngs-b2b) .ngs-section{padding:40px 18px!important}}
/* Keep the existing quiz and its steps; allow the popup itself to scroll. */
#pum-384 .pum-container{width:min(1040px,calc(100% - 32px))!important;max-width:1040px!important;max-height:calc(100dvh - 32px)!important;overflow-y:auto!important;overscroll-behavior:contain}
#pum-384 .quizle{height:auto!important;min-height:min(580px,75dvh);max-height:none!important}
#pum-384 .quizle-question__body{max-height:none!important}

/* Service template inherited a negative navigation offset. */
body #site-navigation,body:has(.ngs-b2b) #site-navigation{margin-top:0!important}
