/* Careers Page — в единой концепции с about и главной */

.careers-container {
    padding-bottom: var(--space-2xl, 3rem);
}

.careers-hero .about-subtitle {
    max-width: 720px;
}

/* Секция вакансий */
.careers-jobs-section {
    padding: var(--space-6xl, 4rem) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    margin: var(--space-2xl, 2rem) 0;
    border-radius: 24px;
    border: 1px solid var(--border-light, #e2e8f0);
}

.careers-jobs-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-xl, 2rem);
    color: var(--text-secondary, #64748b);
    font-size: 1.0625rem;
    line-height: 1.6;
}

.careers-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

.careers-job-card {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.careers-job-card:hover {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.careers-job-main {
    flex: 1;
    min-width: 0;
}

.careers-job-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.careers-job-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary, #64748b);
    margin: 0 0 0.75rem 0;
}

.careers-job-location i,
.careers-job-type {
    margin-right: 0.25rem;
}

.careers-job-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary, #475569);
    line-height: 1.5;
    margin: 0;
}

.careers-job-apply {
    flex-shrink: 0;
    white-space: nowrap;
}

.careers-jobs-note {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--text-secondary, #64748b);
    margin: 2rem auto 0;
    max-width: 560px;
}

.careers-jobs-note a {
    color: var(--primary, #2563eb);
    text-decoration: none;
    font-weight: 600;
}

.careers-jobs-note a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .careers-job-card {
        flex-direction: column;
        align-items: stretch;
    }
    .careers-job-apply {
        align-self: flex-start;
    }
}
