
.careers-promo-section {
    padding: 60px 0;
    overflow: hidden; /* Чтобы отрицательные margin-ы картинки не создавали горизонтальный скролл */
}

.careers-promo-grid {
    display: flex;
    align-items: center; /* Выравниваем по центру по вертикали */
    position: relative; /* Для наложения картинки */
}

.careers-text-content {
    background-color: #fff; /* Белый фон для текстового блока */
    padding: 40px 50px; /* Увеличим отступы */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative; /* Чтобы быть над картинкой в потоке, если z-index не используется */
    z-index: 2; /* Текстовый блок поверх картинки */
    flex: 0 0 55%; /* Занимает 55% ширины, не сжимается и не растягивается сверх этого */
    max-width: 37%;
    height: 370px;
}

.careers-text-content h2 {
    font-size: 2.6em; /* Крупный заголовок */
    font-weight: bold;
    color: #212529;
    margin-top: 0;
    margin-bottom: 25px;
}

.careers-text-content p {
    font-size: 1.1em;
    color: #495057;
    line-height: 1.7;
    margin-bottom: 30px;
}

.cta-link-careers {
    display: inline-block;
    font-size: 1em;
    color: #f0a078; /* Оранжево-персиковый цвет ссылки */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cta-link-careers:hover {
    color: #e9895c; /* Темнее при наведении */
    /* text-decoration: underline; */ /* Можно добавить подчеркивание при наведении */
}

.careers-image-wrapper {
    flex: 0 0 60%; /* Картинка занимает 60% ширины, чтобы создать наложение */
    max-width: 60%;
    position: relative;
    z-index: 1; /* Картинка под текстовым блоком */
    /* Смещаем картинку влево, чтобы она зашла под текстовый блок */
    margin-left: -5%; /* Отрицательный отступ, подберите значение */
    /* Можно добавить и вертикальное смещение, если нужно */
     margin-top: -30px;
}

.careers-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); /* Тень для картинки */
}

/* Адаптивность */
@media (max-width: 992px) {
    .careers-text-content {
        flex: 0 0 60%;
        max-width: 60%;
        padding: 30px 40px;
    }
    .careers-text-content h2 {
        font-size: 2.2em;
    }
    .careers-image-wrapper {
        flex: 0 0 55%;
        max-width: 55%;
        margin-left: -10%;
    }
}

@media (max-width: 768px) {
    .careers-promo-grid {
        flex-direction: column; /* Колонки одна под другой */
        align-items: stretch; /* Растягиваем по ширине */
    }
    .careers-text-content {
        flex-basis: auto; /* Возвращаем стандартное поведение */
        max-width: 100%;
        margin-bottom: 0; /* Убираем отступ, если картинка строго под ним */
        border-bottom-left-radius: 0; /* Убираем скругление снизу, если картинка примыкает */
        border-bottom-right-radius: 0;
        order: 2; /* Текст будет под картинкой */
    }
    .careers-image-wrapper {
        flex-basis: auto;
        max-width: 100%;
        margin-left: 0; /* Убираем отрицательный отступ */
        margin-bottom: -40px; /* Чтобы текстовый блок наехал на картинку снизу */
        /* Или другой способ наложения, если нужно */
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        border-bottom-left-radius: 0; /* Чтобы примыкало к текстовому блоку */
        border-bottom-right-radius: 0;
        order: 1; /* Картинка будет сверху */
    }
    .careers-image-wrapper img {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
}

@media (max-width: 480px) {
    .careers-text-content {
        padding: 25px 20px;
    }
    .careers-text-content h2 {
        font-size: 2em;
    }
    .careers-text-content p {
        font-size: 1em;
    }
}