/**
 * Foundation Right Pro - Footer
 * Site footer columns and the bottom bar.
 */

.frp-footer {
  background: var(--frp-gradient-maroon);
  color: var(--frp-on-dark-70);
}

.frp-footer a {
  color: var(--frp-on-dark-70);
}

.frp-footer a:hover {
  color: var(--frp-white);
}

.frp-footer__top {
  display: grid;
  gap: var(--frp-space-12);
  padding-block: var(--frp-space-16);
  grid-template-columns: minmax(260px, 1.3fr) repeat(3, 1fr);
}

@media (max-width: 900px) {
  .frp-footer__top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .frp-footer__top {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------------
   Brand column
   ------------------------------------------------------------------------ */

.frp-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--frp-space-5);
}

.frp-footer__logo-link {
  display: flex;
  align-items: center;
  gap: var(--frp-space-2);
}

.frp-footer__logo {
  width: auto;
}

.frp-footer__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: var(--frp-radius-circle);
  background: rgba(255, 255, 255, 0.12);
  color: var(--frp-white);
}

.frp-footer__logo--fallback {
  color: var(--frp-white);
  font-size: 1.25rem;
  font-weight: var(--frp-fw-bold);
}

.frp-footer__about {
  margin: 0;
  max-width: 26rem;
  font-size: var(--frp-fs-sm);
  line-height: var(--frp-lh-loose);
}

.frp-subscribe {
  display: flex;
  gap: var(--frp-space-2);
  width: 100%;
  max-width: 22rem;
  position: relative;
}

.frp-subscribe .frp-subscribe__field {
  flex: 1 1 auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--frp-radius-pill);
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 18px;
  color: var(--frp-white);
}

.frp-subscribe__field::placeholder {
  color: var(--frp-on-dark-40);
}

.frp-subscribe__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 0;
  border-radius: var(--frp-radius-circle);
  background: var(--frp-white);
  color: var(--frp-maroon);
  position: absolute;
  right: 5px;
  top: 5px;
  transition:
    background-color var(--frp-transition),
    transform var(--frp-transition);
}

.frp-subscribe__submit:hover {
  background: var(--frp-grey-50);
  transform: translateX(1px);
}

.frp-subscribe-embed :is(input, button) {
  border-radius: var(--frp-radius-pill);
}

.frp-socials {
  display: flex;
  gap: var(--frp-space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.frp-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--frp-radius-circle);
  background: rgba(255, 255, 255, 0.08);
  color: var(--frp-white);
  transition: background-color var(--frp-transition);
}

.frp-socials a:hover {
  background: var(--frp-white);
  color: var(--frp-maroon);
}

/* ------------------------------------------------------------------------
   Link columns
   ------------------------------------------------------------------------ */

.frp-footer__heading {
  margin: 0 0 var(--frp-space-5);
  color: var(--frp-white);
  font-size: var(--frp-fs-h5);
}

.frp-footer__menu {
  display: flex;
  flex-direction: column;
  gap: var(--frp-space-3);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--frp-fs-sm);
}

/* ------------------------------------------------------------------------
   Contact column
   ------------------------------------------------------------------------ */

.frp-footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--frp-space-4);
  font-size: var(--frp-fs-sm);
}

.frp-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--frp-space-3);
  margin: 0;
}

.frp-footer__contact-item svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--frp-white);
}

/* ==========================================================================
   Bottom bar
   ========================================================================== */

.frp-footer__bottom {
  background: var(--frp-maroon-darker);
  border-top: 1px solid var(--frp-hairline);
}
.frp-footer__bottom-inner-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.frp-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--frp-space-4);
  padding-block: var(--frp-space-5);
  font-size: var(--frp-fs-xs);
  text-align: center;
}

.frp-footer__copyright {
  margin: 0;
}

.frp-footer__legal {
  display: flex;
  gap: var(--frp-space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}
