/* Shared navigation and footer shell */

.cbp-af-header .nav a[aria-current="page"],
.cbp-af-header .nav a[aria-current="location"],
.cbp-af-header .nav li.current > a {
  color: var(--brand-soft) !important;
}

.navbar-toggle:focus-visible,
.cbp-af-header a:focus-visible,
footer.footer a:focus-visible {
  outline: 2px solid var(--brand-soft);
  outline-offset: 4px;
}

footer.footer {
  padding: 0;
  color: #fff;
  background: #12151c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer.footer .footer-shell {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 96px);
}

footer.footer .footer-primary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 64px;
  padding: 52px 0 46px;
}

footer.footer .footer-identity {
  max-width: 440px;
}

footer.footer .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: var(--type-body-lg);
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
}

footer.footer .footer-brand:hover,
footer.footer .footer-brand:focus {
  color: #fff;
  text-decoration: none;
}

footer.footer .footer-brand img {
  width: 21px;
  height: 21px;
}

footer.footer .footer-identity p {
  max-width: 390px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: var(--type-supporting);
  line-height: 1.65;
}

footer.footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px clamp(22px, 2.8vw, 44px);
  padding-top: 3px;
}

footer.footer .footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-sans);
  font-size: var(--type-label);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

footer.footer .footer-nav a:hover,
footer.footer .footer-nav a:focus {
  color: var(--brand-soft);
  text-decoration: none;
}

footer.footer .footer-secondary {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  padding: 21px 0 24px;
  color: rgba(255, 255, 255, 0.38);
  font-size: var(--type-micro);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

footer.footer .footer-secondary > :last-child {
  justify-self: end;
}

footer.footer .footer-secondary a {
  color: rgba(255, 255, 255, 0.52);
}

footer.footer .footer-secondary a:hover,
footer.footer .footer-secondary a:focus {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 767px) {
  footer.footer .footer-primary {
    flex-direction: column;
    gap: 36px;
    padding: 44px 0 38px;
  }

  footer.footer .footer-nav {
    justify-content: flex-start;
  }

  footer.footer .footer-secondary {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 21px 0 28px;
  }

  footer.footer .footer-secondary > :last-child {
    justify-self: auto;
  }
}
