:root {
  --hub-ink: #071a31;
  --hub-blue: #0d64e8;
  --hub-sky: #dcecff;
  --hub-cloud: #f4f8fc;
  --hub-line: #cfdae8;
  --hub-copy: #3c4e64;
  --hub-mono: "IBM Plex Mono", monospace;
  --hub-serif: "Lora", Georgia, serif;
}

body.public-shell:has(.job-hub-page) #main-content {
  max-width: none;
  padding: 0;
  width: 100%;
}

.job-hub-page,
.job-hub-page * { box-sizing: border-box; }

.job-hub-page { background: #fff; color: var(--hub-copy); overflow: clip; }
.job-hub-page a { text-decoration: none; }

.job-hub-hero {
  background:
    linear-gradient(90deg, rgba(124, 172, 229, 0.08) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(rgba(124, 172, 229, 0.08) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--hub-ink);
  color: #fff;
  display: grid;
  gap: clamp(2rem, 6vw, 7rem);
  grid-template-columns: minmax(0, 1fr) minmax(270px, 360px);
  padding: clamp(3rem, 6vw, 6.5rem) max(2rem, calc((100vw - 1180px) / 2));
}

.job-hub-breadcrumb { align-items: center; color: #a9bdd5; display: flex; flex-wrap: wrap; font: 500 .74rem/1.4 var(--hub-mono); gap: .55rem; margin-bottom: 2.5rem; }
.job-hub-breadcrumb a { color: #d9e8fa; }
.job-hub-eyebrow { color: var(--hub-blue); font: 700 .72rem/1.4 var(--hub-mono); letter-spacing: .1em; margin: 0 0 .9rem; text-transform: uppercase; }
.job-hub-hero .job-hub-eyebrow { color: #79b5ff; }
.job-hub-hero h1 { color: #fff; font-family: var(--hub-serif); font-size: clamp(2.75rem, 6vw, 5.6rem); letter-spacing: -.045em; line-height: .98; margin: 0; max-width: 13ch; text-wrap: balance; }
.job-hub-lead { color: #cedced; font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.75; margin: 1.6rem 0 0; max-width: 62ch; }
.job-hub-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.job-hub-primary, .job-hub-secondary { align-items: center; border: 1px solid #4c9dff; border-radius: 3px; display: inline-flex; font-size: .82rem; font-weight: 800; justify-content: center; min-height: 46px; padding: .7rem 1.05rem; }
.job-hub-primary { background: var(--hub-blue); color: #fff !important; }
.job-hub-secondary { color: #dcecff !important; }

.job-hub-briefing { align-self: end; background: #fff; border-top: 5px solid var(--hub-blue); color: var(--hub-ink); padding: 1.6rem; }
.job-hub-briefing > p { color: #61748c; font: 700 .7rem/1.4 var(--hub-mono); letter-spacing: .09em; margin: 0; text-transform: uppercase; }
.job-hub-briefing > strong { display: block; font-family: var(--hub-serif); font-size: 4.4rem; line-height: 1; margin-top: .65rem; }
.job-hub-briefing > span { color: #4b5e74; display: block; font-weight: 700; }
.job-hub-briefing dl { border-block: 1px solid var(--hub-line); display: grid; grid-template-columns: 1fr 1fr; margin: 1.4rem 0 1rem; padding: 1rem 0; }
.job-hub-briefing dl div + div { border-left: 1px solid var(--hub-line); padding-left: 1rem; }
.job-hub-briefing dt { color: #6d7e91; font: 600 .68rem/1.4 var(--hub-mono); text-transform: uppercase; }
.job-hub-briefing dd { font-size: 1.35rem; font-weight: 800; margin: .2rem 0 0; }
.job-hub-briefing small { color: #6a7b8e; display: block; line-height: 1.55; }

.job-hub-guidance,
.job-hub-vacancies,
.job-hub-discovery-shell,
.job-hub-preparation,
.job-hub-articles { margin-inline: auto; width: min(calc(100% - 64px), 1180px); }

.job-hub-guidance { display: grid; gap: 3rem; grid-template-columns: minmax(220px, .7fr) 1.3fr; padding-block: 5rem; }
.job-hub-guidance h2, .job-hub-vacancies h2, .job-hub-preparation h2, .job-hub-articles h2, .job-hub-discovery h2 { color: var(--hub-ink); font-family: var(--hub-serif); font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -.035em; line-height: 1.1; margin: 0; }
.job-hub-guidance ol { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.job-hub-guidance li { align-items: start; border-top: 1px solid var(--hub-line); display: grid; gap: 1.1rem; grid-template-columns: 36px 1fr; padding: 1.1rem 0; }
.job-hub-guidance li:last-child { border-bottom: 1px solid var(--hub-line); }
.job-hub-guidance li span { color: var(--hub-blue); font: 700 .76rem/1.6 var(--hub-mono); }
.job-hub-guidance li p { line-height: 1.65; margin: 0; }

.job-hub-vacancies { border-top: 1px solid var(--hub-line); padding-block: 4.5rem 5.5rem; }
.job-hub-vacancies > header, .job-hub-articles > header { align-items: end; display: flex; justify-content: space-between; margin-bottom: 2rem; }
.job-hub-vacancies > header > a, .job-hub-articles > header > a { color: var(--hub-blue); font-size: .84rem; font-weight: 800; }
.job-hub-job-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.job-hub-job-card { border: 1px solid var(--hub-line); display: grid; min-height: 310px; padding: 1.45rem; position: relative; transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease; }
.job-hub-job-card:hover { border-color: #a9c4e5; box-shadow: 0 14px 32px rgba(7, 26, 49, .08); transform: translateY(-2px); }
.job-hub-job-brand { align-items: center; display: flex; gap: .85rem; }
.job-hub-job-brand img, .job-hub-job-brand > span { background: var(--hub-cloud); border: 1px solid var(--hub-line); border-radius: 5px; height: 52px; object-fit: contain; padding: 5px; width: 52px; }
.job-hub-job-brand > span { align-items: center; color: var(--hub-blue); display: flex; font: 700 1.2rem/1 var(--hub-mono); justify-content: center; }
.job-hub-job-brand div { display: grid; gap: .15rem; }
.job-hub-job-brand a { color: var(--hub-ink); font-weight: 800; }
.job-hub-job-brand small { color: #718195; }
.job-hub-job-card h3 { color: var(--hub-ink); font-family: var(--hub-serif); font-size: 1.55rem; letter-spacing: -.025em; line-height: 1.2; margin: 1.4rem 0; }
.job-hub-job-card h3 a { color: inherit; }
.job-hub-job-card ul { display: flex; flex-wrap: wrap; gap: .55rem 1rem; list-style: none; margin: 0 0 1.5rem; padding: 0; }
.job-hub-job-card li { align-items: center; color: #53677e; display: flex; font-size: .82rem; gap: .35rem; }
.job-hub-job-card li a { color: inherit; }
.job-hub-job-card li i { color: var(--hub-blue); }
.job-hub-job-footer { align-items: center; border-top: 1px solid var(--hub-line); display: flex; justify-content: space-between; margin-top: auto; padding-top: 1rem; }
.job-hub-job-footer span { color: #64778c; font-size: .76rem; }
.job-hub-job-footer a { color: var(--hub-blue); font-size: .8rem; font-weight: 800; }
.job-hub-pagination { align-items: center; display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; }
.job-hub-pagination a { border: 1px solid var(--hub-line); color: var(--hub-blue); font-weight: 700; padding: .65rem 1rem; }
.job-hub-empty { align-items: center; background: var(--hub-cloud); border: 1px solid var(--hub-line); display: grid; gap: 1.3rem; grid-template-columns: auto 1fr auto; padding: 1.5rem; }
.job-hub-empty > i { color: var(--hub-blue); font-size: 2rem; }
.job-hub-empty h3 { color: var(--hub-ink); margin: 0 0 .25rem; }
.job-hub-empty p { margin: 0; }
.job-hub-alternatives { display: grid; gap: .6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.5rem; }
.job-hub-alternatives h3 { color: var(--hub-ink); grid-column: 1 / -1; }
.job-hub-alternatives a { border: 1px solid var(--hub-line); color: var(--hub-ink); display: grid; gap: .2rem; padding: 1rem; }
.job-hub-alternatives span { color: #6a7d91; font-size: .8rem; }

.job-hub-discovery-shell { padding-bottom: 5rem; }
.job-hub-discovery { background: var(--hub-cloud); border: 1px solid var(--hub-line); padding: clamp(1.5rem, 4vw, 2.7rem); }
.job-hub-discovery-heading p { color: var(--hub-blue); font: 700 .7rem/1.4 var(--hub-mono); letter-spacing: .09em; margin: 0 0 .5rem; text-transform: uppercase; }
.job-hub-discovery h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.job-hub-discovery-grid { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-top: 1.8rem; }
.job-hub-discovery-grid a { background: #fff; border: 1px solid var(--hub-line); color: var(--hub-ink); display: grid; gap: .45rem; min-height: 120px; padding: 1rem; position: relative; }
.job-hub-discovery-grid a span { color: #718398; font: 600 .66rem/1.3 var(--hub-mono); text-transform: uppercase; }
.job-hub-discovery-grid a strong { font-family: var(--hub-serif); font-size: 1.08rem; padding-right: 1rem; }
.job-hub-discovery-grid a i { color: var(--hub-blue); position: absolute; right: .85rem; top: .85rem; }

.jobs-library-page > .job-hub-discovery { margin: 2.2rem auto; width: min(calc(100% - 96px), 1248px); }
.jobs-airline-hub-link { color: inherit; position: relative; text-decoration: none; z-index: 2; }
.editorial-page > .job-hub-discovery { margin: 4rem auto; width: min(calc(100% - 64px), 1160px); }

.job-hub-preparation { background: var(--hub-ink); color: #cad9ea; display: grid; gap: 3.5rem; grid-template-columns: .8fr 1.2fr; padding: clamp(2rem, 5vw, 4rem); }
.job-hub-preparation h2 { color: #fff; }
.job-hub-preparation > div > p:last-child { line-height: 1.7; }
.job-hub-preparation nav { display: grid; }
.job-hub-preparation nav a { align-items: center; border-top: 1px solid #29415e; color: #fff; display: grid; gap: 1rem; grid-template-columns: 32px 1fr auto; padding: 1.15rem 0; }
.job-hub-preparation nav a:last-child { border-bottom: 1px solid #29415e; }
.job-hub-preparation nav span { color: #79b5ff; font: 700 .7rem/1.4 var(--hub-mono); }

.job-hub-articles { padding-block: 5.5rem; }
.job-hub-articles > div { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.job-hub-articles article { border-top: 3px solid var(--hub-ink); padding: 1.25rem 0; }
.job-hub-articles article > span { color: #75869a; font: 600 .68rem/1.4 var(--hub-mono); text-transform: uppercase; }
.job-hub-articles article h3 { color: var(--hub-ink); font-family: var(--hub-serif); font-size: 1.25rem; line-height: 1.3; }
.job-hub-articles article h3 a { color: inherit; }
.job-hub-articles article p { line-height: 1.6; }
.job-hub-articles article > a { color: var(--hub-blue); font-size: .8rem; font-weight: 800; }

@media (max-width: 860px) {
  .job-hub-hero, .job-hub-guidance, .job-hub-preparation { grid-template-columns: 1fr; }
  .job-hub-job-grid, .job-hub-alternatives { grid-template-columns: 1fr; }
  .job-hub-discovery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .job-hub-articles > div { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .job-hub-hero { padding-inline: 1.25rem; }
  .job-hub-guidance, .job-hub-vacancies, .job-hub-discovery-shell, .job-hub-preparation, .job-hub-articles { width: min(calc(100% - 32px), 1180px); }
  .job-hub-vacancies > header, .job-hub-articles > header { align-items: start; flex-direction: column; gap: .8rem; }
  .job-hub-discovery-grid { grid-template-columns: 1fr; }
  .jobs-library-page > .job-hub-discovery, .editorial-page > .job-hub-discovery { width: min(calc(100% - 32px), 1180px); }
  .job-hub-empty { grid-template-columns: auto 1fr; }
  .job-hub-empty .job-hub-primary { grid-column: 1 / -1; }
  .job-hub-job-footer { align-items: start; flex-direction: column; gap: .65rem; }
}

@media (prefers-reduced-motion: reduce) {
  .job-hub-job-card { transition: none; }
}
