/* 英才招聘：对齐 www / m.krakenice.com/recruit/ */
.page-recruit { background: #fff; color: #333; }
.page-recruit .wrap { width: 1366px; max-width: 100%; margin: 0 auto; padding: 0 90px; box-sizing: border-box; }
.page-recruit .sec-h { font-size: 46px; text-align: center; color: #1d1d1f; margin: 0 0 40px; font-weight: bold; }

.recruit-banner { position: relative; background: #000; line-height: 0; }
.recruit-banner video {
  width: 100%; height: auto; display: block;
  max-height: none; object-fit: contain; background: #000;
}
.recruit-play, .recruit-pause {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  z-index: 2; cursor: pointer;
}
.recruit-play img, .recruit-pause img { width: 48px; height: 48px; }
.recruit-pause { display: none; opacity: 0; transition: opacity .2s; }
.recruit-banner.is-playing:hover .recruit-pause { display: flex; opacity: 1; }
.recruit-banner.is-playing .recruit-play { display: none; }

.recruit-about { padding: 60px 0 80px; }
.why-list { display: flex; list-style: none; margin: 40px 0 0; padding: 0; }
.why-list li {
  flex: 1; padding: 20px; text-align: center;
  border-right: 2px solid #eee; box-sizing: border-box;
}
.why-list li:last-child { border-right-color: transparent; }
.why-icon { width: 80px; height: 80px; margin: 0 auto; }
.why-icon img { width: 100%; height: 100%; object-fit: contain; }
.why-title { font-size: 22px; font-weight: bold; margin: 20px 0 0; }
.why-desc { margin-top: 20px; line-height: 2; font-size: 14px; color: #808080; text-align: left; }

.recruit-join { padding: 50px 0 80px; background: #fbfbfd; }
.join-lead {
  max-width: 900px; margin: 0 auto 40px; text-align: center;
  font-size: 14px; line-height: 2; color: #808080;
}
.join-hero { position: relative; margin-top: 20px; }
.join-hero > img { width: 100%; display: block; }
.join-hero-mask {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
}
.join-hero-title { font-size: 31px; color: #fff; margin-bottom: 40px; font-weight: bold; }
.join-btn {
  display: inline-block; padding: 10px 22px; background: #ffc233; color: #000;
  border-radius: 20px; font-weight: bold;
}

/* —— PC 三列错落 —— */
.recruit-find { padding: 50px 0 90px; }
.find-m { display: none; }
.find-pc {
  display: flex; justify-content: space-between;
  width: 100%; height: 590px; margin-top: 50px; gap: 16px;
}
.find-pc .find-col {
  display: flex; flex-direction: column; justify-content: space-between;
  width: 370px; flex-shrink: 0;
}
.find-pc .find-col-wide { width: 390px; }
.find-pc .find-card {
  position: relative; overflow: hidden; cursor: pointer; width: 100%;
}
.find-pc .find-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.find-pc .find-h290 { height: 290px; }
.find-pc .find-h275 { height: 275px; }
.find-pc .find-h196 { height: 196px; }
.find-pc .find-h369 { height: 369px; }
.find-pc .find-h346 { height: 346px; }
.find-pc .find-h219 { height: 219px; }
.find-pc .find-name {
  position: absolute; left: 22px; bottom: 22px; color: #fff; font-size: 18px; z-index: 2;
  font-weight: 500; letter-spacing: 0.12em;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
  transition: opacity .3s ease, transform .3s ease;
}
.find-pc .find-mask {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px 26px 30px; box-sizing: border-box;
  color: #fff;
  background: linear-gradient(
    180deg,
    rgba(12, 14, 18, 0.15) 0%,
    rgba(12, 14, 18, 0.45) 38%,
    rgba(12, 14, 18, 0.82) 100%
  );
  opacity: 0;
  transition: opacity .4s ease;
}
.find-pc .find-mask-pad20,
.find-pc .find-mask-pad50,
.find-pc .find-mask-pad80,
.find-pc .find-mask-pad130 { padding-top: 28px; }
.find-pc .find-card:hover .find-mask { opacity: 1; }
.find-pc .find-card:hover .find-name {
  opacity: 0; transform: translateY(6px);
}
.find-pc .find-mask-title {
  font-size: 22px; font-weight: 500; margin: 0 0 14px;
  letter-spacing: 0.14em; line-height: 1.35;
  transform: translateY(10px); opacity: 0;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .35s ease;
}
.find-pc .find-mask-title::after {
  content: ""; display: block; width: 28px; height: 1px;
  margin-top: 12px; background: rgba(201, 162, 39, 0.9);
}
.find-pc .find-mask p {
  font-size: 13px; font-weight: 400; line-height: 1.9;
  letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.78);
  margin: 0; max-width: 92%; text-align: justify;
  transform: translateY(12px); opacity: 0;
  transition: transform .5s cubic-bezier(.2,.8,.2,1) .06s, opacity .4s ease .06s;
}
.find-pc .find-card:hover .find-mask-title,
.find-pc .find-card:hover .find-mask p {
  transform: translateY(0); opacity: 1;
}

@media (max-width: 1200px) {
  .page-recruit .wrap { padding: 0 24px; }
  .find-pc { height: auto; flex-wrap: wrap; gap: 12px; }
  .find-pc .find-col, .find-pc .find-col-wide { width: calc(33.33% - 8px); min-width: 220px; flex: 1; gap: 12px; }
  .find-pc .find-card { height: auto !important; aspect-ratio: 4/3; }
}

@media (max-width: 767px) {
  .page-recruit .wrap { padding: 0 3vw; }
  .page-recruit .sec-h { font-size: 5.8vw; margin: 7vw 0 6vw; letter-spacing: 0.04em; }

  .recruit-banner video { width: 100%; height: auto; }
  .recruit-play img, .recruit-pause img { width: 10vw; height: 10vw; }
  .recruit-banner.is-playing .recruit-pause { display: none !important; }
  .recruit-banner.is-playing .recruit-play { display: none; }

  /* 2×2 宫格，中间一根竖线（避免单列时右侧残留分割线） */
  .recruit-about { padding: 2vw 0 4vw; }
  .why-list {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    column-gap: 0;
    row-gap: 9vw;
    margin: 0;
    padding: 0 1vw 4vw;
    position: relative;
    box-sizing: border-box;
  }
  .why-list::before {
    content: "";
    position: absolute;
    left: 50%; top: 12vw; bottom: 6vw;
    width: 1px; margin-left: -0.5px;
    background: #cfcfcf; pointer-events: none;
  }
  .why-list li {
    position: relative;
    width: auto !important;
    flex: none !important;
    display: flex; flex-direction: column; align-items: center;
    padding: 0 3.5vw; margin: 0 !important;
    border-right: 0 !important; box-sizing: border-box; text-align: center;
  }
  .why-list li::after { display: none !important; content: none !important; }
  .why-icon { width: 11vw; height: 11vw; }
  .why-title {
    font-size: 3.7vw; margin: 4vw 0 3vw; font-weight: 600;
    color: #222; line-height: 1.4;
  }
  .why-desc {
    font-size: 3.1vw; line-height: 1.75; margin: 0;
    color: #666; text-align: justify; font-weight: normal;
  }

  .recruit-join { padding: 2vw 0 8vw; background: #ededed; }
  .join-lead {
    font-size: 3.4vw; line-height: 1.8; margin: 0 0 2vw;
    text-align: justify; padding: 0 2vw 2vw; max-width: none; color: #555;
  }
  .join-hero { margin-top: 4vw; }
  .join-hero-title { font-size: 5vw; margin-bottom: 5vw; }
  .join-btn {
    width: 30vw; height: 8vw; line-height: 8vw; padding: 0;
    border-radius: 2vw; font-size: 3.5vw; text-align: center;
  }

  /* 双列错落：高度自适应，不再裁切底部文案 */
  .recruit-find { padding: 2vw 0 12vw; }
  .find-pc { display: none !important; }
  .find-m {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 2vw; height: auto; overflow: visible; margin: 0;
  }
  .find-m .find-col {
    width: calc((100% - 2vw) / 2);
    display: flex; flex-direction: column; gap: 2vw;
  }
  .find-m .find-col .find-card { margin: 0 !important; }
  .find-m .find-card {
    position: relative; width: 100%; overflow: hidden; cursor: pointer;
    border-radius: 1px;
  }
  /* 比例对齐官网，改用 vw 随屏宽伸缩且完整露出 */
  .find-m .find-m1 { height: 36vw; }
  .find-m .find-m2 { height: 39vw; }
  .find-m .find-m3 { height: 39vw; }
  .find-m .find-m4 { height: 32vw; }
  .find-m .find-m5 { height: 47vw; }
  .find-m .find-m6 { height: 34vw; }

  .find-m .find-face,
  .find-m .find-back {
    position: absolute; inset: 0; width: 100%; height: 100%;
  }
  .find-m .find-face {
    background-size: cover; background-position: center;
  }
  /* 底部渐变保字可读，去掉整图压暗 */
  .find-m .find-face::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0;
    height: 55%;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.55) 100%);
    pointer-events: none;
  }
  .find-m .find-face span {
    position: absolute; left: 3.2vw; right: 3.2vw; bottom: 3.6vw;
    font-size: 3.5vw; font-weight: 500; color: #fff; z-index: 1;
    letter-spacing: 0.1em; line-height: 1.4;
    text-shadow: 0 1px 6px rgba(0,0,0,.4);
  }
  .find-m .find-back {
    display: none; box-sizing: border-box; color: #fff;
    padding: 4.5vw 3.5vw 4vw;
    flex-direction: column; justify-content: flex-end;
    background: linear-gradient(
      180deg,
      rgba(12, 14, 18, 0.2) 0%,
      rgba(12, 14, 18, 0.55) 40%,
      rgba(12, 14, 18, 0.88) 100%
    );
  }
  .find-m .find-back::before {
    content: ""; display: block; width: 6vw; height: 1px;
    margin-bottom: 2.8vw; background: rgba(201, 162, 39, 0.9);
  }
  .find-m .find-back p {
    margin: 0; font-size: 3vw; font-weight: 400;
    line-height: 1.75; letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.82); text-align: justify;
  }
  .find-m .find-card.open .find-face { display: none; }
  .find-m .find-card.open .find-back { display: flex; }
}
