/* Shared public navigation, isolated from each page's Bootstrap and theme. */
.site-header,
.site-header * {
  box-sizing: border-box;
}
.site-header {
  --blue: #00348d;
  --blue-dark: #00256c;
  --ink: #0b1d3f;
  position: sticky;
  top: 0;
  z-index: 1020;
  display: grid;
  align-items: center;
  width: min(1400px, calc(100% - 32px));
  margin: 18px auto 0;
  border: 1px solid #d4deeb;
  box-shadow: 0 14px 36px rgba(0, 39, 106, 0.1);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.3;
  text-align: left;
}
.site-header a,
.site-header a:hover {
  text-decoration: none;
}
.site-header .brand img {
  display: block;
}
.site-header .menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #dfe5ef;
  border-radius: 8px;
  color: var(--blue);
  background: #fff;
  font-size: 24px;
  cursor: pointer;
}
.site-header .main-nav {
  display: flex;
}
.site-header .main-nav a {
  position: relative;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}
.site-header .main-nav a::after {
  position: absolute;
  right: 6px;
  bottom: 4px;
  left: 6px;
  height: 2px;
  background: #ee0b16;
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}
.site-header .main-nav a:hover::after,
.site-header .main-nav a.active::after {
  transform: scaleX(1);
}
.site-header .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  font-family: inherit;
  line-height: 1.2;
  font-weight: 800;
  text-transform: none;
  cursor: pointer;
}
.site-header .header-quote {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 6px 16px rgba(0, 39, 106, 0.12);
  transition: background 180ms ease;
}
.site-header .header-quote:hover {
  color: #fff;
  background: var(--blue-dark);
  transform: none;
}
.site-header .header-quote i {
  margin: 0;
  font-size: 24px;
}
.site-header a:focus-visible,
.site-header button:focus-visible {
  outline: 3px solid #00348d;
  outline-offset: 3px;
}
/* Legacy pages used a fixed header and reserved an extra top margin. */
.site-header ~ #main .breadcrumbs {
  margin-top: 24px;
}
.site-header::before {
  content: "";
  grid-column: 3;
  grid-row: 1 / 3;
  justify-self: start;
  align-self: stretch;
  width: 1px;
  background: #0b1d3f;
  transform: translateX(-12px);
}
/* Header: brand, quotation and a shared navigation baseline. */
.site-header {
  grid-template-columns: 240px minmax(0, 1fr) 390px;
  grid-template-rows: 50px 48px;
  column-gap: 24px;
  row-gap: 12px;
  padding: 20px 28px;
  border-color: #d4deeb;
  border-radius: 12px;
  background: linear-gradient(125deg, #fff 35%, #f2f7fc 100%);
}

.site-header .brand {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
}

.site-header .brand img {
  width: 240px;
  max-width: 100%;
  height: 112px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.site-header .main-nav {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}

.site-header .main-nav a {
  padding: 12px 6px;
  white-space: nowrap;
}

.site-header .header-quote {
  grid-column: 3;
  grid-row: 1;
  justify-self: stretch;
  width: 100%;
  min-height: 48px;
  padding: 0 22px;
  gap: 10px;
  font-size: 16px;
}

.header-quote i {
  margin: 0;
  font-size: 24px;
}

.site-header .header-actions {
  display: grid;
  grid-column: 3;
  grid-row: 2;
  grid-template-columns: 1.15fr 1.2fr 0.85fr;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  padding: 0;
  border-left: 0;
}

.site-header .header-actions .btn {
  justify-content: flex-start;
  min-height: 44px;
  padding: 4px 2px;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  line-height: 1.25;
}

.site-header .header-actions .btn i {
  flex-shrink: 0;
  margin-right: 8px;
  color: var(--blue);
  font-size: 25px;
}

.site-header .header-actions .btn:hover {
  color: var(--blue);
  background: #e6eef8;
  transform: none;
}

@media (max-width: 1250px) {
  .site-header::before {
    display: none;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto;
    padding: 14px 22px;
    gap: 14px;
  }

  .site-header .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .site-header .brand img {
    width: 200px;
    height: 80px;
  }

  .site-header .menu-toggle {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    place-items: center;
    justify-self: end;
  }

  .site-header .main-nav,
  .site-header .header-quote,
  .site-header .header-actions {
    display: none;
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .site-header.is-open .main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-header.is-open .header-quote {
    display: inline-flex;
    justify-self: stretch;
  }

  .site-header.is-open .header-actions {
    display: grid;
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px solid #d4deeb;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 10px 16px;
  }

  .site-header .brand img {
    width: 170px;
    height: 70px;
  }

  .site-header .header-actions {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-header .header-actions .btn {
    padding: 8px 12px;
  }
}
.site-header ~ #main {
  padding-top: 0;
}
