.bf-footer-home {
  box-sizing: border-box;
  display: flex;
  flex: 0 0 100%;
  grid-column: 1 / -1;
  justify-content: center;
  width: min(calc(100% - 28px), 24rem);
  margin: 16px auto 0;
  padding-top: 13px;
  border-top: 1px solid #b6935880;
  text-align: center;
}
.bf-footer-home > a.bf-footer-home__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  color: #fff3dc;
  background: linear-gradient(180deg, #3b4e60, #1e3042 52%, #101e2c);
  border: 1px solid #b89961;
  border-radius: 999px;
  box-shadow: inset 0 1px 1px #fff3dc55, inset 0 -2px 3px #060d1599, 0 3px 0 #0b1723, 0 8px 15px #0a142844;
  font: italic 600 15px/1.2 Georgia, "Times New Roman", serif;
  letter-spacing: .06em;
  text-decoration: underline;
  text-decoration-color: #d7b77b;
  text-underline-offset: .28em;
  white-space: nowrap;
}
.bf-footer-home > a.bf-footer-home__link:hover {
  color: #fff3dc;
  background: linear-gradient(180deg, #465c70, #22374b 52%, #132332);
  text-decoration-thickness: 2px;
}
.bf-footer-home > a.bf-footer-home__link:focus-visible {
  outline: 2px solid #b69358;
  outline-offset: 1px;
}
@media (min-width: 1001px) {
  .bf-footer-home-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 52rem;
    margin-inline: auto;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .bf-footer-home > a.bf-footer-home__link { animation: bf-footer-levitate 4.5s ease-in-out infinite; }
  .bf-footer-home > a.bf-footer-home__link:is(:hover, :focus-visible) { animation-play-state: paused; }
}
@keyframes bf-footer-levitate {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

/* Hide the bottom return-to-home capsule on phones and desktop. */
@media screen and (max-width: 767px), screen and (min-width: 1024px) {
  footer > .bf-footer-home:is(:last-child,:has(+ .bf-site-credit)),
  footer.bf-footer-home-wrap,
  footer .legal-footer-home.bf-footer-home {
    display: none;
  }
}

/* This capsule sits on the footer's final row only in the wide tax layout. */
@media screen and (min-width: 1024px) {
  footer .legal-tax-layout > .legal-cta-home.bf-footer-home {
    display: none;
  }
}
