.section-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--sjhi-medical-blue);
}

.section-eyebrow-light {
    color: rgba(255, 255, 255, 0.9);
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--sjhi-primary-green);
}

.section-copy {
    color: #4b6357;
    max-width: 72ch;
}

.careers-hero {
    background:
        linear-gradient(130deg, rgba(10, 54, 30, 0.84) 0%, rgba(16, 82, 44, 0.78) 44%, rgba(32, 67, 146, 0.72) 100%),
        url('../images/careers/career_new.png');
    background-size: cover;
    background-position: center;
    color: #fff;
}

.careers-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.1rem);
    line-height: 1.06;
}

.careers-copy {
    max-width: 62ch;
    opacity: 0.95;
}

.careers-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.careers-tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(9, 32, 19, 0.25);
    font-size: 0.9rem;
    font-weight: 700;
}

.careers-tags i {
    color: #ffd869;
}

.careers-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.careers-actions .btn-outline-light {
    border-width: 1.5px;
}

.hero-card {
    overflow: hidden;
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: 0 16px 28px rgba(3, 24, 13, 0.25);
}

.hero-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
}

.hero-card-body {
    padding: 1rem;
}

.hero-card-body h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--sjhi-primary-green);
    margin-bottom: 0.45rem;
    font-size: 1.1rem;
}

.hero-card-body p {
    color: #4b6257;
}

.careers-why {
    background: #fff;
}

.why-card {
    border: 1px solid var(--sjhi-border);
    border-radius: 14px;
    padding: 1rem;
    background: #fff;
    box-shadow: 0 8px 22px rgba(10, 41, 22, 0.05);
}

.why-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(27, 115, 64, 0.14);
    color: var(--sjhi-primary-green);
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
}

.why-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--sjhi-primary-green);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.why-card p {
    color: #4c6558;
}

.open-roles {
    background: var(--sjhi-surface);
}

.role-card {
    border: 1px solid var(--sjhi-border);
    border-radius: 14px;
    padding: 1rem;
    background: #fff;
    box-shadow: 0 8px 24px rgba(10, 39, 21, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.role-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(8, 40, 21, 0.12);
    border-color: #bfd8c8;
}

.role-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.65rem;
}

.role-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(50, 82, 161, 0.12);
    color: var(--sjhi-medical-blue);
    font-size: 1.1rem;
}

.role-type {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #3a5e4c;
    border: 1px solid #d8e5db;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
}

.role-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--sjhi-primary-green);
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
}

.role-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.74rem;
    font-weight: 700;
    color: #345646;
    background: #f5fbf7;
    border: 1px solid #d7e5dc;
    border-radius: 999px;
    padding: 0.24rem 0.52rem;
}

.role-badge i {
    color: var(--sjhi-medical-blue);
}

.role-badge-live {
    color: #1f6a3a;
    background: #ebf8f0;
    border-color: #b9dec7;
}

.role-badge-live i {
    color: var(--sjhi-primary-green);
}

.role-dept {
    color: #35584a;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.role-summary {
    color: #4d6559;
    margin-bottom: 0.85rem;
}

.role-cta-note {
    color: #47695a;
    font-size: 0.88rem;
    font-weight: 600;
}

.role-cta-note i {
    color: var(--sjhi-accent-gold);
}

.empty-roles {
    border: 1px dashed #bfd6c8;
    border-radius: 14px;
    background: #f8fcf9;
    padding: 1rem;
    color: #3f5d4f;
}

.empty-roles a {
    color: var(--sjhi-primary-green);
    font-weight: 700;
}

.career-proof {
    background: #fff;
    border-top: 1px solid var(--sjhi-border);
    border-bottom: 1px solid var(--sjhi-border);
}

.proof-card {
    border: 1px solid var(--sjhi-border);
    border-radius: 14px;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(10, 39, 21, 0.05);
}

.proof-head {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 0.65rem;
}

.proof-head img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.proof-head h3 {
    margin: 0 0 0.2rem;
    font-size: 1rem;
    color: #284f3b;
    font-weight: 800;
}

.proof-head p {
    margin: 0;
    color: #587065;
    font-size: 0.86rem;
}

.proof-quote {
    color: #355849;
    font-weight: 600;
}

.application {
    background: #fff;
}

.application-card,
.process-card,
.updates-card {
    border: 1px solid var(--sjhi-border);
    border-radius: 14px;
    padding: 1rem;
    background: #fff;
}

.application-card {
    box-shadow: 0 10px 24px rgba(10, 40, 21, 0.05);
}

.application-card.quick-apply-focus {
    animation: quickApplyPulse 0.82s cubic-bezier(0.22, 1, 0.36, 1);
}

.application-reassurance {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.application-reassurance span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid #d7e5dc;
    border-radius: 999px;
    background: #f7fbf8;
    color: #35594a;
    padding: 0.35rem 0.62rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.application-reassurance i {
    color: var(--sjhi-primary-green);
}

.form-label {
    font-weight: 700;
    color: #325547;
}

.form-hint {
    color: #587266;
}

.privacy-note {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #466758;
    font-size: 0.92rem;
    background: #f8fcf9;
    border: 1px solid #dae8de;
    border-radius: 10px;
    padding: 0.45rem 0.65rem;
}

.privacy-note i {
    color: var(--sjhi-primary-green);
}

.process-card {
    background: linear-gradient(150deg, #f8fcf9 0%, #eef6f1 100%);
}

.process-card h3,
.updates-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--sjhi-primary-green);
}

.process-steps {
    margin: 0;
    padding-left: 1.15rem;
    color: #3f5d4f;
}

.process-steps li {
    margin-bottom: 0.45rem;
}

.updates-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.updates-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    color: #325746;
    border: 1px solid #d9e6dc;
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.updates-links a:hover {
    color: #fff;
    background: var(--sjhi-primary-green);
    border-color: var(--sjhi-primary-green);
}

.career-testimonials {
    background: var(--sjhi-surface);
}

.testimonial-group-title {
    font-family: 'Space Grotesk', sans-serif;
    color: #2a4f3d;
    font-size: 1.1rem;
    margin-bottom: 0.9rem;
}

.testimonial-card {
    border: 1px solid var(--sjhi-border);
    border-radius: 14px;
    padding: 1rem;
    background: #fff;
    box-shadow: 0 8px 20px rgba(10, 39, 21, 0.05);
}

.testimonial-head {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    margin-bottom: 0.65rem;
}

.testimonial-head img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-head h4 {
    margin: 0 0 0.2rem;
    font-size: 1rem;
    color: #284f3b;
    font-weight: 800;
}

.testimonial-head p {
    margin: 0;
    font-size: 0.86rem;
    color: #567065;
}

.testimonial-quote {
    color: #355849;
    font-weight: 600;
    margin-bottom: 0.7rem;
}

.testimonial-details {
    border-top: 1px solid #e0ebe3;
    padding-top: 0.7rem;
}

.testimonial-details summary {
    cursor: pointer;
    color: var(--sjhi-medical-blue);
    font-weight: 700;
    margin-bottom: 0.55rem;
}

.testimonial-details p {
    color: #4f675c;
    margin: 0;
}

.career-final-cta {
    background: #fff;
}

.final-cta-card {
    border: 1px solid var(--sjhi-border);
    border-radius: 16px;
    background: linear-gradient(150deg, #f8fcf9 0%, #edf7f1 100%);
    padding: 1.4rem;
}

.final-cta-card .section-copy {
    margin-inline: auto;
}

@keyframes quickApplyPulse {
    0% {
        transform: translateY(0);
        box-shadow: 0 10px 24px rgba(10, 40, 21, 0.05);
    }
    45% {
        transform: translateY(-2px);
        box-shadow: 0 18px 34px rgba(20, 83, 45, 0.14);
    }
    100% {
        transform: translateY(0);
        box-shadow: 0 10px 24px rgba(10, 40, 21, 0.05);
    }
}

@media (max-width: 767px) {
    .careers-tags span {
        font-size: 0.84rem;
    }

    .careers-actions {
        width: 100%;
    }

    .careers-actions .btn {
        width: 100%;
    }

    .role-badge {
        font-size: 0.72rem;
    }

    .proof-head {
        align-items: center;
    }

    .application-reassurance span {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 575px) {
    .careers-title {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }

    .careers-copy {
        font-size: 0.94rem;
    }

    .role-card,
    .proof-card,
    .testimonial-card {
        padding: 0.84rem;
    }

    .role-meta {
        gap: 0.3rem;
    }

    .role-badge {
        width: 100%;
        justify-content: flex-start;
    }

    .proof-head img,
    .testimonial-head img {
        width: 50px;
        height: 50px;
    }
}
