/* Footer link sections.
   Kept apart from landing.css so the betting app and the document pages can
   load the footer without inheriting marketing styles — the two stylesheets
   share four class names (btn-ghost, on, warn, has-img) and loading both would
   have quietly reskinned parts of the app. */

/* ---------- footer ---------- */

.lp-foot { padding: 22px 14px 40px; }

/* Collapsible on a phone, four columns on a desktop. Built on <details> so it
   works with no JavaScript and every link stays in the markup for crawlers. */
.foot-cols { display: flex; flex-direction: column; gap: 0; margin-bottom: 22px; }
.foot-col { border-bottom: 1px solid var(--line); }
.foot-col:first-child { border-top: 1px solid var(--line); }
.foot-col > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  cursor: pointer;
  list-style: none;
  font-family: Archivo, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
}
.foot-col > summary::-webkit-details-marker { display: none; }
.foot-col > summary:hover { color: var(--gold); }
.chev {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease;
}
.foot-col[open] > summary .chev { transform: rotate(-135deg) translate(-2px, -2px); }

.foot-col ul { list-style: none; margin: 0; padding: 0 4px 14px; }
.foot-col li { margin-bottom: 2px; }
.foot-col a {
  display: block;
  padding: 9px 0;
  font-size: 13.5px;
  color: var(--muted);
}
.foot-col a:hover { color: var(--gold); }

.foot-base { text-align: center; }
.foot-base img { display: block; margin: 0 auto 10px; border-radius: 50%; opacity: .9; }
.foot-base .warn { color: #fff; font-weight: 600; font-size: 12px; margin: 0 0 10px; }
.foot-base p:last-child {
  max-width: 640px;
  margin: 0 auto;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
}


@media (min-width: 780px) {
  /* Enough width for four columns, so the sections stop being drawers and
     become a plain sitemap. footer.js opens them; CSS cannot force a closed
     <details> open, because browsers hide its contents through the shadow slot
     rather than a display rule an author can override. */
  .foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 24px; }
  .foot-col, .foot-col:first-child { border: none; }
  .foot-col > summary { cursor: default; padding: 0 0 10px; pointer-events: none; }
  .chev { display: none; }
  .foot-col ul { padding: 0; }
  .foot-col a { padding: 6px 0; }
}
