/* Native header/footer blocks. Block style attributes and global styles remain authoritative. */
.wp-site-blocks{padding:0}.wp-site-blocks>*,.stf-main.wp-block-group{margin-block:0}.stf-main.wp-block-group{max-width:none;padding:0}.stf-main>.wp-block-post-content{margin:0;max-width:none}
.stf-template-header{position:sticky;top:0;z-index:50;margin:0}.admin-bar .stf-template-header{top:32px}
.stf-block-header{background-color:#000e1c;border-bottom:1px solid var(--line)}
.stf-block-header-row{width:min(1600px,calc(100% - 64px));min-height:107px;margin:auto;gap:24px}
.stf-block-brand{flex-shrink:0;gap:13px}.stf-block-brand-name{margin:0;white-space:nowrap}.stf-block-brand-name a{text-decoration:none}
.stf-block-logo{margin:0;flex:0 0 auto}.stf-block-logo img{display:block;width:75px;height:auto;max-height:100%;object-fit:contain}
.stf-primary-navigation{flex:1;min-width:0;margin-inline:auto}.stf-primary-navigation .wp-block-navigation__container{gap:clamp(18px,1.6vw,31px);justify-content:center;flex-wrap:nowrap}
.stf-primary-navigation a,.stf-footer-navigation a{text-decoration:none}
.stf-primary-navigation a:hover,.stf-primary-navigation a:focus-visible,.stf-footer-navigation a:hover,.stf-footer-navigation a:focus-visible{color:var(--blue);text-decoration:underline;text-underline-offset:7px}
.stf-primary-navigation .current-menu-item>a{color:var(--blue);text-decoration:underline;text-underline-offset:7px}
.stf-block-email{gap:8px;flex-shrink:0}.stf-block-email-icon{margin:0;width:21px}.stf-block-email-icon img{display:block;width:100%;height:auto}.stf-block-email-text{margin:0;white-space:nowrap}.stf-block-email-text a{text-decoration:none}
.stf-block-footer{background-color:#000e1c;border-top:1px solid var(--line);padding:42px 0 26px}
.stf-block-footer-row,.stf-block-copyright{width:min(1240px,calc(100% - 64px));margin-inline:auto}
.stf-block-footer-row{gap:39px}.stf-block-footer .stf-block-logo img{width:83px}.stf-block-award{margin:0;flex-shrink:0}.stf-block-award img{width:86px;height:auto;display:block}
.stf-footer-navigation .wp-block-navigation__container{gap:24px}.stf-block-copyright{border-top:1px solid #126b90;padding-top:21px;margin-top:36px;gap:20px}.stf-block-copyright p{margin:0}
/* Defaults have deliberately low specificity so native typography controls win. */
:where(.stf-block-brand-name){font-size:34px;color:#fff;line-height:1.2}
:where(.stf-primary-navigation,.stf-footer-navigation){font-size:18px;font-weight:700;color:#fff}
:where(.stf-block-email-text){font-size:16px;color:#c9d9e6}
:where(.stf-block-footer .stf-block-brand-name){font-size:33px}
:where(.stf-block-copyright){font-size:14px;color:#9fb5c4}
:where(.stf-block-copyright p){color:inherit}
/* Native selected backgrounds replace the old wallpaper rules, including in the editor. */
:where(.stf-page-content.wp-block-group){background-color:transparent;font-family:inherit;font-size:inherit}
.stf-home-page .stf-hex-section{background-blend-mode:multiply;background-color:#14304a}
.stf-service-area-heading{gap:16px;align-items:center;margin-bottom:18px}
.stf-area-pin{margin:0;flex:0 0 auto}.stf-area-pin img{display:block;width:42px;height:auto;object-fit:contain}
.stf-service-area-heading-copy{min-width:0}.stf-service-area-heading-copy>p,.stf-service-area-heading-copy>h3{margin:0}
.stf-home-bottom-copy>.stf-home-cta-buttons{align-items:stretch;gap:14px;flex-wrap:wrap;width:100%}
.stf-home-cta-buttons>.wp-block-button{display:flex;flex:1 1 145px;max-width:240px;margin:0}
.stf-home-cta-buttons .wp-block-button__link{width:100%;height:100%;padding:14px 16px;white-space:normal;min-height:60px;text-align:center}
@media(min-width:1101px){.stf-home-cta-buttons>.wp-block-button{flex:1 1 0;min-width:0;max-width:none}}
@media(max-width:1100px){.stf-block-header-row{min-height:82px;gap:18px}:where(.stf-block-brand-name){font-size:26px}.stf-block-logo img{width:58px}.stf-block-email{display:none}}
@media(max-width:1024px){
 .stf-block-header-row{min-height:70px;width:calc(100% - 40px)}
 .stf-primary-navigation{flex:0 0 auto;margin:0 0 0 auto}
 .stf-primary-navigation .wp-block-navigation__responsive-container:not(.is-menu-open){display:none}
 .stf-primary-navigation .wp-block-navigation__responsive-container-open:not(.always-shown){display:flex}
 .stf-primary-navigation .wp-block-navigation__responsive-container.is-menu-open{color:#fff;background:#000e1c;padding:32px}
 .stf-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{align-items:center;flex-direction:column;gap:26px}
 .stf-block-footer-row{flex-wrap:wrap}.stf-footer-navigation{order:3;flex-basis:100%}.stf-block-copyright{flex-wrap:wrap}
}
@media(max-width:700px){
 .admin-bar .stf-template-header{top:46px}.stf-block-header-row{min-height:64px;width:calc(100% - 28px)}
 :where(.stf-block-brand-name){font-size:20px}.stf-block-logo img{width:44px}.stf-block-brand{gap:10px}
 .stf-block-footer{padding:30px 0 20px}.stf-block-footer-row,.stf-block-copyright{width:calc(100% - 28px)}
 :where(.stf-block-footer .stf-block-brand-name){font-size:24px}.stf-block-footer .stf-block-logo img{width:56px}.stf-block-award img{width:60px}.stf-block-footer-row{gap:24px}
 :where(.stf-footer-navigation){font-size:14px}.stf-footer-navigation .wp-block-navigation__container{gap:16px;flex-wrap:wrap}
 :where(.stf-block-copyright){font-size:12px}.stf-block-copyright{gap:8px;margin-top:24px}
 .stf-home-cta-buttons>.wp-block-button{flex:1 1 160px}.stf-area-pin img{width:36px}
}
/* Keep the editor's own canvas/header positioning independent of the public sticky header. */
.editor-styles-wrapper .stf-template-header{position:static}.editor-styles-wrapper .stf-block-header-row{width:calc(100% - 40px)}
/* Group text colour and custom typography flow into children unless they have their own setting. */
.has-text-color :where(p,h1,h2,h3,h4,h5,h6){color:inherit}
.wp-block-group[style*="font-size"]>:where(p,h1,h2,h3,h4,h5,h6){font-size:inherit}
.wp-block-group[style*="font-family"] :where(p,h1,h2,h3,h4,h5,h6){font-family:inherit}
