/* ============================================
   Careers (dark)
   ============================================ */

.careers-section {
    padding: 3rem 0 6rem;
    background-color: var(--bg-base);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 520px));
    gap: 2rem;
    justify-content: center;
}

.job-card {
    background-color: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease;
}

.job-card:hover {
    border-color: var(--border-strong);
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.job-card-header h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0;
}

.job-type {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-body);
    background-color: rgba(0, 74, 173, 0.08);
    border: 1px solid var(--border-brand);
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.job-description {
    color: var(--text-body);
    line-height: 1.75;
    margin-bottom: 1.75rem;
}

.job-section-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
}

.job-skills,
.job-apply-info {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.75rem;
}

.job-skills li,
.job-apply-info li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    color: var(--text-body);
    line-height: 1.55;
    font-size: 0.93rem;
}

.job-skills li::before,
.job-apply-info li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0.4rem;
    color: var(--brand-accent);
    font-weight: 500;
}

.job-card-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.apply-note {
    margin: 0.85rem 0 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .job-card {
        padding: 1.5rem;
    }

    .job-card-header h2 {
        font-size: 1.3rem;
    }
}
