/* Standardized sitemap footer (_footer_sitemap.html.haml).
   Loaded on every static_page layout page and rendered by the self-contained
   product landing pages, so it must be fully self-contained: it resets every
   property it depends on to survive both the legacy footer styles in
   style.css (right-floated uppercase footer lists) and the per-page
   namespaced stylesheets on the product pages.
   Pages can re-accent the hover color: .af-sitemap { --afsm-accent: #0a8fa3 } */

.af-sitemap {
  background: #1f2b34;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
}

.af-sitemap *,
.af-sitemap *::before,
.af-sitemap *::after {
  box-sizing: border-box;
}

.af-sitemap-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 28px 36px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 32px;
}

.af-sitemap .af-sitemap-col {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}

.af-sitemap h2.af-sitemap-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fa1ad;
  margin: 0 0 14px;
  padding: 0;
  line-height: 1.4;
}

.af-sitemap ul.af-sitemap-links {
  list-style: none;
  margin: 0;
  padding: 0;
  float: none;
  width: auto;
  text-align: left;
}

.af-sitemap .af-sitemap-links li {
  display: block;
  float: none;
  margin: 0 0 9px;
  padding: 0;
  text-align: left;
}

.af-sitemap .af-sitemap-links a {
  color: #caced2;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  display: inline-block;
  border: 0;
  background: none;
}

.af-sitemap .af-sitemap-links a:hover,
.af-sitemap .af-sitemap-links a:focus {
  color: var(--afsm-accent, #00a9e0);
  text-decoration: none;
}

.af-sitemap .af-sitemap-links li.af-sitemap-divider {
  margin-top: 20px;
}

@media screen and (max-width: 56em) {
  .af-sitemap-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 36px 24px 28px;
  }
}

@media screen and (max-width: 30em) {
  .af-sitemap-inner {
    grid-template-columns: 1fr;
  }
}
