#his-header-section .his-hd-menu {
  justify-content: end;
}

/* Desktop: menu lives in .his-hd-drawer — hide only mobile chrome */
#his-header-section .his-hd-overlay,
#his-header-section .his-hd-close,
#his-header-section .his-hd-mobile-top,
#his-header-section .his-hd-drawer-cta-wrap {
  display: none !important;
}

#his-header-section .his-hd-drawer {
  display: block;
  position: static;
  left: auto;
  top: auto;
  bottom: auto;
  width: 100%;
  max-width: none;
  height: auto;
  opacity: 1;
  visibility: visible;
  overflow: visible;
  background: transparent;
  padding: 0;
  z-index: auto;
}

#his-header-section .his-hd-close-icon::before,
#his-header-section .his-hd-close-icon::after {
  content: none;
  display: none;
}

/* ===== Desktop mega menu (>1119) ===== */
@media (min-width: 1120px) {
  #his-header-section {
    position: relative;
    overflow: visible;
    z-index: 500;
  }

  #his-header-section.is-sticky {
    z-index: 1000;
  }

  #his-header-section .his-hd-menu,
  #his-header-section .his-hd-drawer,
  #his-header-section .his-hd-item {
    overflow: visible;
  }

  /* static so panel uses header as containing block = true full width */
  #his-header-section .his-hd-mega {
    position: static;
  }

  #his-header-section .his-hd-link {
    padding-top: 28px;
    padding-bottom: 28px;
  }
  /* Dropdown caret: inline with label, inherits menu/hover color */
  #his-header-section .his-hd-has-children > .his-hd-link {
    display: inline-flex !important;
    align-items: center;
    column-gap: 8px;
    padding-right: 7px !important;
  }

  #his-header-section .his-hd-has-children > .his-hd-link::before {
    content: none !important;
    display: none !important;
  }

  #his-header-section .his-hd-has-children > .his-hd-link::after {
    content: "" !important;
    display: block;
    position: relative;
    top: 0;
    width: 7px;
    height: 7px;
    box-sizing: border-box;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
    border-right: 0;
    border-bottom: 0;
    transform: rotate(225deg);
    flex-shrink: 0;
    align-self: center;
  }

  /* Sticky header: keep caret level with label */
  #his-header-section.is-sticky .his-hd-has-children > .his-hd-link {
    display: inline-flex !important;
    align-items: center !important;
  }

  #his-header-section.is-sticky .his-hd-has-children > .his-hd-link::before {
    content: none !important;
    display: none !important;
  }

  #his-header-section.is-sticky .his-hd-has-children > .his-hd-link::after {
    top: 0;
  }


  #his-header-section .his-hd-mega > .his-hd-expand {
    display: none !important;
  }

  #his-header-section .his-hd-mega-panel {
    display: none;
    position: absolute;
    /* Overlap header bottom so hover path never breaks */
    top: calc(100% - 50px);
    left: 0;
    right: 0;
    width: 100%;
    margin-left: 0;
    z-index: 400;
    background: transparent;
    box-shadow: none;
    border: none;
    box-sizing: border-box;
    padding-top: 50px;
  }

  #his-header-section .his-hd-mega-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 28px 0 32px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(10, 25, 49, 0.12);
    border-top: 1px solid rgba(10, 25, 49, 0.08);
    box-sizing: border-box;
  }

  #his-header-section .his-hd-mega-cols {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 18px;
    list-style: none;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
  }

  #his-header-section .his-hd-mega:hover > .his-hd-mega-panel,
  #his-header-section .his-hd-mega:focus-within > .his-hd-mega-panel {
    display: block;
  }

  /* mega-inner full-bleed styles set above; columns constrained separately */




  #his-header-section .his-hd-mega-col {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
  }

  #his-header-section .his-hd-mega-col > .his-hd-expand {
    display: none !important;
  }

  #his-header-section .his-hd-mega-top {
    display: block;
    text-decoration: none;
    color: #0a1931;
  }

  #his-header-section .his-hd-mega-img {
    display: block;
    width: 100%;
    height: 95px;
    overflow: hidden;
    background: #f2f2f2;
    margin: 0 0 10px;
  }

  #his-header-section .his-hd-mega-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
  }

  #his-header-section .his-hd-mega-top:hover .his-hd-mega-img img {
    transform: scale(1.04);
  }

  #his-header-section .his-hd-mega-title {
    display: block;
    font-family: Sitka Display, Sitka, Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: #0a1931;
    margin: 0 0 10px;
  }

  #his-header-section .his-hd-mega-top:hover .his-hd-mega-title {
    color: #be904f;
  }

  #his-header-section .his-hd-mega-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  #his-header-section .his-hd-mega-list .his-hd-item {
    display: block !important;
    width: 100%;
    float: none;
    margin: 0;
    padding: 0;
  }

  #his-header-section .his-hd-mega-link {
    display: block;
    padding: 7px 0;
    font-family: Manrope, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    color: #00091b;
    text-decoration: none;
  }

  #his-header-section .his-hd-mega-link:hover,
  #his-header-section .his-hd-mega-link.is-current {
    color: #be904f;
  }
}
@media (max-width: 1280px) {
  #his-header-section .his-hd-link {
    font-size: 16px;
  }

  #his-header-section .his-hd-item {
    margin: 0;
  }

  #his-header-section .his-hd-cta {
    font-size: 15px;
  }

  #his-header-section .his-hd-mega-title {
    font-size: 18px;
  }


  #his-header-section .his-hd-mega-list .his-hd-item {
    display: block !important;
    width: 100%;
    float: none;
  }
  #his-header-section .his-hd-mega-link {
    font-size: 14px;
  }
}

@media (max-width: 1119px) {
  #his-header-section .his-hd-menu {
    padding: 20px 0;
  }

  #his-header-section .his-hd-dd .his-hd-item {
    border: none;
    border-bottom: none;
  }

  #his-header-section .his-hd-dd .his-hd-dd-link:hover,
  #his-header-section .his-hd-dd .his-hd-item:hover > .his-hd-dd-link {
    color: #be904f;
    background: none;
  }

  /* Mega becomes nested drawer accordion */
  #his-header-section .his-hd-mega-panel {
    display: none;
    position: static;
    width: 100%;
    box-shadow: none;
    border: 0;
    background: transparent;
  }

  #his-header-section .his-hd-mega.is-expanded > .his-hd-mega-panel {
    display: block;
  }

  #his-header-section .his-hd-mega-inner {
    padding: 0;
    max-width: none;
  }

  #his-header-section .his-hd-mega-cols {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  #his-header-section .his-hd-mega-col {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  #his-header-section .his-hd-mega-img {
    display: none !important;
  }

  #his-header-section .his-hd-mega-top {
    display: block;
    padding: 10px 20px;
    font-family: Manrope, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #0a1931;
    text-decoration: none;
  }

  #his-header-section .his-hd-mega-title {
    display: inline;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    margin: 0;
  }

  #his-header-section .his-hd-mega-list {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0 0 0 12px;
  }

  #his-header-section .his-hd-mega-col.is-expanded > .his-hd-mega-list {
    display: block;
  }


  #his-header-section .his-hd-mega-list .his-hd-item {
    display: block !important;
    width: 100%;
    float: none;
  }
  #his-header-section .his-hd-mega-link {
    display: block;
    padding: 8px 20px;
    font-family: Manrope, sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #00091b;
    text-decoration: none;
  }

  #his-header-section .his-hd-mega-link:hover,
  #his-header-section .his-hd-mega-link.is-current {
    color: #be904f;
  }

  #his-header-section .his-hd-overlay {
    display: none !important;
    visibility: hidden;
    position: fixed;
    inset: 0;
    z-index: 250;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: rgba(0, 0, 0, 0.56);
  }

  #his-header-section .his-hd-drawer {
    display: block !important;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: -100%;
    bottom: 0;
    z-index: 260;
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
    padding: 20px 20px 45px 0;
    opacity: 0;
    overflow-y: auto;
    background: #fff;
  }

  #his-header-section .his-hd-close {
    display: block !important;
    position: absolute;
    top: 0;
    right: 20px;
    width: 35px;
    height: 35px;
    margin: 20px 0 0;
    padding: 0;
    z-index: 5;
  }

  #his-header-section .his-hd-close-icon {
    display: block;
    position: relative;
    width: 35px;
    height: 35px;
    margin: 0;
    padding: 0;
    border: 1px solid #242323;
    border-radius: 3px;
    box-sizing: border-box;
    cursor: pointer;
  }

  #his-header-section .his-hd-close-icon::before,
  #his-header-section .his-hd-close-icon::after {
    content: "";
    display: block;
    position: absolute;
    width: 25px;
    height: 2px;
    background: #000000;
    top: 16px;
    left: 4px;
    transform: rotate(45deg);
  }

  #his-header-section .his-hd-close-icon::after {
    transform: rotate(-45deg);
  }

  #his-header-section .his-hd-mobile-top {
    display: block !important;
    width: 100%;
    padding: 0 55px 0 20px;
    box-sizing: border-box;
  }

  #his-header-section .his-hd-mobile-logo {
    display: inline-block;
    max-width: 330px;
  }

  #his-header-section.is-open .his-hd-overlay {
    display: block !important;
    visibility: visible;
    opacity: 1;
  }

  #his-header-section.is-open .his-hd-drawer {
    left: 0;
    visibility: visible;
    opacity: 1;
  }
}

@media (max-width: 767px) {
  #his-header-section .his-hd-actions .his-hd-cta {
    display: none !important;
  }

  #his-header-section .his-hd-drawer-cta-wrap {
    display: block !important;
    width: 100%;
    margin-top: 10px;
    padding-left: 20px;
    box-sizing: border-box;
  }

  #his-header-section .his-hd-drawer-cta {
    display: inline-block;
  }

  #his-header-section .his-hd-mobile-logo {
    max-width: 330px;
  }
}

@media (max-width: 1119px) {
  /* hide desktop caret on mobile */
  #his-header-section .his-hd-has-children > .his-hd-link::after {
    display: none !important;
    content: none !important;
  }
}
