/**
 * @file
 * Footer Styling.
 */

.site-footer {
  font-family: unset;
  font-size: inherit;
  padding-top: 32px;
  padding-bottom: 32px;
}

.site-footer * {
  color: #fff;
}

.site-footer .nav.navbar-nav {
  gap: 16px;
}

.site-footer .nav.navbar-nav::after {
  content: unset;
}

.site-footer .nav-link {
  padding: 0;
}

.site-footer__top {
  display: grid;
  grid-template-areas:
    "logo menu"
    "logo social";
  grid-template-columns: 1fr 1fr;
}

.site-footer__top::after {
  content: unset;
}

.site-footer__top > section.region {
  width: 100%;
}

.site-footer__top .region:nth-child(2n) {
  padding-left: 0;
}

.site-footer__top > section.region > div {
  margin: 0;
}

.site-footer__top .row {
  margin: 0;
}

.site-footer__top .region-footer-logo {
  grid-area: logo;
}

.site-footer__top .region-footer-logo picture,
.site-footer .block {
  padding: 0;
}

.site-footer__top .region-footer-second {
  grid-area: menu;
}

.site-footer__top .region-footer-third {
  grid-area: social;
}

.site-footer__top .region-footer-third .content {
  display: flex;
  gap: 16px;
  font-size: 1.5em;
  margin-top: 32px;
}

@media (min-width: 48em) {
  .site-footer__top {
    display: flex;
    justify-content: space-between;
  }

  .site-footer__top > section.row.region {
    width: fit-content;
  }

  .site-footer__top .region-footer-third .content {
    font-size: 2em;
    margin-top: 0;
    justify-content: end;
  }
}

.site-footer .block {
  border: unset;
}

.site-footer__bottom {
  margin: 0;
  border: unset;
}

.site-footer__bottom .region-footer-fifth {
  margin: 0;
  text-align: center;
}

.site-footer__bottom .region-footer-fifth > div,
.site-footer__bottom .region-footer-fifth .content p {
  margin: 0;
}

.site-footer__bottom .region-footer-fifth .content {
  margin-top: 40px;
  padding: 0;
}

@media (min-width: 48em) {
  .site-footer__bottom .region-footer-fifth {
    text-align: end;
  }

  .site-footer__bottom .region-footer-fifth .content {
    margin-top: 0;
  }
}
