/**
 * RetroArcade sitewide footer (ract-footer)
 * Rendered by retroarcade_ct_render_footer() on astra_footer_before.
 * Palette: navy #0c1322 · panel #121a30 · coral #e85d6a · teal #2ec4b6 · amber #f0b429
 * Body text on navy is #aab3c7 (≥ 7:1 on #0c1322, WCAG AA/AAA small text).
 */

.ract-footer {
    background: #0c1322;
    border-top: 3px solid #e85d6a;
    color: #aab3c7;
    font-size: 15px;
    line-height: 1.6;
}

.ract-footer * {
    box-sizing: border-box;
}

.ract-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 32px 48px;
}

.ract-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px 48px;
}

/* --- Brand column --- */

.ract-footer__wordmark {
    margin: 0 0 10px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #f4f6fb;
}

.ract-footer__wordmark span {
    color: #e85d6a;
}

.ract-footer__tagline {
    margin: 0 0 18px;
    max-width: 30ch;
    color: #aab3c7;
}

.ract-footer__cta {
    display: inline-block;
    color: #f0b429;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid rgba(240, 180, 41, 0.35);
    padding-bottom: 2px;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.ract-footer__cta:hover,
.ract-footer__cta:focus {
    color: #2ec4b6;
    border-bottom-color: #2ec4b6;
}

/* --- Link columns --- */

.ract-footer__heading {
    margin: 0 0 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-variant-caps: all-small-caps;
    color: #f0b429;
}

.ract-footer__heading::after {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    margin-top: 8px;
    background: #e85d6a;
    border-radius: 1px;
}

.ract-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ract-footer__list li {
    margin: 0 0 10px;
}

.ract-footer__list a {
    color: #aab3c7;
    text-decoration: none;
    transition: color 0.15s ease;
}

.ract-footer__list a:hover,
.ract-footer__list a:focus {
    color: #2ec4b6;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* --- Bottom bar --- */

.ract-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    background: #0a101d;
}

.ract-footer__bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
    font-size: 13px;
}

.ract-footer__copyright {
    margin: 0;
    color: #8e99b0;
}

.ract-footer__legal {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 0;
}

.ract-footer__legal li {
    display: flex;
    align-items: center;
    margin: 0;
}

.ract-footer__legal li + li::before {
    content: "\00b7";
    margin: 0 10px;
    color: #4a5468;
}

.ract-footer__legal a {
    color: #8e99b0;
    text-decoration: none;
    transition: color 0.15s ease;
}

.ract-footer__legal a:hover,
.ract-footer__legal a:focus {
    color: #2ec4b6;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* --- Suppress Astra's builder footer rows (menu + copyright now live here).
       Belt-and-suspenders: the customizer rows are also emptied server-side. --- */

#colophon .site-primary-footer-wrap,
#colophon .site-above-footer-wrap,
#colophon .site-below-footer-wrap {
    display: none;
}

/* --- Responsive stacking --- */

@media (max-width: 920px) {
    .ract-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .ract-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .ract-footer__inner {
        padding: 44px 22px 36px;
    }

    .ract-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ract-footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 22px;
    }
}
