.jobs-page,
.job-detail-page {
  background: #fff8f5;
}

.jobs-list-body {
  color: #201a1c;
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 400;
  background:
    linear-gradient(180deg, #fffaf7 0%, #fbf8f5 52%, #fffaf7 100%);
}

.jobs-list-body .section-inner,
.jobs-list-body .topbar-inner {
  width: min(calc(100% - 2rem), 1120px);
}

.jobs-list-body .topbar-inner {
  min-height: 64px;
}

.jobs-list-body .brand {
  min-width: auto;
  gap: 0.65rem;
}

.jobs-list-body .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(230, 80, 157, 0.18);
}

.jobs-list-body .brand-text strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.jobs-list-body .brand-text small {
  font-size: 0.72rem;
  font-weight: 400;
}

.jobs-list-body .main-nav a {
  font-size: 0.86rem;
  font-weight: 600;
}

.jobs-hero {
  padding: 1rem 0 1.8rem;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(34, 26, 29, 0.84), rgba(38, 95, 143, 0.72)),
    url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1600&q=80") center / cover;
}

.jobs-hero h1 {
  max-width: 760px;
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.35rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.jobs-hero p {
  max-width: 620px;
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
  line-height: 1.56;
}

.jobs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  margin-top: 1rem;
}

.jobs-stage-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.jobs-stage-head span {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--primary);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jobs-stage-head h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.jobs-stage-head p {
  max-width: 360px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.45;
}

.jobs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 22px rgba(34, 26, 29, 0.05);
  backdrop-filter: blur(12px);
}

.jobs-toolbar input {
  width: min(100%, 520px);
  min-height: 40px;
  padding: 0.68rem 0.78rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 0.86rem;
  box-shadow: none;
}

.jobs-toolbar span {
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 600;
}

.jobs-toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  white-space: nowrap;
}

.jobs-toolbar-actions .button {
  min-height: 40px;
  padding: 0.66rem 0.92rem;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 600;
}

.public-jobs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.72rem;
}

.public-job-card,
.apply-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.public-job-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(34, 26, 29, 0.04);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.public-job-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: transparent;
  transition: background 160ms ease;
}

.public-job-card:hover {
  transform: translateY(-1px);
  border-color: rgba(38, 95, 143, 0.32);
  box-shadow: 0 16px 34px rgba(38, 95, 143, 0.08);
}

.public-job-card:hover::before {
  background: var(--blue);
}

.job-card-main {
  display: grid;
  gap: 0.52rem;
  padding: 0.92rem 1rem;
  color: inherit;
  text-decoration: none;
}

.job-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.job-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.quick-apply {
  display: inline-flex;
  width: fit-content;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  color: #124b70;
  background: #e9f1f7;
  font-size: 0.72rem;
  font-weight: 600;
}

.job-age,
.job-card-arrow {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}

.job-age {
  color: #63575b;
  background: #f3efed;
}

.job-card-arrow {
  color: var(--ink);
  background: #f7f3f1;
}

.public-job-card h2 {
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  max-width: 640px;
  color: #101820;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.public-job-card p {
  color: var(--ink-soft);
  max-width: 720px;
  font-size: 0.88rem;
  line-height: 1.55;
}

.job-card-company {
  display: grid;
  gap: 0.12rem;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.35;
}

.job-card-company strong {
  color: var(--ink);
  font-weight: 600;
}

.job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.job-card-meta span {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 500;
}

.job-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.15rem;
}

.job-card-tags span {
  padding: 0.34rem 0.52rem;
  border-radius: 999px;
  color: #4c5560;
  background: #f3efed;
  font-size: 0.75rem;
  font-weight: 600;
}

.jobs-empty {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(34, 26, 29, 0.05);
}

.jobs-empty strong {
  display: block;
}

.jobs-empty p {
  margin-top: 0.35rem;
  color: var(--ink-soft);
}

.job-meta,
.job-quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.job-meta span,
.job-quick-facts span {
  padding: 0.38rem 0.58rem;
  border-radius: 999px;
  color: #124b70;
  background: #e9f1f7;
  font-size: 0.78rem;
  font-weight: 900;
}

body.modal-open {
  overflow: hidden;
}

.cv-modal[hidden] {
  display: none;
}

.cv-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.cv-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 18, 21, 0.48);
  backdrop-filter: blur(8px);
}

.cv-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(92vh, 760px);
  overflow: auto;
  border: 1px solid rgba(34, 26, 29, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(34, 26, 29, 0.24);
}

.cv-modal-close {
  position: absolute;
  top: 0.82rem;
  right: 0.82rem;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: #3d3336;
  background: rgba(255, 255, 255, 0.88);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.cv-modal-head {
  padding: 1.25rem 1.35rem 1.05rem;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(34, 26, 29, 0.92), rgba(38, 95, 143, 0.88)),
    url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.cv-modal-head span {
  display: block;
  margin-bottom: 0.32rem;
  color: #ffd1dc;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cv-modal-head h2 {
  margin: 0;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1;
}

.cv-modal-head p {
  max-width: 420px;
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  line-height: 1.52;
}

.cv-upload-form {
  display: grid;
  gap: 0.78rem;
  padding: 1.18rem 1.35rem 1.3rem;
}

.cv-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.cv-upload-form label {
  display: grid;
  gap: 0.32rem;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
}

.cv-upload-form input {
  width: 100%;
  min-height: 43px;
  padding: 0.68rem 0.76rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.cv-upload-form input:focus {
  border-color: rgba(230, 80, 157, 0.55);
  box-shadow: 0 0 0 3px rgba(230, 80, 157, 0.12);
  outline: none;
}

.cv-upload-form input[type="file"] {
  padding: 0.48rem;
}

.cv-upload-form input[type="file"]::file-selector-button {
  margin-right: 0.55rem;
  padding: 0.55rem 0.72rem;
  border: 0;
  border-radius: 9px;
  color: var(--ink);
  background: #f3efed;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.cv-upload-form .file-field small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
}

.cv-upload-form .check-field {
  grid-template-columns: 18px 1fr;
  gap: 0.5rem;
  align-items: start;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.42;
}

.cv-upload-form .check-field input {
  min-height: auto;
  margin-top: 0.16rem;
}

.cv-upload-form .button {
  width: 100%;
  min-height: 44px;
  margin-top: 0.15rem;
}

.cv-upload-form .button:disabled {
  cursor: wait;
  filter: grayscale(0.2);
  opacity: 0.72;
}

.job-detail-body {
  color: #201a1c;
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 400;
  background:
    linear-gradient(180deg, #fffaf7 0%, #fbf8f5 52%, #fffaf7 100%);
}

.job-detail-body .section-inner,
.job-detail-body .topbar-inner {
  width: min(calc(100% - 2rem), 1120px);
}

.job-detail-body .topbar-inner {
  min-height: 64px;
}

.job-detail-body .brand {
  min-width: auto;
  gap: 0.65rem;
}

.job-detail-body .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(230, 80, 157, 0.18);
}

.job-detail-body .brand-text strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.job-detail-body .brand-text small {
  font-size: 0.72rem;
  font-weight: 400;
}

.job-detail-body .main-nav a {
  font-size: 0.86rem;
  font-weight: 600;
}

.job-detail-stage {
  padding: 1rem 0 2.4rem;
}

.job-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 0.9rem;
  align-items: start;
}

.job-detail-card {
  display: grid;
  gap: 0.72rem;
}

.job-intro {
  min-height: 280px;
  display: grid;
  align-content: end;
  overflow: hidden;
  padding: clamp(0.95rem, 2.2vw, 1.25rem);
  border-radius: 10px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(20, 25, 27, 0.04), rgba(20, 25, 27, 0.78)),
    var(--job-photo, url("https://images.unsplash.com/photo-1556911220-e15b29be8c8f?auto=format&fit=crop&w=1400&q=82")) center / cover;
  box-shadow: 0 14px 30px rgba(34, 26, 29, 0.12);
}

.job-intro .job-meta span {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.job-intro .job-meta span,
.job-intro .job-quick-facts span {
  padding: 0.3rem 0.5rem;
  font-size: 0.71rem;
  font-weight: 600;
}

.job-intro h1 {
  max-width: 760px;
  margin-top: 0.52rem;
  color: #fff;
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-size: clamp(2.1rem, 4.2vw, 3.85rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}

.job-intro p {
  max-width: 620px;
  margin-top: 0.46rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.48;
}

.job-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
  box-shadow: 0 10px 22px rgba(34, 26, 29, 0.05);
}

.job-summary-strip article {
  min-height: 72px;
  padding: 0.66rem 0.78rem;
  background: #fff;
}

.job-summary-strip span,
.job-content-block span,
.apply-panel-head span {
  display: block;
  margin-bottom: 0.24rem;
  color: var(--primary);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.job-summary-strip strong {
  display: block;
  color: #201a1c;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.25;
}

.job-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 0.9rem;
}

.job-content-block {
  padding: 0.72rem 0;
  border-top: 1px solid var(--line);
}

.job-content-block:first-child {
  border-top: 0;
}

.job-content-block h2 {
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.job-content-block p {
  margin-top: 0.34rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.56;
  white-space: pre-line;
}

.job-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
}

.job-process article {
  padding: 0.68rem;
  background: #fff;
}

.job-process strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
}

.job-process p {
  margin-top: 0.22rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.42;
}

.apply-panel {
  position: sticky;
  top: 80px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(34, 26, 29, 0.07);
}

.apply-panel-head {
  padding: 0.84rem 0.92rem 0.76rem;
  color: #201a1c;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.apply-panel-head span {
  color: var(--primary);
}

.apply-panel h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.apply-panel-head p {
  margin-top: 0.28rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.43;
}

.apply-panel form,
.screening-questions {
  display: grid;
  gap: 0.54rem;
}

.screening-title {
  display: grid;
  gap: 0.12rem;
  padding-top: 0.22rem;
}

.screening-title strong {
  font-size: 0.86rem;
  font-weight: 600;
}

.screening-title small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 400;
  line-height: 1.4;
}

.apply-panel form {
  padding: 0.86rem 0.92rem 0.95rem;
}

.apply-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.52rem;
}

.apply-panel label {
  display: grid;
  gap: 0.24rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 500;
}

.apply-panel input,
.apply-panel select,
.apply-panel textarea {
  width: 100%;
  min-height: 36px;
  padding: 0.5rem 0.62rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 400;
}

.apply-panel input[type="file"] {
  padding: 0.36rem;
}

.apply-panel input[type="file"]::file-selector-button {
  margin-right: 0.5rem;
  padding: 0.42rem 0.58rem;
  border: 0;
  border-radius: 7px;
  color: #2d2428;
  background: #f3efed;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 500;
  cursor: pointer;
}

.apply-panel input:focus,
.apply-panel select:focus,
.apply-panel textarea:focus,
.jobs-toolbar input:focus {
  border-color: rgba(230, 80, 157, 0.55);
  box-shadow: 0 0 0 3px rgba(230, 80, 157, 0.12);
  outline: none;
}

.file-field small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 400;
}

.check-field {
  grid-template-columns: 17px 1fr;
  align-items: start;
  color: var(--ink-soft) !important;
  font-size: 0.76rem;
  font-weight: 400 !important;
  line-height: 1.36;
}

.check-field input {
  min-height: auto;
  margin-top: 0.15rem;
}

.apply-panel .button {
  width: 100%;
  min-height: 40px;
  font-size: 0.83rem;
  font-weight: 600;
  box-shadow: none;
}

.form-note {
  min-height: 1rem;
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.45;
}

.job-loading {
  min-height: 520px;
  display: grid;
  place-items: center;
  gap: 0.75rem;
  color: var(--ink-soft);
}

.job-loading span {
  width: 42px;
  height: 42px;
  border: 4px solid rgba(230, 80, 157, 0.18);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 900ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1080px) {
  .job-summary-strip,
  .job-process {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .public-jobs-grid,
  .job-detail-layout,
  .job-content-grid {
    grid-template-columns: 1fr;
  }

  .apply-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .jobs-toolbar,
  .apply-form-grid {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .jobs-hero-actions,
  .jobs-toolbar-actions,
  .jobs-stage-head {
    align-items: stretch;
    flex-direction: column;
  }

  .jobs-hero-actions .button,
  .jobs-toolbar-actions .button {
    width: 100%;
  }

  .jobs-stage-head p {
    max-width: none;
  }

  .cv-modal {
    align-items: end;
    padding: 0;
  }

  .cv-modal-card {
    width: 100%;
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
  }

  .cv-form-grid {
    grid-template-columns: 1fr;
  }

  .job-detail-stage {
    padding-top: 0.65rem;
  }

  .job-intro {
    min-height: 280px;
    border-radius: 10px;
    margin-inline: 0;
  }

  .job-intro h1 {
    font-size: clamp(2rem, 12vw, 3.4rem);
  }

  .job-summary-strip,
  .job-process {
    grid-template-columns: 1fr;
  }
}
