/* ==========================================================
   CAREERS PAGE
   ========================================================== */

/* ===== Intro ===== */
.ibe-careers-intro {
  background: #FAF5EE;
  padding: 3rem 2rem 2.5rem;
}
.ibe-careers-intro__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.ibe-careers-intro__title {
  font-family: 'Zalando Sans Expanded', sans-serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  color: #434142;
  letter-spacing: 0;
  margin: 0 0 1.25rem 0;
}
.ibe-careers-intro__lede {
  font-family: 'Zalando Sans Expanded', sans-serif;
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1.8;
  color: rgba(26, 26, 26, 0.78);
  margin: 0 auto;
  max-width: 560px;
}

/* ===== Parallax band ===== */
.ibe-careers-band-wrap {
  background: #FAF5EE;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}
.ibe-careers-band {
  position: relative;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  height: 346px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
@media (max-width: 900px) {
  .ibe-careers-band {
    background-attachment: scroll;
    height: 280px;
  }
}

/* ===== Openings ===== */
.ibe-openings {
  background: #FAF5EE;
  padding: clamp(3rem, 6vw, 5rem) 2rem clamp(4rem, 7vw, 6rem);
}
.ibe-openings__inner {
  max-width: 880px;
  margin: 0 auto;
}
.ibe-openings__title {
  font-family: 'Zalando Sans Expanded', sans-serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  color: #434142;
  letter-spacing: 0;
  text-align: center;
  margin: 0 0 2.75rem 0;
}

.ibe-openings__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ===== Job card ===== */
.ibe-job {
  background: #434142;
  color: #FFFAF6;
  width: 100%;
  max-width: 768px;
  min-height: 286px;
  margin: 0 auto;
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.ibe-job__head { margin-bottom: 1.1rem; }
.ibe-job__name {
  font-family: 'Zalando Sans Expanded', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0;
  color: #FFFAF6;
  margin: 0 0 0.2rem 0;
}
.ibe-job__loc {
  font-family: 'Zalando Sans Expanded', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}
.ibe-job__desc {
  font-family: 'Zalando Sans Expanded', sans-serif;
  font-weight: 400;
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 1.75rem 0;
}

/* ===== Apply link ===== */
.ibe-job__apply {
  position: relative;
  display: inline-block;
  font-family: 'Zalando Sans Expanded', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #FFFAF6;
  text-decoration: none;
  padding-bottom: 6px;
  margin-top: auto;
  align-self: flex-start;
  transition: color 0.45s var(--ibe-transition);
}
.ibe-job__apply span { display: inline-block; }
.ibe-job__apply::before {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 56px;
  background: #FFFAF6;
  transition: width 0.45s var(--ibe-transition);
}
.ibe-job__apply:hover::before { width: 100%; }

/* ===== Responsive ===== */
@media (max-width: 700px) {
  .ibe-careers-intro { padding: 2rem 1.25rem 1.75rem; }
  .ibe-openings { padding: 2.25rem 1.25rem 3rem; }
  .ibe-job { padding: 1.25rem 1.25rem; }
}

/* ===== RTL ===== */
[dir="rtl"] .ibe-job__apply::before { left: auto; right: 0; }
