

:root {
  --icep-masthead-expanded: var(--header-expanded, 90px);
  --icep-masthead-compact: var(--header-compact, 62px);
}
@media (max-width:980px) {
  :root {
    --icep-masthead-expanded: var(--header-mobile-expanded, 75px);
    --icep-masthead-compact: var(--header-mobile-compact, 60px);
  }
}
body.icp-corporate #header.site-header {
  --icep-header-current: var(--icep-masthead-expanded);
  height:var(--icep-header-current)!important;
  min-height:0!important;
  max-height:none!important;
  padding-block:0;
  transition:height .24s,background-color .25s,border-color .25s,box-shadow .25s!important;
}
body.icp-corporate #header.site-header.scrolled {
  --icep-header-current:var(--icep-masthead-compact);
}
body.icp-corporate #header.site-header .header-inner {
  height:100%!important;
  min-height:0!important;
  max-height:100%;
  flex:1 1 0;
  padding-block:clamp(0px,calc((var(--icep-header-current) - 44px) / 2),7px);
}
body.icp-corporate #header.site-header .brand-image-only {
  min-height:0;
  max-height:100%;
}
body.icp-corporate #header.site-header .brand-image-only .icep-wide-logo {
  max-height:100%;
  object-fit:contain;
}

@media(min-width:1051px) {
  body.icp-corporate #header.site-header.scrolled .nav > a,
  body.icp-corporate #header.site-header.scrolled .nav > .nav-item > a {
    padding-block:2px;
    line-height:1.4;
  }
}

@media(max-width:1050px) {
  body.icp-corporate #header.site-header .nav {
    position:absolute;
    top:100%!important;
  }
  body.icp-corporate.menu-open #header.site-header .nav {
    max-height:calc(100dvh - var(--icep-header-current) - var(--icep-notice-height,0px));
  }
  body.icp-corporate.has-site-notice.menu-open #header.site-header .nav {
    max-height:calc(100dvh - var(--icep-header-current) - var(--icep-notice-height,52px));
  }
}

body.icp-corporate .icep-inner-main,
body.icp-corporate.is-home:not(.icp-has-hero) .icep-home-main {
  padding-top:var(--icep-masthead-expanded)!important;
}
html:has(body.icp-corporate) {
  scroll-padding-top:calc(var(--icep-masthead-expanded) + var(--icep-notice-height,0px));
}
@media(prefers-reduced-motion:reduce) {
  body.icp-corporate #header.site-header {transition:none!important;}
}
body.icp-corporate.no-motion #header.site-header {transition:none!important;}



html:not([data-icep-theme="dark"]) body.icp-corporate #header.site-header.scrolled {
  background-color:rgba(255,255,255,.92)!important;
}
