/* Canonical Mariias Wort footer. No replicas, overlays or page-specific variants. */
body .sp-global-elementor-footer,
body .sp-global-elementor-footer > .elementor,
body .sp-global-elementor-footer .elementor-element,
body .sp-global-elementor-footer .elementor-widget-container {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

body .sp-global-elementor-footer {
    clear: both !important;
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
    overflow: visible !important;
    background: #002f2b !important;
}

body .sp-global-elementor-footer .sp-elementor-footer-section {
    padding: 0 !important;
    background: #002f2b !important;
}

body .sp-global-elementor-footer .sp-elementor-site-footer {
    display: grid !important;
    box-sizing: border-box !important;
    gap: 28px !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 305px !important;
    margin: 0 !important;
    padding: 50px clamp(32px, 6.1vw, 70px) 44px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #002f2b !important;
    color: #fff !important;
    font-family: inherit !important;
    text-align: left !important;
    box-shadow: none !important;
}

body .sp-global-elementor-footer .sp-elementor-site-footer-brand {
    display: grid !important;
    gap: 10px !important;
}

body .sp-global-elementor-footer .sp-elementor-site-footer-brand strong {
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

body .sp-global-elementor-footer .sp-elementor-site-footer-brand span,
body .sp-global-elementor-footer .sp-elementor-site-footer small {
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}

body .sp-global-elementor-footer .sp-elementor-site-footer nav {
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 18px 24px !important;
}

body .sp-global-elementor-footer .sp-elementor-site-footer nav a {
    display: inline !important;
    box-sizing: content-box !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    color: #fff !important;
    font: inherit !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-decoration: underline !important;
    box-shadow: none !important;
    transform: none !important;
}

body .sp-global-elementor-footer .sp-footer-cookie-label {
    display: none !important;
}

body.page-moj-klass .sp-global-elementor-footer,
body.page-klass .sp-global-elementor-footer,
body.page-interaktivnaya-doska .sp-global-elementor-footer,
body:has(.sp-classroom) .sp-global-elementor-footer,
body:has(.sp-whiteboard) .sp-global-elementor-footer {
    display: none !important;
}

@media (max-width: 650px) {
    body .sp-global-elementor-footer .sp-elementor-site-footer {
        gap: 18px !important;
        min-height: 0 !important;
        margin-top: 0 !important;
        padding: 30px 20px 28px !important;
    }

    body .sp-global-elementor-footer .sp-elementor-site-footer-brand {
        gap: 7px !important;
    }

    body .sp-global-elementor-footer .sp-elementor-site-footer-brand strong {
        font-size: 18px !important;
    }

    body .sp-global-elementor-footer .sp-elementor-site-footer-brand span,
    body .sp-global-elementor-footer .sp-elementor-site-footer small,
    body .sp-global-elementor-footer .sp-elementor-site-footer nav a {
        font-size: 14px !important;
        line-height: 1.35 !important;
    }

    body .sp-global-elementor-footer .sp-elementor-site-footer nav {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, max-content)) !important;
        justify-content: start !important;
        align-items: start !important;
        gap: 10px 18px !important;
    }
}

@media (max-width: 390px) {
    body .sp-global-elementor-footer .sp-elementor-site-footer nav {
        grid-template-columns: 1fr 1fr !important;
    }
}
