/* Restore existing site design through Helix custom stylesheet. */
@import url("child.css?v=feccb666ebd4");

/* Preserve navigation where legacy tablet CSS hid the mobile toggle. */
@media (min-width:768px) and (max-width:991.98px) { #sp-header a#offcanvas-toggler { display:flex !important; } }

/* Header proportions restored on 2026-10-26. Keep original child.css intact. */
#sp-header, #sp-header.header-sticky {
  height: 112px !important;
  background: #ececec !important;
  border-bottom: 4px solid #0099a1 !important;
  box-shadow: none !important;
  overflow: visible;
}
header#sp-header::after, #sp-header.header-sticky::after { display: none !important; }
#sp-header > .container { max-width: 1400px; width: 100%; padding-inline: 28px; }
#sp-header .container-inner > .row { height: 108px; flex-wrap: nowrap; }
#sp-header #sp-logo, #sp-header.header-sticky #sp-logo {
  position: relative; left: auto; transform: none; margin: 0;
  width: 320px; flex: 0 0 320px; align-self: stretch;
}
#sp-header .logo, #sp-header.header-sticky .logo {
  position: absolute; top: 20px; width: 300px !important;
  height: auto !important; margin: 0 !important; z-index: 3;
}
#sp-header .logo img, #sp-header.header-sticky .logo img {
  width: 300px !important; height: auto !important; max-height: none !important;
  margin: 0 !important; object-fit: contain;
}
#sp-header #sp-menu, #sp-header.header-sticky #sp-menu { height: 108px; padding-top: 0; min-width: 0; }
#sp-header #sp-menu > .sp-column { height: 100%; margin-right: 0; }
#sp-header .sp-megamenu-parent > li > a,
#sp-header .sp-megamenu-parent > li > span {
  font-size: 20px; font-weight: 500; line-height: 108px; padding-inline: 12px;
}
#sp-header .sp-megamenu-parent .sp-dropdown a { font-size: 18px; line-height: 1.5; }
@media (min-width: 1200px) { #sp-header a#offcanvas-toggler { display: none !important; } }
@media (max-width: 1199.98px) {
  #sp-header .sp-megamenu-parent { display: none !important; }
  #sp-header a#offcanvas-toggler { display: flex !important; height: 100%; margin-left: 20px; }
  #sp-header .burger-icon { width: 30px; height: auto; padding: 0; margin: 0; position: static; border: 0; }
  .offcanvas-menu .offcanvas-inner ul.menu > li > a { font-size: 20px; }
}
@media (max-width: 575.98px) {
  #sp-header, #sp-header.header-sticky { height: 88px !important; }
  #sp-header > .container { padding-inline: 18px; }
  #sp-header .container-inner > .row, #sp-header #sp-menu, #sp-header.header-sticky #sp-menu { height: 84px; }
  #sp-header #sp-logo, #sp-header.header-sticky #sp-logo { width: 230px; flex-basis: 230px; }
  #sp-header .logo, #sp-header.header-sticky .logo { top: 22px; width: 220px !important; }
  #sp-header .logo img, #sp-header.header-sticky .logo img { width: 220px !important; height: auto !important; margin: 0 !important; }
}

/* Smaller logo while scrolling; retain alignment across the turquoise rule. */
#sp-header.header-sticky .logo { width: 250px !important; top: 35px; }
#sp-header.header-sticky .logo img { width: 250px !important; }
@media (max-width: 575.98px) {
  #sp-header.header-sticky .logo { width: 190px !important; top: 31px; }
  #sp-header.header-sticky .logo img { width: 190px !important; }
}

/* Compact header while scrolling; logo straddles the turquoise border. */
#sp-header.header-sticky { height: 88px !important; }
#sp-header.header-sticky .container-inner > .row,
#sp-header.header-sticky #sp-menu { height: 84px; }
#sp-header.header-sticky .sp-megamenu-parent > li > a,
#sp-header.header-sticky .sp-megamenu-parent > li > span { line-height: 84px; }
#sp-header.header-sticky .logo { top: 11px; }
@media (max-width: 575.98px) {
  #sp-header.header-sticky { height: 72px !important; }
  #sp-header.header-sticky .container-inner > .row,
  #sp-header.header-sticky #sp-menu { height: 68px; }
  #sp-header.header-sticky .logo { top: 15px; }
}

/* Subpage clearance below the overhanging logo, independent of page-builder sections. */
body.site:not(.itemid-101) #sp-main { padding-top: 72px; }
@media (max-width: 575.98px) {
  body.site:not(.itemid-101) #sp-main { padding-top: 56px; }
}
