.vacancies-page {
    width: 100%;
}

.vacancies-page .main-content {
    width: 100%;
}

.vacancies-content {
    width: 100%;
    max-width: var(--content-max-width);
    margin: 70px auto 90px;
    padding: 0 clamp(20px, 3.2vw, 40px);
    box-sizing: border-box;
}

.vacancies-content-bottom {
    margin-top: 0;
}

.vacancies-items-title {
    margin: 0;
    color: #151515;
    font-family: var(--font-family), sans-serif;
    font-size: clamp(30px, calc(0.35vw + 30px), 44px);
    font-style: normal;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
}

.vacancies-items-items {
    margin-top: clamp(24px, 2.4vw, 36px);
    display: grid;
    width: 100%;
    box-sizing: border-box;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 1.2vw, 20px);
}

.vacancies-items-item {
    width: 100%;
    max-width: 380px;
    height: auto;
    min-height: clamp(140px, 12vw, 176.873px);
    margin: 0 auto;
    border: 1px solid #dfdfdf;
    box-sizing: border-box;
    padding: clamp(22px, 2vw, 30px) clamp(18px, 1.6vw, 24px) clamp(28px, 2.6vw, 42px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(18px, 2vw, 30px);
    min-width: 0;
}

.vacancies-items-item-icon {
    width: 40.313px;
    height: 36.971px;
    border: 1px solid #7c0000;
    background: #7c0000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.vacancies-items-item-icon img {
    max-width: 70%;
    max-height: 70%;
    display: block;
}

.vacancies-items-item-text {
    width: 100%;
    max-width: 331px;
    min-width: 0;
    color: #151515;
    font-family: "Ubuntu Sans", sans-serif;
    font-size: clamp(16px, calc(0.1vw + 16px), 19px);
    font-style: normal;
    font-weight: 400;
    line-height: 1.35;
}

.vacancies-how-to-apply {
    width: 100%;
    max-width: var(--content-max-width);
    margin: 90px auto 90px;
    padding: 0 clamp(20px, 3.2vw, 40px);
    box-sizing: border-box;
    overflow-x: clip;
    overflow-y: visible;
}

.vacancies-how-to-apply-content {
    width: 100%;
    height: 243.644px;
    background: #f0f0f0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 clamp(20px, 3.2vw, 40px);
    box-sizing: border-box;
    position: relative;
    overflow: visible;
    isolation: isolate;
}

.vacancies-how-to-apply-content-left {
    position: relative;
    z-index: 2;
    width: 473.972px;
    height: 392.204px;
    flex: 0 0 auto;
}

.vacancies-how-to-apply-content-left-image {
    position: relative;
    width: 438.972px;
    height: 292.204px;
    left: 140px;
    bottom: -100px;
    z-index: 2;
}

.vacancies-how-to-apply-content-left-image > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.image-decor {
    position: absolute;
    left: -129.072px;
    bottom: 0;
    width: 161.072px;
    height: 268.47px;
    z-index: 0;
    pointer-events: none;
}

.image-decor img {
    width: 100%;
    height: 100%;
    display: block;
}

.vacancies-how-to-apply-content-right {
    width: 427.621px;
    min-height: 149.805px;
    align-self: center;
}

.vacancies-how-to-apply-content-right-email {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.vacancies-how-to-apply-content-right-title {
    color: #151515;
    font-family: var(--font-family), sans-serif;
    font-size: 35px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
    margin-bottom: 16px;
}



.vacancies-how-to-apply-content-right-email-title {
    color: #333;
    font-family: "Ubuntu Sans", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
}

.vacancies-how-to-apply-content-right-email-value {
    width: 359.254px;
    height: 31.563px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px 0 10px;
    box-sizing: border-box;
}

.vacancies-how-to-apply-content-right-email-value a {
    color: #7c0000;
    font-family: "Ubuntu Sans", sans-serif;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    transition: color 0.25s ease, opacity 0.25s ease;
    line-height: 25.2px;
}

.vacancies-how-to-apply-content-right-email-value a:hover {
    color: #9a0000;
    text-decoration: underline;
}

.vacancies-how-to-apply-content-right-email-value img {
    width: 21.718px;
    height: 21.563px;
    display: block;
}

.vacancies-how-to-apply-content-right-email-text {
    color: #666;
    font-family: "Ubuntu Sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 19px;
}

@media (max-width: 1200px) {
    .vacancies-content {
        margin: clamp(48px, 5vw, 70px) auto clamp(64px, 7vw, 90px);
    }

    .vacancies-how-to-apply {
        margin: 64px 0 clamp(64px, 7vw, 90px);
    }

    .vacancies-how-to-apply-content {
        min-height: 243.644px;
    }

    .vacancies-how-to-apply-content-right {
        position: relative;
        z-index: 3;
    }

    .vacancies-how-to-apply-content-left-image {
        left: 92px;
    }

    .vacancies-how-to-apply-content-right-title {
        font-size: clamp(28px, calc(0.3vw + 26px), 35px);
    }
}

@media (max-width: 1000px) {
    .vacancies-items-title {
        font-size: clamp(28px, calc(0.2vw + 24px), 34px);
        line-height: 1.2;
    }

    .vacancies-items-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        justify-items: stretch;
        column-gap: clamp(14px, 2vw, 20px);
        row-gap: clamp(20px, 2.2vw, 24px);
    }

    .vacancies-items-item {
        max-width: none;
        margin: 0;
    }

    .vacancies-items-item-text {
        max-width: 100%;
    }

    .vacancies-how-to-apply {
        padding: 0;
    }

    .vacancies-how-to-apply-content {
        padding-left: clamp(28px, 4vw, 48px);
        padding-right: clamp(28px, 4vw, 56px);
        height: auto;
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
        gap: clamp(28px, 3.5vw, 36px);
        padding-top: clamp(28px, 4vw, 40px);
    }

    .vacancies-how-to-apply-content-right {
        order: -1;
        position: relative;
        z-index: 3;
        width: 100%;
        max-width: 100%;
        min-height: 0;
        align-self: stretch;
    }

    .vacancies-how-to-apply-content-left {
        order: 1;
        width: 100%;
        height: auto;
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
    }

    .vacancies-how-to-apply-content-left-image {
        width: min(100%, 568.044px);
        height: auto;
        aspect-ratio: 568.044 / 292.204;
        left: 0;
        bottom: 0;
        margin: 0 auto;
    }

    .vacancies-how-to-apply-content-left-image > img {
        position: absolute;
        right: 0;
        top: 0;
        left: auto;
        bottom: auto;
        width: calc(100% * 438.972 / 568.044);
        height: 100%;
    }

    .vacancies-how-to-apply-content-left-image .image-decor {
        left: 0;
        bottom: 0;
        width: calc(100% * 161.072 / 568.044);
        height: auto;
        aspect-ratio: 161.072 / 268.47;
    }

    .vacancies-how-to-apply-content-right-title {
        font-size: clamp(28px, calc(0.2vw + 24px), 34px);
        line-height: 1.2;
        margin-bottom: clamp(12px, 1.6vw, 16px);
    }

    .vacancies-how-to-apply-content-right-email-title {
        font-size: clamp(16px, calc(0.1vw + 15px), 18px);
        line-height: 1.4;
    }

    .vacancies-how-to-apply-content-right-email-value {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;
        min-height: 31.563px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .vacancies-how-to-apply-content-right-email-value a {
        word-break: break-all;
    }

    .vacancies-how-to-apply-content-right-email-text {
        font-size: clamp(13px, calc(0.1vw + 12px), 14px);
        line-height: 1.35;
    }
}

@media (max-width: 900px) {
    .vacancies-content {
        margin: clamp(56px, 6.5vw, 88px) auto clamp(48px, 5.5vw, 80px);
    }

    .vacancies-items-title {
        font-size: clamp(28px, calc(0.2vw + 24px), 38px);
        line-height: 1.2;
        text-align: center;
    }

    .vacancies-items-items {
        column-gap: clamp(14px, 2vw, 20px);
        row-gap: clamp(20px, 2.2vw, 24px);
    }

}

@media (max-width: 700px) {
    .vacancies-items-items {
        grid-template-columns: 1fr;
        justify-items: center;
        row-gap: clamp(18px, 2vw, 24px);
    }

    .vacancies-items-item {
        max-width: min(100%, 380px);
        width: 100%;
    }

    .vacancies-how-to-apply-content-right-title {
        font-size: clamp(24px, calc(0.2vw + 20px), 32px);
    }
}

@media (max-width: 600px) {
    .vacancies-items-title {
        font-size: clamp(22px, calc(0.5vw + 18px), 32px);
    }

    .vacancies-how-to-apply-content {
        padding-top: clamp(24px, 3.5vw, 32px);
    }

    .vacancies-how-to-apply-content-left-image {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .vacancies-items-item-text {
        font-size: clamp(16px, calc(0.1vw + 15px), 19px);
    }

}