.footer-slide .outer,
.footer-slide .inner {
  background-color: var(--bg-primary);
  background-image: none;
}

.footer-slide .inner {
  height: 100%;
  /* padding-top: 17rem; */
}

.footer-slide {
  --footer-bar-height: 6.5rem;
}

.footer-page {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding-bottom: var(--footer-bar-height);
  background: var(--bg-primary);
  color: var(--text-on-surface);
}

.footer-page__blue {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: clamp(2rem, 6vw, 5rem) clamp(1.5rem, 9.9vw, 9.375rem) clamp(2rem, 4vw, 3rem);
  background: var(--bg-primary);
  position: relative;
}

.footer-page__intro {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  max-width: 75.75rem;
}

.footer-page__title {
  margin: 0 0 clamp(0.75rem, 2.5dvh, 2.5rem);
  font-family: "Source Sans Pro", sans-serif;
  font-size: clamp(1.2rem, 3.5vmin + 1.5vw + 0.35vh, 4.375rem);
  font-style: normal;
  font-weight: 600;
  line-height: 1.06;
  /* color: var(--text-primary); */
}

.footer-page__title-line {
  display: block;
}

.footer-page__cta {
  display: inline-flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 3.125rem);
  max-width: 30rem;
  width: 100%;
  min-height: clamp(3rem, 12vmin, 6.25rem);
  padding: clamp(0.75rem, 2.5vmin, 1.38rem);
  border-radius: 62.5rem;
  background: var(--bg-surface);
  color: var(--text-on-surface);
  text-decoration: none;
  font-family: 'Source Sans Pro', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(0.95rem, 2.5vmin + 0.8vw, 1.5rem);
  line-height: 1.2;
  box-sizing: border-box;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-page__cta:hover {
  opacity: 0.92;
}

.footer-page__cta:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 3px;
}

.footer-page__cta-label {
  flex: 1;
  min-width: 0;
  padding-left: 1.2rem;
}

.footer-page__cta-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: clamp(1.875rem, 9vmin, 3.75rem);
  height: clamp(1.875rem, 9vmin, 3.75rem);
  border-radius: 2rem;
  background: var(--bg-primary);
}

.footer-page__cta-icon img {
  width: clamp(1.375rem, 3.5vmin + 0.5vw, 2rem);
  height: auto;
  display: block;
}

.footer-page__logos {
  align-self: flex-end;
  flex-shrink: 0;
  padding: clamp(2rem, 5vh, 4rem) clamp(1rem, 3vw, 2rem) clamp(1rem, 2vw, 1.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1rem, 4vw, 3rem);
}

.footer-page__logos .footer-page__logo-jmu,
.footer-page__logos .footer-page__logo-ub {
  width: auto;
  height: clamp(2rem, 4.5vmin + 3vw, 5.375rem);
}

.footer-page__white {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  width: 100%;
  background: var(--bg-surface);
}

.footer-page__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  height: var(--footer-bar-height);
  padding: 0 clamp(2.5rem, 9.9vw, 9.375rem);
  font-family: 'Source Sans Pro', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-on-surface);
}

.footer-page__copy {
  margin: 0;
  color: var(--text-on-surface);
}

.footer-page__bar-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1rem, 3vw, 1.75rem);
}

.footer-page__socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-page__social {
  display: flex;
  line-height: 0;
  opacity: 1;
  transition: opacity var(--transition);
}

.footer-page__social:hover {
  opacity: 0.65;
}

.footer-page__social:focus-visible {
  outline: 2px solid var(--bg-primary);
  outline-offset: 3px;
}

.footer-page__social img {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

.footer-page__link {
  color: var(--text-on-surface);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

.footer-page__link-text {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer-page__link:hover .footer-page__link-text {
  color: var(--bg-primary);
}

.footer-page__link-logo {
  display: none;
  width: auto;
  height: 1.5rem;
  filter: brightness(0);
}

@media (max-width: 720px) {
  .footer-page__link-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    clip-path: inset(50%);
  }

  .footer-page__link {
    display: flex;
    line-height: 0;
  }

  .footer-page__link-logo {
    display: block;
  }

  .footer-page__link:hover {
    opacity: 0.65;
  }

  .footer-page__link:hover .footer-page__link-text {
    color: inherit;
  }
}

@media (max-height: 700px) {
  .footer-page__blue {
    padding-top: clamp(1.25rem, 4dvh, 3rem);
    padding-bottom: clamp(1.25rem, 3dvh, 2.5rem);
  }

  .footer-page__cta {
    min-height: 3.5rem;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
  }

  .footer-page__cta-icon {
    width: clamp(1.75rem, 8vmin, 3.25rem);
    height: clamp(1.75rem, 8vmin, 3.25rem);
  }

  .footer-page__cta-icon img {
    width: clamp(1.25rem, 3vmin + 0.5vw, 1.875rem);
  }
}
