.main-block .text p {
    font-size: 22px;
    line-height: 32px;
    letter-spacing: 1px;
}
.conditions {
    padding-top: 120px;
    padding-bottom: 120px;
}
.conditions h2 {
    font-size: 34px;
    line-height: 42px;
    letter-spacing: 1px;
    color: var(--dark-200);
    margin-bottom: 30px;
}
.conditions > p {
    margin-bottom: 30px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 30px;
    color: var(--grey-300);
}
.conditions .items {
    display: grid;
    grid-template-columns: repeat(auto-fill, 380px);
    gap: 20px;
}
.conditions .items .item {
    border: 1px solid var(--orange-100);
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 20px 20px 20px 30px;
}
.conditions .items .item::before {
    font-family: 'icon';
    width: 50px;
    font-size: 30px;
    line-height: 30px;
    color: var(--orange-100);
}
.conditions .items .en::before {
    content: '\e933';
}
.conditions .items .distant-work::before {
    content: '\e936';
    font-size: 35px;
}
.conditions .items .discounts::before {
    content: '\e922';
}
.conditions .items .sports::before {
    content: '\e91f';
    font-size: 32px;
    line-height: 32px;
}
.conditions .items .medicine::before {
    content: '\e927';
    font-size: 26px;
    line-height: 26px;
}
.conditions .items .corporate::before {
    content: '\e91b';
    font-size: 34px;
    line-height: 34px;
}
.conditions .items .item p {
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 1px;
    color: var(--dark-200);
    max-width: 280px;
}
.vacancy {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.vacancy .item {
    background: var(--white-300);
    border-radius: 30px;
    position: relative;
    padding: 20px 30px 0;
    /* display: flex;
    flex-direction: column; */
    transition: .45s;
    min-height: 200px;
    overflow: hidden;
}
.vacancy .item h3 {
    font-family: 'Craftwork Grotesk', sans-serif;
    font-weight: 900;
    font-size: 18px;
    line-height: 28px;    
    letter-spacing: 1px;
    color: var(--dark-200);
    margin-bottom: 10px;
}
.vacancy .item p {
    font-family: 'Inter', sans-serif;
    line-height: 22px;    
    color: var(--grey-300);
}
.vacancy .item a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--orange-100);
    font-family: 'Inter', sans-serif;
    line-height: 18px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0 30px 30px 0;
    z-index: 1;
}
.vacancy .item a::after {
    font-family: 'icon';
    content: '\e93e';
    font-size: 10px;
    line-height: 10px;
    margin-left: 10px;
}
.vacancy .item .hover-image {
    position: absolute;
    top: -50%;
    right: 0;
    width: 254px;
    height: 260px;
    opacity: 0;
    transition: .45s;
    width: 204px;
}
.vacancy .item:hover .hover-image {
    opacity: 1;
    transition: 1.8s;
}
.vacancy .item .hover-image img {
    width: 100%;
    max-width: 100%;
} 
.vacancy .item:hover {
    background: var(--orange-100);
    cursor: pointer;
}
.vacancy .item:hover h3,
.vacancy .item:hover p,
.vacancy .item:hover a {
    color: var(--white);
}
section.contact-form .image-line {
    top: -85px;
}
@media screen and (max-width: 1220px) {
    .ellipse {
        right: unset;
    }
    .main-block::before {
        background-size: contain;
        width: 150%;
    }
}
@media screen and (max-width: 768px) {
    .ellipse {
        right: 0;
    }
    .main-block {
        padding: 80px 0 100px;
        min-height: 520px;
    }
    .main-block::before {
        top: 0;
        left: -30%;
        width: 150%;
    }
    .main-block .text h1 {
        font-size: 25px;
        line-height: 34px;
        margin-bottom: 20px;
    }
    .main-block .text p {
        font-size: 20px;
        line-height: 28px;
    }
    .conditions .items {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .conditions .items .item p {
        max-width: 100%;
    }
    .vacancy {
        grid-template-columns: 1fr;
    }
}
@media screen and (max-width: 375px)  {
    .main-block {
        padding: 50px 0 80px;
        min-height: 460px;
    }
    .main-block .text h1 {
        font-size: 20px;
        line-height: 30px;
        margin-bottom: 10px;
    }
    .main-block .text p {
        font-size: 18px;
        line-height: 24px;
    }
    .main-block::before {
        width: 180%;
        left: -60%;
    }
    .conditions {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .conditions h2 {
        font-size: 20px;
        line-height: 26px;
        margin-bottom: 10px;
    }
    .conditions > p {
        font-size: 14px;
        line-height: 20px;
    }
    .main-block.careers .text p {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 20px;
    }
    .conditions .items .item {
        padding: 20px 10px 20px 20px;
        gap: 20px;
    }
    .conditions .items .item::before {
        width: auto;
    }
    .vacancy .item {
        padding: 20px;
        min-height: 240px;
    }
    .vacancy .item h3 {
        font-size: 14px;
        line-height: 22px;
    }
    .vacancy .item p {
        line-height: 20px;
        margin-bottom: 5px;
    }
    .vacancy .item .hover-image {
        display: none;
    }
    .vacancy .item a {
        font-size: 12px;
        line-height: 16px;
    }
    .vacancy .item a::after {
        font-size: 8px;
    }
    section.contact-form {
        margin-top: 70px;
    }
}