.recruitmentProcessPage {
  --rp-primary: #003c70;
  --rp-primary-dark: #002f5f;
  --rp-accent: #0092ce;
  --rp-bg: #f4f7fa;
  --rp-text: #172331;
  --rp-muted: #627081;
  --rp-border: #dbe3ea;
  --rp-soft: #eaf3f8;
  font-family: "Lato", Arial, Helvetica, sans-serif;
  color: var(--rp-text);
  background: var(--rp-bg);
}

.recruitmentProcessPage *,
.recruitmentProcessPage *::before,
.recruitmentProcessPage *::after {
  box-sizing: border-box;
}

.recruitmentProcessPage__hero {
  position: relative;
  overflow: hidden;
  background: var(--rp-primary);
  color: #fff;
  padding: clamp(56px, 7vw, 90px) 0 clamp(62px, 8vw, 102px);
}

.recruitmentProcessPage__hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  bottom: -270px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  pointer-events: none;
}

.recruitmentProcessPage__heroInner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
}

.recruitmentProcessPage__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
  color: rgba(255,255,255,.78);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .3s ease;
}

.recruitmentProcessPage__back:hover,
.recruitmentProcessPage__back:focus-visible {
  color: #fff;
}

.recruitmentProcessPage__eyebrow,
.recruitmentProcessPage__kicker {
  margin: 0 0 12px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.recruitmentProcessPage__eyebrow {
  color: rgba(255,255,255,.72);
}

.recruitmentProcessPage__hero h1 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.04em;
  font-weight: 800;
}

.recruitmentProcessPage__heroLead {
  max-width: 720px;
  margin: 25px 0 0;
  color: rgba(255,255,255,.86);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.55;
}

.recruitmentProcessPage__heroButton,
.recruitmentProcessPage__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .96rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}

.recruitmentProcessPage__heroButton {
  margin-top: 30px;
  background: #fff;
  color: var(--rp-primary);
}

.recruitmentProcessPage__heroButton:hover,
.recruitmentProcessPage__heroButton:focus-visible {
  background: #eef5f9;
  color: var(--rp-primary-dark);
}

.recruitmentProcessPage__heroButton span,
.recruitmentProcessPage__button span {
  display: inline-block;
  transition: transform .3s ease;
}

.recruitmentProcessPage__heroButton:hover span,
.recruitmentProcessPage__heroButton:focus-visible span,
.recruitmentProcessPage__button:hover span,
.recruitmentProcessPage__button:focus-visible span {
  transform: translateX(2px);
}

.recruitmentProcessPage__main {
  padding: clamp(44px, 6vw, 82px) 0 clamp(70px, 8vw, 110px);
}

.recruitmentProcessPage__mainInner {
  max-width: 1180px;
}

.recruitmentProcessPage__article {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 54px);
  background: #fff;
  border: 1px solid var(--rp-border);
  border-radius: 20px;
  font-size: 1.05rem;
  line-height: 1.78;
}

.recruitmentProcessPage__article::after,
.recruitmentProcessPage__articleEnd {
  content: "";
  display: block;
  clear: both;
}

.recruitmentProcessPage__leadMedia {
  float: left;
  width: min(43%, 470px);
  margin: 2px 38px 24px 0;
  shape-outside: inset(0 round 16px);
}

.recruitmentProcessPage__leadMedia img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
  border-radius: 16px;
}

.recruitmentProcessPage__leadMedia figcaption {
  margin-top: 9px;
  color: var(--rp-muted);
  font-size: .78rem;
  line-height: 1.45;
}

.recruitmentProcessPage__article > p:first-of-type {
  margin-top: 0;
  color: #25374a;
  font-size: 1.14rem;
  line-height: 1.7;
}

.recruitmentProcessPage__article p {
  margin: 0 0 1.2em;
}

.recruitmentProcessPage__article a {
  color: var(--rp-primary);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.recruitmentProcessPage__article a:hover,
.recruitmentProcessPage__article a:focus-visible {
  color: var(--rp-accent);
}

.recruitmentProcessPage__article h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2.1em 0 .8em;
  color: var(--rp-primary);
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.015em;
}

.recruitmentProcessPage__article h2:first-of-type {
  margin-top: 1.7em;
}

.recruitmentProcessPage__stepMark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--rp-soft);
  color: var(--rp-primary);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .04em;
}

.recruitmentProcessPage__article ul {
  margin: 0 0 1.8em;
  padding: 0;
  list-style: none;
}

.recruitmentProcessPage__article li {
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid #edf1f4;
}

.recruitmentProcessPage__article li:last-child {
  border-bottom: 0;
}

/*
 * Marker jest elementem linii tekstu, a nie absolutnym punktem względem
 * całego <li>. Dzięki temu listy poprawnie opływają pływające zdjęcie:
 * marker zaczyna się przy tekście zarówno obok zdjęcia, jak i pod nim.
 */
.recruitmentProcessPage__article li::before {
  content: "";
  position: static;
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 11px 2px 2px;
  border-radius: 50%;
  background: var(--rp-accent);
  vertical-align: middle;
}

.recruitmentProcessPage__footerCta {
  max-width: 1040px;
  margin: 28px auto 0;
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
  background: var(--rp-primary);
  color: #fff;
  border-radius: 20px;
}

.recruitmentProcessPage__footerCta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.6rem, 2.7vw, 2.35rem);
  line-height: 1.15;
  font-weight: 800;
}

.recruitmentProcessPage__footerCta p:not(.recruitmentProcessPage__kicker) {
  max-width: 650px;
  margin: 12px 0 0;
  color: rgba(255,255,255,.8);
  line-height: 1.6;
}

.recruitmentProcessPage__kicker {
  color: rgba(255,255,255,.64);
}

.recruitmentProcessPage__footerActions {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.recruitmentProcessPage__button--primary {
  background: #fff;
  color: var(--rp-primary);
}

.recruitmentProcessPage__button--primary:hover,
.recruitmentProcessPage__button--primary:focus-visible {
  background: #eef5f9;
  color: var(--rp-primary-dark);
}

.recruitmentProcessPage__button--secondary {
  border-color: rgba(255,255,255,.44);
  background: transparent;
  color: #fff;
}

.recruitmentProcessPage__button--secondary:hover,
.recruitmentProcessPage__button--secondary:focus-visible {
  border-color: #fff;
  background: rgba(255,255,255,.08);
  color: #fff;
}

.recruitmentProcessPage a:focus-visible {
  outline: 3px solid #72c7eb;
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .recruitmentProcessPage__footerCta {
    align-items: flex-start;
    flex-direction: column;
  }

  .recruitmentProcessPage__footerActions {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .recruitmentProcessPage__hero {
    padding-top: 42px;
  }

  .recruitmentProcessPage__back {
    margin-bottom: 26px;
  }

  .recruitmentProcessPage__article {
    padding: 22px 18px 28px;
    border-radius: 14px;
    font-size: 1rem;
  }

  .recruitmentProcessPage__leadMedia {
    float: none;
    width: 100%;
    margin: 0 0 27px;
    shape-outside: none;
  }

  .recruitmentProcessPage__leadMedia img {
    border-radius: 12px;
  }

  .recruitmentProcessPage__article h2,
  .recruitmentProcessPage__article h2:first-of-type {
    margin-top: 1.65em;
  }

  .recruitmentProcessPage__footerCta {
    padding: 28px 20px;
    border-radius: 14px;
  }

  .recruitmentProcessPage__footerActions,
  .recruitmentProcessPage__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .recruitmentProcessPage *,
  .recruitmentProcessPage *::before,
  .recruitmentProcessPage *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
