/* The extra wrapper ID overrides old homepage/lookup rules hiding #footer. */
body.atp-site-footer-active #wrapper > footer#footer.footer-wrapper {
    display: block !important;
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    border-radius: 0;
    background: #062d16;
    box-shadow: none;
}

#footer .atp-site-footer,
#footer .atp-site-footer * {
    box-sizing: border-box;
}

#footer .atp-site-footer {
    width: 100%;
    margin: 0;
    padding: 64px 20px 104px;
    background: linear-gradient(135deg, #062d16 0%, #0a3d14 58%, #02190c 100%);
    color: #fff;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
}

#footer .atp-site-footer__grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1.05fr 1fr;
    align-items: start;
    gap: 35px;
    width: min(1120px, 100%);
    margin: 0 auto;
}

#footer .atp-site-footer__grid > * {
    min-width: 0;
}

#footer .atp-site-footer__home {
    display: inline-block;
    max-width: 100%;
    margin: 0 0 18px;
}

#footer .atp-site-footer__logo {
    display: block;
    width: 170px;
    max-width: 100%;
    height: auto;
    margin: 0;
}

#footer .atp-site-footer__brand p {
    margin: 0 0 32px;
    color: rgb(255 255 255 / 76%);
    font-size: 16px;
    line-height: 1.7;
}

#footer .atp-site-footer__copyright {
    color: rgb(255 255 255 / 60%);
    font-size: 14px;
    line-height: 1.65;
}

#footer .atp-site-footer__column h3 {
    margin: 0 0 17px;
    padding: 0;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .01em;
    text-align: left;
    text-transform: none;
}

#footer .atp-site-footer__column ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer .atp-site-footer__column li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer .atp-site-footer__column a,
#footer .atp-site-footer__column span,
#footer .atp-site-footer__column p {
    color: rgb(255 255 255 / 76%);
    font-size: 15.7px;
    line-height: 1.65;
    text-decoration: none;
    overflow-wrap: break-word;
}

#footer .atp-site-footer__column a {
    display: inline-block;
}

#footer .atp-site-footer__column a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

#footer .atp-site-footer a:focus-visible {
    outline: 2px solid #ffc200;
    outline-offset: 4px;
    border-radius: 2px;
}

#footer .atp-site-footer__support {
    margin-top: 30px;
}

#footer .atp-site-footer__certification p {
    margin: 0 0 14px;
}

#footer .atp-site-footer__certification img {
    display: block;
    width: 210px;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 9px;
    border-radius: 8px;
    background: rgb(255 255 255 / 92%);
}

@media (max-width: 980px) {
    #footer .atp-site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }
}

@media (max-width: 768px) {
    #footer .atp-site-footer {
        padding: 48px 24px calc(112px + env(safe-area-inset-bottom, 0px));
    }

    #footer .atp-site-footer__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    #footer .atp-site-footer__logo {
        width: 145px;
    }

    #footer .atp-site-footer__column a {
        padding: 4px 0;
    }

    #footer .atp-site-footer__column ul {
        gap: 5px;
    }
}
