/* SorbiTech Group branding, shared by every page of the site.
   Source of the rules: SorbiTech Group Website Development Manual v1.0, parts 3, 4, 5 and 14.
   Linked at the end of <head> on every page by scripts/apply-brand.js, so it loads after the
   theme's inline settings and wins over them. Changes colours, weights and the header and
   footer chrome only; no content, image or link is changed by this file.
   Palette roles: Blue 2F66C4 (clickable only), Navy 0F2A5C, Sky 6FA0EF (on Navy only),
   Dark Gray 434343 (text and headings), Light Gray 6B6B6B, Hairline D0D5DD, Off White F5F5F5, White. */

/* 1. Palette: the theme's inline settings load an older palette (#3399FF, #AA1313, #2D3748 ...).
   Map every theme slot back onto the manual roles. */
:root{--global-palette1:#2F66C4;--global-palette2:#0F2A5C;--global-palette3:#434343;--global-palette4:#434343;--global-palette5:#6B6B6B;--global-palette6:#D0D5DD;--global-palette7:#F5F5F5;--global-palette8:#F5F5F5;--global-palette9:#FFFFFF}
body{color:#434343}

/* 2. Typography: headings SemiBold (600) */
h1,h2,h3,h4,h5,h6{font-weight:600!important}
:is(h1,h2,h3,h4,h5,h6) strong,:is(h1,h2,h3,h4,h5,h6) b{font-weight:inherit!important}

/* 3. Header: one header on every page. The logo is the home link; Contact is the one
   button, pinned right. Dropdowns on Navy. */
.header-navigation .header-menu-container ul li.brand-nav-cta{margin-left:10px}
.header-navigation .header-menu-container ul li.brand-nav-cta > a{background:#2F66C4!important;color:#fff!important;border-radius:6px;padding:11px 22px!important;line-height:1.2;transition:background .2s}
.header-navigation .header-menu-container ul li.brand-nav-cta > a:hover,.header-navigation .header-menu-container ul li.brand-nav-cta.current-menu-item > a{background:#0F2A5C!important;color:#fff!important}
.header-navigation .header-menu-container ul li.brand-nav-cta > a::after{display:none!important}
.header-navigation .header-menu-container ul ul.sub-menu,.header-navigation .header-menu-container ul ul.submenu{background:#0F2A5C!important;border-top-color:#2F66C4!important}
.header-navigation .header-menu-container ul ul li > a{color:#fff!important}
.primary-menu-container .sub-menu a:hover,.header-navigation .header-menu-container ul ul li > a:hover{background:#F5F5F5!important;color:#2F66C4!important}
.mobile-toggle-open-container .menu-toggle-open:hover,.mobile-toggle-open-container .menu-toggle-open:focus-visible{color:#2F66C4!important}
.popup-drawer .drawer-inner{background:#0F2A5C!important}
#mobile-menu li.brand-nav-cta{border:0!important;padding:18px 0 0}
#mobile-menu li.brand-nav-cta > a{display:block;background:#2F66C4!important;color:#fff!important;border-radius:6px;text-align:center;padding:14px 18px!important;font-weight:600}
.skip-link{color:#2F66C4!important}

/* 4. Focus rings: 2px from the element; Blue on light, Sky on Navy */
a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid #2F66C4;outline-offset:2px}
.cms-footer a:focus-visible,.popup-drawer a:focus-visible{outline-color:#6FA0EF}

/* 5. Footer group bar: White at 5% fill, White at 15% border, group links semibold */
.cms-footer-group-banner{background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.15)!important}
.cms-footer-group-links a{font-weight:600}

/* 6. Shared components */
.kt-image-overlay-wrap{background:#0F2A5C!important}
.kt-modal-close{color:#434343!important}

/* 7. Region pages: #3399FF replaced by its role. Blue only where clickable; highlighted
   words in headings take the heading colour. */
.region-hero h1 strong,.region-content h2 strong,.region-materials-header h2 strong,.region-faq-title strong,.region-cta h2 strong{color:inherit!important}
.region-hero-breadcrumb a:hover{color:#6FA0EF!important}
.region-hero-cta .btn-primary{background:#2F66C4!important;color:#fff!important}
.region-hero-cta .btn-primary:hover{background:#0F2A5C!important}
.region-content li::marker{color:#434343}
.region-sidebar-form-card::before{background:#0F2A5C!important}
.region-sidebar-form input:focus,.region-sidebar-form textarea:focus{border-color:#2F66C4!important;box-shadow:0 0 0 3px rgba(47,102,196,.12)!important}
.region-sidebar-links a:hover,.region-sidebar-links .active a{background:#F5F5F5!important;color:#2F66C4!important}
.region-material-link{color:#2F66C4!important}
.region-material-link svg{stroke:#2F66C4!important}
.region-material-icon svg{stroke:#0F2A5C!important}
.region-faq-item.active{border-color:#2F66C4!important}
.region-faq-item.active .region-faq-icon{background:#2F66C4!important}
