/* Sports Aspects — footer overrides (Casper clone) */

.sa-footer .inner {
  display: block; /* overrides Casper footer flex row */
}

/* Top content block */
.sa-footer-top {
  max-width: 920px;
  margin: 0 auto;
}

.sa-footer-brand a {
  text-decoration: none;
}

.sa-footer-time {
  display: inline-block;
  margin-top: 6px;
  opacity: 0.85;
}

/* Cheat sheet details */
.sa-footer details.footer-cheatsheet {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
}

.sa-footer details.footer-cheatsheet summary {
  cursor: pointer;
  font-weight: 650;
}

.sa-footer .sa-muted {
  opacity: 0.75;
  font-weight: 500;
}

.sa-footer .sa-cheatsheet-body {
  margin-top: 10px;
  line-height: 1.55;
  font-size: 0.95rem;
  opacity: 0.92;
}

/* Disclaimer: readable, not tiny */
.sa-footer-disclaimer {
  margin-top: 14px;
  max-width: 72ch;
  line-height: 1.55;
  font-size: 0.98rem;
  opacity: 0.88;
}

/* Links row (primary nav + member buttons) */
.sa-footer-links {
  margin-top: 22px;
  padding-top: 18px;
  text-align: center;
}

/* Make Ghost nav render as a clean horizontal row */
.sa-footer-nav .nav {
  margin: 0;
  padding: 0;
  list-style: none;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
}

.sa-footer-nav .nav a {
  white-space: nowrap;
}

/* Member actions */
.sa-footer-members {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.sa-footer-link {
  white-space: nowrap;
  text-decoration: none;
  opacity: 0.9;
}

.sa-footer-button {
  white-space: nowrap;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  opacity: 0.95;
}

/* Powered-by / tech line */
.sa-footer-powered {
  margin-top: 18px;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.45;
  opacity: 0.78;
}

/* Borders that work in both light + dark */
.sa-footer details.footer-cheatsheet,
.sa-footer-links {
  border: 1px solid rgba(0,0,0,0.12);
}

.dark-mode .sa-footer details.footer-cheatsheet,
.dark-mode .sa-footer-links {
  border-color: rgba(255,255,255,0.12);
}

/* Narrow screens: center the top block (matches your phone screenshot vibe) */
@media (max-width: 700px) {
  .sa-footer-top {
    text-align: center;
  }
  .sa-footer-disclaimer {
    margin-left: auto;
    margin-right: auto;
  }
}
