/*
Theme Name: Hello WNT Child
Template: hello-elementor
Version: 1.0.0
*/

:root{--wnt-blue:#1E73BE;--wnt-blue-dark:#185f9d;--wnt-text:#173a57;--wnt-muted:#5f7890;--wnt-bg:#ffffff;--wnt-soft:#f3f8fd;--wnt-border:#dbe9f5;--wnt-container:1240px}
body{font-family:Calibri,"Segoe UI",Arial,sans-serif;color:var(--wnt-text)}
.wnt-container{max-width:var(--wnt-container);margin:0 auto;padding:0 20px}
.wnt-topbar{background:#ffd24a;border-bottom:1px solid #e6bc3f;color:#173a57;font-size:14px;position:sticky;top:0;z-index:2000}
.admin-bar .wnt-topbar{top:32px}
.wnt-topbar-inner{min-height:42px;display:flex;align-items:center;justify-content:center;gap:14px}
.wnt-topbar-cta{font-weight:700;color:#173a57;text-decoration:none}
.wnt-topbar-close{border:0;background:transparent;font-size:20px;line-height:1;cursor:pointer;color:#173a57;padding:0 4px}
.wnt-header{position:sticky;top:42px;background:#fff;z-index:1900;border-bottom:1px solid var(--wnt-border)}
.admin-bar .wnt-header{top:74px}
body.wnt-topbar-hidden .wnt-header{top:0}
body.admin-bar.wnt-topbar-hidden .wnt-header{top:32px}
.wnt-header-row{height:86px;display:flex;align-items:center;gap:24px}.wnt-brand{min-width:180px}.wnt-brand img{max-height:44px;width:auto}
.wnt-nav-wrap{flex:1;display:flex;justify-content:flex-end}.wnt-menu{display:flex;list-style:none;margin:0;padding:0;gap:6px;align-items:center;justify-content:flex-end}.wnt-menu li{position:relative}
.wnt-menu>li>a{display:block;padding:10px 12px;color:#173a57;text-decoration:none;font-weight:600;font-size:15px;border-radius:8px}
.wnt-menu>li:hover>a,.wnt-menu>li.current-menu-item>a{background:var(--wnt-soft);color:var(--wnt-blue)}
.wnt-menu .sub-menu{display:none;position:absolute;top:100%;right:0;min-width:250px;background:#fff;border:1px solid var(--wnt-border);border-radius:12px;box-shadow:0 14px 28px rgba(14,51,83,.12);padding:8px;margin:0;list-style:none}
.wnt-menu li:hover>.sub-menu{display:block}.wnt-menu .sub-menu li a{display:block;padding:10px 12px;text-decoration:none;color:#234864;border-radius:8px;font-size:14px}
.wnt-menu .sub-menu li a:hover{background:var(--wnt-soft);color:var(--wnt-blue)}.wnt-menu .sub-menu .sub-menu{top:0;right:100%;margin-right:8px}
.wnt-header-actions{display:flex;align-items:center;gap:10px}.wnt-btn{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 18px;border-radius:10px;text-decoration:none;font-weight:700;font-size:14px;white-space:nowrap}
.wnt-btn-primary{background:var(--wnt-blue);color:#fff}.wnt-btn-primary:hover{background:var(--wnt-blue-dark);color:#fff}.wnt-btn-outline{border:1px solid var(--wnt-border);color:#173a57;background:#fff}
.wnt-btn-outline:hover{border-color:#bfd9ef;background:var(--wnt-soft)}.wnt-mobile-toggle{display:none;border:1px solid var(--wnt-border);background:#fff;width:44px;height:44px;border-radius:10px;align-items:center;justify-content:center;font-size:22px}
.wnt-footer{background:#0f3555;color:#d7e8f6;margin-top:70px}
.wnt-footer-top{padding:56px 0;display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr 1fr;gap:24px}
.wnt-footer h4{color:#fff;margin:0 0 14px;font-size:18px}
.wnt-footer p,.wnt-footer a{font-size:14px;color:#d7e8f6;text-decoration:none}
.wnt-footer a:hover{color:#fff}
.wnt-footer-bottom{border-top:1px solid rgba(255,255,255,.16);padding:16px 0;font-size:13px;color:#b7d2e6;display:flex;justify-content:space-between;gap:16px}
@media (max-width:1024px){.wnt-header-row{height:74px}.wnt-mobile-toggle{display:inline-flex}.wnt-nav-wrap{position:fixed;top:116px;left:0;right:0;background:#fff;border-bottom:1px solid var(--wnt-border);padding:12px 20px;display:none}.admin-bar .wnt-nav-wrap{top:148px}.wnt-nav-wrap.is-open{display:block}.wnt-menu{flex-direction:column;align-items:stretch;gap:2px}.wnt-menu>li>a{padding:12px}.wnt-menu .sub-menu{position:static;display:none;border:0;box-shadow:none;padding:0 0 0 12px;min-width:0}.wnt-menu li.is-open>.sub-menu{display:block}.wnt-header-actions{display:none}.wnt-footer-top{grid-template-columns:1fr 1fr}}
@media (max-width:782px){.admin-bar .wnt-topbar{top:46px}.admin-bar .wnt-header{top:88px}.admin-bar.wnt-topbar-hidden .wnt-header{top:46px}.wnt-topbar-inner{min-height:42px;padding:6px 0;justify-content:flex-start}}
@media (max-width:640px){.wnt-footer-top{grid-template-columns:1fr}}

/* Restored legacy ct header (pre-Elementor-sections state) */
.ct-wrap{max-width:1240px;margin:0 auto;padding:0 20px}
.ct-ann{position:fixed;top:0;left:0;right:0;z-index:1200;background:#ffd54f;color:#1a2a3a;border-bottom:1px solid #e9bf3f}
.ct-ann-inner{height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.ct-ann-text{font-size:14px;font-weight:700}
.ct-ann-cta{display:inline-flex;align-items:center;justify-content:center;height:30px;padding:0 12px;border-radius:999px;background:#1a2a3a;color:#fff;text-decoration:none;font-size:12px;font-weight:700}
.ct-ann-close{border:0;background:transparent;font-size:20px;line-height:1;cursor:pointer;color:#1a2a3a}

.ct-util{position:fixed;top:44px;left:0;right:0;z-index:1150;background:#edf5fb;border-bottom:1px solid #d9e7f3}
.ct-util-inner{height:52px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.ct-util-links{display:flex;flex-wrap:wrap;gap:8px}
.ct-pill{display:inline-flex;align-items:center;height:32px;padding:0 12px;border-radius:999px;border:1px solid #cddfed;background:#fff;color:#2b506f;font-size:13px;font-weight:700;text-decoration:none}
.ct-pill.is-active{background:#e3f2ff;color:#15598f}
.ct-util-right{font-size:14px;color:#2c4f6d}

.ct-nav{position:fixed;top:96px;left:0;right:0;z-index:1100;background:rgba(255,255,255,.98);border-bottom:1px solid #d9e7f3;transition:all .2s ease}
.ct-nav.is-shrink{box-shadow:0 8px 20px rgba(10,40,66,.10)}
.ct-nav-inner{height:84px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px}
.ct-logo{text-decoration:none;font-size:26px;font-weight:700;color:#123657;display:inline-flex;align-items:center;gap:10px}
.ct-logo:before{content:"";width:16px;height:16px;border-radius:50%;background:linear-gradient(140deg,#1E73BE,#39a3ef)}
.ct-menu{display:flex;align-items:center;justify-content:flex-end;gap:0;list-style:none;margin:0;padding:0;white-space:nowrap;overflow:visible;width:100%}
.ct-menu>li{position:relative}
.ct-link{height:84px;display:inline-flex;align-items:center;padding:0 10px;text-decoration:none;font-size:15px;font-weight:700;color:#173f60;white-space:nowrap}
.ct-link:hover{color:#155f9e}
.ct-link.has-dd:after{content:"▾";font-size:10px;margin-left:6px;color:#6a839a}
.ct-actions{display:flex;align-items:center;gap:10px}
.ct-btn{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 16px;text-decoration:none;border-radius:10px;font-size:14px;font-weight:700;transition:.2s ease}
.ct-btn-primary{background:#1E73BE;color:#fff}.ct-btn-primary:hover{background:#185f9d}
.ct-btn-outline{border:1px solid #bfd8ec;color:#1E73BE;background:#fff}
.ct-icon-btn{width:44px;height:44px;border-radius:10px;border:1px solid #bfd8ec;background:#fff;color:#2c5575;cursor:pointer}

.ct-mega{z-index:1500;position:absolute;left:0;top:84px;min-width:980px;background:#fff;border:1px solid #d9e7f3;border-radius:0 0 14px 14px;box-shadow:0 10px 26px rgba(15,47,74,.08);padding:24px;display:none}
.ct-menu>li:hover>.ct-mega{display:block}
.ct-mega-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.ct-mega h4{margin:0 0 10px;font-size:15px;line-height:1.3}
.ct-mega a{display:block;padding:6px 0;font-size:14px;text-decoration:none;color:#2b516f}
.ct-mega a:hover{color:#1E73BE}
.ct-mega-card{border:1px solid #d9e7f3;border-radius:12px;padding:14px;background:#f7fbff}
.ct-mega-card p{margin:0 0 10px;color:#607790;font-size:13px}
/* keep mega menus inside viewport */
.ct-menu>li.ct-mega-parent{position:static !important}
.ct-menu>li.ct-mega-parent>.ct-mega{
  left:50% !important;
  transform:translateX(-50%) !important;
  width:min(1180px,calc(100vw - 40px)) !important;
  min-width:0 !important;
  max-width:1180px !important;
}

.ct-search{position:fixed;inset:0;z-index:1400;background:rgba(8,31,50,.7);display:none;align-items:center;justify-content:center}
.ct-search.is-open{display:flex}
.ct-search-box{width:min(760px,92vw);background:#fff;border-radius:14px;padding:22px;border:1px solid #d9e7f3}
.ct-search-row{display:flex;gap:8px}
.ct-search input{flex:1;height:48px;border:1px solid #cfe0ee;border-radius:10px;padding:0 14px;font-size:16px}
.ct-search button{height:48px;padding:0 16px;border:0;border-radius:10px;background:#1E73BE;color:#fff;font-weight:700;cursor:pointer}

.ct-mobile-toggle{display:none}
.ct-mobile{position:fixed;inset:0;z-index:1300;background:#fff;transform:translateX(100%);transition:transform .25s ease}
.ct-mobile.is-open{transform:translateX(0)}
.ct-mobile-head{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid #d9e7f3}
.ct-mobile-body{padding:16px 20px;overflow:auto;height:calc(100vh - 72px)}
.ct-m-item{border-bottom:1px solid #edf3f8}
.ct-m-btn{width:100%;height:46px;display:flex;align-items:center;justify-content:space-between;border:0;background:#fff;font-size:15px;font-weight:700;color:#214c6d;cursor:pointer}
.ct-m-panel{display:none;padding:0 0 12px 0}
.ct-m-panel a{display:block;padding:7px 0;text-decoration:none;color:#3a5f7d;font-size:14px}
.ct-m-item.is-open .ct-m-panel{display:block}

.ct-header-spacer{height:180px}
body.admin-bar .ct-ann{top:32px}
body.admin-bar .ct-util{top:76px}
body.admin-bar .ct-nav{top:128px}
body.admin-bar .ct-header-spacer{height:212px}
.wnt-no-promo .ct-util{top:0}
.wnt-no-promo .ct-nav{top:52px}
.wnt-no-promo .ct-header-spacer{height:136px}
body.admin-bar.wnt-no-promo .ct-util{top:32px}
body.admin-bar.wnt-no-promo .ct-nav{top:84px}
body.admin-bar.wnt-no-promo .ct-header-spacer{height:168px}
/* remove extra gap before first Elementor section on homepage */
.home #content,.home #content .page-content{margin-top:0 !important}
/* Home section 1: force true full-width slider, no boxed image */
.home .elementor-14 > .elementor-element:first-child{margin:0 !important;padding:0 !important;min-height:68vh !important;background:none !important}
.home .elementor-14 > .elementor-element:first-child > .e-con-inner{max-width:100% !important;padding:0 !important}
.home .elementor-14 > .elementor-element:first-child .elementor-widget-image-carousel,
.home .elementor-14 > .elementor-element:first-child .elementor-widget-container,
.home .elementor-14 > .elementor-element:first-child .swiper,
.home .elementor-14 > .elementor-element:first-child .swiper-wrapper,
.home .elementor-14 > .elementor-element:first-child .swiper-slide{height:68vh !important;min-height:68vh !important}
.home .elementor-14 > .elementor-element:first-child .swiper-slide img,
.home .elementor-14 > .elementor-element:first-child .swiper-slide-image{width:100% !important;height:68vh !important;object-fit:cover !important;display:block}
.home .elementor-14 > .elementor-element:first-child .elementor-image-carousel-wrapper{margin:0 !important}

@media (max-width:1180px){
  .ct-menu>li.ct-mega-parent>.ct-mega{width:calc(100vw - 24px) !important;min-width:0 !important;padding:18px !important}
  .ct-mega-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:900px){
  .ct-menu,.ct-actions .ct-btn{display:none}
  .ct-mobile-toggle{display:inline-flex}
  .ct-nav{top:96px}
  .ct-header-spacer{height:168px}
  body.admin-bar .ct-nav{top:128px}
  body.admin-bar .ct-header-spacer{height:200px}
}
@media (max-width:640px){
  .ct-ann-inner{height:auto;padding:8px 0}
  .ct-util{top:48px}
  .ct-util-inner{height:auto;padding:8px 0}
  .ct-nav{top:104px}
  .ct-header-spacer{height:176px}
}
@media (max-width:768px){
  .ct-ann,.ct-util{display:none !important}
  .ct-nav{top:0 !important}
  .ct-nav-inner{height:68px !important}
  .ct-logo{font-size:20px}
  .ct-header-spacer{height:68px !important}
}

/* Dynamic WP menus/widgets overrides */
.ct-util-links{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.ct-util-links li{margin:0;padding:0}
.ct-util-links a{display:inline-flex;align-items:center;height:34px;padding:0 12px;border-radius:999px;border:1px solid #cddfed;background:#fff;color:#204a6c;font-size:14px;font-weight:700;text-decoration:none}
.ct-util-links .current-menu-item a,.ct-util-links a:hover{background:#e3f2ff;color:#15598f}
.ct-util-links a:focus-visible{outline:2px solid #0b4f86;outline-offset:2px;background:#ffffff;color:#123c5e;box-shadow:0 0 0 3px rgba(11,79,134,.2)}

.ct-menu > li > a{height:84px;display:inline-flex;align-items:center;padding:0 10px;text-decoration:none;font-size:15px;font-weight:700;color:#173f60;white-space:nowrap}
.ct-menu > li > a:hover{color:#155f9e}
.ct-menu > li.menu-item-has-children > a:after{content:"▾";font-size:10px;margin-left:6px;color:#6a839a}
.ct-menu a:focus-visible,.ct-util-links a:focus-visible,.ct-actions button:focus-visible,.ct-actions a:focus-visible{outline:2px solid #0d5fa3;outline-offset:2px;border-radius:8px}
.ct-menu .sub-menu{display:none;position:absolute;top:84px;right:0;min-width:260px;background:#fff;border:1px solid #d9e7f3;border-radius:0 0 12px 12px;box-shadow:0 10px 26px rgba(15,47,74,.08);list-style:none;padding:8px;margin:0;white-space:normal;z-index:1600}
.ct-menu li:hover > .sub-menu{display:block}
.ct-menu .sub-menu li a{display:block;padding:9px 12px;text-decoration:none;color:#2b516f;border-radius:8px;font-size:14px}
.ct-menu .sub-menu li a:hover{background:#f3f8fd;color:#1E73BE}
.ct-menu .sub-menu .sub-menu{top:0;right:100%;margin-right:8px}

.ct-mobile-menu,.ct-mobile-menu .sub-menu{list-style:none;margin:0;padding:0}
.ct-mobile-menu li{border-bottom:1px solid #edf3f8}
.ct-mobile-menu > li > a{width:100%;min-height:46px;display:flex;align-items:center;justify-content:space-between;border:0;background:#fff;font-size:15px;font-weight:700;color:#214c6d;cursor:pointer;text-decoration:none}
.ct-mobile-menu > li.menu-item-has-children{position:relative}
.ct-mobile-menu > li.menu-item-has-children > a{padding-right:52px}
.ct-sub-toggle{position:absolute;top:6px;right:6px;width:36px;height:36px;border:1px solid #cfe0ee;border-radius:10px;background:#fff;color:#2b5373;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.ct-sub-toggle svg{transition:transform .2s ease}
.ct-mobile-menu > li.is-open > .ct-sub-toggle svg{transform:rotate(180deg)}
.ct-mobile-menu .sub-menu{display:none;padding:0 0 12px 12px;position:static;box-shadow:none;border:0}
.ct-mobile-menu .sub-menu a{display:block;padding:7px 0;text-decoration:none;color:#3a5f7d;font-size:14px}
.ct-mobile-menu li.is-open > .sub-menu{display:block}

.wnt-footer-menu,.wnt-footer-legal{list-style:none;margin:0;padding:0}
.wnt-footer-menu li,.wnt-footer-legal li{margin:0 0 12px}
.wnt-footer-legal{display:flex;gap:14px;flex-wrap:wrap}
.wnt-widget p{margin:0 0 12px}
.wnt-widget a{line-height:1.55;display:inline-block}

/* Section 1 fix for Elementor Free: full-width carousel + overlay */
.home .wnt-hero-slider{position:relative;overflow:hidden;min-height:68vh !important;background:#0d304d}
.home .wnt-hero-slider .elementor-widget-image-carousel,
.home .wnt-hero-slider .elementor-widget-container,
.home .wnt-hero-slider .elementor-image-carousel-wrapper,
.home .wnt-hero-slider .swiper,
.home .wnt-hero-slider .swiper-wrapper,
.home .wnt-hero-slider .swiper-slide,
.home .wnt-hero-slider .swiper-slide-inner{height:68vh !important;min-height:68vh !important;width:100% !important;margin:0 !important;padding:0 !important}
.home .wnt-hero-slider .swiper-slide-inner{display:block !important;line-height:0 !important}
.home .wnt-hero-slider .swiper-slide img,
.home .wnt-hero-slider .swiper-slide-image{width:100% !important;height:68vh !important;object-fit:cover !important;display:block;filter:brightness(.72)}
.home .wnt-hero-slider .wnt-hero-overlay{position:absolute !important;inset:0 !important;z-index:3;display:flex;align-items:center;justify-content:flex-start;pointer-events:none}
.home .wnt-hero-slider .wnt-hero-overlay .e-con-inner{max-width:1240px !important;width:100%;margin:0 auto;padding:0 24px !important;min-height:68vh !important;display:flex !important;flex-direction:column !important;justify-content:center !important;align-items:flex-start !important;pointer-events:auto}
.home .wnt-hero-slider .wnt-hero-overlay h1,
.home .wnt-hero-slider .wnt-hero-overlay h2,
.home .wnt-hero-slider .wnt-hero-overlay .elementor-heading-title{color:#fff !important;font-size:clamp(34px,4.6vw,62px);line-height:1.04}
.home .wnt-hero-slider .wnt-hero-overlay p{color:#e6f2fb !important;font-size:18px;max-width:700px}
.home .wnt-hero-slider .wnt-hero-overlay .elementor-button{background:#1E73BE !important;color:#fff !important;border-radius:10px;padding:14px 24px}
.home .wnt-hero-slider .wnt-hero-overlay .elementor-button:hover{background:#185f9d !important}
.home .wnt-hero-slider .swiper-pagination{bottom:22px !important}
.home .wnt-hero-slider .swiper-pagination-bullet{background:rgba(255,255,255,.55) !important}
.home .wnt-hero-slider .swiper-pagination-bullet-active{background:#fff !important}

/* neutralize previous broken first-section hacks */
.home .elementor-14 > .elementor-element:first-child .elementor-widget-slides{display:none !important}

/* Dynamic header offset: override old fixed spacer heights */
:root{--ct-header-offset:0px}
.ct-header-spacer,
body.admin-bar .ct-header-spacer,
.wnt-no-promo .ct-header-spacer,
body.admin-bar.wnt-no-promo .ct-header-spacer{
  height:var(--ct-header-offset) !important;
}

/* Header layout fix: remove artificial gap */
.ct-header-spacer{display:none !important;height:0 !important}

.ct-util,
.ct-nav{
  position:sticky !important;
}

/* no promo */
.wnt-no-promo .ct-util{top:0 !important}
.wnt-no-promo .ct-nav{top:52px !important}

/* with promo */
body:not(.wnt-no-promo) .ct-ann{position:sticky !important;top:0 !important}
body:not(.wnt-no-promo) .ct-util{top:44px !important}
body:not(.wnt-no-promo) .ct-nav{top:96px !important}

/* admin bar offsets */
body.admin-bar.wnt-no-promo .ct-util{top:32px !important}
body.admin-bar.wnt-no-promo .ct-nav{top:84px !important}
body.admin-bar:not(.wnt-no-promo) .ct-ann{top:32px !important}
body.admin-bar:not(.wnt-no-promo) .ct-util{top:76px !important}
body.admin-bar:not(.wnt-no-promo) .ct-nav{top:128px !important}

@media (max-width:768px){
  .ct-ann,.ct-util{display:none !important}
  .ct-nav{top:0 !important}
  .ct-nav{position:fixed !important;left:0;right:0;z-index:1200}
  .ct-nav-inner{height:68px !important;grid-template-columns:auto 1fr auto auto !important;gap:8px !important}
  .ct-actions{display:flex !important;gap:8px !important}
  .ct-actions .ct-icon-btn{width:40px !important;height:40px !important}
  .ct-menu{display:none !important}
  .ct-mobile-toggle{display:inline-flex !important}
  .ct-header-spacer{display:block !important;height:68px !important}
  .home .wnt-hero-slider,
  .home .wnt-hero-slider .swiper,
  .home .wnt-hero-slider .swiper-wrapper,
  .home .wnt-hero-slider .swiper-slide,
  .home .wnt-hero-slider .swiper-slide-inner{min-height:calc(68vh - 68px) !important}
}

/* Desktop/tablet header layout: fixed bars + dynamic spacer (prevents top gap) */
.ct-ann,
.ct-util,
.ct-nav{position:fixed !important;left:0;right:0}
.ct-header-spacer{display:block !important;height:var(--ct-header-offset) !important}
.wnt-no-promo .ct-util{top:0 !important}
.wnt-no-promo .ct-nav{top:52px !important}
body:not(.wnt-no-promo) .ct-ann{top:0 !important}
body:not(.wnt-no-promo) .ct-util{top:44px !important}
body:not(.wnt-no-promo) .ct-nav{top:96px !important}
body.admin-bar.wnt-no-promo .ct-util{top:32px !important}
body.admin-bar.wnt-no-promo .ct-nav{top:84px !important}
body.admin-bar:not(.wnt-no-promo) .ct-ann{top:32px !important}
body.admin-bar:not(.wnt-no-promo) .ct-util{top:76px !important}
body.admin-bar:not(.wnt-no-promo) .ct-nav{top:128px !important}

/* CANONICAL HEADER STACK - final override */
:root{--ct-header-offset:136px}
body:not(.wnt-no-promo){--ct-header-offset:180px}
body.admin-bar.wnt-no-promo{--ct-header-offset:168px}
body.admin-bar:not(.wnt-no-promo){--ct-header-offset:212px}

.ct-ann,.ct-util,.ct-nav{position:fixed !important;left:0 !important;right:0 !important}
.ct-ann{z-index:1300 !important}
.ct-util{z-index:1290 !important}
.ct-nav{z-index:1280 !important}

.wnt-no-promo .ct-util{top:0 !important}
.wnt-no-promo .ct-nav{top:52px !important}
body:not(.wnt-no-promo) .ct-ann{top:0 !important}
body:not(.wnt-no-promo) .ct-util{top:44px !important}
body:not(.wnt-no-promo) .ct-nav{top:96px !important}

body.admin-bar.wnt-no-promo .ct-util{top:32px !important}
body.admin-bar.wnt-no-promo .ct-nav{top:84px !important}
body.admin-bar:not(.wnt-no-promo) .ct-ann{top:32px !important}
body.admin-bar:not(.wnt-no-promo) .ct-util{top:76px !important}
body.admin-bar:not(.wnt-no-promo) .ct-nav{top:128px !important}

.ct-header-spacer{display:block !important;height:var(--ct-header-offset) !important;min-height:var(--ct-header-offset) !important}

@media (max-width:768px){
  :root{--ct-header-offset:68px}
  body.admin-bar{--ct-header-offset:114px}
  .ct-ann,.ct-util{display:none !important}
  .ct-nav{top:0 !important;z-index:1400 !important}
  body.admin-bar .ct-nav{top:46px !important}
}

/* HERO SLIDER ALIGNMENT HOTFIX (Elementor container/no-inner variants) */
.home .wnt-hero-slider{
  position:relative !important;
  min-height:68vh !important;
  margin:0 !important;
  padding:0 !important;
}
.home .wnt-hero-slider > .e-con-inner{
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
}
.home .wnt-hero-slider .elementor-widget-image-carousel,
.home .wnt-hero-slider .elementor-widget-image-carousel .elementor-widget-container,
.home .wnt-hero-slider .elementor-image-carousel-wrapper,
.home .wnt-hero-slider .swiper,
.home .wnt-hero-slider .swiper-wrapper,
.home .wnt-hero-slider .swiper-slide,
.home .wnt-hero-slider .swiper-slide-inner{
  min-height:68vh !important;
  height:68vh !important;
}
.home .wnt-hero-slider .wnt-hero-overlay{
  position:absolute !important;
  inset:0 !important;
  z-index:5 !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:flex-start !important;
  gap:12px !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 clamp(16px,4vw,48px) !important;
  pointer-events:none !important;
}
.home .wnt-hero-slider .wnt-hero-overlay > .e-con-inner,
.home .wnt-hero-slider .wnt-hero-overlay > .elementor-container{
  width:100% !important;
  max-width:1240px !important;
  min-height:68vh !important;
  margin:0 auto !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:flex-start !important;
  gap:14px !important;
  padding:0 !important;
}
.home .wnt-hero-slider .wnt-hero-overlay .elementor-widget{
  width:min(760px,100%) !important;
  margin:0 !important;
}
.home .wnt-hero-slider .wnt-hero-overlay .elementor-heading-title{
  margin:0 !important;
  color:#fff !important;
  text-wrap:balance;
}
.home .wnt-hero-slider .wnt-hero-overlay p{
  margin:0 !important;
  color:#e6f2fb !important;
}
.home .wnt-hero-slider .wnt-hero-overlay .elementor-widget-button{
  margin-top:8px !important;
  pointer-events:auto !important;
}

@media (max-width:768px){
  .home .wnt-hero-slider,
  .home .wnt-hero-slider .elementor-widget-image-carousel,
  .home .wnt-hero-slider .elementor-widget-image-carousel .elementor-widget-container,
  .home .wnt-hero-slider .elementor-image-carousel-wrapper,
  .home .wnt-hero-slider .swiper,
  .home .wnt-hero-slider .swiper-wrapper,
  .home .wnt-hero-slider .swiper-slide,
  .home .wnt-hero-slider .swiper-slide-inner{
    min-height:56vh !important;
    height:56vh !important;
  }
  .home .wnt-hero-slider .wnt-hero-overlay{
    padding:0 16px !important;
  }
  .home .wnt-hero-slider .wnt-hero-overlay > .e-con-inner,
  .home .wnt-hero-slider .wnt-hero-overlay > .elementor-container{
    min-height:56vh !important;
  }
}

/* FINAL MOBILE ICON + PHONE + HERO OVERRIDES */
.ct-icon-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
}
.ct-icon-btn svg{
  display:block;
}
.ct-util-right{
  display:flex;
  align-items:center;
  gap:6px;
}
.ct-util-right a{
  color:#1b5f99;
  text-decoration:none;
  font-weight:700;
}
.ct-util-right a:hover{
  text-decoration:underline;
}

@media (max-width:768px){
  #ctSearchOpen{
    display:inline-flex !important;
  }
  .ct-actions .ct-icon-btn{
    width:42px !important;
    height:42px !important;
    border-radius:12px !important;
    border:1px solid #bfd8ec !important;
    background:#fff !important;
    color:#2c5575 !important;
  }
}

.home .wnt-hero-slider{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
}
.home .wnt-hero-slider .wnt-hero-overlay{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
}
.home .wnt-hero-slider .wnt-hero-overlay > .e-con-inner,
.home .wnt-hero-slider .wnt-hero-overlay > .elementor-container,
.home .wnt-hero-slider .wnt-hero-overlay{
  min-height:68vh !important;
}
.home .wnt-hero-slider .wnt-hero-overlay .elementor-widget-heading,
.home .wnt-hero-slider .wnt-hero-overlay .elementor-widget-text-editor,
.home .wnt-hero-slider .wnt-hero-overlay .elementor-widget-button{
  position:relative !important;
  transform:none !important;
  opacity:1 !important;
  visibility:visible !important;
}
.home .wnt-hero-slider .wnt-hero-overlay .elementor-heading-title{
  font-size:clamp(36px,4.8vw,64px) !important;
  line-height:1.05 !important;
  color:#fff !important;
}
.home .wnt-hero-slider .wnt-hero-overlay .elementor-widget-text-editor{
  color:#eaf4fd !important;
  font-size:clamp(17px,1.8vw,24px) !important;
  line-height:1.35 !important;
}
@media (max-width:768px){
  .home .wnt-hero-slider .wnt-hero-overlay > .e-con-inner,
  .home .wnt-hero-slider .wnt-hero-overlay > .elementor-container,
  .home .wnt-hero-slider .wnt-hero-overlay{
    min-height:56vh !important;
  }
}

/* MOBILE STABILITY FIX: margins, z-index, admin-bar offset */
@media (max-width:782px){
  :root{
    --wnt-mobile-adminbar:0px;
    --wnt-mobile-header-h:72px;
  }

  body.admin-bar{
    --wnt-mobile-adminbar:46px;
  }

  html,
  body{
    overflow-x:hidden !important;
  }

  #content,
  #content .page-content,
  .site-main,
  .elementor{
    margin-top:0 !important;
    padding-top:0 !important;
  }

  .ct-ann,
  .ct-util{
    display:none !important;
  }

  .ct-nav{
    position:fixed !important;
    top:var(--wnt-mobile-adminbar) !important;
    left:0 !important;
    right:0 !important;
    z-index:1200 !important;
    background:#fff !important;
    border-bottom:1px solid #d9e7f3 !important;
  }

  .ct-nav-inner{
    min-height:var(--wnt-mobile-header-h) !important;
    height:var(--wnt-mobile-header-h) !important;
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
  }

  .ct-logo{
    font-size:20px !important;
    line-height:1 !important;
    margin:0 !important;
  }

  .ct-menu,
  .ct-actions .ct-btn{
    display:none !important;
  }

  .ct-actions{
    margin-left:auto !important;
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
  }

  .ct-actions .ct-icon-btn,
  .ct-actions .ct-mobile-toggle{
    width:42px !important;
    height:42px !important;
    border-radius:12px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
  }

  .ct-header-spacer{
    display:block !important;
    height:calc(var(--wnt-mobile-adminbar) + var(--wnt-mobile-header-h)) !important;
    min-height:calc(var(--wnt-mobile-adminbar) + var(--wnt-mobile-header-h)) !important;
    margin:0 !important;
    padding:0 !important;
  }

  .ct-mobile{
    position:fixed !important;
    top:calc(var(--wnt-mobile-adminbar) + var(--wnt-mobile-header-h)) !important;
    right:0 !important;
    bottom:0 !important;
    left:auto !important;
    z-index:1600 !important;
    width:min(380px,92vw) !important;
    max-width:92vw !important;
    height:calc(100dvh - var(--wnt-mobile-adminbar) - var(--wnt-mobile-header-h)) !important;
    background:#fff !important;
    transform:translateX(100%) !important;
    box-shadow:-16px 0 32px rgba(13,46,75,.16) !important;
    margin:0 !important;
    padding:0 !important;
  }

  .ct-mobile.is-open{
    transform:translateX(0) !important;
  }

  .ct-mobile-head{
    border-bottom:1px solid #d9e7f3 !important;
    min-height:64px !important;
    height:64px !important;
    padding:0 14px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
  }

  .ct-mobile-body{
    overflow:auto !important;
    -webkit-overflow-scrolling:touch;
    margin:0 !important;
    padding:0 !important;
  }

  .ct-mobile-menu,
  .ct-mobile-menu li,
  .ct-mobile-menu > li > a{
    margin:0 !important;
  }

  #ctMobileClose{
    width:40px !important;
    height:40px !important;
    min-width:40px !important;
    flex:0 0 40px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
  }

  .ct-search{
    position:fixed !important;
    top:var(--wnt-mobile-adminbar) !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    z-index:1700 !important;
  }

  .home .wnt-hero-slider,
  .home .wnt-hero-slider .swiper,
  .home .wnt-hero-slider .swiper-wrapper,
  .home .wnt-hero-slider .swiper-slide,
  .home .wnt-hero-slider .swiper-slide-inner{
    margin-top:0 !important;
  }

  /* hard-disable desktop nav/dropdowns on mobile to avoid overlap */
  .ct-nav .ct-menu,
  .ct-nav .ct-menu > li,
  .ct-nav .ct-menu .sub-menu,
  .ct-nav .ct-mega{
    display:none !important;
    pointer-events:none !important;
  }
}

/* DESKTOP RESTORE: never show mobile nav controls on desktop */
@media (min-width:783px){
  .ct-mobile-toggle{
    display:none !important;
  }

  .ct-mobile{
    display:none !important;
  }

  .ct-nav .ct-menu{
    display:flex !important;
  }

  .ct-nav .ct-actions .ct-btn{
    display:inline-flex !important;
  }

  .ct-nav #ctSearchOpen{
    display:inline-flex !important;
  }
}

/* CANONICAL HEADER OFFSET (no spacer element) */
#ctHeaderSpacer,
.ct-header-spacer{
  display:none !important;
  height:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
}

#content,
.site-main,
.page-content{
  margin-top:0 !important;
  padding-top:var(--ct-header-offset, 0px) !important;
}

@media (max-width:782px){
  #content,
  .site-main,
  .page-content{
    padding-top:calc(var(--wnt-mobile-adminbar, 0px) + var(--wnt-mobile-header-h, 0px)) !important;
  }
}

/* FINAL MOBILE PIN: header glued to top, no phantom gap */
@media (max-width:782px){
  html,
  body{
    margin:0 !important;
    padding:0 !important;
  }

  body:not(.admin-bar) .ct-nav{
    top:0 !important;
  }

  body.admin-bar .ct-nav{top:var(--wnt-mobile-adminbar, 0px) !important;}

  .ct-nav{
    left:0 !important;
    right:0 !important;
    width:100% !important;
    border-radius:0 !important;
  }

  .ct-nav .ct-wrap{
    padding-left:16px !important;
    padding-right:16px !important;
  }

  .ct-nav-inner{
    margin:0 auto !important;
    height:auto !important;
    min-height:0 !important;
    padding:10px 0 !important;
  }

  /* mobile drawer should start from absolute top and sit above header */
  .ct-mobile{
    top:0 !important;
    left:0 !important;
    right:0 !important;
    width:100vw !important;
    max-width:100vw !important;
    height:100dvh !important;
    z-index:2500 !important;
  }

  body.admin-bar .ct-mobile{
    top:var(--wnt-mobile-adminbar, 0px) !important;
    height:calc(100dvh - var(--wnt-mobile-adminbar, 0px)) !important;
  }

  .ct-mobile-head{
    padding:0 16px !important;
  }

  .ct-mobile-body{
    padding:12px 16px 20px !important;
  }

  .ct-mobile-menu > li > a{
    padding:0 8px !important;
  }

  .ct-mobile-menu .sub-menu{
    padding:6px 0 12px 14px !important;
  }
}

/* FINAL CONTENT OFFSET FIX: prevent content hidden under fixed mobile header */
@media (max-width:782px){
  body{
    --wnt-mobile-safe-top:calc(var(--wnt-mobile-adminbar, 0px) + var(--wnt-mobile-header-h, 0px));
    padding-top:0 !important;
  }

  #content,
  .site-main,
  .page-content,
  .home #content,
  .home #content .page-content,
  .home .site-main,
  .home .page-content{
    margin-top:0 !important;
    padding-top:0 !important;
  }

  .home #content .page-content > .elementor{
    margin-top:0 !important;
    padding-top:0 !important;
  }
}

/* FINAL DESKTOP OFFSET FIX: keep all content below fixed header stack */
@media (min-width:783px){
  body{
    padding-top:var(--ct-header-offset, 0px) !important;
  }

  #content,
  .site-main,
  .page-content,
  .home #content,
  .home #content .page-content,
  .home .site-main,
  .home .page-content{
    margin-top:0 !important;
    padding-top:0 !important;
  }
}

/* FINAL MOBILE MENU TYPOGRAPHY + SPACING */
@media (max-width:782px){
  .ct-mobile-body{
    padding:14px 16px 24px !important;
  }

  .ct-mobile-menu > li{
    border-bottom:1px solid #e6eef6 !important;
  }

  .ct-mobile-menu > li > a{
    min-height:52px !important;
    padding:12px 44px 12px 8px !important;
    font-size:17px !important;
    font-weight:700 !important;
    line-height:1.25 !important;
    letter-spacing:0.1px !important;
  }

  .ct-sub-toggle{
    top:8px !important;
    right:4px !important;
    width:36px !important;
    height:36px !important;
    border-radius:10px !important;
  }

  .ct-mobile-menu .sub-menu{
    padding:4px 0 12px 12px !important;
  }

  .ct-mobile-menu .sub-menu li{
    border:0 !important;
  }

  .ct-mobile-menu .sub-menu a{
    min-height:42px !important;
    padding:10px 8px !important;
    font-size:15px !important;
    font-weight:600 !important;
    line-height:1.3 !important;
    color:#355c7a !important;
  }
}

/* FINAL ADMIN BAR DOCKING (mobile) */
@media (max-width:782px){
  html{
    margin-top:0 !important;
  }

  #wpadminbar{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
  }

  body:not(.admin-bar){
    --wnt-mobile-adminbar:0px !important;
  }

  .ct-nav{
    top:var(--wnt-mobile-adminbar, 0px) !important;
    margin-top:0 !important;
  }

  .ct-mobile{
    top:var(--wnt-mobile-adminbar, 0px) !important;
    height:calc(100dvh - var(--wnt-mobile-adminbar, 0px)) !important;
  }
}

/* Desktop: hide top util bar after scroll */
@media (min-width:783px){
  .ct-util{
    transition:transform .25s ease, opacity .2s ease;
    transform:translateY(0);
    opacity:1;
  }

  body.wnt-scrolled .ct-util{
    transform:translateY(-110%);
    opacity:0;
    pointer-events:none;
  }

  body.wnt-scrolled.wnt-no-promo .ct-nav{
    top:0 !important;
  }

  body.wnt-scrolled:not(.wnt-no-promo) .ct-nav{
    top:44px !important;
  }
}
