:root {
    --jobs-navy: #101c3a;
    --jobs-blue: #2b59ce;
    --jobs-blue-dark: #1947b5;
    --jobs-sky: #eaf2ff;
    --jobs-ink: #17213a;
    --jobs-muted: #657089;
    --jobs-line: #dfe6f2;
    --jobs-bg: #f6f8fc;
    --jobs-green: #16865d;
}

.jobs-page { background: var(--jobs-bg); color: var(--jobs-ink); }
.jobs-page .section-space { padding: 76px 0; }
.jobs-hero { position: relative; overflow: hidden; padding: 88px 0 76px; background: linear-gradient(125deg, #0d1833 0%, #18336c 58%, #2b59ce 100%); color: #fff; }
.jobs-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -130px; top: -230px; border: 90px solid rgba(255,255,255,.06); border-radius: 50%; }
.jobs-hero::after { content: ""; position: absolute; width: 260px; height: 260px; left: -120px; bottom: -160px; border-radius: 50%; background: rgba(255,255,255,.05); }
.jobs-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: center; gap: 60px; }
.jobs-eyebrow, .jobs-kicker { display: inline-flex; align-items: center; gap: 9px; color: #8fb1ff; font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.jobs-hero h1 { max-width: 780px; margin: 16px 0 18px; color: #fff; font-size: clamp(38px, 5vw, 64px); line-height: 1.08; letter-spacing: -.035em; }
.jobs-hero__copy > p { max-width: 750px; margin: 0; color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.75; }
.jobs-hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; }
.jobs-hero__trust span { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.92); font-size: 14px; font-weight: 650; }
.jobs-hero__trust i { color: #9dbaff; }
.jobs-hero__panel { display: flex; min-height: 220px; flex-direction: column; align-items: center; justify-content: center; padding: 28px; border: 1px solid rgba(255,255,255,.18); border-radius: 24px; background: rgba(255,255,255,.1); box-shadow: 0 24px 54px rgba(0,0,0,.18); text-align: center; backdrop-filter: blur(8px); }
.jobs-hero__panel strong { color: #fff; font-size: 58px; line-height: 1; }
.jobs-hero__panel span { margin: 8px 0 22px; color: rgba(255,255,255,.72); }
.jobs-hero__panel a { color: #fff; font-size: 14px; font-weight: 750; }
.jobs-hero__panel a i { margin-left: 6px; }
.jobs-hero__actions { display: grid; width: 100%; gap: 8px; margin-top: 18px; }
.jobs-hero__actions .jobs-staff-action { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 7px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.24); border-radius: 9px; line-height: 1.3; text-align: center; }
.jobs-hero__actions .jobs-staff-action i { margin: 0; }
.jobs-hero__actions .jobs-staff-action--primary { border-color: #fff; background: #fff; color: var(--jobs-blue); }
.jobs-hero__actions .jobs-staff-action--secondary { background: rgba(255,255,255,.08); color: #fff; }

.jobs-breadcrumb { border-bottom: 1px solid var(--jobs-line); background: #fff; }
.jobs-breadcrumb .container { display: flex; min-height: 54px; align-items: center; gap: 10px; overflow: hidden; white-space: nowrap; }
.jobs-breadcrumb a, .jobs-breadcrumb span { color: var(--jobs-muted); font-size: 13px; }
.jobs-breadcrumb a:hover { color: var(--jobs-blue); }
.jobs-breadcrumb i { color: #adb7c9; font-size: 9px; }
.jobs-breadcrumb span { overflow: hidden; text-overflow: ellipsis; }

.job-categories { background: #fff; }
.jobs-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.jobs-section-heading h2 { margin: 8px 0 0; color: var(--jobs-navy); font-size: clamp(29px, 3.2vw, 42px); line-height: 1.15; letter-spacing: -.025em; }
.jobs-section-heading > p { max-width: 410px; margin: 0; color: var(--jobs-muted); line-height: 1.65; }
.jobs-kicker { color: var(--jobs-blue); }
.job-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.job-category { display: grid; grid-template-columns: 54px minmax(0,1fr) auto; align-items: center; gap: 15px; min-height: 100px; padding: 20px; border: 1px solid var(--jobs-line); border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(16,28,58,.05); transition: .22s ease; }
.job-category:hover { border-color: #b8cafa; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(36,72,160,.12); }
.job-category__icon { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 14px; background: var(--jobs-sky); color: var(--jobs-blue); font-size: 21px; }
.job-category strong, .job-category small { display: block; }
.job-category strong { color: var(--jobs-ink); font-size: 16px; }
.job-category small { margin-top: 5px; color: var(--jobs-muted); font-size: 12px; }
.job-category__arrow { color: #9ba9c2; font-size: 13px; }

.jobs-listing { background: var(--jobs-bg); }
.jobs-section-heading--compact { margin-bottom: 26px; }
.job-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto auto; align-items: end; gap: 14px; margin-bottom: 30px; padding: 20px; border: 1px solid var(--jobs-line); border-radius: 16px; background: #fff; box-shadow: 0 8px 26px rgba(16,28,58,.05); }
.job-filters label span { display: block; margin: 0 0 8px; color: var(--jobs-ink); font-size: 12px; font-weight: 750; }
.job-filters select { width: 100%; height: 48px; padding: 0 40px 0 14px; border: 1px solid #d8e0ed; border-radius: 9px; background-color: #fff; color: var(--jobs-ink); font-size: 14px; }
.job-filters button { height: 48px; padding: 0 22px; border: 0; border-radius: 9px; background: var(--jobs-blue); color: #fff; font-weight: 750; }
.job-filters button:hover { background: var(--jobs-blue-dark); }
.job-filters__clear { padding: 14px 4px; color: var(--jobs-muted); font-size: 13px; font-weight: 700; text-decoration: underline; }
.job-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.job-card { display: flex; min-width: 0; flex-direction: column; padding: 24px; border: 1px solid var(--jobs-line); border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(16,28,58,.05); transition: .22s ease; }
.job-card:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(16,28,58,.1); }
.job-card__topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.job-card__category, .job-card__sample, .job-detail-hero__badges span { display: inline-flex; width: fit-content; padding: 6px 10px; border-radius: 999px; background: var(--jobs-sky); color: var(--jobs-blue); font-size: 11px; font-weight: 800; letter-spacing: .025em; text-transform: uppercase; }
.job-card__sample, .job-detail-hero__badges .sample { background: #fff2d8; color: #8f5a00; }
.job-card__title { margin: 18px 0 10px; font-size: 21px; line-height: 1.35; }
.job-card__title a { color: var(--jobs-navy); }
.job-card__summary { min-height: 74px; margin: 0 0 18px; color: var(--jobs-muted); font-size: 14px; line-height: 1.65; }
.job-card__facts { display: grid; gap: 10px; margin: 0; padding: 16px 0; border-top: 1px solid #edf0f6; border-bottom: 1px solid #edf0f6; list-style: none; }
.job-card__facts li { display: flex; align-items: center; gap: 10px; color: #4b5670; font-size: 13px; }
.job-card__facts i { width: 15px; color: var(--jobs-blue); text-align: center; }
.job-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.job-card__footer span { color: #8a94a8; font-size: 11px; }
.job-card__footer a { color: var(--jobs-blue); font-size: 13px; font-weight: 800; }
.job-card__footer a i { margin-left: 5px; }
.jobs-empty { padding: 64px 24px; border: 1px dashed #c7d1e3; border-radius: 18px; background: #fff; text-align: center; }
.jobs-empty > span { display: grid; width: 68px; height: 68px; margin: 0 auto 18px; place-items: center; border-radius: 50%; background: var(--jobs-sky); color: var(--jobs-blue); font-size: 26px; }
.jobs-empty h3 { margin: 0 0 8px; color: var(--jobs-navy); }
.jobs-empty p { margin: 0 0 20px; color: var(--jobs-muted); }
.jobs-empty a { display: inline-flex; align-items: center; gap: 8px; color: var(--jobs-green); font-weight: 750; }
.job-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 34px; }
.job-pagination a { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--jobs-line); border-radius: 9px; background: #fff; color: var(--jobs-navy); font-weight: 700; }
.job-pagination a[aria-current="page"] { border-color: var(--jobs-blue); background: var(--jobs-blue); color: #fff; }

.jobs-application-cta { padding: 64px 0; background: #fff; }
.jobs-application-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; padding: 38px 42px; border-radius: 22px; background: var(--jobs-navy); color: #fff; }
.jobs-application-cta h2 { margin: 7px 0 8px; color: #fff; font-size: 30px; }
.jobs-application-cta p { max-width: 700px; margin: 0; color: rgba(255,255,255,.7); }
.jobs-application-cta__actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 10px; }
.jobs-application-cta__actions a, .job-apply-button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 9px; padding: 15px 22px; border-radius: 9px; background: var(--jobs-blue); color: #fff; font-weight: 800; }
.jobs-application-cta__actions a:last-child { border: 1px solid rgba(255,255,255,.35); background: transparent; }

.jobs-breadcrumb--detail { border-top: 1px solid rgba(255,255,255,.08); }
.job-detail-hero { padding: 72px 0; background: linear-gradient(130deg, #101c3a 0%, #1c3d82 100%); color: #fff; }
.job-detail-hero__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.job-detail-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.job-detail-hero h1 { max-width: 800px; margin: 18px 0 12px; color: #fff; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.12; }
.job-detail-hero p { max-width: 800px; margin: 0; color: rgba(255,255,255,.76); font-size: 17px; line-height: 1.65; }
.job-detail-hero ul { display: flex; flex-wrap: wrap; gap: 14px 24px; margin: 24px 0 0; padding: 0; list-style: none; }
.job-detail-hero li { display: flex; gap: 8px; align-items: center; color: rgba(255,255,255,.92); font-size: 14px; }
.job-detail-hero li i { color: #9dbaff; }
.job-apply-button { background: #fff; color: var(--jobs-blue); }
.job-detail { background: var(--jobs-bg); }
.job-detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; align-items: start; gap: 30px; }
.job-detail__content, .job-summary-card, .job-channel-card { border: 1px solid var(--jobs-line); border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(16,28,58,.05); }
.job-detail__content { padding: 34px; }
.job-detail__content section + section { margin-top: 32px; padding-top: 30px; border-top: 1px solid #edf0f6; }
.job-detail__content h2, .job-summary-card h2, .job-channel-card h2 { margin: 0 0 14px; color: var(--jobs-navy); font-size: 23px; }
.job-detail__content p, .job-detail__lines { color: #58647c; line-height: 1.8; }
.job-detail__notice { display: flex; gap: 15px; margin-top: 34px; padding: 20px; border-radius: 13px; background: #eef7f3; color: #245c49; }
.job-detail__notice > i { padding-top: 3px; font-size: 23px; }
.job-detail__notice strong { display: block; margin-bottom: 4px; }
.job-detail__notice p { margin: 0; color: #417260; font-size: 13px; line-height: 1.6; }
.job-detail__sidebar { display: grid; gap: 20px; }
.job-summary-card, .job-channel-card { padding: 26px; }
.job-summary-card dl { margin: 0; }
.job-summary-card dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid #edf0f6; }
.job-summary-card dt { color: var(--jobs-muted); font-size: 13px; font-weight: 500; }
.job-summary-card dd { margin: 0; color: var(--jobs-ink); font-size: 13px; font-weight: 750; text-align: right; }
.job-summary-card > a { display: block; margin-top: 22px; padding: 13px; border-radius: 8px; background: var(--jobs-blue); color: #fff; font-weight: 800; text-align: center; }
.job-channel-card { background: #ebf9f2; }
.job-channel-card > i { color: #20a66a; font-size: 33px; }
.job-channel-card h2 { margin-top: 14px; }
.job-channel-card p { color: #4f6e61; font-size: 13px; line-height: 1.65; }
.job-channel-card a { color: #137850; font-weight: 800; }

@media (max-width: 1199px) {
    .jobs-page main { padding-top: 76px; }
}

@media (max-width: 991px) {
    .jobs-hero__inner { grid-template-columns: 1fr 190px; gap: 28px; }
    .job-category-grid, .job-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .job-filters { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .job-detail__grid { grid-template-columns: 1fr 300px; }
}

@media (max-width: 767px) {
    .jobs-page .section-space { padding: 52px 0; }
    .jobs-hero { padding: 58px 0 50px; }
    .jobs-hero__inner, .job-detail__grid { grid-template-columns: 1fr; }
    .jobs-hero__panel { min-height: auto; align-items: flex-start; padding: 22px; text-align: left; }
    .jobs-hero__panel strong { font-size: 42px; }
    .jobs-hero__panel span { margin: 5px 0 12px; }
    .jobs-section-heading, .job-detail-hero__inner, .jobs-application-cta__inner { align-items: flex-start; flex-direction: column; }
    .job-category-grid, .job-grid, .job-filters { grid-template-columns: 1fr; }
    .job-card__summary { min-height: auto; }
    .jobs-application-cta__inner { padding: 30px 24px; }
    .jobs-application-cta__actions { width: 100%; flex-direction: column; }
    .jobs-application-cta__actions a { width: 100%; }
    .job-detail-hero { padding: 50px 0; }
    .job-detail__content { padding: 24px; }
    .job-apply-button { width: 100%; justify-content: center; }
}

@media (max-width: 420px) {
    .jobs-hero h1 { font-size: 36px; }
    .jobs-hero__trust { display: grid; }
    .job-category { grid-template-columns: 48px minmax(0,1fr) auto; padding: 16px; }
    .job-category__icon { width: 48px; height: 48px; }
    .job-card { padding: 20px; }
    .job-card__footer { align-items: flex-start; flex-direction: column; }
}
