/* Careers extends the corporate tender disclosure and form theme. */
.career-portal { --career-brand:#0054a6; --career-ink:#18334f; --career-line:#bccbda; }
.career-portal { padding:24px 20px 28px; color:var(--career-ink); background:#fff; font-size:1rem; line-height:1.6; }
.career-portal * { box-sizing:border-box; }
.career-page .navbar { width:100%; max-width:100%; min-width:0; }
.career-page .navbar > .container-fluid { min-width:0; flex-wrap:wrap; }
.career-page .navbar .navbar-nav { flex-wrap:wrap; min-width:0; max-width:100%; }
.career-page-heading { margin-bottom:24px; }
.career-page-heading .custom-heading { font-family:inherit; font-size:1.75rem; font-weight:600; line-height:1.4; color:#143e6b; overflow-wrap:anywhere; }
.career-toolbar { display:flex; flex-wrap:wrap; align-items:end; gap:12px; margin-bottom:20px; padding:16px; background:#f6f8fb; border:1px solid var(--career-line); border-radius:6px; }
.career-search { flex:1 1 260px; min-width:0; }
.career-filter { flex:0 1 260px; min-width:0; }
.career-toolbar label { display:block; font-weight:600; margin-bottom:7px; font-size:1rem; color:var(--career-ink); }
.career-toolbar .form-control, .career-toolbar .form-select { min-height:42px; font-size:1rem; color:#18334f; background-color:#fff; border-color:#73869a; box-shadow:none; }
.career-toolbar-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; max-width:100%; }
.career-toolbar-navigation { margin-left:auto; min-width:0; max-width:100%; }
.career-portal .career-toolbar-navigation .btn { display:inline-flex; max-width:100%; white-space:normal; text-align:center; }
.career-portal .career-toolbar .btn, .career-pagination .btn { min-height:42px; display:inline-flex; align-items:center; justify-content:center; gap:6px; }
.career-portal .btn { box-shadow:none; font-weight:600; border-radius:5px; }
.career-toolbar .btn-primary, .career-portal .career-apply-link { background:var(--career-brand); color:#fff; border:1px solid var(--career-brand); }
.career-toolbar .btn-primary:hover, .career-portal .career-apply-link:hover { background:#003f80; color:#fff; border-color:#003f80; }
.career-toolbar .btn-outline-primary, .career-toolbar .btn-outline-secondary, .career-pagination .btn { background:#fff; color:#254666; border:1px solid #73869a; }
.career-toolbar .btn-outline-primary:hover, .career-toolbar .btn-outline-secondary:hover, .career-pagination .btn:hover { background:#edf3fa; color:#143e6b; }
.career-section-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.career-section-heading > span { font-size:.875rem; }
.career-latest { margin-bottom:20px; border:1px solid #eee1bd; border-radius:6px; background:#fffbf1; }
.career-latest > summary { display:flex; align-items:center; gap:10px; padding:12px 16px; font-weight:600; cursor:pointer; list-style:none; }
.career-latest > summary::-webkit-details-marker { display:none; }
.career-latest > summary > span:first-child { flex:1; }
.career-latest > summary .fa { color:#8a5b13; }
.career-latest > summary::after { content:""; width:7px; height:7px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); margin-left:5px; }
.career-latest[open] > summary::after { transform:rotate(225deg); }
.career-latest:not([open]) > :not(summary) { display:none; }
.career-latest-list { display:block; padding:0 16px 6px; border-top:1px solid #dee2e6; background:#fff; }
.career-portal .career-update-link { display:grid; grid-template-columns:105px minmax(160px,.6fr) minmax(0,1fr) auto; align-items:center; gap:12px; padding:9px 0; color:inherit; text-decoration:none; }
.career-update-link + .career-update-link { border-top:1px solid rgba(112,80,0,.15); }
.career-update-link:hover .career-update-action { text-decoration:underline; }
.career-update-date { font-size:.875rem; }
.career-update-date i { display:none; }
.career-update-link strong, .career-update-action { font-size:.875rem; }
.career-update-action { white-space:nowrap; }
.career-results-heading { margin-top:8px; }
.career-section-heading #career-results-title { color:#314d6a; font-weight:600; }
.career-count { display:inline-block; padding:3px 9px; color:#183d66; background:#e6eef8; border-radius:4px; font-size:.9375rem; font-weight:600; }

/* The same disclosure layout as corporate tenders, scoped to careers. */
.career-advertisements { display:grid; gap:12px; }
.career-portal .career-advert { border:1px solid var(--career-line); border-radius:6px; background:#fff; overflow:hidden; scroll-margin-top:100px; box-shadow:none; }
.career-advert-summary { display:grid; grid-template-columns:minmax(0,1fr) auto 16px; align-items:center; gap:16px; padding:14px 16px; cursor:pointer; list-style:none; background:#fff; }
.career-advert-summary::-webkit-details-marker { display:none; }
.career-advert-summary:hover, .career-advert[open] > .career-advert-summary { background:#edf3fa; }
.career-advert:not([open]) > .career-advert-body { display:none; }
.career-advert-identity { display:grid; gap:5px; min-width:0; }
.career-reference { display:inline-block; width:fit-content; max-width:100%; padding:2px 6px; color:#294665; background:#eaf0f7; border-radius:4px; font-size:.9375rem; font-weight:600; line-height:1.5; overflow-wrap:anywhere; }
.career-advert-identity > strong { display:block; font-size:1.125rem; font-weight:600; line-height:1.5; color:#153655; overflow-wrap:anywhere; }
.career-advert-status { display:flex; align-items:center; flex-direction:row; flex-wrap:wrap; gap:8px; }
.career-closing { display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:5px 8px; color:#173f6b; background:#e7eff9; border:1px solid #819bb7; border-radius:4px; font-size:.9375rem; }
.career-closing > i { font-size:1rem; }
.career-closing time { display:inline; color:#173f6b; font-size:inherit; font-weight:700; margin:0; }
.career-advert-chevron { color:#315477; font-size:1rem; transition:transform .18s ease; }
.career-advert[open] > summary .career-advert-chevron { transform:rotate(180deg); }
.career-portal .career-correction-link { display:inline-flex; align-items:center; gap:6px; max-width:100%; color:#673b03; background:#fff0c2; border:1px solid #967018; border-radius:4px; padding:5px 8px; font-size:.9375rem; font-weight:600; text-decoration:none; }
.career-portal .career-correction-link:hover { color:#62400b; background:#ffedbf; text-decoration:underline; }
.career-badge-count { display:inline-flex; align-items:center; justify-content:center; min-width:20px; min-height:20px; padding:0 5px; border-radius:4px; font-size:.75rem; background:#efdfb9; color:#69450f; }
.career-advert-body { padding:16px; border-top:1px solid var(--career-line); }
.career-advert-overview { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-bottom:14px; }
.career-dates { display:flex; gap:12px; flex-wrap:wrap; margin:0; }
.career-dates > div { display:flex; align-items:baseline; flex-wrap:wrap; gap:7px; }
.career-dates dt { font-size:.9375rem; font-weight:500; color:#41556a; margin:0; }
.career-dates dd { font-size:1rem; font-weight:700; color:#153c64; margin:0; }
.career-apply-link { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:42px; padding:8px 18px; }
.career-apply-guidance { font-size:.875rem; margin:0; color:#52667b; }
.career-document-section, .career-corrigenda { scroll-margin-top:100px; }
.career-portal .career-document-section h2, .career-portal .career-corrigenda h2 { font-size:1.125rem !important; line-height:1.4; font-weight:700; color:#18334f; margin:0 0 12px; padding:0; }
.career-document-section h2 i { margin-right:7px; color:var(--career-brand); }
.career-corrigenda { margin-top:18px; padding-top:16px; border-top:1px solid #97aabe; }
.career-corrigenda .career-section-heading { margin-bottom:14px; }
.career-corrigenda .career-section-heading h2 { margin:0; }
.career-corrigenda h2 i { color:#8a5b13; margin-right:5px; }
.career-portal .career-rep-details { color:var(--career-brand); font-size:1rem; font-weight:600; }
.career-notice { padding:14px; border:1px solid #cfb887; border-radius:4px; background:#fffaf0; scroll-margin-top:100px; }
.career-notice + .career-notice { margin-top:12px; }
.career-notice-heading { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:10px; margin-bottom:10px; }
.career-portal .career-legacy-title { font-size:1.125rem !important; font-weight:700; margin:0 0 16px; color:#18334f; }
.career-notice-heading > div { display:flex; align-items:baseline; flex-wrap:wrap; gap:6px 12px; flex:1 1 300px; min-width:0; }
.career-portal .career-notice-heading h3 { margin:0; padding:0; font-size:1.0625rem !important; font-weight:600; line-height:1.5; color:#18334f; overflow-wrap:anywhere; }
.career-notice-date { display:inline-flex; align-items:baseline; flex-wrap:wrap; max-width:100%; gap:6px; padding:4px 7px; color:#673b03; background:#fff0c2; border:1px solid #b48a3a; border-radius:3px; font-size:.9375rem; }
.career-notice-date time { font-size:1rem; font-weight:700; white-space:nowrap; }
.career-change-summary { font-size:1rem; color:#41556a; margin:0 0 10px; padding-bottom:10px; border-bottom:1px solid #d8bc87; }
.career-candidate-note { margin:0 0 10px; color:#41556a; font-size:1rem; white-space:pre-line; }
.career-portal .career-document-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:0; padding:0; list-style:none; }
.career-portal .career-document-list > li { min-width:0; border:1px solid var(--career-line); border-radius:4px; padding:10px 12px !important; background:#fff; }
.career-document-list .me-auto { min-width:0; }
.career-document-list .fw-semibold { color:#18334f; font-size:1rem; line-height:1.6; overflow-wrap:anywhere; }
.career-portal .career-document-list .text-muted { color:#52667b !important; }
.career-document-list .small { font-size:1rem; }
.career-portal .career-secondary-action, .career-portal .career-primary-action { display:inline-flex; align-items:center; justify-content:center; min-height:38px; gap:6px; padding:7px 11px !important; font-size:.9375rem; }
.career-portal .career-secondary-action { color:#183d66; background:#edf3fa; border:1px solid #73869a; }
.career-portal .career-secondary-action:hover { color:#143e6b; background:#dfeaf6; }
.career-portal .career-primary-action { color:#fff; background:var(--career-brand); border:1px solid var(--career-brand); }
.career-portal .career-primary-action:hover { background:#003f80; }
.career-empty { padding:24px 12px; text-align:center; }
.career-empty h3 { font-size:1.1rem !important; margin:10px 0; }
.career-empty p { margin-bottom:12px; }
.career-pagination { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:16px; padding-top:24px; }
.career-portal :focus-visible { outline:3px solid #0d6efd; outline-offset:3px; }
.career-toolbar .form-control::placeholder { color:#52677c; opacity:1; }
.career-portal .btn { font-size:.9375rem; min-height:38px; }
.career-portal .career-rep-details { text-decoration:underline; text-underline-offset:3px; }
.career-document-info { flex:1 1 220px; }
.career-file-icon { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; width:22px; height:26px; color:#9a291c; background:#fff0ec; border-radius:3px; font-size:1.125rem; }
.career-file-type { display:inline-block; padding:1px 5px; color:#183d66; background:#e6eef8; border-radius:3px; font-size:.9375rem; font-weight:700; }
.career-file-size { margin-left:5px; color:#41556a; font-size:1rem; }
.career-preview-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; padding-bottom:14px; border-bottom:1px solid #97aabe; }
.career-preview-heading > div { flex:1 1 260px; min-width:0; }
.career-preview-heading h1 { margin:6px 0 0; font-size:1.375rem; font-weight:600; line-height:1.5; color:#18334f; overflow-wrap:anywhere; }
.career-preview-launch { margin-top:16px; }
.career-preview-meta { margin-bottom:12px; }
.career-preview-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.career-preview-actions .btn { max-width:100%; white-space:normal; text-align:center; }
.career-advert-overview .btn, .career-portal .career-correction-link { max-width:100%; white-space:normal; }
.career-document-list > li:only-child { grid-column:1 / -1; }
.career-preview-embed { height:75vh; min-height:400px; border:1px solid #819bb7; background:#f4f7fb; }
.career-preview-embed iframe { display:block; width:100%; height:100%; border:0; }
@media (max-width:991.98px) {
  .career-page #backToTop { width:44px; height:44px; right:4px; bottom:12px; }
  .career-page .footer > .container > .row { margin-left:0; margin-right:0; }
  .career-page .modern-search-wrapper { min-width:0; flex-basis:0; }
  .career-page .modern-search-container, .career-page .modern-search-form, .career-page .modern-search-input-wrapper { min-width:0; max-width:100%; width:100%; }
  .career-page .modern-search-input { min-width:0; width:100%; }
  .career-page .kingster-top-bar-right { flex-shrink:0; gap:4px !important; padding-left:4px; padding-right:0; }
  .career-portal { padding:22px 14px 28px; }
  .career-page-heading .custom-heading { font-size:1.4rem; }
  .career-search, .career-filter { flex-basis:100%; }
  .career-toolbar .form-control, .career-toolbar .form-select { font-size:1rem; }
  .career-toolbar-navigation { margin-left:0; }
  .career-portal .career-update-link { grid-template-columns:minmax(0,1fr) auto; gap:4px 12px; padding:10px 0; overflow-wrap:anywhere; }
  .career-update-date { grid-column:2; grid-row:1; text-align:right; }
  .career-update-link > strong { grid-column:1; grid-row:1; }
  .career-update-link > span:nth-child(3), .career-update-action { grid-column:1 / -1; }
  .career-advert-summary { grid-template-columns:minmax(0,1fr) 16px; gap:10px; padding:14px; }
  .career-advert-identity { grid-column:1; }
  .career-advert-status { grid-column:1; grid-row:2; flex-wrap:wrap; }
  .career-advert-chevron { grid-column:2; grid-row:1 / 3; }
  .career-portal .career-document-list { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:575.98px) {
  .career-toolbar { padding:12px; }
  .career-portal .btn, .career-portal .career-correction-link { min-height:44px; }
  .career-closing { min-height:44px; }
  .career-preview-embed { min-height:360px; }
  .career-advert-summary { grid-template-columns:minmax(0,1fr) 16px; gap:12px; }
  .career-advert-identity { grid-column:1; }
  .career-advert-status { grid-column:1; grid-row:2; align-items:flex-start; }
  .career-advert-status, .career-closing { max-width:100%; }
  .career-closing { white-space:normal; }
  .career-advert-chevron { grid-column:2; grid-row:1 / 3; }
  .career-advert-body { padding:16px; }
  .career-notice { padding:12px; }
  .career-notice-heading { flex-wrap:wrap; gap:8px; }
  .career-dates { width:100%; gap:10px; }
  .career-dates > div { min-width:0; }
  .career-document-list [role="group"] { width:100%; }
  .career-document-list [role="group"] .btn { flex:1; }
}
@media (prefers-reduced-motion:reduce) {
  .career-portal * { transition:none !important; scroll-behavior:auto !important; }
}
