/* ==========================================================================
   PROMO BANNER
   ========================================================================== */
.promo-banner-specialists-search {
    position: relative;
    isolation: isolate;

    width: calc(100% - 40px);
    max-width: 1200px;
    min-height: 220px;

    margin: 0 auto 16px;

    overflow: hidden;

    background-image: url("/images/icons/specialists-search-banner.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 30px;
}

.promo-banner-specialists-search::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;

    background: linear-gradient(
            100deg,
            rgba(15, 45, 100, 0.32) 0%,
            rgba(15, 45, 100, 0.12) 65%,
            rgba(15, 45, 100, 0.05) 100%
    );

    pointer-events: none;
}

.promo-banner-inner {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    width: 100%;
    min-height: 220px;

    padding: 30px 50px;

    color: #ffffff;
    text-align: left;
}

.promo-banner-inner h2 {
    max-width: 650px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(23px, 3vw, 32px);
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: -0.035em;
}

.promo-banner-image {
    position: absolute;
    z-index: 1;
    border-radius: 14px;
    top: 50%;
    right: 35px;

    /*width: auto;*/
    height: 110px;
    max-width: 35%;

    object-fit: contain;
    opacity: 0.8;
    transform: translateY(-50%) rotate(15deg);
    pointer-events: none;
}

@media (max-width: 950px) {
    .promo-banner-specialists-search {
        min-height: 200px;
    }

    .promo-banner-inner {
        min-height: 200px;
        padding: 28px 36px;
    }

    .promo-banner-image {
        right: 30px;
        height: 85px;
    }
}

@media (max-width: 700px) {
    .promo-banner-specialists-search {
        width: 100%;
    }

    .promo-banner-inner {
        min-height: 200px;

        padding: 24px 25px;
    }

    .promo-banner-inner h2 {
        max-width: 80%;

        font-size: 23px;
        line-height: 1.3;
    }

    .promo-banner-image {
        right: 12px;

        height: 65px;
        max-width: 27%;

        opacity: 0.55;
    }
}

@media (max-width: 360px) {
    .promo-banner-specialists-search {
        width: calc(100% - 24px);
    }

    .promo-banner-inner {
        padding: 18px 16px;
    }

    .promo-banner-inner h2 {
        max-width: 85%;
        font-size: 18px;
    }

    .promo-banner-image {
        height: 45px;
    }
}

/* ==========================================================================
   PROMO BANNER — СТРАНИЦА ПОИСКА СПЕЦИАЛИСТОВ
   ========================================================================== */

/* Заголовок справа */
.promo-banner-specialists-search .promo-banner-inner {
    align-items: flex-end;
    text-align: right;
}

/* Общие настройки изображений */
.promo-banner-specialists-search .promo-banner-image {
    right: auto;
    left: 35px;
    opacity: 0.85;
}

/* Первое изображение — резюме */
.promo-banner-specialists-search .promo-image-resume {
    top: 50%;
    left: 35px;
    height: 120px;
    transform: translateY(-50%) rotate(-2deg);
}

/* Второе изображение — собеседование */
.promo-banner-specialists-search .promo-image-interview {
    top: 25%;
    left: 175px;
    height: 125px;
    transform: translateY(-50%) rotate(15deg);
}

/* Третье изображение — карьера */
.promo-banner-specialists-search .promo-image-career {
    top: 76%;
    left: 210px;
    height: 150px;
    transform: translateY(-50%) rotate(-6deg);
}

/* Градиент затемнения справа */
.promo-banner-specialists-search::before {
    background: linear-gradient(
            260deg,
            rgba(15, 45, 100, 0.32) 0%,
            rgba(15, 45, 100, 0.12) 65%,
            rgba(15, 45, 100, 0.05) 100%
    );
}

/* ==========================================================================
   АДАПТАЦИЯ — ПЛАНШЕТЫ
   ========================================================================== */

@media (max-width: 950px) {

    .promo-banner-specialists-search .promo-image-resume {
        left: 25px;
        height: 90px;
    }

    .promo-banner-specialists-search .promo-image-interview {
        left: 110px;
        height: 75px;
    }

    .promo-banner-specialists-search .promo-image-career {
        left: 115px;
        height: 80px;
    }
}

/* ==========================================================================
   АДАПТАЦИЯ — МОБИЛЬНЫЕ
   ========================================================================== */

@media (max-width: 700px) {

    .promo-banner-specialists-search .promo-image-resume {
        left: 12px;
        height: 65px;
    }

    .promo-banner-specialists-search .promo-image-interview {
        left: 5px;
        height: 55px;
    }

    .promo-banner-specialists-search .promo-image-career {
        left: 80px;
        height: 58px;
    }
}

/* ==========================================================================
   АДАПТАЦИЯ — МАЛЕНЬКИЕ ЭКРАНЫ
   ========================================================================== */

@media (max-width: 360px) {

    .promo-banner-specialists-search .promo-image-resume {
        height: 45px;
    }

    .promo-banner-specialists-search .promo-image-interview {
        height: 40px;
    }

    .promo-banner-specialists-search .promo-image-career {
        height: 42px;
    }
}