@font-face {
    font-family: MontserratMedium;
    font-display: swap;
    src: url("../fonts/Montserrat-Medium.ttf");
}

body.recruitment-page {
    margin-bottom: 0;
}

.recruitment-auth-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 32px 16px;
}

.recruitment-auth-content .login-box {
    max-width: 100%;
}

.recruitment-admin-footer {
    padding: 0;
    border-top: 0;
}

.recruitment-footer .footer__logo,
.recruitment-footer .footer__group img,
.recruitment-footer .footer__contact img {
    filter: brightness(0);
}

.recruitment-footer {
    flex-shrink: 0;
    position: static;
    width: 100%;
    padding: 62px 0 56px;
    white-space: normal;
    z-index: auto;
    background-color: #fff;
    color: #555;
    font-family: MontserratMedium, sans-serif;
}

.footer__content {
    width: min(75rem, calc(100% - 3rem));
    margin-inline: auto;
}

.footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-bottom: 46px;
}

.footer__address {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

    .footer__address p {
        margin: 0;
    }

.footer__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer__call-cost {
    color: #666;
    font-size: 11px;
    line-height: 16px;
}

.footer__contact {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 24px;
    color: #333;
    font-size: 13px;
    font-weight: 700;
    line-height: 22px;
    text-decoration: none;
}

    .footer__contact img {
        display: block;
        flex-shrink: 0;
    }

    .footer__contact:hover {
        color: #121214;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

.footer__brand {
    display: block;
    flex-shrink: 0;
}

.footer__logo {
    display: block;
    width: 172px;
    height: auto;
}

.footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 32px;
    border-top: 1px solid rgba(18, 18, 20, 0.15);
}

.footer__links {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.footer__link {
    padding: 0;
    border: 0;
    background: none;
    color: #333;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}

    .footer__link:not(:last-child)::after {
        content: " | ";
        white-space: pre;
    }

    .footer__link:hover {
        color: #121214;
        text-decoration: underline;
        text-decoration-color: #00ffc0;
        text-decoration-thickness: 2px;
        text-underline-offset: 3px;
    }

    .footer__link:focus-visible,
    .footer__brand:focus-visible,
    .footer__contact:focus-visible {
        outline: 2px solid #121214;
        outline-offset: 4px;
    }

.footer__credits {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 14px;
}

.footer__copyright {
    margin: 0;
    font-size: 12px;
    font-weight: 800;
    line-height: 20px;
}

.footer__group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 24px;
}

.footer__group-label {
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
}

.footer__group img {
    display: block;
    max-width: 98px;
    height: auto;
}

@media (max-width: 48rem) {
    .recruitment-footer {
        padding: 32px 0;
    }

    .footer__top {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 24px;
        padding-bottom: 24px;
    }

    .footer__logo {
        width: 140px;
    }

    .footer__address {
        gap: 8px;
        font-size: 14px;
        line-height: 1.35;
    }

    .footer__contacts {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-top: 16px;
    }

    .footer__bottom {
        gap: 24px;
        padding-top: 24px;
        border-top-color: rgba(18, 18, 20, 0.15);
    }

    .footer__credits {
        margin-top: 0;
    }

    .footer__copyright {
        font-weight: 400;
    }

    .footer__group {
        display: none;
    }
}
