.vacancies-template {
    position: relative;
    width: 100%;
}

.main-bkg.vacancies {
    background-color: #FFFFFF;
}

.main-bkg.vacancies:before {
    content: "";
    background: linear-gradient(180deg, rgba(13, 13, 13, 0.00) 0%, #FFF 100%);
    height: 45rem;
    display: block;
    width: 100%;
}

.vacancies-description {
    position: relative;
    z-index: 1;
    margin-top: 34.5rem;
    margin-bottom: 2.5rem;
}

.title-description.vacancies-title {
    margin-bottom: 0;
    color: #0D0D0D;
}

.title-description h1.title-vacancies {
    color: var(--Black, #0D0D0D);
    font-size: 6rem;
    font-family: 'DrukCyr';
    font-style: normal;
    font-weight: 500;
    line-height: 6rem;
    text-transform: uppercase;
    width: 70rem;
    margin-bottom: 0;
    margin-top: 21rem;
}

.title-description h1.title-vacancies span {
    font-weight: 500;
}

.vacancies-template .hiring-block-vacancies {
    margin-top: 5rem;
}

.hiring-block-vacancies a {
    text-decoration: none;
}

.vacancies-template .hiring-block-vacancies .vacancy {
    color: #0D0D0D;
}

.vacancies-template .hiring-block-vacancies a {
    border-top: 0.0625rem solid rgba(0, 0, 0, 0.15);
}

.vacancies-template .icon_city-txt {
    color: var(--Black, #0D0D0D);
}

.vacancies-template .hiring-block-vacancies a:hover .vacancy,
.vacancies-template .hiring-block-vacancies a:hover .icon_city-txt {
    color: #FFFFFF;
}

.vacancies-template .vacancies-description .video {
    width: 100%;
    position: relative;
    cursor: pointer;
}

.vacancies-template .vacancies-description .vacancies-info {
    margin: 5rem 0;
    display: flex;
    align-items: flex-start;
}

.vacancies-template .vacancies-description .vacancies-info-left-block {
    flex: 1 0 0;
    color: var(--Black, #0D0D0D);
    font-family: 'DrukCyr';
    font-size: 4rem;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    text-transform: uppercase;
}

.vacancies-template .vacancies-description .vacancies-info-left-block span {
    font-weight: 500;
}

.vacancies-template .vacancies-description .vacancies-info-right-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    flex: 1 0 0;
}

.vacancies-template .vacancies-description .vacancies-text-top,
.vacancies-template .vacancies-description .vacancies-text-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    align-self: stretch;
}

.vacancies-template .vacancies-description .vacancies-text-head,
.vacancies-template .vacancies-description .vacancies-text-list {
    align-self: stretch;
}

.vacancies-template .vacancies-description .vacancies-text-head h2,
.vacancies-template .vacancies-description .vacancies-text-center h2 {
    margin: 0;
    color: var(--Black, #0D0D0D);
    font-family: 'DrukCyr';
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}

.vacancies-template .vacancies-description .vacancies-text-list ul {
    margin: 0;
    padding-left: 1.7rem;
}

.vacancies-template .vacancies-description .vacancies-text-list ul li {
    color: var(--Black, #0D0D0D);
    font-family: 'Formular';
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem;
}

.vacancies-description-text {
    color: #0D0D0D;
    font-family: 'Formular';
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem;
    margin-top: 1.5rem;
    width: 100%;
    max-width: 60rem;
}

/*Vacancies-graph*/
.vacancies-graph {
    margin-top: 5rem;
}

.vacancies-graph-main-title h3.title-h3 {
    color: #F22424;
    font-family: 'Formular';
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    text-transform: uppercase;
    margin: 0;
}

.stages-of-hiring {
    display: flex;
    margin-top: 1.125rem;
}

.stages-of-hiring>* {
    min-width: calc(25% - 1.25rem / 2);
}

.stage-of-hiring {
    position: relative;
}

.stage-of-hiring::before {
    content: "";
    position: absolute;
    top: -0.375rem;
    left: 0;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: #F22424;
}

.stage-of-hiring:not(:last-child) {
    border-top: 0.0625rem solid #F22424;
}

.vacancies-graph-progress.red-title {
    position: absolute;
    top: -0.375rem;
    left: 1.25rem;
    color: #F22424;
    font-family: 'Formular';
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    text-transform: uppercase;
}

.vacancies-graph-text-block {
    padding: 1.25rem 1.25rem 0;
    width: 100%;
}

.vacancies-graph-title {
    color: #0D0D0D;
    font-family: 'DrukCyr';
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    text-transform: uppercase;
}

.vacancies-graph-text {
    margin-top: 1rem;
    color: #0D0D0D;
    font-family: 'Formular';
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem;
}

.vacancies-media-container {
    max-width: 100vw;
    width: 100%;
    box-sizing: border-box;
}

.title-description.vacancies-title.no-margin {
    margin-top: 2rem;
}

/*Media-block*/

@media (min-width: 1001px) {
    .vacancies-media-block {
        margin-top: 5rem;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
        grid-gap: 1.25rem;
        overflow-x: auto;
        white-space: nowrap;
    }
}

.vacancies-media-unit {
    border-radius: 1.25rem;
    height: 30rem;
}

.vacancies-template .vacancies-media-unit.vacancies-media-block-bottom {
    height: 22.5rem;
    min-height: 22.5rem;
}

.vacancies-media-block-center {
    display: flex;
}

.vacancies-media-block-small-block {
    display: flex;
}

.vacancies-media-block-small-block>*,
.vacancies-media-block-center>* {
    flex-basis: 0;
    flex-grow: 1;
}

.vacancies-media-block-small-block .card-text.black {
    position: relative;
    left: unset;
    bottom: unset;
}

.vacancies-media-unit.vacancies-media-block-pics {
    object-fit: cover;
    transition: transform 0.3s ease;
}

@media (min-width: 1001px) {
    .vacancies-media-unit.vacancies-media-block-pics {
        width: 100%;
    }
}

.vacancies-media-unit.vacancies-media-block-pics:hover img {
    transform: scale(1.02);
    cursor: pointer;
}

.vacancies-media-block-small-info {
    position: relative;
    background: #E6E6E6;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.vacancies-media-block-small-info .card-text {
    color: #0D0D0D;
}

.vacancies-template .vacancies-media-unit.vacancies-media-block-small-info.vacancies-media-block-top-part .card-text {
    position: relative;
    bottom: unset;
    left: unset;
}

.company-benefits {
    color: #0D0D0D;
    font-family: 'Formular';
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem;
}

.company-benefits ul {
    margin: 1.5rem 0 0;
    padding: 0 1.25rem;
}

.vacancies-template .vacancies-media-unit.vacancies-media-block-small-info.vacancies-media-block-top-part a {
    margin-top: auto;
    text-decoration: none;
}

.company-benefits ul li {
    white-space: break-spaces;
}

.button-vacancies-template {
    border-radius: 0.5rem;
    background: #FFF;
    display: flex;
    padding: 0.8125rem 1rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: 'Formular';
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s ease;
    color: #0D0D0D;
    margin-top: auto;
    white-space: nowrap;
}

.button-vacancies-template:hover {
    color: #FFF;
    background: #F22424;
}

.vacancies-media-block-bottom {
    background: linear-gradient(90deg, #0D0D0D 0%, rgba(13, 13, 13, 0.00) 100%), url(../../img/components/vacancies/imagemin.png);
    background-color: lightgray;
    background-position: 50%;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.card-text.vacancies-template {
    position: relative;
    left: unset;
    bottom: unset;
    padding: 0;
}

.vacancies-graph-text.white {
    color: #FFF;
    width: 100%;
    margin: 1.5rem auto 1.5rem 0;
    white-space: break-spaces;
    max-width: 43.75rem;
}

.button-send-resume {
    min-width: 12rem;
    width: 12rem;
    margin-top: auto;
}

/*Footer*/

.vacancies-template .footer-option-email {
    color: #F22424;
}

.vacancies-template .footer-option-title .red-text {
    color: #0D0D0D;
}

.vacancies-template .footer-option:hover .footer-option-email {
    color: #FFFFFF;
}

.vacancies-template .footer-options {
    border: 0.0625rem solid rgba(0, 0, 0, 0.25);
}

.vacancies-template .footer-option:not(:last-child) {
    border-right: 0.0625rem solid rgba(0, 0, 0, 0.25);
}

.vacancies-template .social_vk {
    background-image: url(/wp-content/themes/alternativa2023/img/components/footer/VK_black.svg);
}

.vacancies-template .social_linkedin {
    background-image: url(/wp-content/themes/alternativa2023/img/components/footer/LinkedIn_icon_black.svg);
}

.vacancies-template .ag-rights {
    color: #0D0D0D;
}

.vacancies-template .ag-policy li.menu-item a,
.vacancies-template ul#menu-main_menu li a,
.vacancies-template .header-right-block-option.header-right-block-locale {
    color: var(--Black, #0D0D0D);
}

/*Adaptive*/

@media (max-width: 1000px) {
    .main-bkg.vacancies #video_content {
        height: 40rem;
    }

    .main-bkg.vacancies:before {
        height: 40rem;
    }

    .vacancies-description {
        margin-top: 0;
    }

    .title-description h1.title-vacancies {
        width: 100%;
    }

    .vacancies-description-text {
        max-width: none;
    }

    .title-description.vacancies-title,
    .vacancies-description-text {
        text-align: start;
    }

    .vacancies-media-block {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .vacancies-media-block-small-info {
        width: 100%;
        padding: 2rem;
    }

    .vacancies-media-block-small-info .card-text.black,
    .vacancies-media-block-small-info .company-benefits,
    .vacancies-media-block-small-info a {
        width: 15rem;
    }

    .vacancies-media-unit.vacancies-media-block-bottom {
        width: 100%;
    }

    .vacancies-media-block-bottom .card-text.vacancies-template,
    .vacancies-media-block-bottom .vacancies-graph-text.white,
    .vacancies-media-block-bottom .button-send-resume.button-vacancies-template {
        width: 20rem;
    }


    .company-benefits ul {
        margin: 0;
    }

    .vacancies-media-block> :not(:last-child) {
        margin-right: 1rem;
    }

    .stages-of-hiring {
        flex-direction: column;
    }

    .vacancies-graph-text {
        margin-bottom: 1.25rem;
    }

    .vacancies-template .vacancies-media-block-bottom {
        margin-bottom: 0rem;
    }

    .vacancies-template .vacancies-media-unit,
    .vacancies-template .vacancies-media-unit.vacancies-media-block-bottom {
        height: 100%;
        align-items: start;
    }

    .vacancies-template .vacancies-media-container {
        margin-bottom: 2.5rem;
    }

    .vacancies-template .footer-option:not(:last-child) {
        border-bottom: 0.0625rem solid rgba(0, 0, 0, 0.25);
        border-right: 0;
    }
}


@media (max-width: 600px) {
    .vacancies-template .vacancies-media-unit {
        height: 36rem;
        padding: 1.25rem;
    }

    .title-description h1.title-vacancies {
        margin-top: 0rem;
    }

    .title-description.vacancies-title {
        margin-top: 21.25rem;
    }

    .title-description h1.title-vacancies {
        font-size: 11vw;
        line-height: 100%;
    }

    .vacancies-description-text {
        margin-top: 0.75rem;
    }

    .vacancies-template .vacancies-description .vacancies-info {
        flex-direction: column;
        gap: 2.5rem;
    }

    .vacancies-template .vacancies-description .vacancies-info-left-block {
        text-align: start;
    }

    .vacancies-template .hiring-block-vacancies {
        margin-top: 1.5rem !important;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 360px) {
    .main-bkg.vacancies #video_content {
        height: 30rem;
    }

    .main-bkg.vacancies:before {
        height: 30rem;
    }

    .title-description h1.title-vacancies {
        font-size: 2rem;
        line-height: 2rem;
    }

    .card-text.vacancies-template {
        font-size: 2rem;
    }

    .vacancies-graph-text.white {
        margin-top: 0.75rem;
    }

    .vacancies-template .vacancies-media-unit,
    .vacancies-template .vacancies-media-unit.vacancies-media-block-bottom {
        height: 30rem;
        background-image: linear-gradient(90deg, #0D0D0D 0%, rgba(13, 13, 13, 0.00) 100%), url(../../img/components/vacancies/imagemin-2.jpg);
        background-position: 43%;
    }

    .vacancies-template .vacancies-description .vacancies-text-head h2,
    .vacancies-template .vacancies-description .vacancies-text-center h2 {
        font-size: 1.5rem;
    }

    .vacancies-template .vacancies-description .video {
        margin-top: 0;
    }

    .vacancies-template .vacancies-description .vacancies-info {
        margin: 2.5rem 0;
        gap: 1.5rem;
    }

    .vacancies-template .vacancies-description .vacancies-info-left-block {
        font-size: 3rem;
        line-height: 3rem;
    }

    .vacancies-template .vacancies-description .vacancies-text-top,
    .vacancies-template .vacancies-description .vacancies-text-bottom {
        gap: 0.75rem;
    }

    .vacancies-template .vacancies-description .vacancies-info-right-block {
        gap: 2rem;
    }

    .vacancies-media-block-bottom .card-text.vacancies-template {
        width: 100%;
    }
}