.jobs-page { background: #f6f9fc; }
.jobs-container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.jobs-hero {
  padding: clamp(64px, 9vw, 112px) 0 54px;
  color: #fff;
  background: linear-gradient(100deg, rgba(6, 31, 53, .96), rgba(11, 42, 69, .78)), url("assets/hero-offshore.jpg") center 47% / cover;
}
.jobs-hero-inner { max-width: 1160px; }
.jobs-hero .eyebrow { color: #a9ddf7; }
.jobs-hero h1 { max-width: 800px; margin: 8px 0 18px; color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 1.04; letter-spacing: -.04em; }
.jobs-hero-description { max-width: 740px; margin: 0; color: rgba(255,255,255,.84); font-size: clamp(1rem, 1.8vw, 1.2rem); }
.jobs-hero-meta { display: flex; flex-wrap: wrap; gap: 16px 30px; margin-top: 34px; color: rgba(255,255,255,.82); font-size: .94rem; }
.jobs-count strong { color: #fff; font-size: 1.28rem; }
.jobs-reviewed { display: inline-flex; align-items: center; gap: 8px; }
.review-check { display: inline-grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: #dff7ee; color: #087753; font-weight: 900; }
.jobs-section { padding: clamp(42px, 6vw, 76px) 0; }
.jobs-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.jobs-section-heading h2 { margin: 2px 0 0; color: var(--navy); font-size: clamp(1.8rem, 3vw, 2.45rem); line-height: 1.15; }
.jobs-back-link { color: var(--navy-2); font-weight: 750; }
.jobs-back-link:hover { color: var(--blue); }
.jobs-filters { display: grid; grid-template-columns: minmax(230px, 1.7fr) repeat(3, minmax(145px, 1fr)) auto; align-items: end; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 8px 28px rgba(12,43,70,.06); }
.jobs-field { display: grid; gap: 6px; color: var(--navy-2); font-size: .84rem; font-weight: 750; }
.jobs-field input, .jobs-field select, .jobs-sort select { width: 100%; min-height: 46px; border: 1px solid #cfdae4; border-radius: 9px; padding: 0 12px; color: var(--ink); background: #fff; outline: none; }
.jobs-field input:focus, .jobs-field select:focus, .jobs-sort select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43,147,209,.14); }
.jobs-reset { min-height: 44px; padding: 0 9px; border: 0; background: transparent; color: #426078; font-weight: 750; cursor: pointer; }
.jobs-reset:hover { color: #0b6eaa; }
.jobs-results-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 22px 2px 14px; }
.jobs-results-bar p { margin: 0; color: var(--muted); font-size: .94rem; }
.jobs-sort { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .87rem; }
.jobs-sort select { width: auto; min-height: 38px; padding-right: 30px; }
.jobs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.job-card { display: flex; flex-direction: column; min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 8px 26px rgba(12,43,70,.045); transition: transform .18s ease, box-shadow .18s ease; }
.job-card:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(12,43,70,.1); }
.job-card-top { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.job-card h3 { margin: 0; color: var(--navy); font-size: 1.22rem; line-height: 1.25; overflow-wrap: anywhere; }
.job-company { margin: 6px 0 0; color: #51677c; font-weight: 650; }
.job-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.job-tag { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 9px; border-radius: 999px; background: var(--sky); color: #155e86; font-size: .75rem; font-weight: 800; }
.job-tag.onshore { background: var(--mint); color: #11704f; }
.job-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin: 17px 0 0; }
.job-detail { min-width: 0; }
.job-detail dt { margin-bottom: 2px; color: #718195; font-size: .75rem; font-weight: 750; text-transform: uppercase; letter-spacing: .035em; }
.job-detail dd { margin: 0; color: var(--ink); font-size: .91rem; overflow-wrap: anywhere; }
.job-description { margin: 16px 0 0; color: #53677b; font-size: .91rem; line-height: 1.55; white-space: pre-line; }
.job-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; }
.job-source { color: #718195; font-size: .78rem; }
.job-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.job-actions .btn { min-height: 40px; padding: 9px 14px; font-size: .88rem; }
.job-share { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--navy-2); font-weight: 750; cursor: pointer; }
.job-share:hover { border-color: #9ccae4; background: #f2f9fd; }
.jobs-status { padding: 36px 20px; border: 1px dashed #b8cad9; border-radius: 16px; background: #fff; color: #53677b; text-align: center; }
.jobs-status[hidden] { display: none; }
.jobs-status strong { display: block; margin-bottom: 6px; color: var(--navy); font-size: 1.15rem; }
.jobs-status p { max-width: 540px; margin: 0 auto; }
.jobs-pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 26px 0 0; }
.jobs-pagination[hidden] { display: none; }
.jobs-pagination button:disabled { opacity: .45; cursor: not-allowed; }
.jobs-page-label { color: var(--muted); font-size: .9rem; }
.jobs-help { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 50px; padding: 24px 28px; border: 1px solid #cde3f0; border-radius: 16px; background: linear-gradient(110deg, #eaf6fd, #fff); }
.jobs-help strong { display: block; color: var(--navy); font-size: 1.06rem; }
.jobs-help p { margin: 4px 0 0; color: var(--muted); }
.jobs-footer { margin-top: 0; }
.jobs-page :focus-visible { outline: 3px solid rgba(43,147,209,.65); outline-offset: 3px; }
@media (max-width: 1024px) {
  .jobs-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jobs-search-field { grid-column: 1 / -1; }
  .jobs-reset { justify-self: start; }
}
@media (max-width: 680px) {
  .jobs-hero { padding: 58px 0 42px; }
  .jobs-hero-meta { display: grid; gap: 10px; margin-top: 24px; }
  .jobs-section-heading { align-items: start; flex-direction: column; }
  .jobs-filters { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .jobs-search-field { grid-column: auto; }
  .jobs-results-bar { align-items: start; flex-direction: column; }
  .jobs-grid { grid-template-columns: minmax(0, 1fr); }
  .job-card { padding: 18px; }
  .jobs-help { align-items: start; flex-direction: column; margin-top: 34px; padding: 20px; }
  .jobs-help .btn { width: 100%; }
}
@media (max-width: 420px) {
  .job-card-footer { align-items: start; flex-direction: column; }
  .job-actions { width: 100%; }
  .job-actions .btn { flex: 1; }
  .jobs-pagination { gap: 9px; }
  .jobs-pagination .btn { padding: 9px 11px; }
}
