/* Стили страницы одиночной вакансии */

.vacancy {
    padding-top: 60px;
}

.vacancy-back {
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: var(--color-text-light-green);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    transition: color 0.3s ease;
}

.vacancy-back:hover {
    color: var(--color-primary);
}

.vacancy-title {
    font-weight: 500;
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 16px;
    color: var(--color-text-dark-green);
}

.vacancy-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #666666;
    margin-bottom: 24px;
}

.vacancy-breadcrumb {
    color:black
}

.vacancy-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.vacancy-contacts {
    background: rgba(129, 217, 140, 0.1);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin: 0 0 26px;
    padding: 0 24px;
    transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.3s ease, margin 0.3s ease;
}

.vacancy-contacts.visible {
    max-height: 500px; /* достаточно большое значение */
    opacity: 1;
    padding: 24px;
    margin: 0 0 50px;
}

.vacancy-description p {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 16px;
}

/* Используем стили из vacancies.css для кнопок */

/* ----------------- АДАПТИВНОСТЬ: СТРАНИЦА ОДИНОЧНОЙ ВАКАНСИИ ----------------- */
/* ► Большие планшеты / небольшие десктопы */
@media (max-width: 1199px) {
    .vacancy {
        padding: 50px 0;
    }
    .vacancy-title {
        font-size: 28px;
        line-height: 36px;
    }
}

/* ► Планшеты */
@media (max-width: 992px) {
    .vacancy-title {
        font-size: 24px;
        line-height: 32px;
    }
    .vacancy-location {
        font-size: 14px;
    }
    .vacancy-actions {
        align-items: flex-start;
        gap: 12px;
    }
}

/* ► Мобильные устройства в альбомной ориентации */
@media (max-width: 768px) {
    .vacancy {
        padding: 40px 0;
    }
    .vacancy-description p {
        font-size: 14px;
        line-height: 22px;
    }
}

/* ► Мобильные устройства в портретной ориентации */
@media (max-width: 576px) {
    .vacancy-back {
        font-size: 12px;
    }
    .vacancy-title {
        font-size: 20px;
        line-height: 28px;
    }

    .vacancy-actions {
        flex-direction: column;
        gap: 12px;
    }
    .vacancy-actions .btn,
    .vacancy-actions button {
        width: 100%;
    }
    .vacancy-respond,
    .vacancy-contacts-btn {
        justify-content: center;
    }
}
.vacancy-respond {
    width: auto;
    padding: 8px 24px;
    height: 40px;
    border-radius: 0px;
}

.vacancy-contacts-btn {
    width: auto;
    padding: 8px 24px;
    line-height: 24px;
    height: 40px;
    border-radius: 0px;
    text-align: center;
    vertical-align: middle;
    background: #F3F9FE;
    border: 1px solid var(--color-light-green);
    color: var(--color-text-light-green);
}

.vacancy-contacts-btn:hover {
    border:1px solid var(--color-dark-green);
}

.vacancy-contacts-btn-active {
    background-color: var(--color-dark-green);
    color: #FFFFFF;
}

.vacancy-contacts-btn-active {
    background-color: var(--color-dark-green);
    color: #FFFFFF;
}

.vacancy-contacts h4 {
    font-weight: 600;
    font-size: 16px;
    color: #07473C;
    margin-top: 0;
    margin-bottom: 12px;
}

.vacancy-contacts p {
    margin: 8px 0;
    font-size: 14px;
    color: #3d3d3d;
}