.block__items.article {
    flex-direction: column;
    justify-content: flex-start;
}

.block-item.article {
    height: max-content;
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    padding: 20px;
}

.article__content {
    padding: 10px;
    width: 500px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.article__content p {
    color: #4F5668;
    margin: 26px 0;
}

.article__content h2 {
    margin-bottom: 0;
    font-size: 20px;
    line-height: 23px;
    text-transform: unset;
}

.article__bottom {
    position: absolute;
    left: 10px;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.article__bottom.single {
    left: 30px;
    bottom: 30px;
}

.article-views {
    display: flex;
    gap: 6px;
    align-items: center;
    position: static;
}

.article__image {
    width: 286px;
    height: 204px;
    border-radius: var(--border-radius);
}

.article__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--border-radius);
}

.article__wrapper {
    width: 100%;
    background-color: #fff;
    border-radius: var(--border-radius);
    position: relative;
    padding-bottom: 40px;
}

.article__container {
    height: 500px;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: var(--border-radius);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background-position: center;
    background-size: cover;
}

.article__container-content {
    padding: 30px;
    position: relative;
}

.article__container-content h1 {
    font-size: 30px;
    font-weight: 700;
    line-height: 35px;
    color: #fff;
    text-transform: unset;
    padding-bottom: 20px;
}

.article__container-content .views-number, .article__container-content .article-date {
    color: #fff;
}

.article__text {
    padding: 15px 30px;
}

.article__text span {
    text-decoration: none !important;
}

.article__text p, .article__text h3 {
    color: #4F5668;
    line-height: 25px;
    margin-bottom: 10px;
}

.article__text h3 {
    font-size: 17px;
}

.article__text h2 {
    text-transform: unset;
    margin: 30px 0 12px 0;
    line-height: 34px;
}

.article__text ol {
    list-style: disc;
}

.article__text ul, .article__text ol {
    margin: 15px 0;
    margin-left: 15px;
}

.article__text li {
    margin-top: 10px;
    color: #4F5668;
    line-height: 22px;
}

.article__text a {
    color: #37A835;
}

.article__text a:hover {
    text-decoration: underline;
}

.block:nth-of-type(2) {
    margin-top: 50px;
}

.breadcrumbs__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: absolute;
    bottom: 20px;
    left: 30px;
}

.breadcrumbs__container a, .breadcrumbs__container span {
    font-size: 13px;
    color: var(--text-color);
    transition: color .1s ease;
}

.breadcrumbs__container a:hover {
    color: var(--green-color)
}

.article__text .vacancy_blocks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin: 20px 0;
}

.article__text .vacancy_block-item{
    display: flex;
    flex-direction: column;
    width: 260px;
    border-radius: var(--border-radius);
    padding: 20px;
    cursor: pointer;
    transition: all .15s ease;
    border: 1px solid #F2F4F6;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.article__text .vacancy_block-item:hover {
    border: 1px solid var(--green-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.article__text .more-vacancies {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: max-content;
    position: relative;
    cursor: pointer;
    border-radius: var(--border-radius);
    background: var(--green-color);
    text-decoration: none !important;
}

.article__text .more-vacancies span {
    font-size: 15px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    transition: color .3s ease-in-out;
    z-index: 5;
    padding: 16px 30px;
    text-decoration: none !important;
}

.article__text .more-vacancies::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: #fff;
    transition: all .3s ease-in-out;
    pointer-events: none;
    border-radius: var(--border-radius);
    border: 0px solid transparent;
}

.article__text .more-vacancies:hover::before {
    width: 100%;
    border: 1px solid var(--green-color);
}

.article__text .more-vacancies span:hover {
    color: var(--green-color);
}

.article__text .vacancy_blocks a {
    color: unset;
    text-decoration: none;
}

.article__text .item__company {
    color: var(--text-color);
    margin-bottom: 6px;
    overflow: hidden;
    max-width: 100%;
    max-height: 18px;
    text-overflow: ellipsis;
}


.article__text .item__vacancy {
    color: var(--title-text-color);
    font-size: 18px;
    overflow: hidden;
    max-width: 100%;
    max-height: 25px;
    text-overflow: ellipsis;
}

.article__text .item__salary {
    color: var(--green-color);
}

@media screen and (max-width: 900px) {
    .article__wrapper {
        width: 100vw;
        margin-left: -30px;
        overflow-x: hidden;
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }

    .article__container {
        border-radius: 0;
    }

    .article__text .vacancy_blocks {
        flex-direction: column;
        gap: 16px;
    }

    .article__text .vacancy_block-item {
        width: 100%;
    }

}

@media screen and (max-width: 580px) {
    .block-item.article {
        flex-direction: column-reverse;
        padding: 0;
    }

    .article__container {
        height: 300px;
    }

    .article__container-content h1 {
        font-size: 26px;
        line-height: 30px;
    }

    .article__image {
        width: 100%;
    }

    .article__content {
        padding: 20px;
        width: 100%;
        gap: 10px;
        margin-bottom: 20px;
    }
    .article__bottom {
        left: 20px;
    }
    .article__content p {
        margin: 0 0 10px 0;
    }

}

@media screen and (max-width: 480px) {
    .article__container-content h1 {
        font-size: 22px;
        line-height: 26px;
    }

    .article__text h2 {
        font-size: 22px;
    }

    .article__text .more-vacancies {
        font-size: 14px;
        max-width: 100%;
    }

    .article__text .more-vacancies span {
        font-size: 14px;
        padding: 14px 24px;
        text-align: center;
        line-height: 18px;
    }
}