/* Work listings and detail: scoped to this section, preserving the portal theme. */
.jobs-page, .jobs-detail-page { --jobs-ink: #102b49; --jobs-muted: #52677d; --jobs-line: #dbe5ee; --jobs-blue: #075fae; }
.jobs-page a:focus-visible, .jobs-detail-page a:focus-visible, .jobs-page button:focus-visible, .jobs-page summary:focus-visible { outline: 3px solid #2377c2; outline-offset: 4px; }
.jobs-hero .motion-hero__inner { min-height: 210px; padding-block: 36px; }
.jobs-hero .motion-hero__copy { max-width: 730px; }
.jobs-hero .motion-hero__copy h1 { font-size: clamp(32px, 3.3vw, 48px); line-height: 1.12; letter-spacing: -.035em; }
.jobs-hero .motion-hero__copy p { max-width: 650px; font-size: 16px; }
.jobs-hero__actions { display: grid; gap: 12px; flex: 0 0 auto; justify-items: start; }
.jobs-hero__actions .btn { gap: 14px; white-space: normal; }
.jobs-hero__hint { color: #e2ebf7; font-size: 13px; }
.jobs-tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 6px; margin-bottom: 28px; width: fit-content; max-width: 100%; background: #e9f0f7; border: 1px solid #dce6f0; border-radius: 14px; }
.jobs-tabs a { display: flex; align-items: center; gap: 10px; padding: 12px 18px; color: var(--jobs-muted); text-decoration: none; font-weight: 750; border-radius: 9px; }
.jobs-tabs a.is-active { color: var(--jobs-ink); background: #fff; box-shadow: 0 2px 8px #14345412; }
.jobs-tabs a:hover { color: var(--jobs-blue); }
.jobs-tabs__private { font-size: 10px; font-weight: 750; padding: 3px 7px; background: #dce7f1; color: #304e6b; border-radius: 5px; }
.jobs-directory { display: grid; grid-template-columns: minmax(240px, 280px) minmax(0, 1fr); gap: 28px; align-items: start; }
.jobs-directory--empty { grid-template-columns: minmax(0, 1fr); }
.jobs-sidebar { min-width: 0; position: sticky; top: calc(var(--portal-header-height, 90px) + 20px); }
.jobs-filter { box-shadow: 0 7px 24px #12345307; }
.jobs-filter__summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; list-style: none; color: var(--jobs-ink); font-size: 17px; font-weight: 800; cursor: pointer; }
.jobs-filter__summary::-webkit-details-marker { display: none; }
.jobs-filter[open] > summary { border-bottom: 1px solid var(--jobs-line); }
.jobs-filter__toggle { font-size: 24px; line-height: 1; font-weight: 400; }
.jobs-filter[open] .jobs-filter__toggle { transform: rotate(45deg); }
.jobs-filter .filter-stack { padding: 22px; }
.jobs-filter .field { min-width: 0; }
.jobs-filter label { color: #344c65; font-size: 13px; font-weight: 750; }
.jobs-filter .input, .jobs-filter select { width: 100%; min-width: 0; }
.jobs-filter__help { margin: 0; font-size: 12px; line-height: 1.55; color: var(--jobs-muted); }
.jobs-filter .jobs-filter__reset { min-height: 42px; font-size: 13px; padding-inline: 12px; }
.jobs-results { min-width: 0; }
.jobs-results__heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin: 0 0 20px; }
.jobs-results__heading h2 { margin: 0; color: var(--jobs-ink); font-size: clamp(21px, 2vw, 27px); line-height: 1.25; letter-spacing: -.025em; }
.jobs-results__heading p { margin: 7px 0 0; color: var(--jobs-muted); font-size: 13px; }
.jobs-private-label { flex: 0 0 auto; padding: 6px 10px; border: 1px solid #d6e2ef; border-radius: 7px; color: #49617c; font-size: 11px; font-weight: 700; }
.jobs-list { display: grid; gap: 16px; }
.jobs-card { display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-areas: "visual main"; align-items: start; gap: 20px; padding: 25px; border: 1px solid var(--jobs-line); border-radius: 18px; background: #fff; box-shadow: 0 7px 22px #12345306; min-width: 0; position: relative; }
.jobs-card::before { display: none; }
.jobs-card:hover { border-color: #a9c9e4; box-shadow: 0 10px 28px #1234530c; }
.jobs-card__visual { grid-area: visual; width: 72px; height: 72px; border: 1px solid #e1eaf2; border-radius: 15px; background: #f3f7fb; color: #7590aa; display: grid; place-items: center; overflow: hidden; position: relative; flex: 0 0 auto; }
.jobs-card__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8px; background: #fff; }
.jobs-card--seeker .jobs-card__visual img { object-fit: cover; padding: 0; }
.jobs-card__visual .job-card__avatar { width: 100%; height: 100%; margin: 0; border: 0; border-radius: inherit; }
.jobs-logo-placeholder { width: 39px; height: 39px; }
.jobs-card__main { grid-area: main; min-width: 0; }
.jobs-card__cover { grid-area: cover; width: 100%; min-width: 0; aspect-ratio: 4 / 3; align-self: start; display: grid; place-items: center; overflow: hidden; position: relative; border: 1px solid #e1e9f1; border-radius: 13px; background: #fff; box-shadow: 0 5px 18px #1538590a; }
.jobs-card__cover img { display: block; position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); max-width: none; object-fit: contain; padding: 0; background: #fff; }
.jobs-card__eyebrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--jobs-muted); font-size: 11px; font-weight: 750; }
.jobs-card__eyebrow > span:first-child { letter-spacing: .04em; text-transform: uppercase; }
.jobs-card h3 { margin: 7px 0; color: var(--jobs-ink); font-size: 22px; line-height: 1.3; letter-spacing: -.025em; overflow-wrap: anywhere; }
.jobs-card h3 a { text-decoration: none; }
.jobs-card h3 a:hover { color: var(--jobs-blue); text-decoration: underline; text-underline-offset: 4px; }
.jobs-card__employer { margin: 0; color: var(--jobs-muted); font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.jobs-card__facts { display: flex; flex-wrap: wrap; gap: 7px 15px; margin-top: 15px; color: #3d536a; font-size: 13px; }
.jobs-card__facts strong { color: #075c46; font-weight: 800; }
.jobs-benefits { display: flex; flex-wrap: wrap; list-style: none; gap: 7px; padding: 0; margin: 14px 0 0; }
.jobs-benefits li { padding: 5px 9px; border-radius: 6px; background: #eef5fa; color: #385771; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; max-width: 100%; }
.jobs-card__summary { margin: 14px 0 0; color: #52677d; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.jobs-card__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid #edf1f5; padding-top: 16px; margin-top: 18px; }
.jobs-card__dates { display: grid; gap: 4px; color: var(--jobs-muted); font-size: 11px; }
.jobs-card .jobs-card__action { min-height: 42px; padding: 10px 15px; font-size: 13px; gap: 14px; box-shadow: none; }
.jobs-new { display: inline-flex; align-items: center; flex: 0 0 auto; padding: 4px 9px; border: 1px solid #b6e5cf; border-radius: 6px; background: #e8f6ef; color: #096441; font-size: 11px; font-weight: 800; line-height: 1.3; }
.jobs-filter-notice { margin: 0 0 16px; padding: 14px 17px; border: 1px solid #c7def1; border-radius: 12px; background: #ecf5fc; color: #315777; font-size: 13px; line-height: 1.55; }
.jobs-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(32px, 6vw, 72px) 24px; border: 1px solid var(--jobs-line); border-radius: 20px; background: #fff; color: var(--jobs-ink); }
.jobs-empty__symbol { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 23px; background: #eff5fa; border: 1px solid #dbe8f3; border-radius: 18px; color: #266a9b; font-size: 32px; font-weight: 300; }
.jobs-empty h3 { max-width: 590px; margin: 0 0 12px; font-size: clamp(21px, 2.2vw, 28px); line-height: 1.3; letter-spacing: -.025em; }
.jobs-empty p { max-width: 620px; margin: 0; color: var(--jobs-muted); line-height: 1.75; font-size: 15px; }
.jobs-empty .btn { margin-top: 26px; }
.jobs-detail-page { width: calc(100% - 32px); max-width: 1120px; margin: 24px auto 0; padding-bottom: 48px; color: var(--jobs-ink); }
.jobs-breadcrumb { margin-bottom: 21px; }
.jobs-breadcrumb a { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; text-decoration: none; color: #345f83; font-size: 13px; font-weight: 700; }
.jobs-breadcrumb a:hover { text-decoration: underline; }
.jobs-detail { border: 1px solid var(--jobs-line); border-radius: 22px; background: #fff; box-shadow: 0 18px 48px #15385909; overflow: hidden; }
.jobs-detail__header { padding: clamp(24px, 4vw, 44px); background: linear-gradient(140deg, #fff 35%, #f4f8fc); border-bottom: 1px solid #e3ebf3; }
.jobs-detail__identity { display: flex; align-items: center; gap: 18px; }
.jobs-card__visual--large { width: 78px; height: 78px; }
.jobs-detail__employer { margin: 0 0 6px; color: #233e59; font-size: 17px; font-weight: 750; overflow-wrap: anywhere; }
.jobs-member-label { display: inline-block; padding: 4px 8px; border: 1px solid #cfe4db; border-radius: 5px; color: #16694e; background: #f0f8f4; font-size: 11px; font-weight: 750; }
.jobs-detail__title-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 28px; }
.jobs-detail__title-row > div { min-width: 0; }
.jobs-detail__category { margin: 0 0 7px; color: #53708a; font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.jobs-detail h1 { margin: 0; color: #102b49; font-size: clamp(27px, 3.8vw, 42px); line-height: 1.16; letter-spacing: -.04em; overflow-wrap: anywhere; }
.jobs-detail__title-row .jobs-new { margin-top: 12px; }
.jobs-detail__top-apply { flex: 0 0 auto; gap: 15px; }
.jobs-detail__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 30px 0 0; }
.jobs-detail__facts > div { padding: 14px 16px; border: 1px solid #dfe8f0; border-radius: 10px; background: #ffffffc9; min-width: 0; }
.jobs-detail__facts dt { color: #5c7389; font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 7px; }
.jobs-detail__facts dd { margin: 0; color: #193650; font-weight: 700; line-height: 1.5; font-size: 14px; overflow-wrap: anywhere; }
.jobs-detail__facts .jobs-detail__salary { color: #0a664c; }
.jobs-detail__facts .jobs-detail__salary-note { margin-top: 6px; color: var(--jobs-muted); font-size: 12px; font-weight: 400; white-space: pre-line; }
.jobs-benefits--detail { margin-top: 20px; }
.jobs-benefits--detail li { background: #eaf3fa; }
.jobs-detail__body { padding: clamp(24px, 4vw, 44px); }
.jobs-detail__section { margin: 0 0 32px; }
.jobs-detail__section h2, .jobs-apply h2 { margin: 0 0 13px; color: #163b5c; font-size: 21px; line-height: 1.3; letter-spacing: -.02em; }
.jobs-richtext { color: #3f566d; font-size: 15px; line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; }
.jobs-detail .requirement-grid { gap: 14px; }
.jobs-detail .requirement-grid > div { background: #f7f9fc; border: 1px solid #e3ebf2; color: #3f566d; }
.jobs-detail__content { min-width: 0; }
.jobs-detail__content--with-graphic { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .78fr); gap: 36px; align-items: start; }
.jobs-detail__copy { min-width: 0; grid-row: 1; grid-column: 1; }
.jobs-detail__cover { grid-row: 1; grid-column: 2; margin: 0 0 32px; padding: 10px; min-width: 0; border: 1px solid #e1e9f1; border-radius: 14px; background: #f7f9fc; overflow: hidden; box-shadow: 0 8px 28px #1538590b; }
.jobs-detail__cover img { display: block; width: 100%; height: auto; max-height: 640px; object-fit: contain; border-radius: 6px; }
.jobs-detail__content--with-graphic:not(:has(> .jobs-detail__cover:not([hidden]))) { display: block; }
.jobs-detail__cover[hidden], [data-jobs-optional-visual][hidden], [data-jobs-image][hidden] { display: none !important; }
.jobs-document-list { padding-left: 22px; margin: 0; line-height: 1.8; color: #3f566d; }
.jobs-apply { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: 35px 0 28px; padding: 25px; background: #edf5fc; border: 1px solid #d0e2f1; border-radius: 14px; }
.jobs-apply h2 { margin-bottom: 8px; }
.jobs-apply p { margin: 0; color: #44647e; font-size: 13px; line-height: 1.65; }
.jobs-apply .btn { flex: 0 0 auto; gap: 14px; }
.jobs-detail__footer { border-top: 1px solid #e7edf3; padding-top: 22px; display: grid; gap: 18px; }
.jobs-detail__dates, .jobs-detail__links { display: flex; flex-wrap: wrap; gap: 8px 22px; color: #5c7187; font-size: 12px; }
.jobs-detail__links a { color: #245e8f; text-underline-offset: 4px; }
.jobs-expired { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 22px 25px; margin-bottom: 22px; border: 1px solid #e4cf9c; border-radius: 15px; background: #fff8e9; color: #6b511e; }
.jobs-expired h2 { margin: 0 0 8px; font-size: 19px; }
.jobs-expired p { margin: 0; font-size: 13px; line-height: 1.6; }
.jobs-expired .btn { flex: 0 0 auto; }
.jobs-mobile-apply { display: none; }
.jobs-member-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 20px; padding: 18px 22px; border: 1px solid #dbe6ef; border-radius: 15px; background: #f6fafe; }
.jobs-member-actions > strong { margin-right: auto; color: #294a69; font-size: 14px; }
.jobs-member-empty { display: grid; justify-items: start; gap: 12px; }
.jobs-member-empty p { margin: 0; }
@media (min-width: 861px) { .jobs-filter__summary { cursor: default; } .jobs-filter__toggle { display: none; } }
@media (max-width: 1100px) { .jobs-hero .motion-hero__inner { align-items: start; } .jobs-detail__title-row { align-items: start; flex-direction: column; } }
@media (max-width: 860px) {
  .jobs-detail__content--with-graphic { display: flex; flex-direction: column; gap: 0; }
  .jobs-detail__copy { width: 100%; }
  .jobs-detail__cover { width: 100%; max-width: 480px; align-self: center; }
  .jobs-detail__cover img { max-height: 480px; }
  .jobs-hero .motion-hero__inner { display: flex; flex-direction: column; gap: 25px; padding-block: 30px; }
  .jobs-hero .motion-hero__copy h1 { font-size: clamp(31px, 6vw, 43px); }
  .jobs-hero .motion-hero__copy p { font-size: 15px; }
  .jobs-directory { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .jobs-sidebar { position: static; }
  .jobs-filter__summary { min-height: 58px; padding: 16px 19px; }
  .jobs-filter .filter-stack { padding: 20px; }
  .jobs-results__heading { flex-wrap: wrap; }
  .jobs-detail-page--active { padding-bottom: 110px; }
  .jobs-mobile-apply { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: 12px max(18px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)); background: #ffffffed; border-top: 1px solid #d5e3ee; box-shadow: 0 -5px 20px #1634500d; }
  .jobs-mobile-apply .btn { display: flex; width: 100%; justify-content: center; min-height: 48px; gap: 15px; }
  .jobs-expired { align-items: start; flex-direction: column; }
}
.jobs-card--offer:not(:has(> .jobs-card__visual:not([hidden]))) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main"; }
.jobs-card--offer:has(> .jobs-card__cover:not([hidden])) { grid-template-columns: 72px minmax(0, 1fr) minmax(160px, 210px); grid-template-areas: "visual main cover"; }
.jobs-card--offer:has(> .jobs-card__cover:not([hidden])):not(:has(> .jobs-card__visual:not([hidden]))) { grid-template-columns: minmax(0, 1fr) minmax(160px, 210px); grid-template-areas: "main cover"; }
@media (max-width: 580px) {
  .jobs-directory-band { padding-block: 24px 34px; }
  .jobs-tabs { width: 100%; gap: 5px; padding: 5px; }
  .jobs-tabs a { flex: 1 1 auto; justify-content: center; padding: 10px 9px; font-size: 12px; gap: 5px; }
  .jobs-tabs__private { display: none; }
  .jobs-card { grid-template-columns: 48px minmax(0, 1fr); grid-template-areas: "visual main"; gap: 12px; padding: 18px 16px; border-radius: 14px; }
  .jobs-card--offer:not(:has(> .jobs-card__visual:not([hidden]))) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main"; }
  .jobs-card--offer:has(> .jobs-card__cover:not([hidden])) { grid-template-columns: 48px minmax(0, 1fr); grid-template-areas: "cover cover" "visual main"; }
  .jobs-card--offer:has(> .jobs-card__cover:not([hidden])):not(:has(> .jobs-card__visual:not([hidden]))) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "cover" "main"; }
  .jobs-card__cover { max-height: 230px; }
  .jobs-card__visual { width: 48px; height: 48px; border-radius: 10px; }
  .jobs-logo-placeholder { width: 29px; height: 29px; }
  .jobs-card h3 { font-size: 19px; }
  .jobs-card__eyebrow { font-size: 10px; align-items: start; }
  .jobs-card__employer { font-size: 12px; }
  .jobs-card__facts { font-size: 12px; margin-top: 12px; }
  .jobs-card__summary { font-size: 12px; }
  .jobs-card__footer { align-items: start; flex-direction: column; }
  .jobs-card .jobs-card__action { width: 100%; justify-content: space-between; }
  .jobs-card__dates { font-size: 10px; }
  .jobs-benefits li { font-size: 11px; }
  .jobs-empty { padding: 34px 21px; }
  .jobs-empty p { font-size: 14px; }
  .jobs-detail { border-radius: 17px; }
  .jobs-detail__header, .jobs-detail__body { padding: 24px 20px; }
  .jobs-card__visual--large { width: 60px; height: 60px; }
  .jobs-detail__identity { gap: 14px; }
  .jobs-detail__employer { font-size: 15px; }
  .jobs-detail__title-row { gap: 20px; margin-top: 23px; }
  .jobs-detail__facts { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 24px; }
  .jobs-detail__facts > div { padding: 12px 14px; }
  .jobs-detail__top-apply { width: 100%; justify-content: center; }
  .jobs-richtext { font-size: 14px; }
  .jobs-detail__section h2, .jobs-apply h2 { font-size: 19px; }
  .jobs-apply { flex-direction: column; align-items: stretch; padding: 20px; gap: 18px; }
  .jobs-apply .btn { justify-content: center; }
  .jobs-member-actions { align-items: stretch; flex-direction: column; padding: 18px; }
  .jobs-member-actions > strong { margin-right: 0; }
}
@media (prefers-reduced-motion: reduce) { .jobs-page *, .jobs-detail-page * { scroll-behavior: auto; transition: none; } }
.data-row--job > div { min-width: 0; }
.data-row--job .data-row__actions { max-width: 65%; }
@media (max-width: 700px) {
  .member-jobs-panel .panel__head--actions { flex-direction: column; align-items: stretch; }
  .data-row.data-row--job { display: flex; flex-direction: column; align-items: stretch; }
  .data-row--job .data-row__actions { max-width: 100%; justify-content: flex-start; }
}
