.lth-footer {
    margin-top: 60px;
    padding: 44px 0 20px;
    background: #f0f2f3;
    color: #252b31;
}

.lth-footer-inner {
    width: calc(min(100%, var(--container-max-width, 1392px)) - 30px);
    margin-inline: auto;
}

.lth-footer a {
    color: inherit;
    text-decoration: none;
    transition: color .18s ease;
}

.lth-footer a:hover,
.lth-footer a:focus-visible,
.lth-footer .lt-cookie-footer button:hover,
.lth-footer .lt-cookie-footer button:focus-visible {
    color: #be262e;
}

.lth-footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 3.5vw, 50px);
}

.lth-footer-brand img {
    display: block;
    max-width: 100%;
    height: auto;
}

.lth-footer-brand p {
    max-width: 230px;
    margin: 18px 0 0;
    color: #58636d;
    font-size: 14px;
    line-height: 1.6;
}

.lth-footer-group h2 {
    margin: 4px 0 16px;
    color: inherit;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
}

.lth-footer-group a {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 11px;
    color: #4e5963;
    font-size: 13px;
    line-height: 1.45;
}

.lth-footer-company {
    text-align: right;
}

.lth-footer-company a {
    margin-left: auto;
}

.lth-footer-contact,
.lth-footer-languages {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid #d5dadd;
}

.lth-footer-contact {
    justify-content: space-between;
    margin-top: 24px;
    padding: 20px 0;
}

.lth-footer-contact-details,
.lth-footer-socials,
.lth-footer-flags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.lth-footer-contact-details {
    gap: 12px clamp(22px, 5vw, 68px);
}

.lth-footer-contact .col-auto,
.lth-footer-bottom .footer__cell {
    padding: 0;
}

.lth-footer-contact-details .footer__cell {
    color: #58636d;
    font-size: 13px;
}

.lth-footer-contact-details a {
    color: #252b31;
    font-size: clamp(17px, 2vw, 24px);
    white-space: nowrap;
}

.lth-footer-socials a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    overflow: hidden;
    border-radius: 9px;
    background: #fff;
    box-shadow: inset 0 0 0 1px #17212b0c;
}

.lth-footer-socials a:focus-visible {
    outline: 2px solid #be262e;
    outline-offset: 2px;
}

.lth-footer-socials img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lth-footer-socials .lth-footer-rutube {
    position: relative;
    background: #101114;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.lth-footer-rutube span {
    transform: skew(-8deg);
}

.lth-footer-rutube::after {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: #db3038;
    content: "";
}

.lth-footer-languages {
    padding: 16px 0;
    color: #58636d;
    font-size: 13px;
}

.lth-footer-flags {
    gap: 6px;
}

.lth-footer-flags a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 32px;
    border: 1px solid transparent;
    border-radius: 5px;
    transition: background-color .18s ease, border-color .18s ease;
}

.lth-footer-flags a[hidden] {
    display: none;
}

.lth-footer-flags a:hover,
.lth-footer-flags a:focus-visible,
.lth-footer-flags a[aria-current="true"] {
    border-color: #d5dadd;
    background: #fff;
}

.lth-footer-flags a[aria-current="true"] {
    border-color: #be262e;
}

.lth-footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding-top: 15px;
    border-top: 1px solid #d5dadd;
    color: #58636d;
    font-size: 12px;
}

.lth-footer .lt-cookie-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 14px 0 0;
    color: #58636d;
    background: transparent;
}

.lth-footer .lt-cookie-footer a,
.lth-footer .lt-cookie-footer button {
    opacity: 1;
}

@media (max-width: 900px) {
    .lth-footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lth-footer-company {
        text-align: left;
    }

    .lth-footer-company a {
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    .lth-footer {
        margin-top: 38px;
        padding-top: 28px;
    }

    .lth-footer-top {
        gap: 20px 14px;
    }

    .lth-footer-contact,
    .lth-footer-languages {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .lth-footer-brand img {
        width: 164px;
    }

    .lth-footer-socials a {
        width: 40px;
        height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lth-footer a,
    .lth-footer .lt-cookie-footer button {
        transition: none;
    }
}
