@font-face {
  font-family: "PingFangHei";
  src: url("../font/苹方黑体-准-简.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "PingFangHei", sans-serif;
  color: #2a3140;
  background: #f4f4f6;
}

img {
  display: block;
  max-width: 100%;
}

.hero {
  position: relative;
  height: 584px;
  overflow: hidden;
}

.hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 25, 38, 0.24);
  z-index: 1;
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.hero__content h1 {
  margin: 0 0 18px;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero__content p {
  margin: 0;
  font-size: 13px;
  opacity: 0.9;
  letter-spacing: 2px;
}

.page {
  width: 1240px;
  max-width: calc(100% - 48px);
  margin: 56px auto 0;
}

.jobs,
.benefits {
  background: #fff;
}

.jobs {
  padding: 74px 78px 56px;
}

.section-title {
  text-align: center;
  margin-bottom: 42px;
}

.section-title h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  color: #323948;
}

.section-title p {
  margin: 10px 0 0;
  font-size: 12px;
  color: #a7afc1;
  letter-spacing: 1.6px;
}

.section-title--left {
  text-align: left;
  margin-bottom: 24px;
}

.jobs__table-wrap {
  max-height: 540px;
  overflow-y: auto;
  overflow-x: hidden;
  border-top: 1px solid #eef1f6;
  border-bottom: 1px solid #eef1f6;
  scrollbar-width: thin;
  scrollbar-color: #c7d2e8 #f6f8fc;
}

.jobs__table-wrap::-webkit-scrollbar {
  width: 10px;
}

.jobs__table-wrap::-webkit-scrollbar-track {
  background: #f6f8fc;
}

.jobs__table-wrap::-webkit-scrollbar-thumb {
  background: #c7d2e8;
  border-radius: 999px;
}

.jobs__table {
  width: 100%;
  border-collapse: collapse;
}

.jobs__table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 16px 12px;
  font-size: 12px;
  font-weight: 600;
  background: #fff;
  color: #444d61;
  border-bottom: 1px solid #eef1f6;
}

.jobs__table tbody td {
  padding: 18px 12px;
  font-size: 12px;
  color: #6d768a;
  text-align: center;
  border-bottom: 1px solid #f2f4f8;
}

.jobs__table .job-name {
  text-align: left;
  color: #434c5f;
}

.jobs__table .job-row.is-open td {
  background: #f5f7fb;
}

.job-row {
  cursor: pointer;
}

.job-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  color: #7aa2ff;
  font-size: 12px;
  cursor: pointer;
}

.job-detail {
  display: none;
}

.job-detail__cell {
  padding: 0 !important;
}

.job-detail__inner {
  padding: 18px 28px 24px;
  text-align: left;
  line-height: 1.95;
  color: #7b8496;
  opacity: 0;
  transform: translateY(-8px);
}

.job-detail__label {
  margin: 0 0 6px;
  color: #434c5f;
  font-size: 12px;
}

.job-detail.is-entering .job-detail__inner,
.job-detail.is-open .job-detail__inner {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.job-detail.is-closing .job-detail__inner {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.job-detail__inner ol {
  margin: 0;
  padding-left: 20px;
}

.jobs__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 14px;
  color: #4b5567;
}

.jobs__contact-label {
  font-weight: 700;
  color: #323948;
}

.jobs__contact a {
  color: #2f6bff;
  text-decoration: none;
}

.jobs__contact a:hover {
  text-decoration: underline;
}

.benefits {
  position: relative;
  margin-top: 54px;
  padding: 58px 62px;
  overflow: hidden;
}

.benefits__bg {
  position: absolute;
  inset: 0;
  background: url("../images/joinus/jpg.png") center center / cover no-repeat;
  opacity: 1;
}

.benefits__text ol {
  margin: 0;
  padding-left: 18px;
  color: #2b2e33;
  font-size: 13px;
  line-height: 2.05;
}

.benefits__text {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.footer {
  margin-top: 72px;
  background: #2d2d36;
  color: white;
}

.footer__inner {
  width: 1210px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  /* grid-template-columns: 300px 1fr; */
  gap: 88px;
  padding: 64px 0 34px;
}

.footer__brand {
  padding-top: 6px;
}

.footer__brand img {
  width: 120px;
  margin-bottom: 26px;
}

.footer__phone {
  margin: 20px 0 16px;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  line-height: 1.6;
}

.footer__brand p {
  margin: 8px 0;
  font-size: 13px;
  line-height: 1.5;
  color: white;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding-top: 1px;
}

.footer__links h3 {
  margin: 0 0 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 400;
  line-height: 1.75;
}

.footer__links p {
  margin: 7px 0;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.62);
}

.footer__copy {
  width: 1210px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 1280px) {
  .hero {
    height: 31vw;
    min-height: 320px;
  }

  .jobs {
    padding: 48px 28px 42px;
  }

  .jobs__table-wrap {
    max-height: 600px;
  }

  .benefits {
    padding: 42px 28px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page {
    max-width: calc(100% - 24px);
    margin-top: 24px;
  }

  .hero__content h1 {
    font-size: 28px;
  }

  .jobs__table-wrap {
    max-height: 520px;
    overflow-x: auto;
  }

  .jobs__table {
    min-width: 820px;
  }

  .benefits,
  .jobs {
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer {
    margin-top: 48px;
  }

  .footer__inner,
  .footer__copy {
    max-width: calc(100% - 24px);
  }

  .footer__links {
    grid-template-columns: 1fr;
  }

  .footer__phone {
    font-size: 16px;
  }
}
