/* =========================================================
   BDA Global Footer
   Applies only when the plugin has activated its footer body class.
   ========================================================= */

/* Hide the existing The Core footer when this is enabled in BDA Footer settings. */
body.bda-global-footer-active.bda-global-footer-hide-legacy #colophon {
    display: none !important;
}

body.bda-global-footer-active .bda-prototype-footer {
    margin: 0;
    background: #252729;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
}

body.bda-global-footer-active .bda-prototype-footer *,
body.bda-global-footer-active .bda-prototype-footer *::before,
body.bda-global-footer-active .bda-prototype-footer *::after {
    box-sizing: border-box;
}

body.bda-global-footer-active .bda-prototype-footer__main {
    padding: clamp(58px, 5vw, 86px) 0 clamp(48px, 4vw, 68px);
    background:
        radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.06), transparent 26%),
        linear-gradient(135deg, #282a2d 0%, #202224 100%);
}

body.bda-global-footer-active .bda-prototype-footer__container {
    width: min(calc(100vw - 128px), 1400px);
    max-width: 1400px;
    margin-right: auto;
    margin-left: auto;
}

body.bda-global-footer-active .bda-prototype-footer__grid {
    display: grid;
    grid-template-columns: minmax(230px, 1.18fr) minmax(215px, 1.02fr) minmax(165px, 0.72fr) minmax(220px, 1fr);
    gap: clamp(32px, 4vw, 72px);
    align-items: start;
}

body.bda-global-footer-active .bda-prototype-footer__logo-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 22px;
}

body.bda-global-footer-active .bda-prototype-footer__logo {
    display: block;
    width: auto;
    max-width: 170px;
    height: auto;
    filter: grayscale(1) brightness(0) invert(1);
    opacity: 0.94;
}

body.bda-global-footer-active .bda-prototype-footer__mission,
body.bda-global-footer-active .bda-prototype-footer__column p,
body.bda-global-footer-active .bda-prototype-footer__contact-intro {
    max-width: 330px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
}

body.bda-global-footer-active .bda-prototype-footer__mission {
    margin-bottom: 24px;
}

body.bda-global-footer-active .bda-prototype-footer__heading {
    margin: 0 0 17px;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

body.bda-global-footer-active .bda-prototype-footer__heading--training {
    margin-bottom: 12px;
}

body.bda-global-footer-active .bda-prototype-footer__training {
    max-width: 330px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

body.bda-global-footer-active .bda-prototype-footer__training-intro {
    margin-bottom: 0;
}

body.bda-global-footer-active .bda-prototype-footer__training-list {
    margin-top: 12px;
}

body.bda-global-footer-active .bda-prototype-footer__training-list a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

body.bda-global-footer-active .bda-prototype-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body.bda-global-footer-active .bda-prototype-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

body.bda-global-footer-active .bda-prototype-footer__social a:hover,
body.bda-global-footer-active .bda-prototype-footer__social a:focus {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff !important;
    transform: translateY(-2px);
}

body.bda-global-footer-active .bda-prototype-footer__social a:focus,
body.bda-global-footer-active .bda-prototype-footer__links a:focus,
body.bda-global-footer-active .bda-prototype-footer__contact-list a:focus,
body.bda-global-footer-active .bda-prototype-footer__newsletter-button:focus {
    outline: 3px solid rgba(255, 255, 255, 0.30);
    outline-offset: 3px;
}

body.bda-global-footer-active .bda-prototype-footer__social svg {
    width: 17px;
    height: 17px;
}

body.bda-global-footer-active .bda-prototype-footer__contact-list,
body.bda-global-footer-active .bda-prototype-footer__links {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

body.bda-global-footer-active .bda-prototype-footer__contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    line-height: 1.5;
}

body.bda-global-footer-active .bda-prototype-footer__contact-icon {
    display: inline-flex;
    flex: 0 0 auto;
    width: 18px;
    margin-top: 2px;
    color: #ffffff;
}

body.bda-global-footer-active .bda-prototype-footer__contact-icon svg {
    width: 18px;
    height: 18px;
}

body.bda-global-footer-active .bda-prototype-footer a {
    color: rgba(255, 255, 255, 0.84);
    text-decoration: none;
}

body.bda-global-footer-active .bda-prototype-footer__links a {
    display: inline-flex;
    width: fit-content;
    color: rgba(255, 255, 255, 0.76) !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none !important;
    transition: color 0.2s ease, transform 0.2s ease;
}

body.bda-global-footer-active .bda-prototype-footer__links a:hover,
body.bda-global-footer-active .bda-prototype-footer__links a:focus,
body.bda-global-footer-active .bda-prototype-footer__contact-list a:hover,
body.bda-global-footer-active .bda-prototype-footer__contact-list a:focus {
    color: #ffffff !important;
    transform: translateX(3px);
}

body.bda-global-footer-active .bda-prototype-footer__updates p {
    margin-bottom: 20px;
}

body.bda-global-footer-active .bda-prototype-footer__newsletter-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-width: 218px;
    min-height: 48px;
    padding: 12px 16px 12px 17px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 10px;
    background: transparent;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.bda-global-footer-active .bda-prototype-footer__newsletter-button:hover,
body.bda-global-footer-active .bda-prototype-footer__newsletter-button:focus {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff !important;
    transform: translateY(-2px);
}

body.bda-global-footer-active .bda-prototype-footer__newsletter-button span:last-child {
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 0;
}

body.bda-global-footer-active .bda-prototype-footer__regulator {
    display: flex;
    align-items: center;
    min-height: 65px;
    margin-top: 28px;
}

body.bda-global-footer-active .bda-prototype-footer__regulator img {
    display: block;
    width: auto;
    max-width: 185px;
    height: auto;
}

body.bda-global-footer-active .bda-prototype-footer__legal {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: #1e2022;
}

body.bda-global-footer-active .bda-prototype-footer__legal-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding-top: 16px;
    padding-bottom: 16px;
}

body.bda-global-footer-active .bda-prototype-footer__legal p {
    margin: 0;
    color: rgba(255, 255, 255, 0.53);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
}

@media screen and (max-width: 1200px) {
    body.bda-global-footer-active .bda-prototype-footer__container {
        width: calc(100vw - 64px);
        max-width: none;
    }

    body.bda-global-footer-active .bda-prototype-footer__grid {
        grid-template-columns: minmax(220px, 1.15fr) minmax(200px, 1fr) minmax(160px, 0.72fr) minmax(200px, 1fr);
        gap: 32px;
    }
}

@media screen and (max-width: 980px) {
    body.bda-global-footer-active .bda-prototype-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 44px 36px;
    }

    body.bda-global-footer-active .bda-prototype-footer__mission,
    body.bda-global-footer-active .bda-prototype-footer__column p,
    body.bda-global-footer-active .bda-prototype-footer__contact-intro {
        max-width: 440px;
    }
}

@media screen and (max-width: 767px) {
    body.bda-global-footer-active .bda-prototype-footer__main {
        padding: 54px 0 44px;
    }

    body.bda-global-footer-active .bda-prototype-footer__container {
        width: calc(100vw - 32px);
    }

    body.bda-global-footer-active .bda-prototype-footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    body.bda-global-footer-active .bda-prototype-footer__logo {
        max-width: 145px;
    }

    body.bda-global-footer-active .bda-prototype-footer__mission,
    body.bda-global-footer-active .bda-prototype-footer__column p,
    body.bda-global-footer-active .bda-prototype-footer__contact-intro {
        font-size: 14px;
    }

    body.bda-global-footer-active .bda-prototype-footer__legal-inner {
        align-items: flex-start;
        justify-content: flex-start;
        min-height: 0;
        padding-top: 18px;
        padding-bottom: 20px;
    }

    body.bda-global-footer-active .bda-prototype-footer__legal p {
        width: 100%;
        font-size: 10px;
    }
}
