/* Shared site footer — overlay + static pages */

:root {
  --site-footer-height: 40px;
}

.site-footer,
#site-footer.site-footer {
  box-sizing: border-box;
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 12px;
  min-height: 40px;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}

body.site-chrome-visible #site-footer .site-footer-inner {
  max-width: none;
}

.site-footer-brand {
  color: var(--accent, #f3ce13);
  font-weight: 600;
  text-decoration: none;
}

.site-footer-brand:hover {
  text-decoration: underline;
}

.site-footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-left: auto;
  font-size: 0.78rem;
}

.site-footer-links a {
  color: var(--accent, #f3ce13);
  text-decoration: none;
}

.site-footer-links a:hover {
  text-decoration: underline;
}

/* Site pages: footer pinned at bottom of viewport */
body.page-site .site-footer,
body.page-site #site-footer {
  display: block;
  flex-shrink: 0;
  margin-top: 0;
  position: relative;
  z-index: 500;
  pointer-events: auto;
  width: 100%;
  background: var(--panel, rgba(14, 14, 20, 0.97));
  border-top: 1px solid rgba(243, 206, 19, 0.35);
}

body.page-site #site-footer .site-footer-inner {
  max-width: 1100px;
}
