footer {
  padding: 0;
  background-color: var(--primary-color);
  color: var(--white);
}

footer .upper-footer {
  padding: 32px 0;
  background-color: var(--dark-gray);
}

footer a {
  color: var(--white);
  font-weight: 300;
  font-size: 16px;
  text-decoration: none;
}

footer h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

footer #footer-logo {
  width: 225px;
  height: auto;
}

footer #footer-logo path {
  fill: white;
}

footer .flex-right {
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-end;
  text-align: right;
}

footer .footer-cta-nav li {
  padding-bottom: 0;
}

footer .footer-nav li {
  text-transform: uppercase;
  font-size: 12px;
  color: var(--light-gray);
}

footer .footer-nav li a {
  color: var(--light-gray);
}

footer a.btn-link {
  color: var(--beige);
}

footer a.btn-link::after {
  color: var(--beige);
}

footer a.btn-link:hover,
footer a.btn-link:focus-visible {
  color: var(--white);
}

footer a.btn-link:hover::after {
  color: var(--white);
}

footer a:not(.btn):hover,
footer a:focus-visible {
  color: white;
  text-decoration: underline;
}

.footer-social {
  padding-left: 0;
  list-style: none;
  margin: 20px 0;
}

.footer-social li {
  display: inline-block;
  margin: 0 10px;
}

.footer-social li a {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-weight: 900;
  color: var(--white);
  font-size: 24px;
  width: 28px;
  height: 28px;
  line-height: 28px;
}

.footer-social li a span {
  font-size: 24px;
}

.footer-social li:hover a,
.content-social li:hover a {
  text-decoration: none;
  color: var(--light-gray);
}

.content-social {
  padding-left: 0;
  list-style: none;
  text-align: center;
  margin: 15px auto;
}

.content-social li {
  display: inline-block;
  margin: 0 5px;
}

.footer-address {
  padding-left: 0;
  list-style: none;
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 40px;
  line-height: 20px;
}

.footer-address li {
  display: block;
  margin: 10px 0;
}

footer .copyright {
  background-color: var(--mid-gray);
  padding: 20px 0;
  font-size: 14px;
}

footer .copyright a {
  color: var(--white);
  font-size: 14px;
}

.footer-post img {
  max-width: 100%;
}

/*  tablets and smaller desktops: MD */
@media only screen and (max-width: 767px) {
  footer {
    text-align: center;
  }

  .footer-address,
  footer h2 {
    text-align: center;
  }

  footer img {
    margin: 0 auto;
  }

  .footer-social {
    text-align: center;
  }

  footer .flex-right {
    align-items: center;
    text-align: center;
  }

  footer .footer-cta-nav {
    max-width: 270px;
    margin: 0 auto;
  }

  .footer-nav {
    margin-top: 20px;
    max-width: 270px;
    margin: 0 auto;
    margin-bottom: 20px;
    border-bottom: 2px dotted var(--mid-gray);
    text-align: center;
  }

  .footer-social li a {
    font-size: 22px;
    width: 32px;
    height: 32px;
    line-height: 32px;
  }

  // .footer-nav .list-unstyled {
  //   border-right: none;
  // }

  .footer-address,
  footer h2 {
    text-align: center;
  }

  footer img {
    margin: 0 auto;
  }

  .footer-social {
    display: block;
    text-align: center;
  }

  .footer-post img {
    max-width: 80%;
  }
}
