.career-hub-page #content {
  padding: 0;
  background: #f5f2eb;
  color: #211d1d;
}

.career-shell {
  width: min(1420px, calc(100% - 2 * var(--page)));
  margin: 0 auto;
  padding: clamp(36px, 6vw, 88px) 0 112px;
}

.career-shell * { box-sizing: border-box; }
.career-shell :is(a, button, select, input):focus-visible {
  outline: 3px solid #9b0923;
  outline-offset: 4px;
}

.career-kicker,
.career-index,
.autoapply-state,
.career-vacancy-number {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
}

.career-kicker,
.career-index { color: #9b0923; }

.career-masthead {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 44px;
  padding-bottom: 50px;
  border-bottom: 1px solid #bbb0a5;
}

.career-masthead h1,
.autoapply-hero h1 {
  margin: 20px 0 16px;
  font-size: clamp(56px, 8.6vw, 130px);
  font-weight: 800;
  letter-spacing: -.07em;
  line-height: .88;
}

.career-masthead h1 em,
.autoapply-hero h1 em {
  color: #9b0923;
  font-style: normal;
}

.career-intro {
  max-width: 650px;
  margin: 26px 0 0;
  color: #5a5050;
  font-size: clamp(17px, 2.1vw, 22px);
  line-height: 1.5;
}

.career-side-link {
  display: grid;
  gap: 8px;
  min-width: 220px;
  padding: 20px;
  border: 1px solid #211d1d;
  color: #211d1d;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.career-side-link:hover { background: #211d1d; color: #fff; }
.career-side-link span:first-child { font: 700 11px var(--mono, ui-monospace, monospace); letter-spacing: .1em; text-transform: uppercase; }
.career-side-link strong { font-size: 23px; }
.career-side-link span:last-child { justify-self: end; font-size: 22px; }

.career-content-grid {
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  padding-top: 42px;
}

.career-filter-panel { position: sticky; top: 24px; }
.career-filter-panel h2,
.career-results-head h2,
.autoapply-details h2,
.autoapply-waitlist h2,
.autoapply-start h2 {
  margin: 14px 0 28px;
  font-size: clamp(28px, 3.2vw, 48px);
  letter-spacing: -.045em;
  line-height: 1.05;
}

.career-filter-form { display: grid; gap: 10px; }
.career-filter-form label { margin-top: 12px; font-size: 13px; font-weight: 750; }
.career-filter-form select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #bbb0a5;
  border-radius: 0;
  background: #fbfaf7;
  color: #211d1d;
  font: inherit;
}

.career-filter-form button,
.autoapply-primary,
.autoapply-waitlist-action form button,
.autoapply-waitlist-action > a {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 55px;
  padding: 12px 18px;
  border: 1px solid #9b0923;
  border-radius: 0;
  background: #9b0923;
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.career-filter-form button { margin-top: 20px; }
.career-filter-form button:hover,
.autoapply-primary:hover,
.autoapply-waitlist-action form button:hover,
.autoapply-waitlist-action > a:hover { background: #680116; transform: translateY(-2px); }
.career-filter-note { margin-top: 24px; color: #766a68; font-size: 13px; line-height: 1.55; }
.career-filter-note a,
.career-intro a { color: #9b0923; text-underline-offset: 3px; }
.career-feed-status { min-height: 24px; margin: 0 0 18px; color: #766a68; font-size: 14px; }
.career-source-section { margin-top: 100px; padding-top: 44px; border-top: 1px solid #bbb0a5; }
.career-source-section h2 { margin: 12px 0; font-size: clamp(32px, 4vw, 56px); letter-spacing: -.045em; }
.career-source-section > p:not(.career-index, .career-filter-note) { max-width: 790px; color: #5a5050; line-height: 1.5; }
.career-source-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 30px; background: #cfc5ba; border: 1px solid #cfc5ba; }
.career-source { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 145px; padding: 20px; background: #fbfaf7; color: #211d1d; text-decoration: none; }
.career-source:hover { background: #ede6dc; }
.career-source-type { color: #9b0923; font: 700 10px var(--mono, ui-monospace, monospace); letter-spacing: .1em; text-transform: uppercase; }
.career-source strong { max-width: calc(100% - 22px); overflow-wrap: anywhere; font-size: 18px; }
.career-source small { color: #766a68; line-height: 1.35; }
.career-source-arrow { position: absolute; right: 20px; bottom: 20px; color: #9b0923; }

.career-results-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.career-results-head h2 { margin-bottom: 22px; }
.career-count { margin-bottom: 26px; color: #766a68; font: 700 12px var(--mono, ui-monospace, monospace); white-space: nowrap; }
.career-vacancy-list { margin: 0; padding: 0; border-top: 3px solid #211d1d; list-style: none; }
.career-vacancy-list li { border-bottom: 1px solid #cfc5ba; }
.career-vacancy {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  padding: 24px 4px 26px;
  transition: padding .2s, background .2s;
}
.career-vacancy:hover { padding-left: 12px; background: #ede6dc; }
.career-vacancy-number { padding-top: 5px; color: #9b0923; }
.career-vacancy-company { margin: 0 0 8px; color: #766a68; font-size: 13px; }
.career-vacancy-company span { padding: 0 5px; color: #9b0923; }
.career-vacancy h3 { margin: 0; font-size: clamp(18px, 2.2vw, 27px); line-height: 1.17; letter-spacing: -.025em; }
.career-vacancy h3 a { color: inherit; text-decoration: none; }
.career-vacancy h3 a:hover { color: #9b0923; }
.career-vacancy-salary { margin: 11px 0 0; font-size: 15px; font-weight: 700; }
.career-vacancy-action { padding-top: 5px; color: #9b0923; font-size: 13px; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.career-vacancy-action span { margin-left: 4px; }
.career-empty { padding: 42px 28px; border-top: 3px solid #211d1d; background: #eae4da; }
.career-empty h3 { margin: 0 0 10px; font-size: 26px; }
.career-empty p { margin: 0 0 16px; color: #5a5050; }
.career-empty a { color: #9b0923; font-weight: 700; }
.career-pagination { display: flex; justify-content: space-between; gap: 24px; padding-top: 28px; font-size: 14px; }
.career-pagination a { color: #9b0923; font-weight: 700; }
.career-pagination span { color: #766a68; }

.autoapply-hero {
  position: relative;
  min-height: 570px;
  padding: clamp(28px, 4vw, 56px);
  overflow: hidden;
  background: #211d1d;
  color: #f5f2eb;
}
.autoapply-hero::after {
  position: absolute;
  right: -110px;
  top: -150px;
  width: 520px;
  height: 520px;
  border: 90px solid rgba(155, 9, 35, .36);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.autoapply-hero > * { position: relative; z-index: 1; }
.autoapply-hero .career-kicker { color: #e2a7b3; }
.autoapply-title-row { display: flex; justify-content: space-between; align-items: start; gap: 24px; }
.autoapply-hero h1 { margin: 32px 0 18px; font-size: clamp(70px, 12vw, 170px); }
.autoapply-hero h1 em { color: #e86f87; }
.autoapply-state { margin-top: 40px; padding: 12px 16px; border: 1px solid #a99796; color: #e2a7b3; white-space: nowrap; }
.autoapply-lead { max-width: 740px; margin: 22px 0 0; font-size: clamp(20px, 2.4vw, 29px); line-height: 1.35; }
.autoapply-honesty { max-width: 650px; margin: 18px 0 0; color: #c7bcbc; font-size: 15px; line-height: 1.5; }
.autoapply-honesty a { color: #fff; text-underline-offset: 3px; }
.autoapply-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.autoapply-primary { background: #e86f87; border-color: #e86f87; color: #211d1d; }
.autoapply-primary:hover { background: #fff; color: #211d1d; }
.autoapply-secondary { display: inline-flex; align-items: center; min-height: 55px; padding: 12px 18px; border: 1px solid #f5f2eb; color: #f5f2eb; font-weight: 700; text-decoration: none; }
.autoapply-secondary:hover { background: #f5f2eb; color: #211d1d; }
.autoapply-details { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 48px; padding: 70px 0; }
.autoapply-details h2 { max-width: 300px; }
.autoapply-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; border-top: 3px solid #211d1d; }
.autoapply-detail-grid article { padding: 25px 0 30px; border-bottom: 1px solid #cfc5ba; }
.autoapply-detail-grid article span { color: #9b0923; font: 700 12px var(--mono, ui-monospace, monospace); }
.autoapply-detail-grid article h3 { margin: 20px 0 8px; font-size: 22px; letter-spacing: -.025em; }
.autoapply-detail-grid article p { max-width: 280px; margin: 0; color: #5a5050; line-height: 1.5; }
.autoapply-start { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, 380px); gap: 56px; padding: 48px; margin-bottom: 24px; background: #fbfaf7; border: 1px solid #cfc5ba; }
.autoapply-start h2 { margin-top: 14px; }
.autoapply-start p { max-width: 680px; color: #5a5050; line-height: 1.55; }
.autoapply-start p a { color: #9b0923; }
.autoapply-start-action { align-self: center; }
.autoapply-start-action form { display: grid; gap: 18px; }
.autoapply-start-action label { display: flex; align-items: start; gap: 10px; font-size: 14px; line-height: 1.4; }
.autoapply-start-action label input { flex: none; margin-top: 3px; }
.autoapply-start-action label a { color: #9b0923; }
.autoapply-start-action :is(button, .autoapply-primary) { display: flex; justify-content: center; width: 100%; min-height: 55px; align-items: center; padding: 12px; border: 0; background: #9b0923; color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.autoapply-start-action .autoapply-joined { color: #334b23; font-weight: 700; }
.autoapply-start-action .autoapply-revoke { margin-top: 12px; min-height: 42px; background: transparent; border: 1px solid #8e817a; color: #5a5050; font-size: 13px; }
.career-hr-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 540px); gap: 50px; padding: 55px 48px; margin-bottom: 24px; background: #f5f2eb; border: 1px solid #cfc5ba; }
.career-hr-section h2 { margin: 12px 0 20px; font-size: clamp(32px, 3.5vw, 52px); letter-spacing: -.045em; }
.career-hr-section p { max-width: 510px; color: #5a5050; line-height: 1.5; }
.career-hr-form { display: grid; gap: 10px; }
.career-hr-form label { font-size: 13px; font-weight: 750; }
.career-hr-form :is(input, textarea) { width: 100%; padding: 14px; border: 1px solid #bbb0a5; border-radius: 0; background: #fff; color: #211d1d; font: inherit; }
.career-hr-form textarea { resize: vertical; }
.career-hr-form [data-draft-help] { min-height: 22px; margin: 0; color: #766a68; font-size: 13px; }
.career-hr-form a { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px; background: #9b0923; color: #fff; font-weight: 700; text-decoration: none; }
.career-hr-form a[aria-disabled="true"] { background: #b9aca6; cursor: not-allowed; }
.autoapply-waitlist { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 60px; align-items: center; padding: 46px; background: #e7ded2; border-top: 3px solid #9b0923; }
.autoapply-waitlist h2 { max-width: 740px; margin-bottom: 18px; }
.autoapply-waitlist p { margin: 0; color: #5a5050; }
.autoapply-waitlist-action { display: grid; gap: 14px; }
.autoapply-waitlist-action form { margin: 0; }
.autoapply-waitlist-action form button,
.autoapply-waitlist-action > a { width: 100%; justify-content: center; text-align: center; }
.autoapply-waitlist-action small { color: #766a68; line-height: 1.4; }
.autoapply-waitlist-action small a { color: #9b0923; }
.autoapply-waitlist-action .autoapply-joined { padding: 17px 18px; border: 1px solid #526b3a; color: #334b23; font-weight: 700; text-align: center; }
.autoapply-waitlist-action .autoapply-leave { min-height: 40px; border-color: #8e817a; background: transparent; color: #5a5050; font-size: 13px; }
.autoapply-waitlist-action .autoapply-leave:hover { background: #d7cbc0; color: #211d1d; transform: none; }

@media (max-width: 900px) {
  .career-source-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .career-content-grid { grid-template-columns: 1fr; }
  .career-filter-panel { position: static; }
  .career-filter-form { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }
  .career-filter-form label { grid-row: 1; }
  .career-filter-form select { grid-row: 2; }
  .career-filter-form button { grid-column: 1 / -1; margin-top: 8px; }
  .autoapply-details { grid-template-columns: 1fr; gap: 10px; }
  .autoapply-start { grid-template-columns: 1fr; }
  .career-hr-section { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .career-source-section { margin-top: 72px; }
  .career-source-grid { grid-template-columns: 1fr; }
  .career-shell { padding-bottom: 70px; }
  .career-masthead { display: block; padding-bottom: 32px; }
  .career-masthead h1 { font-size: clamp(50px, 14vw, 78px); }
  .career-side-link { margin-top: 28px; }
  .career-filter-form { display: grid; grid-template-columns: 1fr; }
  .career-filter-form label,
  .career-filter-form select { grid-row: auto; }
  .career-results-head { display: block; }
  .career-vacancy { grid-template-columns: 30px minmax(0, 1fr); gap: 8px; }
  .career-vacancy-action { grid-column: 2; padding-top: 10px; }
  .autoapply-hero { min-height: 0; padding: 30px 24px 42px; }
  .autoapply-hero::after { width: 250px; height: 250px; border-width: 40px; right: -130px; top: -80px; }
  .autoapply-title-row { display: block; }
  .autoapply-hero h1 { font-size: clamp(65px, 15vw, 105px); }
  .autoapply-state { display: inline-block; margin: 4px 0 0; }
  .autoapply-detail-grid { grid-template-columns: 1fr; }
  .career-hr-section { padding: 32px 22px; }
  .autoapply-waitlist { grid-template-columns: 1fr; gap: 28px; padding: 28px 22px; }
}
