footer {
    color: var(--wp--custom--footer-text);
    width: 100%;
    background: var(--wp--preset--gradient--footer);
    display: grid;
    row-gap: 2rem;
}

footer:not(.minimal) {
    margin-top: 146px;
}

.live-master-dark-theme footer {
    color: var(--wp--custom--dark-theme-text);
    background: var(--wp--custom--dark-theme-background);
    padding-top: calc(var(--nav-padding) * 3);
}

footer>section,
footer>hr {
    max-width: var(--maxWidth);
    width: 100%;
    margin: 0 auto;
}

footer section {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: stretch;
    gap: 2rem;
}

footer>section:first-of-type.navigation {
    padding-top: 40px;
}

@media (max-width: 600px) {
    footer section {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    footer .lang-apps-socials {
        flex-direction: column;
        align-items: center;
    }

    footer .lang-apps-socials .language-switcher {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    footer .lang-apps-socials .social {
        justify-content: center;
    }

    footer .lang-apps-socials .social div {
        align-items: center;
        row-gap: 12px;
    }
}

footer hr {
    display: block;
    border: none;
    height: 0.5px;
    background-color: var(--wp--custom--footer-hr);
    width: 100%;
}

.live-master-dark-theme footer hr {
    background-color: var(--wp--custom--dark-theme-hr);
}

footer section ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 4;
}

footer section ul li {
    font-size: 17px;
    line-height: 1.8em;
    font-weight: 400;
}

footer section li a {
    display: inline-block;
    text-decoration: none;
    color: var(--wp--custom--footer-text);
}

.live-master-dark-theme footer section li a {
    color: var(--wp--custom--dark-theme-text);
}

footer section .footer-navigation {
    width: 100%;
    --footer-column-gaps: 3;
    --footer-column-width: 25%;
}

footer section .footer-navigation ul.menu {
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-direction: row;
    gap: calc(var(--nav-padding) + (var(--nav-padding) / var(--footer-column-gaps)));
}

footer section .footer-navigation>ul>li {
    font-size: 24px;
    margin-bottom: 0.75rem;
    line-height: 1em;
    flex: calc(var(--footer-column-width) - var(--nav-padding));
    max-width: calc(var(--footer-column-width) - var(--nav-padding));
}

@media only screen and (max-width: 830px) {
    footer section .footer-navigation {
        --footer-column-gap: 2;
        --footer-column-width: 33.33%;
    }
}

@media only screen and (max-width: 630px) {
    footer section .footer-navigation {
        --footer-column-gap: 1;
        --footer-column-width: 50%;
    }
}

@media only screen and (max-width: 480px) {
    footer section .footer-navigation {
        --footer-column-gap: 100%;
        --footer-column-width: 100%;
    }
}

footer section .footer-navigation>ul>li>a {
    font-size: 24px;
    margin-bottom: 0.75rem;
    line-height: 1em;
    font-family: var(--wp--preset--font-family--secondary);
}

footer section.sub-navigation {
    flex-wrap: wrap;
}

footer section.sub-navigation > div {
    display: flex;
    gap: 1em;
}

footer section.sub-navigation ul {
    display: flex;
    flex-direction: row;
    gap: 1em;
}

@media only screen and (max-width: 630px) {
    footer section.sub-navigation {
        flex-direction: column;
    }
    footer section.sub-navigation div,
    footer section.sub-navigation ul {
        flex-direction: column;
    }
}

footer section .language-switcher,
footer section .app-list,
footer section .social {
    font-size: 15px;
}

footer section .language-switcher,
footer section .social {
    flex-grow: 1;
    flex-basis: 0;
}

footer section .language-switcher ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    height: 42px
}

footer section .app-list {
    font-size: 15px;
    width: fit-content !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

footer section .app-list .app-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    width: fit-content;
}

footer section .app-list .app-wrapper a {
    width: auto;
    max-width: 141px;
    height: 42px;
}

footer section .app-list .app-wrapper a img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

footer section .social {
    display: flex;
    width: 100%;
    justify-content: flex-end;
}

footer section .social>div {
    width: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

footer section .social ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    flex: 1;
    width: fit-content;
}

footer section .social ul li {
    line-height: 0;
}

footer section .social ul li svg {
    font-size: 24px;
    line-height: 0;
    width: 24px;
    height: 24px;
}

footer section.logos {
    justify-content: center;
    gap: 3.5rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

footer section.logos a {
    display: block;
    height: 35px;
    max-height: 45px;
}

footer section.logos img {
    height: 100%;
    width: auto;
    max-width: 30vw;
}

footer section.compliance {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

footer section.compliance .compliance-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

@media only screen and (max-width: 630px) {
    footer section.compliance .compliance-links {
        flex-direction: column;
    }
}

footer section.compliance .footer-compliance-navigation {
    display: contents;
}

footer section.compliance .compliance-links > ul,
footer section.compliance .compliance-links .footer-compliance-navigation ul {
    display: contents;
    columns: unset;
    list-style: none;
    padding: 0;
    margin: 0;
}

footer section.compliance .compliance-links > ul li,
footer section.compliance .compliance-links .footer-compliance-navigation ul li {
    display: inline-flex;
    align-items: center;
}

#footer-cookie-settings {
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.3s cubic-bezier(0.45, 0, 0.55, 1) 0s;
    opacity: 1;
}

#footer-cookie-settings:hover {
    opacity: .65;
}

footer .copyright {
    text-align: center;
    margin-bottom: 0.75rem;
    font-size: 15px;
}
