/* Dedicated footer rows keep the full catalog aligned as sections grow. */
.site-footer.xhowl-footer {
  position:relative;isolation:isolate;margin-top:auto;
  background:var(--xh-footer-background);
  border-top:1px solid var(--xh-footer-border);color:var(--xh-footer-text);
}
.site-footer.xhowl-footer::before {content:none}
.site-footer.xhowl-footer .footer-shell {width:100%;max-width:calc(var(--xh-content-width) + 32px);margin:auto;padding:32px 16px 16px}
.site-footer.xhowl-footer .footer-top {display:flex;justify-content:space-between;align-items:center;gap:28px;padding-bottom:28px}
.site-footer.xhowl-footer .footer-intro {min-width:0}
.site-footer.xhowl-footer .footer-logo {display:inline-flex;align-items:center;min-height:48px;border-radius:var(--xh-radius)}
.site-footer.xhowl-footer .footer-logo img {display:block;width:168px;height:45px;max-width:100%;object-fit:contain;filter:none}
.site-footer.xhowl-footer .footer-intro p {margin:10px 0 0;font-size:13px;line-height:1.7;color:var(--xh-footer-muted)}
.site-footer.xhowl-footer .footer-quick-links {display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.site-footer.xhowl-footer a:where(:not(.xh-button)) {color:var(--xh-footer-text);font-size:13px;font-weight:500;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}
.site-footer.xhowl-footer a:where(:not(.xh-button)):hover {color:var(--xh-accent)}

.site-footer.xhowl-footer .footer-quick-links a:where(:not(.xh-button)) {
  display:inline-flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;
  padding:10px 14px;border:1px solid var(--xh-border);border-radius:var(--xh-radius-md);background:var(--xh-footer-surface);color:var(--xh-text);
}
.site-footer.xhowl-footer .footer-quick-links a:where(:not(.xh-button)):hover {border-color:var(--xh-border-hover);color:var(--xh-text);background:var(--xh-surface-hover)}
.site-footer.xhowl-footer .footer-quick-links span {color:var(--xh-accent);font-size:var(--xh-font-md);line-height:1}
.site-footer.xhowl-footer .footer-directory {
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;
  padding:24px 0;border-top:1px solid var(--xh-footer-divider);border-bottom:1px solid var(--xh-footer-divider);
}
.site-footer.xhowl-footer .footer-platform-group,
.site-footer.xhowl-footer .footer-secondary-group {min-width:0;align-self:start}
.site-footer.xhowl-footer .nav-section-label {margin:0 0 9px;font-size:13px;line-height:1.5;font-weight:700;color:var(--xh-footer-heading);overflow-wrap:anywhere}
.site-footer.xhowl-footer .footer-platform-group .nav-section-label {display:flex;align-items:center;gap:8px}
.site-footer.xhowl-footer .footer-platform-group .nav-section-label::before {content:"";flex:0 0 3px;height:12px;border-radius:3px;background:var(--xh-accent)}
.site-footer.xhowl-footer .footer-directory a,
.site-footer.xhowl-footer .footer-secondary a {display:flex;align-items:center;min-height:44px;margin:0;padding:9px 0}
/* Longer game catalogs use two short lists within their equal-width column. */
.site-footer.xhowl-footer .footer-platform-group:has(a:nth-of-type(8)) {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}
.site-footer.xhowl-footer .footer-platform-group:has(a:nth-of-type(8)) .nav-section-label {grid-column:1/-1}
.site-footer.xhowl-footer .footer-secondary {display:grid;grid-template-columns:1fr 1fr 2fr;gap:24px;padding:24px 0 20px}
.site-footer.xhowl-footer .footer-about {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}
.site-footer.xhowl-footer .footer-about .nav-section-label {grid-column:1/-1}
.site-footer.xhowl-footer .footer-bottom {display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;border-top:1px solid var(--xh-footer-divider)}
.site-footer.xhowl-footer .footer-bottom p {margin:0;color:var(--xh-secondary);font-size:var(--xh-font-xs);line-height:1.6}
.site-footer.xhowl-footer .footer-bottom a {display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:9px 0;font-size:var(--xh-font-xs)}
.site-footer.xhowl-footer .footer-bottom a span {color:var(--xh-secondary)}
@media(max-width:1000px) {
  .site-footer.xhowl-footer .footer-directory {grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 32px}
  .site-footer.xhowl-footer .footer-top {gap:20px}
  .site-footer.xhowl-footer .footer-quick-links {justify-content:flex-end}
}
@media(max-width:600px) {
  .site-footer.xhowl-footer .footer-shell {padding:24px 18px 10px}
  .site-footer.xhowl-footer .footer-top {align-items:flex-start;flex-direction:column;gap:18px;padding-bottom:22px}
  .site-footer.xhowl-footer .footer-logo img {width:149px;height:40px}
  .site-footer.xhowl-footer .footer-quick-links {width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .site-footer.xhowl-footer .footer-quick-links a:where(:not(.xh-button)) {gap:6px;padding:9px 10px;font-size:var(--xh-font-xs)}
  .site-footer.xhowl-footer .footer-directory {gap:24px 20px;padding:22px 0}
  .site-footer.xhowl-footer .footer-platform-group:has(a:nth-of-type(8)) {grid-template-columns:minmax(0,1fr)}
  .site-footer.xhowl-footer .footer-secondary {grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 20px;padding:22px 0}
  .site-footer.xhowl-footer .footer-about {grid-column:1/-1;column-gap:20px}
  .site-footer.xhowl-footer .footer-bottom {flex-wrap:wrap;gap:0 12px;padding-top:6px}
}
@media(forced-colors:active) {
  .site-footer.xhowl-footer {background:Canvas;border-color:CanvasText;color:CanvasText}
  .site-footer.xhowl-footer::before,
  .site-footer.xhowl-footer .footer-platform-group .nav-section-label::before {display:none}
  .site-footer.xhowl-footer .nav-section-label,
  .site-footer.xhowl-footer .footer-intro p,
  .site-footer.xhowl-footer .footer-bottom p {color:CanvasText}
  .site-footer.xhowl-footer .footer-directory,
  .site-footer.xhowl-footer .footer-bottom {border-color:CanvasText}
  .site-footer.xhowl-footer a,
  .site-footer.xhowl-footer a:hover,
  .site-footer.xhowl-footer .footer-bottom a span {color:LinkText}
  .site-footer.xhowl-footer .footer-quick-links a,
  .site-footer.xhowl-footer .footer-quick-links a:hover {background:Canvas;border-color:LinkText;color:LinkText}
  .site-footer.xhowl-footer .footer-quick-links span {color:LinkText}

}
