/* Minimal footer-only styles (theme neutral) */
.aisb-footer {
  margin-top: 3rem;
  padding: 1.25rem 1rem;
  font-size: 0.95rem;
  color: inherit;                  /* follow each page's text color */
  border-top: 1px solid currentColor; /* subtle divider matching theme */
  opacity: 0.9;
  display: flex;                   /* hard-center layout */
  justify-content: center;
}
.aisb-footer p {
  margin: 0;
}

/* Strong centering overrides (handles pages that force left-align) */
.aisb-footer,
.aisb-footer p,
main .aisb-footer,
main .aisb-footer p {
  text-align: center !important;
}

/* Slim variant */
.aisb-footer--slim {
  padding: .75rem 1rem;
  font-size: .9rem;
  margin-top: 2rem;
}

/* Links inherit page color; underline on hover */
.aisb-footer a {
  color: inherit;
  text-decoration: none;
  margin: 0 0.3em;
}
.aisb-footer a:hover { text-decoration: underline; }

/* Optional: nudge contrast for dark-mode bodies */
body.dark .aisb-footer,
[data-theme="dark"] .aisb-footer {
  border-top-color: rgba(255,255,255,0.18);
  opacity: 0.85;
}

/* Mobile tweak */
@media (max-width: 640px) {
  .aisb-footer { font-size: 0.9rem; padding: 1rem 0.75rem; }
  .aisb-footer a { display: inline-block; margin: 0.2rem 0.3em; }
}

