/**
 * DLC Summit compat — shields the shared header / mega menu from
 * Bootstrap 5 + summit styles loaded on summit-template pages.
 */

/* BS5 reboot underlines all links; restore BS4 default in header */
header a {
  text-decoration: none;
}

/* Neutralize BS5 ".row > *" (width:100%) that stacks mega menu columns */
header .row > * {
  flex-shrink: 1;
  width: auto;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
  margin-top: 0;
}

/* Re-assert BS4 column behavior for classes used in the header */
header .row > [class*="col"] {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

header .col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

@media (min-width: 768px) {
  header .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

@media (min-width: 992px) {
  header .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }

  header .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  header .col-lg-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }

  header .col-lg-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }

  header .col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
}

/* Restore theme button look in header (BS5 .btn/.btn-primary override it) */
header .btn {
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 20px;
  line-height: 24px;
  padding: 8px 16px 6px 16px;
  font-family: 'Proxima Nova Rg', sans-serif;
  font-weight: 600;
}

header .btn-primary {
  background-color: #1961C4;
  border-color: #1961C4;
  color: #fff;
}

header .btn-primary:hover {
  background-color: #FFC20E;
  border-color: #FFC20E;
  color: #000;
}
