/* Site footer — Figma "Footer" (4988:11746)
 *
 * Logo, contact details and Connect With Us on the left, the last two split by
 * a hairline; copyright and credit on the right. Stacks below 1080px.
 */

#site-footer {
    color: var(--wp--preset--color--text);
    background-color: var(--wp--preset--color--background);
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    gap: var(--three-spacer);
    padding: var(--three-spacer) 0;
    border-top: 1px solid var(--wp--preset--color--text-10);
}

.site-footer__main {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--three-spacer) var(--four-spacer);
}

.site-footer__logo .lux-logo__mark {
    width: 120px;
    height: 120px;
}

.site-footer__contact {
    display: flex;
    flex-direction: column;
    gap: var(--one-point-five-spacer);
}

.site-footer__muted,
.site-footer__legal {
    color: var(--wp--preset--color--text-50);
}

.site-footer__contact a {
    color: inherit;
    text-decoration: none;
}

.site-footer__connect {
    display: flex;
    flex-direction: column;
    gap: var(--two-spacer);
    flex: 1 1 100%;
}

.site-footer__menu {
    display: flex;
    flex-wrap: wrap;
    gap: var(--one-spacer);
}

.site-footer__credit {
    margin-top: var(--one-spacer);
    font-size: 0.875rem;
}

.site-footer__credit a {
    color: inherit;
}

@media (min-width: 1080px) {
    .site-footer__inner {
        flex-direction: row;
        justify-content: space-between;
        gap: var(--four-spacer);
    }

    .site-footer__main {
        flex: 1 1 0;
        flex-wrap: nowrap;
        padding-left: var(--two-spacer);
    }

    .site-footer__logo .lux-logo__mark {
        width: 163px;
        height: 163px;
    }

    .site-footer__contact {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    /* The hairline runs the full height of the row. */
    .site-footer__connect {
        flex: 1 1 0;
        align-self: stretch;
        padding-left: var(--four-spacer);
        border-left: 1px solid var(--wp--preset--color--text-10);
    }

    .site-footer__legal {
        flex: 0 0 auto;
        text-align: right;
    }
}
