/**
 * @file
 * The footer frame (page.html.twig's footer.site-footer) and its titles.
 *
 * The values reproduce the footer as it rendered inside Barrio's
 * .site-footer__bottom area: the area's letter-spacing, its 1rem below the
 * last block, the blocks' 0.5em margins and the content's 0.5em padding.
 */
footer.site-footer {
  position: relative;
  background-color: var(--akp-footer-bg, #002f67);
  color: #fff;
  letter-spacing: 0.2px;
  padding-top: 0.5rem;
  padding-bottom: 3.5rem;
}

/* The block template prints no .content wrapper: what Barrio gave the
   wrapper (.site-footer .content: 0.857em, 65 % white; this sheet's 0.5em
   padding) sits on the block, the margin in rem so it keeps its 8px. */
footer.site-footer .region .block {
  margin: 0.5rem 0;
  padding: 0.5em 0;
  font-size: 0.857em;
  color: rgba(255, 255, 255, 0.65);
}

footer.site-footer .region a,
footer.site-footer .region a:is(:hover, :focus, .is-active) {
  color: #fff;
}

/* The section titles are h2 (akp_blocks footer) styled as the title divs
   they replaced: the row's font and the bold weight, no heading margins or
   colour. footer.site-footer outranks style.css's thin :root headings. */
footer.site-footer .ecl-site-footer-title {
  margin: 0;
  font: inherit;
  font-weight: 700;
  color: inherit;
}

footer.site-footer .ecl-site-footer-title a {
  font-weight: inherit;
}

footer.site-footer .ecl-site-footer-section-site-info .ecl-site-footer-title {
  margin-bottom: 1rem;
}
