/* Footer fixes from TZ: no clipped content, aligned columns, stable layout. */
html body .footer_new {
    overflow: visible !important;
    background: #00315e !important;
}

html body footer.footer,
html body .footer {
    display: grid !important;
    grid-template-columns: minmax(420px, 560px) minmax(0, 1120px) !important;
    justify-content: center !important;
    align-items: start !important;
    column-gap: clamp(48px, 5vw, 96px) !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin-top: 104px !important;
    padding: 44px clamp(36px, 4vw, 72px) 54px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

html body footer .d-flex-footer,
html body .footer .d-flex-footer {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 24px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body footer .t1,
html body .footer .t1 {
    position: relative !important;
    top: auto !important;
    width: 350px !important;
    max-width: 100% !important;
    margin: 0 !important;
}

html body footer .footer-contact-main,
html body footer .t1 > div[style] {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 0 12px !important;
}

html body footer .hblock {
    display: block !important;
    width: auto !important;
    margin: 0 0 5px !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: 32px !important;
    line-height: 1.22 !important;
    font-weight: 600 !important;
    text-align: left !important;
}

html body footer .hblock.email {
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
    font-weight: 500 !important;
}

html body footer .t1 > img {
    display: block !important;
    width: 350px !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
}

html body footer .license {
    position: static !important;
    top: auto !important;
    align-self: flex-start !important;
    margin: 0 !important;
}

html body footer .license img {
    display: block !important;
    width: 150px !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
}

html body footer .footer-icons {
    align-items: flex-start !important;
    margin: 16px 0 0 !important;
}

html body footer .footer-icons-block {
    justify-content: flex-start !important;
    width: 100% !important;
    gap: 6px !important;
}

html body footer .footer-icons__icon {
    flex: 0 0 auto !important;
    margin-left: 0 !important;
}

html body footer .main-button {
    width: auto !important;
    min-width: 220px !important;
    max-width: none !important;
    margin: 22px 0 0 !important;
}

html body footer .information {
    display: grid !important;
    grid-template-columns: minmax(260px, 1.12fr) minmax(220px, .9fr) minmax(320px, 1.18fr) !important;
    gap: clamp(34px, 4vw, 70px) !important;
    align-items: start !important;
    align-self: start !important;
    justify-content: start !important;
    width: 100% !important;
    max-width: 1120px !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: none !important;
}

html body footer section,
html body footer section[style] {
    position: static !important;
    top: auto !important;
    display: flex !important;
    flex-direction: column !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body footer h3,
html body footer section h3 {
    margin: 0 0 18px !important;
    color: #fff !important;
    font-size: 28px !important;
    line-height: 1.16 !important;
    font-weight: 700 !important;
    text-align: left !important;
}

html body footer .footer-block-address {
    margin: 0 0 10px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    text-align: left !important;
}

html body footer .footer-block-address.hblock {
    margin: 0 0 5px !important;
    font-size: 32px !important;
    line-height: 1.22 !important;
    font-weight: 600 !important;
}

html body footer .footer-block-address.hblock.email {
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
    font-weight: 500 !important;
}

html body footer .footer-block-address.footer-block-address__link {
    display: block !important;
    justify-content: flex-start !important;
    color: #fff !important;
    text-align: left !important;
    text-decoration: none;
}

html body footer .footer-block-address.footer-block-address__link:hover {
    text-decoration: underline;
}

@media screen and (max-width: 1400px) {
    html body footer.footer,
    html body .footer {
        grid-template-columns: minmax(360px, 470px) minmax(0, 820px) !important;
        column-gap: 34px !important;
        padding: 40px 30px 50px !important;
    }

    html body footer .d-flex-footer,
    html body .footer .d-flex-footer {
        gap: 20px !important;
    }

    html body footer .t1,
    html body .footer .t1 {
        width: 250px !important;
    }

    html body footer .t1 > img {
        width: 250px !important;
    }

    html body footer .license img {
        width: 115px !important;
    }

    html body footer .information {
        grid-template-columns: minmax(205px, 1.1fr) minmax(160px, .88fr) minmax(225px, 1.18fr) !important;
        gap: 24px !important;
    }

    html body footer h3,
    html body footer section h3 {
        font-size: 24px !important;
    }

    html body footer .hblock {
        font-size: 24px !important;
    }

    html body footer .footer-block-address.hblock {
        font-size: 24px !important;
    }

    html body footer .hblock.email {
        font-size: 18px !important;
    }

    html body footer .footer-block-address.hblock.email {
        font-size: 18px !important;
    }
}

@media screen and (max-width: 1200px) {
    html body footer.footer,
    html body .footer {
        grid-template-columns: minmax(330px, 380px) minmax(0, 1fr) !important;
        column-gap: 28px !important;
        justify-content: center !important;
        padding: 38px 28px 46px !important;
    }

    html body footer .d-flex-footer,
    html body .footer .d-flex-footer {
        max-width: none !important;
        width: auto !important;
        margin: 0 !important;
        padding-bottom: 0 !important;
    }

    html body footer .information {
        display: grid !important;
        grid-template-columns: minmax(0, 1.08fr) minmax(0, .88fr) minmax(0, 1.16fr) !important;
        gap: 20px !important;
        width: 100% !important;
    }

    html body footer section,
    html body footer section[style] {
        width: auto !important;
        margin-top: 0 !important;
    }

    html body footer section a {
        text-align: left !important;
    }
}

@media screen and (max-width: 900px) {
    html body footer.footer,
    html body .footer {
        grid-template-columns: minmax(0, 1fr) !important;
        row-gap: 34px !important;
        padding: 34px 24px 48px !important;
    }

    html body footer .d-flex-footer,
    html body .footer .d-flex-footer {
        justify-content: center !important;
        width: 100% !important;
    }

    html body footer .information {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 28px !important;
        max-width: 520px !important;
        justify-self: center !important;
    }

    html body footer h3,
    html body footer section h3,
    html body footer .footer-block-address,
    html body footer .footer-block-address.footer-block-address__link {
        text-align: center !important;
    }
}

@media screen and (max-width: 470px) {
    html body footer.footer,
    html body .footer {
        padding: 30px 18px 44px !important;
    }

    html body footer .d-flex-footer,
    html body .footer .d-flex-footer {
        gap: 14px !important;
    }

    html body footer .t1,
    html body .footer .t1 {
        width: 200px !important;
    }

    html body footer .t1 > img {
        width: 200px !important;
    }

    html body footer .license img {
        width: 85px !important;
    }

    html body footer .main-button {
        min-width: 0 !important;
        width: 100% !important;
    }
}

/* Keep the footer inside the viewport on medium desktop widths. */
@media screen and (min-width: 1201px) {
    html body footer.footer,
    html body .footer {
        grid-template-columns: minmax(360px, 35%) minmax(0, 1fr) !important;
        column-gap: clamp(28px, 3.5vw, 68px) !important;
        padding-right: clamp(28px, 3.8vw, 72px) !important;
        padding-left: clamp(28px, 3.8vw, 72px) !important;
    }

    html body footer .d-flex-footer,
    html body .footer .d-flex-footer {
        min-width: 0 !important;
    }

    html body footer .information {
        grid-template-columns: minmax(220px, 1.05fr) minmax(170px, .78fr) minmax(240px, 1.08fr) !important;
        gap: clamp(22px, 2.4vw, 48px) !important;
        max-width: none !important;
    }
}
