/* Full-width navigation in the established white, silver and red palette. */
body.v5-site .site-header.mega-ready { background: #fff; backdrop-filter: none; }
.v5-site .mega-trigger {
  display: inline-flex; align-items: center; gap: 8px; align-self: stretch;
  padding: 12px 0; border: 0; background: none; position: relative;
  color: #30363c; font: inherit; font-size: 16px; white-space: nowrap;
}
.mega-trigger svg, .mobile-nav-group summary svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; transition: transform 180ms ease; }
.mega-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.v5-site .mega-trigger:is(:hover,[aria-expanded="true"],[data-current="true"]) { color: #ad242d; }
.mega-trigger::after { content: ''; position: absolute; bottom: 0; inset-inline: 0; height: 2px; background: #ad242d; transform: scaleX(0); transition: transform 180ms ease; }
.mega-trigger[aria-expanded="true"]::after { transform: scaleX(1); }
.v5-site .mega-ready .desktop-nav { align-self: stretch; align-items: stretch; }
.v5-site .mega-ready .desktop-nav > a { display: flex; align-items: center; }
.mega-shell { position: absolute; top: 100%; inset-inline: 0; background: #fff; box-shadow: 0 20px 28px rgb(29 35 42 / 8%); max-height: calc(100dvh - 84px); overflow-y: auto; overflow-x: hidden; }
.mega-panel { overflow: clip; animation: mega-enter 180ms cubic-bezier(.16,1,.3,1) both; }
.v5-site .mega-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(24px,3vw,56px); padding-block: 40px 56px; min-height: 380px; }
.v5-site .mega-panel--with-side .mega-grid { grid-template-columns: repeat(3,minmax(0,1fr)) minmax(260px,1.05fr); }
.mega-column { padding-top: 12px; border-top: 1px solid #e1e4e6; min-width: 0; }
.v5-site .mega-column h2, .v5-site .mega-contact h2 { color: #ad242d; font-size: 18px; line-height: 1.6; letter-spacing: 0; font-weight: 600; margin: 12px 0 16px; }
.mega-column > a { display: block; width: fit-content; max-width: 100%; min-height: 44px; padding-block: 8px; color: #30363c; font-size: 16px; line-height: 1.75; }
.mega-column a:hover, .mega-contact a:hover { color: #ad242d; text-decoration: underline; text-underline-offset: 5px; }
.mega-side { position: relative; isolation: isolate; padding: 24px 0 0 24px; min-width: 0; }
.mega-side::before { content: ''; position: absolute; inset: -40px calc(-1 * max(32px,(100vw - 100%)/2)) -56px 0; z-index: -1; background: #f7f7f8; }
.mega-more { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; margin-top: 20px; padding: 0; border: 0; background: none; color: #ad242d; font-size: 16px; font-weight: 600; }
.mega-more:hover { text-decoration: underline; text-underline-offset: 5px; }
.mega-contact h2 a { display: inline-flex; align-items: center; gap: 12px; color: #ad242d; }
.mega-contact > a { display: block; color: #30363c; font-size: 16px; min-height: 44px; padding-block: 8px; overflow-wrap: anywhere; }
.v5-site .mega-company { color: #525c65; font-size: 15px; line-height: 1.8; margin-bottom: 16px; }
.mega-backdrop { position: fixed; inset: 84px 0 0; z-index: 29; background: rgb(23 30 37 / 20%); animation: mega-enter 160ms ease both; }
.mega-ready :is(a,button,summary):focus-visible { outline: 2px solid #ad242d; outline-offset: 5px; }
@keyframes mega-enter { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1000px) {
  .v5-site .mega-ready .desktop-nav { display: none; }
  .v5-site .mega-ready .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; margin-left: 0; width: 44px; height: 44px; padding: 10px; border: 0; background: none; flex-shrink: 0; }
  .v5-site .mega-ready .menu-toggle { position: relative; }
  .v5-site .mega-ready .menu-toggle span { position: absolute; left: 10px; top: 21px; width: 24px; height: 1px; display: block; transform-origin: center; }
  .v5-site .mega-ready .menu-toggle span:first-child { transform: translateY(-4px); }
  .v5-site .mega-ready .menu-toggle span:last-child { transform: translateY(4px); }
  .v5-site .mega-ready .menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .v5-site .mega-ready .menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
  .v5-site .mega-ready .header-cta { margin-left: auto; }
  .v5-site .mega-ready .mobile-nav { display: block; position: absolute; top: 100%; inset-inline: 0; width: 100%; max-height: calc(100dvh - 84px); overflow-y: auto; padding: 12px max(20px,calc((100vw - 880px)/2)) 28px; background: #fff; color: #30363c; box-shadow: 0 16px 24px rgb(29 35 42 / 10%); }
  .v5-site .mega-ready .mobile-nav > a, .v5-site .mega-ready .mobile-nav > button { display: flex; align-items: center; min-height: 52px; width: 100%; padding: 12px 0; border: 0; background: none; font-size: 17px; }
  .mobile-nav-group { border-top: 1px solid #e7e9ec; }
  .mobile-nav-group summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; cursor: pointer; font-size: 17px; list-style: none; }
  .mobile-nav-group summary::-webkit-details-marker { display: none; }
  .mobile-nav-group[open] summary { color: #ad242d; }
  .mobile-nav-group[open] summary svg { transform: rotate(180deg); }
  .mobile-nav-group > div { padding: 4px 16px 20px; background: #f5f6f7; }
  .mobile-nav-group section { margin-top: 20px; }
  .v5-site .mobile-nav-group h2 { font-size: 15px; line-height: 1.6; letter-spacing: 0; color: #616a72; font-weight: 500; margin: 0 0 4px; }
  .v5-site .mobile-nav-group a { display: block; min-height: 44px; padding: 8px 0; font-size: 16px; color: #30363c; }
  .v5-site .mobile-nav-group .mobile-overview { color: #ad242d; padding-top: 12px; }
  .v5-site .mobile-nav-group a:hover { color: #ad242d; }
  .mega-shell, .mega-backdrop { display: none; }
}
@media (max-width: 800px) { .v5-site .mega-ready .mobile-nav { max-height: calc(100dvh - 76px); } }
@media (max-width: 600px) { .v5-site .mega-ready .mobile-nav { max-height: calc(100dvh - 72px); } }
@media (prefers-reduced-motion: reduce) { .mega-panel, .mega-backdrop { animation: none; } .mega-trigger::after, .mega-trigger svg, .mobile-nav-group summary svg { transition: none; } }
