﻿/*FOOTER*/
footer {
  background: var(--waa-dark-grey);
  color: var(--bs-white);
  padding-top: 50px;
  padding-bottom: 25px;

  .grid-item-container {
    .grid-item.dark {
      background: var(--waa-dark-grey) !important;

      .grid-area-container {
        background: var(--waa-dark-grey) !important;
      }
    }
  }
}

footer .btn {
  width: 100%;
}

footer .btn.btn-primary {
  margin-top: 10px;
  background: white !important;
  color: var(--waa-green)!important;

  &:hover {
    background: var(--waa-yellow)!important;
  }
}

@media (min-width: 576px) {
  footer .btn {
    width: unset;
  }
}

footer h1,
footer h2,
footer h3,
footer h4 {
  position: relative;
  padding-bottom: 20px;
  color: var(--bs-white);
  font-size: clamp(18px, calc(1.125rem + ((1vw - 7.68px) * 0.6944)), 26px);
  min-height: 0vw;
  font-weight: var(--waa-font-bold);
  margin-bottom: 30px;
  border-bottom: 2px solid #6e5c53;
}

footer a {
  color: var(--bs-white);
  text-decoration: none;
  font-weight: var(--waa-font-regular);
  font-size: clamp(15px, calc(0.9375rem + ((1vw - 7.68px) * 0.434)), 20px);
  min-height: 0vw;
}

footer .footer-base-links a {
  font-weight: var(--waa-font-medium);
  font-size: clamp(11px, calc(0.6875rem + ((1vw - 7.68px) * 0.6944)), 19px);
}

footer a:not(.btn):hover,
footer a:not(.btn):focus {
  color: var(--waa-yellow);
  text-decoration: underline;
}

footer h1::after,
footer h2::after,
footer h3::after,
footer h4::after {
  position: absolute;
  bottom: 5px;
  left: 0;
  height: 2px;
  width: 85%;
  display: block;
  content: "";
  background: var(--waa-grey-inactive);
}

footer ul.columns {
  column-count: 2;
  column-gap: 2rem;
  margin-top: 0;
}

footer ul.columns li {
  padding-top: 10px;
  padding-bottom: 10px;
}

footer ul.rows li {
  display: inline-block !important;
  list-style: none;
  margin: 0 auto;
  height: 24px;
}

footer ul.rows li::after {
  content: " | ";
  padding: 0 15px;
  color: var(--waa-grey-inactive);
}

footer ul.rows li:last-child:after {
  content: "";
  padding: 0;
}

footer ul.rows li:last-child i {
  position: relative;
  margin-left: 20px;
}

footer ul.rows li:first-child {
  border-left: none;
}

/* FOOTER SOCIALS */
footer .socials ul.rows {
  display: inline-flex !important;
  gap: 16px;
  align-items: center !important;
}

footer .socials ul.rows li {
  display: inline-block !important;
  list-style: none;
  margin: 0 auto;
  height: 44px;
}

footer .socials {
  margin: 30px 0px 0px;
}

footer .socials ul.rows li::after {
  content: "  " !important;
  padding: 0 10px;
}

footer .socials ul li,
footer .socials ul li a {
  height: 44px;
  width: 44px;
}

footer .socials a {
  color: var(--bs-white);
  text-decoration: none;
  display: block;
  overflow: hidden;
  text-indent: -9999em;
  white-space: nowrap;

  @media (max-width: 991px) {
    white-space: unset;
    text-indent: 115px;
  }
}

footer .socials ul.rows li:last-child:after {
  content: "";
  padding: 0;
}

footer .socials ul.rows li:last-child i {
  position: relative;
  margin-left: 20px;
  margin-top: -3px;
}

footer .socials ul.rows li:first-child {
  border-left: none;
}

footer .socials a img,
footer .socials a i {
  text-indent: 0;
  display: inline-block;
  vertical-align: middle;
  margin-left: 20px;
  padding: 6px 3px;
}

@media (max-width: 991px) {
  footer .socials a img,
  footer .socials a i {
    margin-left: 0px !important;
    margin-top: -25px !important;
  }
}

footer .socials a i {
  font-size: 38px;
  text-decoration: none;
}

footer .socials img {
  width: 40px;
}

footer .donate .rich-text p {
  text-align: left !important;
  font-size: 16px;
  line-height: 24px;
}

footer p {
  font-size: clamp(15px, calc(0.9375rem + ((1vw - 7.68px) * 0.434)), 20px);
  min-height: 0vw;
  line-height: clamp(24px, calc(1.5rem + ((1vw - 7.68px) * 0.6944)), 32px);
}

@media (max-width: 991px) {
  footer .newsletter {
    margin-top: 20px;
  }
}

footer .newsletter .dwl-text p {
  max-width: 80%;
  font-size: clamp(15px, calc(0.9375rem + ((1vw - 7.68px) * 0.434)), 20px);
  min-height: 0vw;
  line-height: clamp(24px, calc(1.5rem + ((1vw - 7.68px) * 0.6944)), 32px);
}

footer .donate .btn-wrapper {
  text-align: left;
  padding: 20px 0px 50px;
}

@media (min-width: 992px) {
  footer {
    padding-top: 135px;
    padding-bottom: 100px;
  }

  footer .donate .rich-text p {
    text-align: right !important;
  }

  footer .socials {
    left: auto;
    bottom: 0;
    right: 0;
    position: relative;
    text-align: right;
    z-index: 500;
    margin-top: 80px;
    margin-bottom: -65px;
  }

  footer .donate .btn-wrapper {
    text-align: right;
    padding: 0px;
  }
}

@media (min-width: 1400px) {
  footer .socials {
  }
}


/* footer .donate .btn.btn-primary {
  background: var(--waa-yellow);
  color: var(--waa-dark-grey);
  border: 0.094rem solid var(--waa-yellow) !important;
  border-radius: var(--btn-border-radius);
  font-weight: var(--waa-font-bold);
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  font-size: 18px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  float: none;
  width: 210px;
  margin-left: auto;
  padding: 0;
  justify-content: center;
}

footer .donate .btn.btn-primary:hover {
  background: var(--waa-yellow);
  color: var(--waa-dark-grey);
  border: 0.094rem solid var(--waa-yellow) !important;
  border-radius: var(--btn-border-radius);
  font-weight: var(--waa-font-bold);
  text-decoration: none;
  -webkit-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
  font-size: 19px;
  height: 54px;
  display: inline-flex;
  align-items: center;
}

footer .donate .btn.btn-primary:after {
  display: none;
}

footer .newsletter .btn.btn-primary {
  background: transparent;
  border-radius: 0;
  border: 0.094rem solid var(--bs-white) !important;
  color: var(--bs-white);
  border: 0;
  font-weight: var(--waa-font-bold);
  padding-left: 20px;
  padding-right: 50px;
  margin-top: 35px;
}

footer .newsletter .btn.btn-primary:hover {
  border: 0.094rem solid var(--bs-white) !important;
  background: var(--bs-white);
  border-radius: 0;
  color: var(--waa-dark-grey);
  border: 0;
  text-decoration: none;
}

footer .newsletter .btn.btn-primary:after {
  content: var(--waa-btn-arrow-white);
}

footer .newsletter .btn.btn-primary:hover:after {
  content: var(--waa-btn-arrow-dark);
} */

/*footer .footer-base .grid-item-container {
        border-top: 2px solid var(--waa-shades-dark-grey);
    }*/

footer .footer-base-links {
  padding-top: 25px;
  padding-bottom: 25px;
  border-bottom: 2px solid var(--waa-grey-inactive);
  margin-bottom: 15px;
}

footer .footer-base .grid-item-container .grid-item:last-child {
  padding-top: 25px;
}

footer .footer-base p {
  font-size: 14px;
  line-height: 20px;
}

footer .footer-base p img {
  margin-top: 0;
}

footer .donate .btn {
  float: left;
}

@media (min-width: 992px) {
  footer .footer-base .rich-text {
    display: flex;
    width: 100%;
    margin: 0;
    justify-content: flex-start;
    align-items: center;
    column-gap: 30px;
  }

  footer .footer-base p {
    padding-top: 0;
    margin: 0;
  }

  footer .donate .btn {
    margin-top: 50px;
  }

  footer .footer-base img {
    margin-right: 35px;
  }
}

@media (min-width: 1024px) {
  footer .donate .btn {
    float: right;
    margin-top: unset;
  }
}
