/*
 * The GitHub, LinkedIn and X SVG paths in the social footers are from
 * Bootstrap Icons (https://github.com/twbs/icons), MIT License.
 * Copyright (c) 2019-2024 The Bootstrap Authors.
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */

footer.site-footer {
  flex-wrap: wrap;
  gap: 16px 28px;
}

footer.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

footer.site-footer nav a {
  white-space: nowrap;
}

footer.site-footer a {
  text-underline-offset: .2em;
}

footer.site-footer .footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 28px;
  width: 100%;
  flex: 0 0 100%;
  box-sizing: border-box;
  height: auto;
}

footer.site-footer .footer-nav-group {
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
}

footer.site-footer .footer-nav-title {
  margin: 0 0 4px;
  color: #f4f1e9;
  font-size: 16px;
  line-height: 1.4;
}

footer.site-footer .footer-nav-group a {
  display: block;
  width: fit-content;
  padding: 4px 0;
  color: #dce4df;
  line-height: 1.5;
}

footer.site-footer .footer-nav-group a:hover {
  color: #62c9a9;
}

footer.site-footer .footer-nav-group a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

footer.site-footer--light .footer-nav-title {
  color: #172b2b;
}

footer.site-footer--light .footer-nav-group a {
  color: #146b58;
}

footer.site-footer--light .footer-nav-group a:hover {
  color: #172b2b;
}

footer.site-footer .social-nav {
  display: grid;
  gap: 4px;
  height: auto;
}

footer.site-footer .social-heading {
  color: #f4f1e9;
  font-size: 14px;
  font-weight: 600;
}

footer.site-footer .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

footer.site-footer .social-links a {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #b3c1bc;
  text-decoration: none;
  border-radius: 8px;
  transition: color .18s ease, background-color .18s ease;
}

footer.site-footer .social-links a:hover {
  color: #62c9a9;
  background: #62c9a914;
}

footer.site-footer .social-links a:focus-visible {
  color: #62c9a9;
  outline: 2px solid #62c9a9;
  outline-offset: 2px;
}

footer.site-footer .social-links svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

footer.site-footer .social-nav--large .social-links svg {
  width: 24.2px;
  height: 24.2px;
}

footer.site-footer--light .social-heading {
  color: #172b2b;
}

footer.site-footer--light .social-links a {
  color: #566862;
}

footer.site-footer--light .social-links a:hover,
footer.site-footer--light .social-links a:focus-visible {
  color: #146b58;
  background: #146b5814;
  outline-color: #146b58;
}

@media (max-width: 640px) {
  footer.site-footer .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  footer.site-footer .footer-nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  footer.site-footer .social-links a {
    transition: none;
  }
}
