@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Unbounded:wght@600;700&display=swap');

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

body.p24-vacancies-page {
  background-color: #f4f5f6;
  background-image: repeating-linear-gradient(-18deg, transparent 0 22px, rgba(22, 28, 34, 0.035) 22px 23px);
  background-attachment: fixed;
}
body.p24-vacancies-page .site-content-fullwidth { background: transparent; }
body.p24-vacancies-page .job {
  font-family: Manrope, system-ui, sans-serif;
  color: #17211c;
}
body.p24-vacancies-page .job h1,
body.p24-vacancies-page .job h2 {
  font-family: Unbounded, Manrope, sans-serif;
  letter-spacing: -0.04em;
}

.job-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 0 28px;
  /* clear fixed glass header: pad + bar height + content gap */
  padding: calc(var(--p24-header-pad, 12px) + var(--p24-header-h, 56px) + 28px) 0 42px;
  color: #f4f7f5;
  background: #101613;
  border-radius: 0 0 32px 32px;
}
.job-hero--photo {
  min-height: 420px;
  padding-bottom: 56px;
}
.job-hero--compact {
  padding: calc(var(--p24-header-pad, 12px) + var(--p24-header-h, 56px) + 20px) 0 34px;
  min-height: 0;
}
.job-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 26%, rgba(0, 0, 0, 0.4) 40%, #000 56%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 26%, rgba(0, 0, 0, 0.4) 40%, #000 56%, #000 100%);
}
.job-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 40%;
}
.job-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #101613 0%, #101613 32%, rgba(16, 22, 19, 0.9) 46%, rgba(16, 22, 19, 0.35) 66%, rgba(16, 22, 19, 0.1) 100%),
    linear-gradient(180deg, rgba(16, 22, 19, 0.18) 0%, transparent 48%, rgba(16, 22, 19, 0.28) 100%);
}
.job-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 24px;
}
.job-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; color: rgba(244, 247, 245, 0.62); font-size: 14px; }
.job-crumbs a { color: #8ddeb0; text-decoration: none; }
.job-hero__eye { margin: 0 0 8px; color: #8ddeb0; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; }
.job-hero h1 { margin: 0 0 12px; font-size: 46px; line-height: 1.05; color: #fff; }
.job-hero__lead { margin: 0; max-width: 680px; color: rgba(244, 247, 245, 0.78); font-size: 17px; line-height: 1.5; }
.job-hero__lead a { color: #fff; }
.job-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.job-stats li { min-width: 140px; padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); }
.job-stats strong { display: block; font-size: 20px; }
.job-stats span { color: rgba(244, 247, 245, 0.62); font-size: 13px; }

.job-cats {
  width: 100%;
  margin: 0 0 8px;
  padding: 8px 0 4px;
}
.job-cats__inner {
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}
.job-cats__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-height: 108px;
  padding: 16px;
  border: 1px solid #e3e8e5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 22, 19, 0.04);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.job-cats__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(16, 22, 19, 0.08);
}
.job-cats__title {
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: #101613;
}
.job-cats__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 28px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eef1ef;
  color: #3d4942;
  font-size: 12px;
  font-weight: 800;
}
.job-cats__item.is-on {
  background: #101613;
  border-color: #101613;
  box-shadow: 0 16px 36px rgba(16, 22, 19, 0.18);
}
.job-cats__item.is-on .job-cats__title { color: #fff; }
.job-cats__item.is-on .job-cats__count {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.job-wrap, .job-detail {
  max-width: 1450px;
  margin: 0 auto 64px;
  padding: 0 24px;
  display: grid;
  gap: 22px;
  align-items: start;
}
.job-wrap {
  grid-template-columns: 300px minmax(0, 1fr);
  margin-bottom: 22px;
}
.job-detail { grid-template-columns: minmax(0, 1fr) 360px; }
.job-side, .job-panel { position: sticky; top: 92px; }
.job-side {
  background: #fff;
  border-radius: 28px;
  padding: 16px;
  box-shadow: 0 16px 40px rgba(16, 22, 19, 0.06);
}
.job-side__toggle { display: none; }
.job-search input, .job-form input, .job-form textarea {
  width: 100%;
  box-sizing: border-box;
  height: 46px;
  border: 1px solid #e3e8e5;
  border-radius: 14px;
  padding: 0 14px;
  font: inherit;
  background: #f7f8f8;
}
.job-form textarea { height: auto; padding: 12px 14px; resize: vertical; }
.job-group { margin-top: 16px; }
.job-group p { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #6d776f; }
.job-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.job-chips button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px 0 12px;
  border: 1px solid #e3e8e5;
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.job-chips button span { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #f0f2f1; color: #5d675f; font-size: 11px; line-height: 18px; text-align: center; }
.job-chips button.is-on { background: #101613; color: #fff; border-color: #101613; }
.job-chips button.is-on span { background: rgba(255, 255, 255, 0.16); color: #fff; }
.job-reset { margin-top: 16px; padding: 0; border: 0; background: none; color: #146b3a; font: inherit; font-weight: 700; cursor: pointer; }
.job-count { margin: 0 0 12px; color: #6d776f; font-weight: 700; }
.job-grid { display: grid; gap: 14px; }
.job-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 12px 32px rgba(16, 22, 19, 0.05);
}
.job-card--paid {
  border: 1px solid rgba(23, 130, 74, 0.5);
  background-image: repeating-linear-gradient(-18deg, transparent 0 16px, rgba(23, 130, 74, 0.045) 16px 17px);
}
.job-card__top, .job-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.job-card__when { color: #6d776f; font-size: 13px; }
.job-card h2 { margin: 0; font-size: 26px; line-height: 1.2; }
.job-card h2 a { color: #101613; text-decoration: none; }
.job-card__org {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #146b3a;
  font-weight: 800;
  text-decoration: none;
}
.job-hero .job-card__org { margin-top: 8px; color: #fff; }
.job-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #e7f6ee;
  color: #146b3a;
  font-weight: 800;
}
.job-hero .job-avatar { background: rgba(255, 255, 255, 0.12); color: #fff; }
.job-salary { margin: 0; }
.job-salary strong { display: block; font-size: 28px; letter-spacing: -0.04em; }
.job-salary span { color: #5d675f; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.job-tags li { padding: 6px 10px; border-radius: 999px; background: #f3f5f4; font-size: 13px; font-weight: 700; }
.job-hero .job-tags li { background: rgba(255, 255, 255, 0.08); color: #fff; }
.job-pin {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: #17824a;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.job-pin--quiet { background: #eef1ef; color: #3d4942; }
.job-open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 6px 0 16px;
  border: 0;
  border-radius: 999px;
  background: #17824a;
  color: #fff;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.job-open span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.job-open--light { background: #fff; color: #101613; width: 100%; justify-content: space-between; }
.job-open--light span { background: #101613; color: #fff; }
.job-none, .job-empty { margin: 12px 0 0; color: #5d675f; }

.job-story { display: grid; gap: 14px; }
.job-story section {
  padding: 22px 22px 8px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 12px 32px rgba(16, 22, 19, 0.05);
}
.job-story section > span { color: #17824a; font-weight: 800; letter-spacing: 0.08em; }
.job-story h2 { margin: 6px 0 10px; font-size: 26px; }
.job-story p { margin: 0 0 14px; line-height: 1.6; color: #243028; }
.job-panel {
  padding: 20px;
  border-radius: 28px;
  background:
    radial-gradient(280px 120px at 100% 0%, rgba(34, 163, 95, 0.28), transparent 60%),
    #101613;
  color: #f4f7f5;
}
.job-salary--light strong { color: #fff; font-size: 32px; }
.job-salary--light span { color: rgba(244, 247, 245, 0.65); }
.job-attrs { margin: 16px 0; }
.job-attrs div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.job-attrs dt { color: rgba(244, 247, 245, 0.55); }
.job-attrs dd { margin: 0; font-weight: 700; text-align: right; }
.job-form { display: grid; gap: 10px; margin-top: 16px; }
.job-form h2 { margin: 0; font-size: 22px; color: #fff; }
.job-form p { margin: 0; color: rgba(244, 247, 245, 0.7); }
.job-hp { position: absolute; left: -9999px; }
.job-form__status { font-weight: 800; color: #8ddeb0; }
.job-panel .job-open { justify-content: space-between; }

.job-seo {
  max-width: 1450px;
  margin: 0 auto 64px;
  padding: 0 24px;
  box-sizing: border-box;
}
.job-seo__inner {
  padding: 28px 24px 32px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 12px 32px rgba(16, 22, 19, 0.05);
}
.job-seo h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
  color: #101613;
}
.job-seo h3 {
  margin: 22px 0 10px;
  font-size: clamp(17px, 2vw, 20px);
  letter-spacing: -0.03em;
  color: #101613;
}
.job-seo p {
  margin: 0 0 10px;
  max-width: 820px;
  line-height: 1.65;
  color: #243028;
  font-size: 16px;
}
.job-seo a {
  color: #146b3a;
  font-weight: 700;
  text-decoration: none;
}
.job-seo a:hover { text-decoration: underline; }
.job-seo__links {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  max-width: 820px;
}
.job-seo__links li { margin: 0; }
.job-seo__links a { color: #101613; }
.job-seo__links a:hover { color: #146b3a; }

@media (max-width: 1100px) {
  .job-cats__inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .job-wrap, .job-detail { grid-template-columns: 1fr; }
  .job-side, .job-panel { position: static; }
  .job-hero--photo { min-height: 380px; }
  /* full photo on mobile — soft veil like home hero */
  .job-hero--photo .job-hero__media {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .job-hero--photo .job-hero__media img { object-position: 62% 34%; }
  .job-hero--photo .job-hero__shade {
    background:
      linear-gradient(180deg,
        rgba(16, 22, 19, 0.52) 0%,
        rgba(16, 22, 19, 0.4) 30%,
        rgba(16, 22, 19, 0.55) 58%,
        rgba(16, 22, 19, 0.78) 100%),
      linear-gradient(115deg,
        rgba(16, 22, 19, 0.48) 0%,
        rgba(16, 22, 19, 0.28) 42%,
        rgba(16, 22, 19, 0.12) 72%,
        rgba(16, 22, 19, 0.06) 100%);
  }
  .job-hero h1 { font-size: 32px; }
  .job-side__toggle {
    display: flex;
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: #101613;
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
  }
  .job-side__body { display: none; margin-top: 12px; }
  .job-side.is-open .job-side__body { display: block; }
  .job-seo__inner { border-radius: 22px; padding: 22px 18px 26px; }
}
@media (max-width: 640px) {
  .job-cats__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 16px; }
  .job-cats__item { min-height: 92px; padding: 14px; }
  .job-cats__title { font-size: 13px; }
}
