/* ====== WRAP ====== */
.sd-careers-req-wrap {
  background-color: #181818;
  color: #fff;
  width: 100%;
  box-sizing: border-box;

  padding-top: 4rem;
  padding-bottom: 4rem;

  padding-left: 20px;
  padding-right: 20px;

  font-family: "Inter", system-ui, sans-serif;
}

.sd-careers-req-inner {
  max-width: 1380px;
  margin-left: auto;
  margin-right: auto;

  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  column-gap: 2rem;
  row-gap: 2rem;
}

/* ===== LEFT COLUMN ===== */
.sd-careers-req-left {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 1000px;
  box-sizing: border-box;
}

/* ===== RIGHT COLUMN WRAP ===== */
.sd-careers-req-aside {
  flex: 0 0 400px;
  max-width: 400px;
  position: relative;
  box-sizing: border-box;
  min-height: auto;
  display: block;
}

/* ===== CARD (нормальное состояние / липнет) ===== */
.sd-careers-req-card {
  box-sizing: border-box;
  background-color: #1e1e1e;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px;

  width: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;

  position: sticky;
  top: 80px;

  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9), 0 0 60px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);

  transition: box-shadow 0.25s ease, transform 0.25s ease;
  z-index: 1;
}

/* ===== CARD (заморожена внизу, не липнет) ===== */
.sd-careers-req-card.sd-card-frozen {
  position: absolute !important;
  top: auto !important;
  bottom: 0 !important;
  /* ширину не ломаем */
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
}

/* ===== TYPOGRAPHY INSIDE CARD ===== */
.sd-careers-card-head {
  margin-top: 0;
  margin-bottom: 16px;
  font-family: "Oswald", sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 120%;
  color: #fff;
  letter-spacing: 1px;
}

.sd-careers-card-desc {
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  color: rgba(245, 245, 245, 0.8);
  white-space: pre-line;
}

.sd-careers-card-btn {
  display: inline-block;
  background-color: #f97316;
  color: #0f0f0f;
  border-radius: 10px;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}
.sd-careers-card-btn:hover {
  background-color: #ffad75;
  color: #0f0f0f;
}

/* ===== LEFT TEXT ===== */
.sd-careers-req-h1 {
  margin-top: 0;
  margin-bottom: 20px;
  font-family: "Oswald", sans-serif;
  font-size: 50px;
  font-weight: 400;
  line-height: 120%;
  color: #fff;
  letter-spacing: 1px;
}

.sd-careers-req-h2 {
  color: rgba(245, 245, 245, 0.7);
  margin-top: 0;
  margin-bottom: 40px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 130%;
}

.sd-careers-req-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sd-careers-req-item {
  margin-bottom: 32px;
}

.sd-careers-req-item-title {
  color: #f97316;
  margin-top: 0;
  margin-bottom: 8px;
  font-family: "Oswald", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: 1px;
}

.sd-careers-req-item-desc {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 20px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .sd-careers-req-inner {
    flex-wrap: wrap;
  }

  .sd-careers-req-left {
    max-width: 100%;
  }

  .sd-careers-req-aside {
    flex: 1 1 100%;
    max-width: 100%;
    position: relative;
    min-height: auto !important;
  }

  .sd-careers-req-card,
  .sd-careers-req-card.sd-card-frozen {
    position: relative !important;
    top: 0 !important;
    bottom: auto !important;
    max-width: 400px;
    margin-top: 20px;
    left: auto;
    right: auto;
    width: auto;
    transform: none;
  }

  .sd-careers-req-h1 {
    font-size: 42px;
    line-height: 120%;
  }

  .sd-careers-req-h2 {
    font-size: 20px;
    line-height: 130%;
  }
}

@media (max-width: 600px) {
  .sd-careers-req-h1 {
    font-size: 32px;
    line-height: 120%;
  }

  .sd-careers-req-item-title {
    font-size: 22px;
    line-height: 120%;
  }

  .sd-careers-card-head {
    font-family: Oswald, sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 120%;
  }
  .sd-careers-req-item-desc {
    font-size: 17px;
  }
}
