/* Hero */
.career-hero {
    min-height: 45vh;
}

.career-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.career-section {
    padding: 4rem 0 5rem;
    background: #f6f7f8;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title span {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    border-bottom: 3px solid #d8d8d8;
    padding-bottom: 0.6rem;
}

.job-card {
    background: #fff;
    border-radius: 14px;
    padding: 2rem;
    border: 1px solid #e5e7ea;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.job-header h2 {
    font-size: 2rem;
    color: #1f2328;
}

.job-tag {
    background: #f4b942;
    color: #111;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

.job-intro {
    color: #4f5863;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.job-block {
    background: #FFF8E6;
    border: 1px solid #FFE680;
    border-radius: 10px;
    padding: 1.1rem 1rem;
}

.job-block h3 {
    font-size: 1.05rem;
    margin-bottom: 0.65rem;
    color: #1f2328;
}

.job-block ul {
    padding-left: 1.1rem;
}

.job-block li {
    margin-bottom: 0.45rem;
    color: #57606b;
    line-height: 1.5;
}

.job-cta {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #eceff3;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.job-cta p {
    color: #3f4750;
}

.job-button {
    display: inline-block;
    background: #1f2328;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.65rem 1.15rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(31, 35, 40, 0.25);
}

/* CV Modal */
.cv-modal-overlay {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.cv-modal-overlay.active {
    visibility: visible;
    opacity: 1;
}

.cv-modal {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    max-width: 420px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.cv-modal h3 {
    font-size: 1.5rem;
    color: #1f2328;
    margin-bottom: 1rem;
}

.cv-modal p {
    color: #4f5863;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.cv-modal-email {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2328;
    text-decoration: none;
    background: #FFF8E6;
    border: 1px solid #FFE680;
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    margin-bottom: 1rem;
}

.cv-modal-email:hover {
    background: #f4b942;
    border-color: #f4b942;
}

.cv-modal-note {
    font-size: 0.88rem;
    color: #7a8490;
}

.cv-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #7a8490;
    line-height: 1;
}

@media (max-width: 980px) {
    .job-grid {
        grid-template-columns: 1fr;
    }

    .job-header h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .career-container {
        padding: 0 1rem;
    }

    .career-section {
        padding: 2.5rem 0 3.25rem;
    }

    .section-title span {
        font-size: 1.6rem;
    }

    .job-card {
        padding: 1.25rem;
    }
}

/* ===== Design pass 1 ===== */
.job-button {
    padding: var(--btn-pad);
    border-radius: var(--btn-radius);
    font-size: var(--btn-size);
}
