
/* Shared footer for the main Beumer Coaching site. */
footer.bc-site-footer {
  --footer-ink: #fffdf8;
  --footer-muted: #e1e9df;
  --footer-rule: #6c7e72;
  box-sizing: border-box;
  font: 1rem/1.6 system-ui, sans-serif;
  text-align: start;
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) minmax(0, 1.5fr);
  align-items: start;
  gap: 16px clamp(24px, 5vw, 56px);
  width: min(1076px, calc(100% - 2 * clamp(16px, 4vw, 42px)));
  margin: clamp(32px, 6vw, 58px) auto 20px;
  padding: clamp(20px, 4.5vw, 44px);
  padding-bottom: clamp(14px, 2.6vw, 24px);
  background: #27382f;
  color: var(--footer-ink);
  border: 0;
  border-top: 4px solid #ae735e;
  border-radius: clamp(15px, 3vw, 24px);
}

footer.bc-site-footer > strong {
  font: 700 clamp(1.65rem, 4.5vw, 2.35rem)/1.12 Georgia, serif;
  letter-spacing: -.035em;
}

footer.bc-site-footer > ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

footer.bc-site-footer > ul a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-block: 4px;
  line-height: 1.35;
  text-decoration-color: transparent;
  overflow-wrap: anywhere;
}

footer.bc-site-footer > ul a,
footer.bc-site-footer > .footer-social {
  color: var(--footer-ink);
}

footer.bc-site-footer > ul a:hover,
footer.bc-site-footer > .footer-social:hover {
  color: #f0d1c2;
  text-decoration-color: currentColor;
}

footer.bc-site-footer::before {
  content: "";
  grid-column: 1 / -1;
  grid-row: 2;
  height: 1px;
  background: var(--footer-rule);
}

footer.bc-site-footer > .footer-social {
  max-width: 100%;
  color: var(--footer-muted);
  text-decoration-color: transparent;
}

footer.bc-site-footer > div:has(> .analytics-settings) {
  justify-self: end;
  color: var(--footer-muted);
}

footer.bc-site-footer .analytics-settings {
  font-size: .9rem;
  line-height: 1.35;
}

footer.bc-site-footer .analytics-settings:not([hidden]) {
  min-height: 44px;
}

footer.bc-site-footer > ul a:focus-visible,
footer.bc-site-footer > .footer-social:focus-visible,
footer.bc-site-footer .analytics-settings:focus-visible {
  outline-color: #f0d1c2;
}

footer.bc-site-footer > #analytics-choice {
  grid-column: 1 / -1;
  color: #273c31;
}

@media (max-width: 700px) {
  footer.bc-site-footer {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 12px;
  }

  footer.bc-site-footer > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  footer.bc-site-footer::before {
    grid-row: 3;
  }

  footer.bc-site-footer > div:has(> .analytics-settings) {
    justify-self: start;
    margin-top: -10px;
  }

  footer.bc-site-footer > div:has(> .analytics-settings[hidden]) {
    display: none;
  }
}

footer.bc-site-footer > .footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 44px;
  font-size: .92rem;
}
footer.bc-site-footer > .footer-social svg { flex: none; }
footer.bc-site-footer a { text-underline-offset: .22em; }
footer.bc-site-footer > ul a,
footer.bc-site-footer > .footer-social { text-decoration-line: underline; text-decoration-color: transparent; }
footer.bc-site-footer > ul a:hover,
footer.bc-site-footer > .footer-social:hover { text-decoration-color: currentColor; }
nav.bc-tool-links { padding: 12px 4px 0; }
nav.bc-tool-links a { color: inherit; }
