.career-public { padding-bottom:5rem; }
.career-intro { max-width:780px; margin:0 0 3rem; }
.career-intro h2 { font-size:clamp(1.8rem,4vw,3rem); color:#17428c; margin:.6rem 0 1rem; }
.career-intro p { font-size:1.15rem; line-height:1.8; }
.career-eyebrow { color:#20777c; font-size:.85rem; font-weight:600; letter-spacing:.05em; }
.career-section-title { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin:2rem 0; }
.career-section-title h2 { margin:0; color:#17428c; }
.career-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr)); gap:24px; }
.career-card { display:flex; flex-direction:column; gap:.6rem; padding:30px; background:#fff; border:1px solid #dce4e5; border-top:4px solid #4e9f2d; border-radius:4px; color:#24364b; text-decoration:none; transition:box-shadow .2s; }
.career-card:hover,.career-card:focus-visible { box-shadow:0 8px 30px #17428c20; outline:2px solid #20777c; }
.career-card h3 { color:#17428c; font-size:1.45rem; margin:.5rem 0; }
.career-card p { margin:0; }
.career-card-action { margin-top:auto; padding-top:1.5rem; font-weight:600; color:#20777c; }
.career-initiative { margin-top:3rem; padding:32px; background:#f4f2ee; display:flex; align-items:center; justify-content:space-between; gap:2rem; border-left:4px solid #4e9f2d; }
.career-initiative h2 { color:#17428c; }
.career-button { display:inline-flex; align-items:center; justify-content:center; gap:1rem; border:0; border-radius:4px; background:#17428c; color:#fff !important; padding:14px 22px; font-weight:600; text-decoration:none; cursor:pointer; }
.career-button:hover { background:#20777c; }
.career-button:focus-visible { outline:3px solid #4e9f2d; outline-offset:3px; }
.career-meta { display:flex; flex-wrap:wrap; gap:12px; margin:2rem 0; }
.career-meta span { background:#f4f2ee; padding:8px 16px; border-radius:3px; }
.career-detail-grid { display:grid; grid-template-columns:minmax(0,2fr) minmax(260px,1fr); gap:4rem; }
.career-detail-grid section { margin-bottom:2.5rem; }
.career-detail-grid h2 { color:#17428c; }
.career-prose { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.85; }
.career-contact { background:#f4f2ee; padding:28px; align-self:start; border-top:4px solid #4e9f2d; overflow-wrap:anywhere; }
.career-contact .career-button { width:100%; }
.career-form { max-width:800px; margin-top:2rem; }
.career-form label { display:block; margin:0 0 1.25rem; font-weight:500; }
.career-form input:not([type=checkbox]),.career-form textarea,.career-form select { display:block; width:100%; border:1px solid #899ca8; border-radius:4px; padding:12px; margin-top:6px; background:white; color:#24364b; }
.career-fields { display:grid; grid-template-columns:1fr 1fr; gap:0 20px; }
.career-form .career-check { display:flex; align-items:flex-start; gap:12px; }
.career-check input { width:20px; height:20px; margin-top:3px; flex-shrink:0; }
.career-trap { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.career-form .validation-summary-errors { padding:20px; margin-bottom:20px; border-left:4px solid #b3261e; background:#fff2f0; }
@media(max-width:760px) { .career-detail-grid,.career-fields { grid-template-columns:1fr; gap:1rem; } .career-initiative { flex-direction:column; align-items:flex-start; } .career-card { padding:24px; } }

/* Long job titles and bullet paragraphs need room within the shared HAKO shell. */
body:has(.career-public) .public-page-hero { padding-top:2.5rem; }
body:has(.career-public) .public-page-hero h1 { max-width:30ch; }
.career-public p { text-align:left; }
@media(max-width:760px) { body:has(.career-public) .public-page-hero { padding-top:1.5rem; } }

/* Keep the accessible native file picker, presented as a HAKO upload panel. */
.career-form label:has(> input[type=file]) {
    margin-bottom:0;
    padding:24px 24px 18px;
    border:1px dashed #8caeb3;
    border-bottom:0;
    border-radius:12px 12px 0 0;
    background:#f3f8f7;
    color:#17428c;
    font-weight:600;
}
.career-form input[type=file] {
    margin-top:16px;
    padding:0;
    border:0;
    border-radius:6px;
    background:transparent;
    color:#516470;
    font:inherit;
    font-size:.95rem;
    font-weight:400;
    cursor:pointer;
}
.career-form input[type=file]::file-selector-button {
    margin-right:16px;
    padding:13px 20px;
    border:0;
    border-radius:6px;
    background:#17428c;
    color:#fff;
    font:inherit;
    font-weight:600;
    cursor:pointer;
    transition:background .15s;
}
.career-form input[type=file]:hover::file-selector-button { background:#20777c; }
.career-form input[type=file]:focus-visible { outline:3px solid #4e9f2d; outline-offset:5px; }
.career-form #career-upload-help {
    margin:0 0 28px;
    padding:0 24px 22px;
    border:1px dashed #8caeb3;
    border-top:0;
    border-radius:0 0 12px 12px;
    background:#f3f8f7;
    color:#516470;
    font-size:.9rem;
    line-height:1.6;
}
@media(max-width:480px) {
    .career-form label:has(> input[type=file]) { padding:20px 16px 14px; }
    .career-form #career-upload-help { padding:0 16px 18px; }
    .career-form input[type=file]::file-selector-button { display:block; margin:0 0 12px; }
}
