/* A shared footer, aligned with the directory and inspired by OSRS Clan Finder. */
.site-frame .site-footer--refined {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 64px 0 0;
  padding: 0;
  border: 0;
  border-top: 1px solid #101117;
  border-radius: 0;
  background: linear-gradient(180deg, #21222b, #171820);
  box-shadow: inset 0 1px 0 #3d3f4b;
  color: #b0afbd;
  text-align: left;
  font-size: 13px;
  line-height: 1.6;
}
.site-footer--refined .footer-inner {
  width: min(calc(100% - 2 * var(--page-pad)), var(--content));
  margin-inline: auto;
}
.site-footer--refined .footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 32px;
  padding-block: 44px 36px;
}
.site-footer--refined .footer-identity { min-width: 0; max-width: 300px; }
.site-footer--refined .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  text-decoration: none;
}
.site-footer--refined .footer-logo img { display: block; flex: 0 0 40px; width: 40px; height: 40px; object-fit: contain; }
.site-footer--refined .footer-logo strong { display: block; color: #f0efe8; font-size: 18px; font-weight: 900; line-height: 1.25; }
.site-footer--refined .footer-logo > span > span { display: block; margin-top: 2px; color: var(--accent); font-size: 14px; font-weight: 700; line-height: 1.3; }
.site-frame .site-footer--refined .footer-identity p { display: block; margin: 16px 0 0; text-align: left; font-size: 12px; line-height: 1.75; }
.site-frame .site-footer--refined .footer-identity .footer-disclaimer { margin-top: 12px; color: #9493a3; font-size: 11px; }
.site-footer--refined .footer-group { display: block; min-width: 0; margin: 0; padding: 0; }
.site-footer--refined .footer-group h2 { margin: 0 0 16px; color: #f0efe8; font-size: 13px; font-weight: 800; line-height: 1.6; letter-spacing: 0; text-transform: none; }
.site-footer--refined .footer-group ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.site-frame .site-footer--refined nav a {
  display: inline-block;
  padding: 0;
  border: 0;
  color: #b0afbd;
  background: none;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.65;
  text-decoration: none;
  overflow-wrap: normal;
  transition: color 150ms ease;
}
.site-frame .site-footer--refined a:hover { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 4px; }
.site-footer--refined a:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 5px; border-radius: 2px; }
.site-footer--refined .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  padding-block: 20px 24px;
  border-top: 1px solid #393b48;
}
.site-frame .site-footer--refined .footer-bottom p { display: block; margin: 0; color: #9493a3; font-size: 12px; text-align: left; }
.site-footer--refined .footer-bottom nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.site-frame .site-footer--refined .footer-bottom a { font-size: 12px; }
@media (max-width: 1023px) {
  .site-footer--refined .footer-main { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; padding-block: 36px 32px; }
  .site-footer--refined .footer-identity { grid-column: 1 / -1; max-width: 420px; }
}
@media (max-width: 639px) {
  .site-frame .site-footer--refined { margin-top: 40px; }
  .site-footer--refined .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .site-footer--refined .footer-group h2 { margin-bottom: 10px; }
  .site-footer--refined .footer-group ul { gap: 4px; }
  .site-frame .site-footer--refined .footer-group a { padding-block: 5px; }
  .site-footer--refined .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .site-footer--refined .footer-bottom nav { gap: 10px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-frame .site-footer--refined a { transition: none; }
}
