/* ==========================================================================
   FOOTER – HIDE DIVI DEFAULT
   ========================================================================== */

body.werbeauf-footer-active #main-footer,
body.werbeauf-footer-active footer.et-l--footer {
    display: none !important;
}

/* ==========================================================================
   FOOTER – BASE
   ========================================================================== */

.werbeauf-custom-footer {
    width: 100%;
}

/* ==========================================================================
   SOCKET BAR (Teal)
   ========================================================================== */

.footer-socket-bar {
    background-color: #3A8290;
    width: 100%;
    padding: 0;
}

.footer-socket-inner {
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

/* ==========================================================================
   SOCKET MENU
   ========================================================================== */

.footer-socket-nav .socket-menu-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    gap: 25px;
    align-items: center;
}

.footer-socket-nav .socket-menu-list li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-socket-nav .socket-menu-list li a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.02em;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.footer-socket-nav .socket-menu-list li a:hover {
    opacity: 0.75;
}

/* ==========================================================================
   SOCIAL ICONS
   ========================================================================== */

.footer-social-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    gap: 5px;
    align-items: center;
}

.footer-social-icon {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-social-icon a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 50%;
    transition: all 0.3s ease;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.footer-social-icon a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-social-icon a::before {
    font-family: 'ETmodules' !important;
    font-size: 18px;
    content: attr(data-icon);
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.footer-social-icon .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ==========================================================================
   BOTTOM SECTION (White)
   ========================================================================== */

.footer-bottom {
    background-color: #ffffff;
    width: 100%;
    padding: 25px 0;
}

.footer-bottom-inner {
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

/* ==========================================================================
   COPYRIGHT
   ========================================================================== */

.footer-copyright {
    font-size: 15px;
    color: #333333;
    line-height: 1.6;
}

.footer-heart {
    color: #e74c3c;
}

.footer-credits-link {
    color: #3A8290 !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.footer-credits-link:hover {
    opacity: 0.75;
}

/* ==========================================================================
   WPML LANGUAGE SWITCHER (existing WPML widget below footer)
   ========================================================================== */

.wpml-ls-statics-footer {
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    justify-content: center;
}

.wpml-ls-statics-footer ul {
    display: flex !important;
    gap: 25px;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-content: center;
    align-items: center;
}

.wpml-ls-statics-footer li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wpml-ls-statics-footer a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
    text-decoration: none !important;
    color: #333333 !important;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.wpml-ls-statics-footer a:hover {
    color: #3A8290 !important;
}

.wpml-ls-statics-footer .wpml-ls-flag {
    width: 22px !important;
    height: auto !important;
    display: inline-block !important;
    vertical-align: middle !important;
    border: none !important;
}

/* ==========================================================================
   RESPONSIVE – max-width: 980px
   ========================================================================== */

@media screen and (max-width: 980px) {
    .footer-socket-inner {
        width: 100%;
        padding: 10px 2.5rem;
    }

    .footer-bottom-inner {
        width: 100%;
        padding: 0 2.5rem;
    }

    .footer-socket-nav .socket-menu-list {
        gap: 18px;
    }

    .footer-socket-nav .socket-menu-list li a {
        font-size: 13px;
    }

    .footer-copyright {
        font-size: 14px;
    }
}

/* ==========================================================================
   RESPONSIVE – max-width: 767px
   ========================================================================== */

@media screen and (max-width: 767px) {
    .footer-socket-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 15px 1.5rem;
    }

    .footer-socket-nav .socket-menu-list {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .footer-social-list {
        justify-content: center;
    }

    .footer-bottom-inner {
        padding: 0 1.5rem;
    }

    .footer-copyright {
        font-size: 13px;
    }

    .wpml-ls-statics-footer a {
        font-size: 13px;
    }
}

/* ==========================================================================
   RESPONSIVE – max-width: 500px
   ========================================================================== */

@media screen and (max-width: 500px) {
    .footer-socket-nav .socket-menu-list {
        flex-direction: column;
        gap: 10px;
    }

    .footer-socket-nav .socket-menu-list li a {
        font-size: 12px;
    }

    .footer-copyright {
        font-size: 12px;
    }
}
