/* ==========================================================================
   Footer parity for about.html (footer HTML is identical to index.html).

   index.html gets its footer look from shared-chrome.css plus the global
   defaults in home-redesign.css (body font, link colour, list/heading/image
   resets). about.html loads other sheets (site.css, refined.css, v2.css) that
   set different global defaults, which leak into the footer.

   Everything here uses :where(), which has zero specificity, so the footer's
   own class rules from shared-chrome.css still win. The only exception is the
   hover rule, which must beat the peach hover in refined.css.
   ========================================================================== */

/* inherited defaults that index.html's body provides */
:where(.site-footer) {
  font-family: var(--hp-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* the footer's inner container: capped at 1440px and centred, as in index.html */
.site-footer .hp-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--hp-gutter);
  position: relative;
}

/* global resets index.html has for these elements */
:where(.site-footer) h1,
:where(.site-footer) h2,
:where(.site-footer) h3,
:where(.site-footer) h4,
:where(.site-footer) p,
:where(.site-footer) ul,
:where(.site-footer) ol,
:where(.site-footer) figure,
:where(.site-footer) address {
  margin: 0;
  padding: 0;
}

:where(.site-footer) ul,
:where(.site-footer) ol {
  list-style: none;
}

:where(.site-footer) img {
  display: block;
  max-width: 100%;
  height: auto;
}

:where(.site-footer) address {
  font-style: normal;
}

:where(.site-footer) a {
  color: inherit;
  text-decoration: none;
}

/* index.html has no peach hover on footer links */
.site-footer a:hover {
  color: inherit;
}
