/* KISURE FE980 R2 ??? responsive mega navigation */
html[data-kisure-design="865"] body .ks-ref-header{
  --ks980-primary:#0B9CA0;
  --ks980-dark:#087C78;
  --ks980-hover:#07878B;
  --ks980-soft:#E8F7F7;
  --ks980-ink:#09293b;
  --ks980-muted:#607d90;
  --ks980-line:#d9e8ed;
  --ks980-surface:#ffffff;
  --ks980-raised:#f4f9fa;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-nav{
  position:static!important;
  overflow:visible!important;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-item{
  position:static!important;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-trigger{
  gap:8px!important;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-trigger>i{
  font-size:10px!important;
  transition:transform .16s ease;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-item.is-open .ks-mega-trigger>i{
  transform:rotate(180deg);
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-panel{
  display:none!important;
  position:absolute!important;
  z-index:7900!important;
  top:calc(100% + 8px)!important;
  left:clamp(14px,4vw,68px)!important;
  right:clamp(14px,4vw,68px)!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  padding:18px!important;
  border:1px solid var(--ks980-line)!important;
  border-radius:14px!important;
  background:var(--ks980-surface)!important;
  box-shadow:0 16px 42px rgba(20,58,74,.12)!important;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-item.is-open>.ks-mega-panel{
  display:block!important;
}



html[data-kisure-design="865"] body .ks-ref-header .ks-mega-panel__intro{
  display:flex;
  align-items:center;
  gap:12px;
  padding:2px 2px 15px;
  border-bottom:1px solid var(--ks980-line);
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-panel__hero-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  flex:0 0 42px;
  border-radius:50%;
  background:var(--ks980-soft);
  color:var(--ks980-dark);
  font-size:18px;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-panel__intro strong{
  display:block;
  color:var(--ks980-dark);
  font-size:13px;
  letter-spacing:.04em;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-panel__intro small{
  display:block;
  margin-top:2px;
  color:var(--ks980-muted);
  font-size:11px;
  font-weight:500;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  margin-top:14px;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-group{
  min-width:0;
  padding:0 18px;
  border-right:1px solid var(--ks980-line);
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-group:first-child{
  padding-left:2px;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-group:last-child{
  border-right:0;
  padding-right:2px;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-group h3{
  display:flex;
  align-items:center;
  gap:7px;
  margin:0 0 7px;
  color:#527186;
  font-size:10px;
  font-weight:800;
  letter-spacing:.055em;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-group h3 i{
  color:var(--ks980-primary);
  width:14px;
  text-align:center;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-links{
  display:grid;
  gap:2px;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-links a{
  min-height:36px!important;
  display:grid!important;
  grid-template-columns:24px minmax(0,1fr) 12px!important;
  align-items:center!important;
  gap:8px!important;
  padding:5px 7px!important;
  border-radius:8px!important;
  color:var(--ks980-ink)!important;
  font-size:11.5px!important;
  font-weight:650!important;
  text-decoration:none!important;
  background:transparent!important;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-links a:hover,
html[data-kisure-design="865"] body .ks-ref-header .ks-mega-links a.is-active{
  background:var(--ks980-soft)!important;
  color:var(--ks980-dark)!important;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-link__icon{
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  border-radius:7px;
  background:#f2f8f8;
  color:var(--ks980-primary);
  font-size:10px;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-link__chevron{
  color:#6d98a7;
  font-size:9px;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-footer-link{
  margin-top:15px!important;
  min-height:42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  border-radius:9px!important;
  background:var(--ks980-soft)!important;
  color:var(--ks980-dark)!important;
  font-size:11.5px!important;
  font-weight:800!important;
  text-decoration:none!important;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-footer-link:hover{
  background:var(--ks980-primary)!important;
  color:#fff!important;
}

/* Dark mode */
html[data-kisure-design="865"][data-theme="dark"] body .ks-ref-header{
  --ks980-ink:#eefafa;
  --ks980-muted:#9db4bd;
  --ks980-line:#2c444b;
  --ks980-surface:#17262c;
  --ks980-raised:#1c3037;
  --ks980-soft:#18393b;
}

html[data-kisure-design="865"][data-theme="dark"] body .ks-ref-header .ks-mega-panel{
  background:var(--ks980-surface)!important;
  border-color:var(--ks980-line)!important;
  box-shadow:0 18px 46px rgba(0,0,0,.34)!important;
}

html[data-kisure-design="865"][data-theme="dark"] body .ks-ref-header .ks-mega-link__icon{
  background:#203b40;
  color:#7dd6d5;
}

html[data-kisure-design="865"][data-theme="dark"] body .ks-ref-header .ks-mega-panel__intro strong,
html[data-kisure-design="865"][data-theme="dark"] body .ks-ref-header .ks-mega-footer-link{
  color:#91e0df!important;
}

/* Mobile drill-down */
html[data-kisure-design="865"] body .ks-ref-header .ks-mobile-mega{
  display:block!important;
  position:relative;
  min-height:360px;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mobile-mega__panel{
  display:none;
  width:100%;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mobile-mega__panel.is-active{
  display:block;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mobile-mega__panel[hidden]{
  display:none!important;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mobile-mega__row,
html[data-kisure-design="865"] body .ks-ref-header .ks-mobile-mega__subrow{
  width:100%;
  min-height:48px;
  display:grid;
  grid-template-columns:34px minmax(0,1fr) 14px;
  align-items:center;
  gap:10px;
  padding:5px 10px;
  border:0;
  border-bottom:1px solid var(--ks980-line);
  background:transparent;
  color:var(--ks980-ink);
  text-align:left;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mobile-mega__row:hover,
html[data-kisure-design="865"] body .ks-ref-header .ks-mobile-mega__subrow:hover,
html[data-kisure-design="865"] body .ks-ref-header .ks-mobile-mega__row.is-active,
html[data-kisure-design="865"] body .ks-ref-header .ks-mobile-mega__subrow.is-active{
  background:var(--ks980-soft);
  color:var(--ks980-dark);
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mobile-mega__icon{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#f2f8f8;
  color:var(--ks980-primary);
  font-size:11px;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mobile-mega__back{
  width:100%;
  min-height:48px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 8px;
  border:0;
  border-bottom:1px solid var(--ks980-line);
  background:transparent;
  color:var(--ks980-ink);
  font-size:14px;
  text-align:left;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mobile-mega__back i{
  color:var(--ks980-primary);
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mobile-mega__section{
  padding:13px 0 3px;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mobile-mega__section h3{
  margin:0 9px 5px;
  color:#5d7d8d;
  font-size:10px;
  font-weight:850;
  letter-spacing:.06em;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mobile-mega__subrow{
  min-height:43px;
  font-size:12px;
  border-bottom:0;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mobile-mega__all{
  min-height:44px;
  margin-top:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border-radius:9px;
  background:var(--ks980-soft);
  color:var(--ks980-dark);
  font-size:12px;
  font-weight:800;
  text-decoration:none;
}

html[data-kisure-design="865"][data-theme="dark"] body .ks-ref-header .ks-mobile-mega__icon{
  background:#203b40;
}

@media (max-width:1180px){
  html[data-kisure-design="865"] body .ks-ref-header .ks-mega-panel{
    left:16px!important;
    right:16px!important;
  }
  html[data-kisure-design="865"] body .ks-ref-header .ks-mega-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width:991px){
  html[data-kisure-design="865"] body .ks-ref-header .ks-mega-nav{
    display:none!important;
  }
  html[data-kisure-design="865"] body .ks-ref-header .site-mobile-menu__panel.ks-ref-mobile-drawer{
    width:min(430px,100vw)!important;
    max-width:100vw!important;
  }
}

@media (max-width:560px){
  html[data-kisure-design="865"] body .ks-ref-header .site-mobile-menu__panel.ks-ref-mobile-drawer{
    width:100vw!important;
  }
}


/* FE981 image-logo support */
html[data-kisure-design="865"] body .ks-ref-header .ks-mega-link__icon.has-image,
html[data-kisure-design="865"] body .ks-ref-header .ks-mobile-mega__icon.has-image{
  background:transparent!important;
  overflow:hidden;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-link__icon.has-image img,
html[data-kisure-design="865"] body .ks-ref-header .ks-mobile-mega__icon.has-image img{
  width:24px!important;
  height:24px!important;
  max-width:24px!important;
  max-height:24px!important;
  object-fit:contain!important;
  display:block!important;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-item.is-open>.ks-mega-trigger{
  color:var(--ks980-dark)!important;
}


/* FE984 canonical logo support */
html[data-kisure-design="865"] body .ks-ref-header .ks-mega-link__icon.has-image,
html[data-kisure-design="865"] body .ks-ref-header .ks-mobile-mega__icon.has-image{
  background:transparent!important;
  overflow:hidden!important;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-link__icon.has-image img,
html[data-kisure-design="865"] body .ks-ref-header .ks-mobile-mega__icon.has-image img{
  width:24px!important;
  height:24px!important;
  max-width:24px!important;
  max-height:24px!important;
  object-fit:contain!important;
  display:block!important;
}

/* FE986 direct-child support for admin-added menu items */
html[data-kisure-design="865"] body .ks-ref-header .ks-mega-group--direct{
  align-self:start;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-group--direct .ks-mega-links{
  padding-top:0;
}

html[data-kisure-design="865"] body .ks-ref-header .ks-mega-group--direct .ks-mega-links>a{
  min-height:42px;
}

/* FE988 TRUE HOVER DELAY AUTHORITY */
html[data-kisure-design="865"] body .ks-ref-header
.header-menu-item.ks-mega-item:not(.is-open) >
.header-menu-item__dropdown.ks-mega-panel,
html[data-kisure-design="865"] body .ks-ref-header
.header-menu-item.ks-mega-item:not(.is-open):hover >
.header-menu-item__dropdown.ks-mega-panel,
html[data-kisure-design="865"] body .ks-ref-header
.header-menu-item.ks-mega-item:not(.is-open):focus-within >
.header-menu-item__dropdown.ks-mega-panel{
  display:none!important;
}

html[data-kisure-design="865"] body .ks-ref-header
.header-menu-item.ks-mega-item.is-open >
.header-menu-item__dropdown.ks-mega-panel{
  display:block!important;
}

html[data-kisure-design="865"] body .ks-ref-header
.header-menu-item.ks-normal-menu-item{
  position:relative!important;
}

html[data-kisure-design="865"] body .ks-ref-header
.header-menu-item.ks-normal-menu-item >
.header-menu-item__dropdown.ks-normal-menu-dropdown{
  left:0!important;
  right:auto!important;
  top:58px!important;
  width:auto!important;
  min-width:210px!important;
  max-width:320px!important;
  padding:8px!important;
}

/* FE989 CLICK-ONLY HEADER AUTHORITY */
html[data-kisure-design="865"] body .ks-ref-header
.header-menu-item.ks-mega-item:not(.is-open) >
.header-menu-item__dropdown,
html[data-kisure-design="865"] body .ks-ref-header
.header-menu-item.ks-mega-item:not(.is-open):hover >
.header-menu-item__dropdown,
html[data-kisure-design="865"] body .ks-ref-header
.header-menu-item.ks-mega-item:not(.is-open):focus-within >
.header-menu-item__dropdown{
    display:none!important;
}

html[data-kisure-design="865"] body .ks-ref-header
.header-menu-item.ks-mega-item.is-open >
.header-menu-item__dropdown{
    display:block!important;
}

html[data-kisure-design="865"] body .ks-ref-header
.header-menu-item.ks-normal-menu-item:not(.is-open) >
.header-menu-item__dropdown,
html[data-kisure-design="865"] body .ks-ref-header
.header-menu-item.ks-normal-menu-item:not(.is-open):hover >
.header-menu-item__dropdown,
html[data-kisure-design="865"] body .ks-ref-header
.header-menu-item.ks-normal-menu-item:not(.is-open):focus-within >
.header-menu-item__dropdown{
    display:none!important;
}

html[data-kisure-design="865"] body .ks-ref-header
.header-menu-item.ks-normal-menu-item.is-open >
.header-menu-item__dropdown{
    display:grid!important;
}
