/*
 * GLC 2027 mega menu: complete desktop, tablet and mobile overrides.
 * Load after the existing Umbraco /css/main.css; use with glc2027-menu.js.
 * Contains navigation styles only. Preview/page content styles are separate.
 */

/* Fixed navigation offset and header shell. */
.glc2027-navigation body.has-header-fixed {
  padding-top: 0;
}
.glc2027-navigation .site-header {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  height: 100px;
  z-index: 1000;
  background: rgba(0,0,0,0.6);
  color: #fff;
  box-shadow: 0 2px 2px rgba(0,0,0,0.25);
  font-family: 'Roboto', sans-serif;
  transform: none !important;
  overflow: visible;
}
.glc2027-navigation .site-header *, .glc2027-navigation .site-header *::before, .glc2027-navigation .site-header *::after {
  box-sizing: border-box;
}
.glc2027-navigation .site-header a, .glc2027-navigation .site-header button, .glc2027-navigation .site-header span {
  color: #fff;
}
.glc2027-navigation .site-header a:focus-visible, .glc2027-navigation .site-header button:focus-visible {
  outline: 2px solid #ff346e;
  outline-offset: 5px;
}
.glc2027-navigation .site-header__bar {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 134px;
  padding: 0 50px 0 40px;
}
.glc2027-navigation .site-header__static-bar {
  display: flex;
  align-items: center;
  flex: 0 0 217px;
  height: 100px;
  width: auto;
  background: transparent;
  transform: none !important;
}
.glc2027-navigation .site-header__branding {
  position: relative;
  display: block;
  flex: none;
  width: 217px;
  height: 65px;
  margin: 0;
  overflow: hidden;
}
.glc2027-navigation .site-header__branding img {
  position: absolute;
  left: -38.94%;
  top: -98.46%;
  width: 177.88%;
  height: 296.92%;
  max-width: none;
  opacity: 1;
  transform: none;
}
.glc2027-navigation .site-header__off-canvas {
  position: static;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  height: 100px;
  background: transparent;
  overflow: visible;
}
.glc2027-navigation .site-header__off-canvas .l-off-canvas__helper, .glc2027-navigation .site-header__navbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 0 !important;
  margin: 0;
  padding: 0;
  background: none;
}
.glc2027-navigation .site-header__navbar {
  position: static;
}
.glc2027-navigation .site-header__navbar > .mln__list {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  width: auto;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.glc2027-navigation .site-header__navbar > .mln__list > li {
  flex: none;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
}
.glc2027-navigation .site-header__navbar > .mln__list > li > a,
.glc2027-navigation .site-header__navbar > .mln__list > li > .mln__child-controls > a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  width: auto;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
}
.glc2027-navigation .site-header__navbar > .mln__list > li > a::before,
.glc2027-navigation .site-header__navbar > .mln__list > li > a::after,
.glc2027-navigation .site-header__navbar > .mln__list > li > .mln__child-controls > a::before,
.glc2027-navigation .site-header__navbar > .mln__list > li > .mln__child-controls > a::after {
  content: none;
}
.glc2027-navigation .site-header__navbar > .mln__list > li > a:hover,
.glc2027-navigation .site-header__navbar > .mln__list > li > .mln__child-controls > a:hover {
  color: #ff346e;
}
.glc2027-navigation .site-header__navbar .mln__child-controls {
  height: auto;
  padding: 0;
}
.glc2027-navigation .site-header__navbar .mln__toggle-chevron {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: none;
}
.glc2027-navigation .site-header__navbar .mln__toggle-chevron::after {
  content: none;
}
.glc2027-navigation .site-header__navbar .mln__toggle-chevron img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  transform: rotate(90deg);
}
.glc2027-navigation .site-header__navbar .mln__has-child--showing > .mln__child-controls .mln__toggle-chevron img {
  transform: rotate(-90deg);
}
.glc2027-navigation .site-header__desktop-ctas {
  display: flex;
  flex: 0 0 230px;
  align-items: center;
  gap: 0;
  width: 230px;
  height: auto;
  margin: 0 0 0 95px;
  padding: 0;
  list-style: none;
}
.glc2027-navigation .site-header__desktop-ctas > li {
  width: 100%;
  margin: 0;
  padding: 0;
}
.glc2027-navigation .site-header a.GLC-Register {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  height: 50px !important;
  width: 100%;
  padding: 15px 20px;
  border: 0;
  border-radius: 12px;
  background: #ff346e;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
.glc2027-navigation .site-header a.GLC-Register:hover {
  background: #d9235b;
  color: #fff;
}
.glc2027-navigation .site-header a.GLC-RegisterTablet {
  display: none;
}
.glc2027-navigation .site-header__mobile-controls {
  display: none;
}
/* Shared submenu structure; breakpoint rules below define panel geometry. */
.glc2027-navigation .site-header .mln__child__collapse {
  background: #f7f5f3;
  color: #000;
}
.glc2027-navigation .site-header .mln__child__collapse__helper {
  max-width: none;
  padding: 0;
  margin: 0;
}
.glc2027-navigation .site-header .mln__child__mega-menu {
  color: #000;
}
.glc2027-navigation .site-header .mln__child__mega-menu .col-xl-3 {
  flex: 0 1 auto;
  width: auto;
  padding: 0;
}
.glc2027-navigation .site-header .mln__child__mega-menu .col-xl-3:empty {
  display: none !important;
}
.glc2027-navigation .site-header .mln__child__mega-menu ul {
  list-style: none;
}
.glc2027-navigation .site-header .mln__child__mega-menu a {
  color: #000;
}

/* Desktop navigation spacing. */
@media (min-width: 1600px) and (max-width: 1750px) {
  .glc2027-navigation .site-header__bar {
    gap: 65px;
    padding-right: 40px;
  }
  .glc2027-navigation .site-header__desktop-ctas {
    margin-left: 45px;
    width: 210px;
    flex-basis: 210px;
  }
  .glc2027-navigation .site-header__navbar > .mln__list > li > a,
  .glc2027-navigation .site-header__navbar > .mln__list > li > .mln__child-controls > a {
    color: #fff;
    font-size: 16px;
  }
}
@media (min-width: 1200px) and (max-width: 1599px) {
  .glc2027-navigation .site-header__bar {
    gap: 25px;
    padding-left: 30px;
    padding-right: 30px;
  }
  .glc2027-navigation .site-header__static-bar {
    flex-basis: 190px;
  }
  .glc2027-navigation .site-header__branding {
    width: 190px;
    height: 57px;
  }
  .glc2027-navigation .site-header__desktop-ctas {
    margin-left: 25px;
    width: 170px;
    flex-basis: 170px;
  }
  .glc2027-navigation .site-header__navbar > .mln__list {
    gap: 10px;
  }
  .glc2027-navigation .site-header__navbar > .mln__list > li > a,
  .glc2027-navigation .site-header__navbar > .mln__list > li > .mln__child-controls > a {
    gap: 5px;
    color: #fff;
    font-size: 14px;
  }
  .glc2027-navigation .site-header .mln__toggle-chevron {
    width: 16px;
  }
  .glc2027-navigation .site-header a.GLC-Register {
    color: #fff;
    font-size: 16px;
  }
}
/* Desktop dropdown panels. */
@media (min-width: 1200px) {
  .glc2027-navigation .site-header__navbar > .mln__list > .mln__has-child--showing > .mln__child-controls > a {
    color: #fff;
  }
  .glc2027-navigation .site-header .mln__list > .mln__has-child--mega-menu {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
  }
  .glc2027-navigation .site-header .mln__list > .mln__has-child--mega-menu > .mln__child__collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    min-width: 240px;
    max-width: calc(100vw - 40px);
    background: #f7f5f3;
  }
  .glc2027-navigation .site-header .mln__child__collapse__helper {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }
  .glc2027-navigation .site-header .mln__child__mega-menu {
    width: 100%;
    min-height: 197px;
    padding: 30px 20px;
    padding-left: 20px !important;
    padding-right: 20px !important;
    border: 0;
    border-bottom: 10px solid #ff346e;
    border-radius: 0;
    background: #f7f5f3;
    color: #000;
  }
  .glc2027-navigation .site-header .mln__child__mega-menu .row {
    display: block;
    margin: 0;
  }
  .glc2027-navigation .site-header .mln__child__mega-menu .col-xl-3 {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .glc2027-navigation .site-header .mln__child__mega-menu ul {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    margin: 0;
    padding: 0;
    color: #000;
  }
  .glc2027-navigation .site-header .mln__child__mega-menu li {
    min-height: 20px;
    margin: 0;
    padding: 0;
    color: #000;
  }
  .glc2027-navigation .site-header .site-header__navbar .mln__child__mega-menu a {
    display: block;
    padding: 0;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    line-height: 20px;
    text-decoration: none;
    overflow-wrap: break-word;
  }
  .glc2027-navigation .site-header .site-header__navbar .mln__child__mega-menu a::before,
  .glc2027-navigation .site-header .site-header__navbar .mln__child__mega-menu a::after {
    content: none;
  }
  .glc2027-navigation .site-header .site-header__navbar .mln__child__mega-menu a:hover,
  .glc2027-navigation .site-header .site-header__navbar .mln__child__mega-menu a:focus-visible {
    color: #ff346e;
  }
}
/* Match the priority of Umbraco's existing Bootstrap padding utilities. */
@layer bootstrap {
  @media (min-width: 1200px) {
    .glc2027-navigation .site-header .mln__child__mega-menu {
      padding-left: 20px !important;
      padding-right: 20px !important;
    }
  }
}
/* Tablet/mobile menu panel and inline submenus. */
@media (max-width: 1199px) {
  .glc2027-navigation .site-header__bar {
    display: block;
    padding: 0 5.17578125% 0 40px;
  }
  .glc2027-navigation .site-header__static-bar {
    width: 100%;
    height: 100%;
  }
  .glc2027-navigation .site-header a.GLC-RegisterTablet {
    display: flex;
    flex: 0 0 230px;
    width: 230px;
    margin-left: auto;
    margin-right: 46px;
  }
  .glc2027-navigation .site-header__mobile-controls {
    display: flex;
    flex: none;
    margin-left: 0;
    max-height: none;
  }
  .glc2027-navigation .site-header__mobile-controls ul {
    margin: 0;
    padding: 0;
  }
  .glc2027-navigation .site-header__mobile-controls li {
    margin: 0;
    padding: 0;
    border: 0;
  }
  .glc2027-navigation .site-header__menu-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
  }
  .glc2027-navigation .site-header__menu-btn img {
    width: 40px;
    height: 40px;
  }
  .glc2027-navigation .site-header__menu-btn[aria-expanded="true"] .site-header__menu-btn-open {
    opacity: 1;
    transform: none;
  }
  .glc2027-navigation .site-header__menu-btn .site-header__menu-btn-close {
    display: none;
  }
  .glc2027-navigation .site-header__off-canvas {
    position: fixed;
    top: 100px !important;
    bottom: auto;
    left: auto !important;
    right: 0 !important;
    width: 240px;
    max-width: 100vw;
    height: auto;
    max-height: calc(100dvh - 100px);
    margin: 0;
    padding: 30px 20px;
    border: 0;
    border-bottom: 10px solid #ff346e;
    background: #f7f5f3;
    color: #000;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }
  .glc2027-navigation .js-off-canvas-showing .site-header__off-canvas {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .glc2027-navigation .js-off-canvas-showing .slide-over-transition {
    transform: none !important;
  }
  .glc2027-navigation .l-off-canvas-overlay {
    display: none !important;
  }
  .glc2027-navigation .site-header__off-canvas .l-off-canvas__helper,
  .glc2027-navigation .site-header__navbar {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0 !important;
    margin: 0;
    padding: 0;
    background: transparent;
    color: #000;
  }
  .glc2027-navigation .site-header__navbar > .mln__list {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    color: #000;
  }
  .glc2027-navigation .site-header__navbar > .mln__list > li {
    display: block;
    flex: none;
    width: 100%;
    height: auto;
    min-height: 20px;
    margin: 0;
    padding: 0;
    border: 0;
    color: #000;
  }
  .glc2027-navigation .site-header__navbar > .mln__list > li > a,
  .glc2027-navigation .site-header__navbar > .mln__list > li > .mln__child-controls > a {
    display: block;
    width: 100%;
    min-height: 20px;
    margin: 0;
    padding: 0;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    line-height: 20px;
    text-align: left;
    white-space: normal;
  }
  .glc2027-navigation .site-header__navbar > .mln__list > li > .mln__child-controls > a {
    display: grid;
    grid-template-columns: 82px 20px;
    align-items: start;
    gap: 0;
  }
  .glc2027-navigation .site-header .mln__toggle-chevron {
    width: 20px;
    height: 20px;
    color: #000;
  }
  .glc2027-navigation .site-header .mln__toggle-chevron img {
    filter: brightness(0);
    transform: rotate(90deg);
  }
  .glc2027-navigation .site-header .GLC-SubmenuOpen > .mln__child-controls .mln__toggle-chevron img {
    transform: rotate(-90deg);
  }
  .glc2027-navigation .site-header .GLC-InlineMenu .mln__child__collapse {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    height: auto !important;
    min-height: 0 !important;
    max-height: none;
    margin: 30px 0 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    color: #000;
    transform: none;
    transition: none;
  }
  .glc2027-navigation .site-header .GLC-InlineMenu .GLC-SubmenuOpen > .mln__child__collapse {
    display: block;
  }
  .glc2027-navigation .site-header .GLC-InlineMenu .mln__child__collapse__helper {
    width: 100%;
    height: auto;
    min-height: 0 !important;
    margin: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    color: #000;
  }
  .glc2027-navigation .site-header .mln__slide-over-controls,
  .glc2027-navigation .site-header .mln__child__mega-menu .h3,
  .glc2027-navigation .site-header__desktop-ctas {
    display: none !important;
  }
  .glc2027-navigation .site-header .mln__child__mega-menu {
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #000;
  }
  .glc2027-navigation .site-header .mln__child__mega-menu .row {
    display: block;
    margin: 0;
    padding: 0;
  }
  .glc2027-navigation .site-header .mln__child__mega-menu .col-xl-3 {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .glc2027-navigation .site-header .mln__child__mega-menu ul {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    margin: 0;
    padding: 0;
    color: #000;
  }
  .glc2027-navigation .site-header .mln__child__mega-menu li {
    min-height: 20px;
    margin: 0;
    padding: 0;
    color: #000;
  }
  .glc2027-navigation .site-header .site-header__navbar .mln__child__mega-menu a {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    color: #000;
    font-size: 18px;
    font-weight: 300;
    line-height: 20px;
    text-decoration: none;
    overflow-wrap: break-word;
  }
  .glc2027-navigation .site-header .site-header__navbar .mln__child__mega-menu a::before,
  .glc2027-navigation .site-header .site-header__navbar .mln__child__mega-menu a::after {
    content: none;
  }
  .glc2027-navigation .site-header .site-header__navbar .mln__child__mega-menu a:hover,
  .glc2027-navigation .site-header .site-header__navbar .mln__child__mega-menu a:focus-visible {
    color: #ff346e;
  }
  .glc2027-navigation .site-header .js-tabfix {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
  }
}
@layer bootstrap {
  @media (max-width: 1199px) {
    .glc2027-navigation .site-header .mln__child__mega-menu {
      padding-left: 0 !important;
      padding-right: 0 !important;
    }
    .glc2027-navigation .site-header .GLC-InlineMenu .mln__list > li,
    .glc2027-navigation .site-header .GLC-InlineMenu .GLC-SubmenuOpen > .mln__child__collapse > * {
      visibility: visible !important;
    }
  }
}
/* Smaller tablet header spacing. */
@media (min-width: 601px) and (max-width: 900px) {
  .glc2027-navigation .site-header__bar {
    padding-right: 6.510417%;
    padding-left: 50px;
  }
  .glc2027-navigation .site-header a.GLC-RegisterTablet {
    margin-right: 36px;
  }
}
/* Mobile header and panel position. */
@media (max-width: 600px) {
  .glc2027-navigation .site-header {
    height: 70px;
  }
  .glc2027-navigation .site-header__bar {
    padding: 0 27px 0 24px;
  }
  .glc2027-navigation .site-header__branding {
    width: 171px;
    height: 51px;
  }
  .glc2027-navigation .site-header a.GLC-RegisterTablet {
    display: none;
  }
  .glc2027-navigation .site-header__mobile-controls {
    margin-left: auto;
  }
  .glc2027-navigation .site-header__off-canvas {
    top: 70px !important;
    max-height: calc(100dvh - 70px);
  }
}

/* Navigation accessibility. */
@media (prefers-reduced-motion: reduce) {
  .glc2027-navigation .site-header__off-canvas, .glc2027-navigation .site-header .mln__child__collapse, .glc2027-navigation .site-header__menu-btn img {
    transition: none;
  }
}
