/* ===========================
   Open Positions Block
   =========================== */

.tv3-open-positions__inner {
  max-width: var(--wp--style--global--content-size);
  margin: 0 auto;
}

.tv3-open-positions__header {
  margin-bottom: 80px;
}

.tv3-open-positions__subtitle {
  margin-bottom: 40px;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.tv3-open-positions__subtitle .tv3-subtitle__text {
  white-space: normal;
}

.tv3-open-positions__title {
  max-width: 580px;
  font-size: clamp(24px, 3.5vw, 32px);
  line-height: 32px;
  font-weight: 400;
  /* margin-bottom: 24px; */
  letter-spacing: -0.5px;
}

.tv3-open-positions__description {
  max-width: 450px;
  opacity: 0.7;
  font-size: 16px;
  line-height: 26px;
}

.tv3-open-positions__list {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.tv3-open-positions__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.tv3-open-positions__item:hover .tv3-open-positions__job {
  text-decoration: underline;
}

.tv3-open-positions__left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.tv3-open-positions__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.tv3-open-positions__bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tv3-open-positions__job {
  font-size: clamp(18px, 3.5vw, 24px);
  font-weight: 400;
  letter-spacing: -0.5px;
  white-space: normal;
}

.tv3-open-positions__type {
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  background: var(--wp--preset--color--deep-black);
  color: var(--wp--preset--color--white);
}

.tv3-open-positions__location {
  font-size: clamp(16px, 3.5vw, 24px);
  opacity: 0.7;
}

.tv3-open-positions--empty .tv3-join-us__desc {
  opacity: 1;
  color: rgba(255, 255, 255, 0.7);
}

.tv3-open-positions--empty .tv3-join-us__desc a {
  color: var(--wp--preset--color--accent);
}

@media (max-width: 781px) {
  .tv3-open-positions__header {
    margin-bottom: 48px;
  }

  .tv3-open-positions__item {
    flex-direction: column;
    align-items: flex-start;
  }

  .tv3-open-positions__left {
    flex-direction: column;
    align-items: flex-start;
  }
}
