/* =========================================
   招聘页 PC
   Join 文案：句号分行，逗号不换行，每行不折行并水平居中
   ========================================= */
.career-join__text-pc {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.career-join__text-pc p {
  margin: 0;
  width: max-content;
  max-width: none;
  white-space: nowrap;
  text-align: center;
  overflow-wrap: normal;
  word-break: keep-all;
}

/* =========================================
   招聘页 H5（max-width: 768px）
   设计稿 Career_mobile 390
   仅影响移动端，不改 PC 样式
   ========================================= */

@media (max-width: 768px) {
  /* ----------------------------------------
     Banner
     ---------------------------------------- */
  .career-banner {
    height: 5rem;
    min-height: 0;
  }

  .career-banner__bg {
    background: none;
    box-shadow: none;
    filter: none;
  }

  .career-banner__title {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 3.5rem;
    gap: 0.16rem;
  }

  .career-banner__eyebrow {
    font-size: 0.13rem;
    line-height: 0.18rem;
    opacity: 0.8;
  }

  .career-banner__heading {
    font-size: 0.52rem;
    line-height: 0.6rem;
    font-weight: 700;
  }

  /* ----------------------------------------
     Join（Figma 387:8503 / 390×614）
     ---------------------------------------- */
  .career-join {
    --career-join-word-inset: 0;
    --career-join-word-shift: 0px;
    height: auto;
    min-height: 6.14rem;
    overflow: hidden;
    padding: 0.96rem 0 0.48rem;
  }

  .career-join__photo-wrap {
    position: relative;
    z-index: 1;
    width: 2.94rem;
    height: 2.94rem;
    margin: 0 auto;
    overflow: hidden;
  }

  .career-join__photo-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(22, 22, 22, 0.05);
    pointer-events: none;
    z-index: 1;
  }

  .career-join__photo-wrap .career-join__photo {
    position: absolute;
    inset: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    transform: none;
    object-fit: cover;
    background: none;
  }

  .career-join__word {
    font-size: 0.72rem;
    line-height: 0.76rem;
    will-change: auto;
  }

  .career-join__word--left {
    left: 0;
    top: 1.63rem;
    transform: none;
  }

  .career-join__word--right {
    left: 1.28rem;
    right: auto;
    top: 2.47rem;
    transform: none;
  }

  .career-join__text {
    position: relative;
    left: auto;
    top: auto;
    width: 3.3rem;
    max-width: calc(100% - 0.6rem);
    margin: 0.32rem auto 0;
    transform: none;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.24rem;
    line-height: 0.36rem;
    text-align: center;
    color: var(--color-black);
  }

  .career-join__text-h5 {
    margin: 0;
  }

  /* ----------------------------------------
     Positions（Figma 387:8508 / 390×788）
     ---------------------------------------- */
  .career-position {
    align-items: stretch;
    gap: 0;
    padding: 0.32rem 0.2rem;
    overflow: visible;
  }

  .career-position > .career-position__eyebrow:first-of-type {
    margin-bottom: 0.24rem;
  }

  .career-position__eyebrow {
    font-size: 0.16rem;
    line-height: 0.18rem;
    font-weight: 700;
  }

  .career-position__list {
    width: 100%;
    margin: 0 0 0.64rem;
    padding: 0;
    border-radius: 0;
    overflow: visible;
  }

  .career-position__list + .career-position__eyebrow {
    margin-bottom: 0.32rem;
  }

  .career-position__job {
    border-top: 1px solid var(--color-border);
  }

  .career-position__job:first-child {
    border-top: none;
  }

  .career-position__job-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-height: 0.7rem;
    padding: 0;
    justify-content: center;
  }

  .career-position__job--open .career-position__job-inner {
    gap: 0.24rem;
    min-height: 0;
    padding: 0.24rem 0;
    justify-content: flex-start;
  }

  .career-position__job--open .career-position__job-main {
    gap: 0.16rem;
  }

  .career-position__job-header {
    min-height: 0.7rem;
    width: 100%;
    max-width: 100%;
    gap: 0.1rem;
    align-items: center;
    box-sizing: border-box;
  }

  .career-position__job--open .career-position__job-header {
    min-height: 0;
  }

  .career-position__arrow {
    width: 0.16rem;
    height: 0.16rem;
    flex-shrink: 0;
  }

  .career-position__job-title {
    flex: 1;
    min-width: 0;
    font-size: 0.18rem;
    line-height: 0.24rem;
    font-weight: 700;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .career-position__job-main {
    width: 100%;
    min-width: 0;
  }

  .career-position__job-body {
    padding: 0 0 0 0.24rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  .career-position__job-body-inner {
    gap: 0.12rem;
    padding-top: 0;
    min-width: 0;
    overflow: visible;
  }

  .career-position__job-desc {
    font-size: 0.16rem;
    line-height: 0.2rem;
    opacity: 0.8;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .career-position__job-reqs {
    padding-left: 0.21rem;
    font-size: 0.14rem;
    line-height: 0.2rem;
    color: var(--color-grey-secondary);
    overflow-wrap: break-word;
    word-break: normal;
  }

  .career-position__job-reqs li {
    overflow-wrap: break-word;
    word-break: normal;
  }

  .career-position__job-reqs li::before {
    left: -0.14rem;
    top: 0.08rem;
    width: 0.04rem;
    height: 0.04rem;
  }

  .career-position__apply {
    position: static;
    top: auto;
    right: auto;
    display: none;
    transform: none;
    margin: 0 0 0 0.24rem;
    max-width: calc(100% - 0.24rem);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .career-position__job--open .career-position__apply {
    display: inline-flex;
  }

  .career-position__apply > span:first-child {
    padding: 0.08rem 0.32rem;
    font-size: 0.14rem;
    font-weight: 500;
    border-width: 2px;
    white-space: normal;
  }

  .career-position__apply-arrow {
    width: 0.32rem;
    height: 0.16rem;
    margin-left: -0.16rem;
  }

  .career-position__apply-list {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 0.24rem;
    font-size: 0.16rem;
    line-height: 0.24rem;
    font-weight: 400;
    overflow-wrap: break-word;
    word-break: normal;
    box-sizing: border-box;
  }

  .career-position__apply-list li {
    overflow-wrap: break-word;
    word-break: normal;
  }

  .career-position__apply-list li + li {
    margin-top: 0.08rem;
  }

  .career-position__apply-list strong {
    font-weight: 700;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .career-position__mail {
    text-decoration: underline;
    text-underline-position: from-font;
    overflow-wrap: anywhere;
  }
}
