/* ================================
   Footer – desktop
================================ */

.footer {
    flex-shrink: 0;

    display: flex;
    flex-direction: column;
    gap: 49px;
}

.footer__language {
    margin: 0 auto;

    max-width: 1010px;

    font-size: 14px;
    font-weight: 400;
}

.footer__language-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    list-style: none;
}

.footer__language-list li {
    margin-bottom: 10px;

    white-space: nowrap;
}

.footer__language-list li:not(:last-child)::after {
    content: "|";
    margin: 0 7px;

    color: #444444;
}

.footer__bottom {
    width: 100%;

    background: #454545;
}

.footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 90px;

    min-height: 91px;

    font-size: 15px;
    font-weight: 400;
}

.footer__copyright {
    flex: 1 1 auto; /* default: flex: 0 1 auto */

    margin-left: 36px;

    color: #ffffff;
}

.footer__info {
    flex: 0 0 auto; /* default: flex: 0 1 auto */

    margin-right: 32px;
}

.footer__info-list {
    display: flex;
    align-items: center;

    gap: 45px;

    list-style: none;
}

.footer__info-list a {
    white-space: nowrap;

    color: #ffffff;
}

.footer__icon-link {
    display: flex; /* Use block-level flex to avoid inline line-height affecting height */
    align-items: center;
    justify-content: center;

    width: 35px;
    height: 35px;
}

.footer__icon-img {
    width: 27px;
    height: 27px;
}

@media (hover: hover) and (pointer: fine) {
    .footer__icon-link:hover .footer__icon-img {
        opacity: 0.79;
    }
}



/* ================================
   Footer – mobile
================================ */

@media (max-width: 1231px) {
    .container--footer-bottom {
        padding-left: 0;
        padding-right: 0;
    }

    .footer__bottom-inner {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;

        min-height: auto;
    }

    .footer__copyright {
        order: 2;

        display: flex;
        align-items: center;
        justify-content: center;

        height: 50px;
        padding: 0 16px;
        margin-left: 0;

        font-size: 13px;
        color: #B0B0B0;
        text-align: center; /* Center text lines when wrapping (Flex centers the item, not the text) */
    }

    .footer__info {
        order: 1;

        margin-right: 0;
    }

    .footer__info-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .footer__info-list > li {
        border-bottom: 1px solid rgba(255,255,255,0.14);
    }

    .footer__info-list > li:last-child {
        border-bottom: none;
    }

    .footer__info-list a {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        width: 100%;
        height: 49px;
    }

    .footer__info-list > li:last-child a {
        height: 60px;
    }
}