.tv-footer {
    --footer-margin: 48px;
    --container-top-margin: 48px;
    --container-inline-margin: 100px;
    --info-container-width: 310px;
    --slogan-vertical-margin: 32px;
    --links-container-left-margin: 120px;
    --links-container-right-margin: 80px;
    --copyright-margin: 10px;
}

.tv-footer {
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, Trebuchet MS, Roboto, Ubuntu, sans-serif;
    margin-top: var(--footer-margin);
    border-top: 1px solid var(--cold-gray-150);
}

@media (max-width: 1919px) {
    .tv-footer {
        --container-inline-margin: 40px;
        --links-container-left-margin: 80px;
        --links-container-right-margin: 40px;
    }
}

@media (max-width: 1439px) {
    .tv-footer {
        --footer-margin: 32px;
        --container-top-margin: 32px;
        --container-inline-margin: 32px;
        --links-container-left-margin: 40px;
        --links-container-right-margin: 0;
        --slogan-vertical-margin: 24px;
    }
}

@media (max-width: 1279px) {
    .tv-footer {
        --links-container-left-margin: 24px;
        --info-container-width: 226px;
    }
}

@media (max-width: 1023px) {
    .tv-footer {
        --container-inline-margin: 20px;
        --links-container-left-margin: 0;
        --copyright-margin: 16px;
    }
}

@media (max-width: 767px) {
    .tv-footer {
        --slogan-vertical-margin: 16px;
        --copyright-margin: 8px;
    }
}

.tv-footer__content-container {
    display: flex;
    padding: var(--container-top-margin) var(--container-inline-margin) 0;
}

.tv-footer__info-container {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 0 0 var(--info-container-width);
}

.tv-footer__title-container-logo {
    grid-area: logo;
    display: block;
}

.tv-footer-socials {
    grid-area: socials;
    display: grid;
    grid-template-columns: repeat(auto-fit, 40px);
    justify-content: start;
    width: 232px;
    grid-gap: 8px;
    margin-top: 16px;
    margin-left: -6px;
}

.tv-footer-socials__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    color: var(--cold-gray-900);
    box-sizing: content-box;
}

.tv-footer-socials__icon:hover {
    background-color: var(--cold-gray-100);
}

.tv-footer-socials__icon:active {
    background-color: var(--cold-gray-150);
}

.tv-footer__lang-selector {
    grid-area: lang-selector;
    display: flex;
    position: relative;
    background-color: transparent;
    padding: 6px 12px;
    margin: 16px auto 0 -12px;
    border: none;
    border-radius: 8px;
    color: var(--cold-gray-900);
}

.tv-footer__lang-selector.dropdown-opened .tv-footer__lang-selector-arrow {
    transform: rotate(180deg);
}

.tv-footer__lang-selector:hover {
    background-color: var(--cold-gray-100);
}

.tv-footer__lang-selector:active,
.tv-footer__lang-selector.dropdown-opened {
    background-color: var(--cold-gray-150);
}

.tv-footer__lang-selector:focus-visible {
    outline-offset: 2px;
    outline: 2px solid var(--tv-blue-500-focus);
}

html[dir=rtl] .tv-footer__lang-selector {
    margin: 16px -12px 0 auto;
}

.tv-footer__lang-selector-text {
    margin: auto 4px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.02em;
}

.tv-footer__copyright-container {
    grid-area: copyright;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: var(--copyright-margin);
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: var(--cold-gray-550);
}

.tv-footer__copyright-container a {
    color: var(--tv-blue-500);
}

.tv-footer__copyright-container a:hover {
    color: var(--tv-blue-600);
}

.tv-footer__links-container {
    padding: 0 var(--links-container-right-margin) 0 var(--links-container-left-margin);
    display: flex;
    flex: 1 1 auto;
    flex-direction: row;
    justify-content: space-between;
}

.tv-footer__links-container--mobile {
    display: none;
}

@media (max-width: 1023px) {
    .tv-footer__content-container {
        flex-direction: column;
    }

    .tv-footer__info-container {
        display: grid;
        grid-template-areas:
            "logo socials"
            "lang-selector ."
            "copyright copyright";
        flex: none;
    }

    .tv-footer-socials {
        grid-area: socials;
        display: flex;
        margin: 0;
        width: 100%;
        height: 40px;
        justify-content: flex-end;
    }

    .tv-footer__links-container {
        margin-top: 48px;
    }
}

@media (max-width: 767px) {
    .tv-footer__info-container {
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .tv-footer-lang-selector__dropdown {
        bottom: 0;
        max-height: calc(100vh - 100px);
        height: fit-content;
    }

    .tv-footer-socials {
        justify-content: flex-start;
        margin-top: 16px;
        margin-left: -6px;
        flex-wrap: wrap;
        height: auto;
    }

    .tv-footer__links-container {
        display: none;
    }

    .tv-footer__links-container--mobile {
        display: grid;
        grid-template-columns: 1fr 1fr;
        row-gap: 40px;
        column-gap: 16px;
        margin-top: 48px;
    }
}

.tv-footer__links-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tv-footer__links-category {
    display: flex;
    flex-direction: column;
}

.tv-footer__links-category-title {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--cold-gray-550);
    margin-bottom: 8px;
}

.tv-footer__links-category ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    vertical-align: middle;
    margin-block-end: 0;
}

.tv-footer__links-category ul>li {
    list-style: none;
    margin: 0;
    padding: 0;
}

a.tv-footer__links-link {
    color: var(--cold-gray-900);
    border-radius: 4px;
    margin: -1px -8px;
    padding: 1px 8px;
    text-decoration: none;
}

a.tv-footer__links-link:hover {
    text-decoration: none;
    color: var(--cold-gray-900);
    background-color: var(--cold-gray-100);
}

a.tv-footer__links-link:active {
    text-decoration: none;
    color: var(--cold-gray-900);
    background-color: var(--cold-gray-150);
}

a.tv-footer__links-link:focus-visible {
    color: var(--cold-gray-900);
    outline-offset: 2px;
    outline: 2px solid var(--tv-blue-500-focus);
}

@keyframes lookFirstAnimation {
    0% {
        opacity: 0;
        transform: scaleY(0);
    }

    20% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        transform: scaleY(1);
    }
}

.tv-footer__slogan {
    display: block;
    margin-top: var(--slogan-vertical-margin);
    overflow: hidden;
    padding-bottom: calc(100% / (2560 / 183));
    position: relative;
    view-timeline: --footer-lookfirstanimation block 100% 0;
    z-index: 2;
}

.tv-footer__slogan-img {
    display: block;
    height: 100%;
    inset: 0;
    position: absolute;
    transform-origin: top;
    width: 100%;
    animation: lookFirstAnimation 1ms linear;
}

@supports (animation-timeline:--footer-lookfirstanimation) {
    .tv-footer__slogan-img {
        animation-timeline: --footer-lookfirstanimation;
    }
}

@media (max-width: 567px) {
    .tv-footer__content-container {
        padding-bottom: 32px;
    }

    .tv-footer__slogan {
        display: none;
    }
}