/*
 * The footer for the pages still served from the mirror — the same one the
 * rebuilt pages render from components/site/site-footer.tsx.
 *
 * It replaces the old one, rather than patching its links, because patching them
 * one at a time is what kept letting dead ones through: "Library" was still
 * href="#" and both Privacy Policy and Terms & Conditions went to the FAQ.
 * Prefixed and reset locally, because it lands inside the old stylesheet.
 */
.eslfoot,
.eslfoot * {
  box-sizing: border-box;
}

.eslfoot {
  background: #0040bc;
  color: #fff;
  font-family: Figtree, ui-sans-serif, system-ui, -apple-system, sans-serif;
}

.eslfoot__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}

.eslfoot__top {
  display: grid;
  gap: 1.5rem;
  text-align: center;
  align-items: center;
}

.eslfoot__strap {
  margin: 0;
  font-family: "Crimson Pro", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 1.35;
  color: #fff;
}

.eslfoot__elephant {
  display: block;
  height: 8rem;
  width: auto;
  margin: 0 auto;
}

.eslfoot__rule {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin: 2.5rem 0;
}

.eslfoot__cols {
  display: grid;
  gap: 2.5rem;
}

.eslfoot h2 {
  margin: 0;
  font-family: "Crimson Pro", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}

.eslfoot__label {
  margin: 1rem 0 0.25rem;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.eslfoot__list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}
.eslfoot__list li + li {
  margin-top: 0.625rem;
}
.eslfoot__list a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
.eslfoot__list a {
  font-weight: 500;
}
.eslfoot__list a:hover {
  color: #fff;
  font-weight: 700;
}

.eslfoot__social {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 1.5rem 0 0;
  padding: 0;
}
.eslfoot__social a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
}
.eslfoot__social a:hover {
  color: #fff;
}
.eslfoot__social svg {
  width: 24px;
  height: 24px;
  display: block;
}

.eslfoot__bottom {
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.eslfoot__bottom p {
  margin: 0;
}
.eslfoot__bottom ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2rem;
  margin: 1rem 0 0;
  padding: 0;
}
.eslfoot__bottom li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.eslfoot__bottom li span {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.7);
}
.eslfoot__bottom a {
  color: inherit;
  text-decoration: none;
}
.eslfoot__bottom a:hover {
  font-weight: 700;
}

@media (min-width: 768px) {
  .eslfoot__top {
    grid-template-columns: 1fr auto 1fr;
    gap: 2.5rem;
  }
  .eslfoot__strap {
    text-align: left;
  }
  .eslfoot__strap--right {
    text-align: right;
  }
  .eslfoot__elephant {
    height: 11rem;
  }
}

@media (min-width: 640px) {
  .eslfoot__inner {
    padding: 5rem 1.25rem;
  }
  .eslfoot__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .eslfoot__cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .eslfoot__elephant {
    height: 14rem;
  }
}
