/* Shared by every page: navigation, site-wide text defaults and the footer */

/* ---------- Navigation ---------- */

nav.white {
  background: #345995;
}

nav a {
  text-decoration: none;
}

nav .brand-logo-new {
  font-family: "Libre Franklin", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #ff7961;
}

.navbar-brand:hover,
.navbar-brand:focus {
  color: #ff7961 !important;
}

.navbar-dark .navbar-nav .nav-link,
a.nav-link {
  color: #03CEA4;
}

.navbar-dark .navbar-nav .nav-link:hover,
a.nav-link:hover {
  text-decoration: underline;
  color: #03CEA4;
}

.navbar-dark .navbar-nav .nav-link.active {
  color: #fff;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.4);
}

/* ---------- Site-wide defaults ---------- */

a {
  color: #ff7961;
}

.center,
li {
  font-family: "Amiko", sans-serif;
}

nav ul a {
  color: #03CEA4;
}

/* The homepage also loads Materialize base styles, which give <nav> a fixed height
   that would clip Bootstrap's mobile menu */
nav.navbar {
  height: auto;
  line-height: normal;
  box-shadow: none;
}

nav.navbar ul li {
  float: none;
}

nav.navbar ul a {
  display: block;
  font-size: 1rem;
}

/* ---------- Site footer ---------- */

.site-footer {
  background: #345995;
  color: #dbe3f1;
  font-family: "Amiko", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 48px 24px 32px;
}

.site-footer .site-footer-logo {
  font-family: "Libre Franklin", sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #ff7961;
  text-decoration: none;
}

.site-footer p {
  margin: 8px 0 0;
}

.site-footer h2 {
  margin: 0 0 12px;
  font-family: "Libre Franklin", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c6d3ea;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 0 0 8px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  text-underline-offset: 3px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
  text-decoration-color: #ff7961;
  text-decoration-thickness: 2px;
}

/* Links that sit inside a sentence get a coral underline so they read as links */
.site-footer-help a,
.site-footer-bottom a {
  text-decoration: underline;
  text-decoration-color: #ff7961;
}

.site-footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 24px 28px;
  border-top: 1px solid #4a6ca5;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 13.5px;
  color: #cfd9ec;
}

.site-footer-bottom p {
  margin: 0;
}

@media (max-width: 767px) {
  .site-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
    padding: 36px 16px 24px;
  }

  .site-footer-brand {
    grid-column: 1 / -1;
  }

  .site-footer-bottom {
    padding: 16px 16px 24px;
  }
}
