﻿.footer-root {
    max-width: 1296px;
    margin: 0 auto;
    padding: 48px 24px 32px;
    color: #fff;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.footer-col__title {
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 700;
}

.footer-col__toggle {
    display: none;
}

.footer-link {
    display: block;
    width: fit-content;
    margin: 0 0 10px;
    color: inherit;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.35;
    text-decoration: none;
}

a.footer-link {
    text-decoration-line: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    text-decoration-skip-ink: auto;
    transition: text-decoration-color .35s ease, transform .3s ease;
}

    a.footer-link:hover {
        text-decoration-color: currentColor;
        transform: translateX(6px);
    }

.footer-link--text {
    margin: 0 0 8px;
}

.footer-link--button {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 22px;
    border-radius: 8px;
    background: #0072b9;
    color: #fff;
    font-weight: 600;
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    text-align: center;
}

.footer-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 28px;
    margin: 0 0 18px;
}

.footer-bar .footer-link {
    display: inline;
    margin: 0;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.footer-social img {
    width: 28px;
    height: 28px;
}

.footer-copy {
    margin: 18px 0 0;
}

.footer-editor {
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-editor__columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.footer-editor__card {
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    padding: 12px;
    background: #fff;
}

.footer-editor label {
    display: block;
    margin-top: 8px;
    font-size: 12px;
}

.footer-editor input,
.footer-editor select {
    width: 100%;
}

.footer-editor__row {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

@media (max-width: 1024px) {
    .footer-bar {
        flex-direction: column;
        gap: 10px;
    }

    .footer-columns {
        display: block;
    }

    .footer-col {
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

    .footer-col--contact {
        border-bottom: 0;
        padding-top: 16px;
    }

    .footer-col__title {
        display: inline-block;
        width: calc(100% - 3rem);
        margin: 0;
        padding: 16px 0;
    }

    .footer-col__toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.5rem;
        height: 2.5rem;
        border: 0;
        background: transparent;
        color: inherit;
        cursor: pointer;
    }

    .footer-col__content[hidden] {
        display: none;
    }

    .footer-editor__columns {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1025px) {
    .footer-col__content[hidden] {
        display: block !important;
    }
}
