/* =========================================================
   Jobs — Hero  (.jobs-hero)
   Centered card-style hero (matches Candidates page)
   ========================================================= */
.jobs-hero {
  position: relative;
  width: 100%;
  padding: 21px 20px;
  background: var(--color-white);
}

.jobs-hero__card {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  height: 400px;
  background: #fdfdfd;
  border: 1px solid #e9e9e9;
  border-radius: 20px;
  overflow: visible;
}

/* Soft gradient blobs */
.jobs-hero__blobs { position: absolute; inset: 0; pointer-events: none; }
.jobs-hero__blob {
  position: absolute;
  width: 540px;
  height: 980px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  transform: rotate(62.34deg);
}
.jobs-hero__blob--1 { top: -28px;  left: -138px; background: radial-gradient(circle, var(--color-secondary-10), transparent 70%); }
.jobs-hero__blob--2 { top: -48px;  left: 158px;  background: radial-gradient(circle, var(--color-primary-10),   transparent 70%); }
.jobs-hero__blob--3 { top: -123px; left: 455px;  background: radial-gradient(circle, var(--color-secondary-20), transparent 70%); }
.jobs-hero__blob--4 { top: -123px; left: 783px;  background: radial-gradient(circle, var(--color-primary-20),   transparent 70%); }
.jobs-hero__blob--5 { top: -286px; left: 995px;  background: radial-gradient(circle, var(--color-secondary-10), transparent 70%); }

/* Hero content */
.jobs-hero__content {
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 1014px;
  max-width: calc(100% - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
.jobs-hero__title {
  margin: 0;
  width: 100%;
  max-width: 798px;
  font-family: var(--font-family-display);
  font-size: 62px;
  font-weight: var(--fw-medium);
  line-height: 1.2;
  letter-spacing: -0.06em;
  color: #1a1a1a;
  font-variation-settings: 'opsz' 32;
}
.jobs-hero__title-accent { color: var(--color-secondary); }
.jobs-hero__subtitle {
  margin: 0;
  max-width: 620px;
  font-size: 18px;
  font-weight: var(--fw-regular);
  line-height: 1.4;
  letter-spacing: -0.04em;
  color: #1a1a1a;
}
.jobs-hero__actions {
  display: flex;
  gap: 21px;
  align-items: center;
}

/* Use the home menu style, but slightly smaller on jobs page */
.jobs-hero .hero__nav {
  top: 48px;
  padding: 12px 16px;
}
.jobs-hero .hero__nav-links { gap: 22px; }
.jobs-hero .hero__nav-link {
  font-size: 14px;
  line-height: 1.45;
}
.jobs-hero .hero__nav-cta {
  gap: 16px;
  width: auto;
}
.jobs-hero .hero__nav-cta .btn {
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

/* Search bar */
.jobs-hero__search {
  position: absolute;
  bottom: -43px;
  left: 50%;
  transform: translateX(-50%);
  width: min(904px, calc(100% - 80px));
  height: 86px;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 2px 4px 32px rgba(26, 26, 26, .08);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  z-index: 4;
}
.jobs-hero__search-field {
  display: flex; align-items: center; gap: 16px;
  height: 31px; flex: 1; min-width: 0;
}
.jobs-hero__search-label { font-size: var(--fs-body-md); color: #525252; flex-shrink: 0; }
.jobs-hero__search-divider { width: 1px; height: 31px; background: rgba(0, 0, 0, .12); flex-shrink: 0; }
.jobs-hero__search-input {
  flex: 1; min-width: 0; height: 100%;
  border: 0; outline: 0; background: transparent;
  font-family: inherit; font-size: var(--fs-body-md); color: #1a1a1a;
}
.jobs-hero__search-input::placeholder { color: #737373; }
.jobs-hero__search-sep { width: 1px; height: 31px; background: rgba(0, 0, 0, .12); flex-shrink: 0; }
.jobs-hero__search-select {
  flex: 1; display: flex; align-items: center; justify-content: space-between;
  gap: 8px; cursor: pointer; color: #737373; font-size: var(--fs-body-md);
}

/* Floating navigation */
.jobs-hero__nav {
  position: absolute;
  top: 61px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1237px, calc(100% - 80px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-radius: 12px;
  z-index: 5;
}
.jobs-hero__nav-logo {
  display: inline-flex; align-items: center;
  width: 215px; height: 51.235px; flex-shrink: 0;
}
.jobs-hero__nav-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

.jobs-hero__nav-links { display: flex; align-items: center; gap: 32px; }
.jobs-hero__nav-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit; font-size: var(--fs-body-md);
  font-weight: var(--fw-regular); line-height: 1.6;
  color: #6a6a6b; background: none; border: 0;
  padding: 0; cursor: pointer; text-decoration: none;
  white-space: nowrap;
}
.jobs-hero__nav-link:hover { color: var(--color-secondary); }
.jobs-hero__nav-link.is-active {
  color: var(--color-secondary);
  font-weight: var(--fw-semibold);
  line-height: 1.55;
}

.jobs-hero__nav-caret { transition: transform .15s ease; }
.jobs-hero__nav-dropdown { position: relative; }
.jobs-hero__nav-menu {
  position: absolute; top: calc(100% + 18px); right: -20px;
  width: 160px; padding: 16px;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(174, 173, 173, .18);
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.jobs-hero__nav-dropdown:hover .jobs-hero__nav-menu,
.jobs-hero__nav-dropdown:focus-within .jobs-hero__nav-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.jobs-hero__nav-dropdown:hover .jobs-hero__nav-caret { transform: rotate(180deg); }
.jobs-hero__nav-menu-item {
  font-size: var(--fs-body-sm); color: #6a6a6b;
  text-decoration: none; text-transform: capitalize;
}
.jobs-hero__nav-menu-item:hover { color: var(--color-secondary); }

.jobs-hero__nav-cta {
  display: flex; align-items: center; gap: 32px;
  width: 240px; justify-content: flex-end; flex-shrink: 0;
}
.jobs-hero__nav-signin {
  font-size: var(--fs-body-md); color: #6a6a6b;
  text-decoration: none; white-space: nowrap;
}
.jobs-hero__nav-signin:hover { color: var(--color-secondary); }

/* Responsive */
@media (max-width: 1240px) {
  .jobs-hero__nav-links { gap: 20px; }
  .jobs-hero__nav-cta { width: auto; gap: 16px; }
}
@media (max-width: 1100px) {
  .jobs-hero__nav-links { gap: 14px; font-size: 14px; }
  .jobs-hero__nav-link { font-size: 14px; }
  .jobs-hero__nav-signin { font-size: 14px; }
}
@media (max-width: 1024px) {
  .jobs-hero__card {
    height: auto; min-height: 880px;
    padding: 140px 24px 240px;
  }
  .jobs-hero__content {
    position: static; transform: none;
    width: 100%; max-width: 100%;
  }
  .jobs-hero__title { font-size: 56px; }
  .jobs-hero__subtitle { font-size: 18px; }
  .jobs-hero__search { bottom: 60px; }
}

@media (min-width: 1025px) {
  .jobs-hero__actions { gap: 14px; }
  .jobs-hero__actions .btn { height: 42px; padding: 0 16px; font-size: 14px; }
}
@media (max-width: 900px) {
  .jobs-hero__nav {
    flex-wrap: wrap; width: calc(100% - 40px);
    padding: 12px 16px; gap: 12px;
  }
  .jobs-hero__nav-logo { width: 160px; height: auto; }
  .jobs-hero__nav-links {
    order: 3; width: 100%; flex-wrap: wrap;
    justify-content: flex-start; gap: 10px 18px;
  }
  .jobs-hero__nav-cta { gap: 14px; }
  .jobs-hero__card { padding-top: 200px; }
}
@media (max-width: 768px) {
  .jobs-hero { padding: 12px; }
  .jobs-hero__card { padding: 200px 20px 220px; min-height: 760px; }
  .jobs-hero__title { font-size: 38px; letter-spacing: -0.04em; }
  .jobs-hero__subtitle { font-size: 16px; }
  .jobs-hero__actions { flex-direction: column; width: 100%; max-width: 320px; margin: 0 auto; }
  .jobs-hero__actions .btn { width: 100%; }
  .jobs-hero__search {
    width: calc(100% - 32px); bottom: 40px;
    flex-direction: column; height: auto; padding: 16px;
    align-items: stretch; gap: 12px;
  }
  .jobs-hero__search-sep, .jobs-hero__search-divider { display: none; }
}
@media (max-width: 480px) {
  .jobs-hero__nav-signin { display: none; }
  .jobs-hero__nav-cta .btn { min-width: 0; padding: 0 16px; }
  .jobs-hero__title { font-size: 32px; }
}
