html {
  scroll-behavior: smooth;
}

body {
  height: 100vh;
  display: flex;
  flex-direction: column;
  color: #333;
  line-height: 1.6;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #f2f5f5 0%, #f2f5f5 100%);
}

.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}
.containers {
  /* justify-content: space-between; */
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("https://oss.allintrip.cn/shanwentou/upfiles/onepage/bannerrc.png?x-oss-process=image/quality,q_85/format,jpg");
}

.subtitle {
  color: var(--muted);
  font-size: 16px;
}

/* Sections */
section {
  padding: 80px 6vw;
  display: flex;
  align-items: center;
}

/* 全宽模块（占满100%宽度） */
#recruitment .recruitment-header,
#recruitment .talent-policy,
#recruitment .culture-section,
#recruitment .recruitment-overview,
#recruitment .recruitment-process,
#recruitment .job-listings,
#recruitment .benefits-section,
#recruitment .contact-section {
  width: 100%;
}

#recruitment .container {
  align-items: flex-start;
  flex-direction: column;
  position: relative;
  z-index: 1;
  gap: 4rem;
}
.about-title {
  width: 45%;
}
#recruitment .container > div {
  flex: 1;
}
#cultural {
  height: auto;
  background: #ffffff;
}
#cultural .container {
  align-items: flex-start;
  /* flex-direction: column; */
  position: relative;
  z-index: 1;
  gap: 4rem;
}
/* 新人才政策 */
.culture-box {
  display: flex;
  align-items: center;
  gap: 2rem;
  .culture-box-title {
    font-size: 1.2rem;
    position: relative;
    text-indent: 15px;
    margin-bottom: 1rem;
    font-weight: 500;
  }
  .culture-box-title::after {
    position: absolute;
    content: "";
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 24px;
    width: 6px;
    background: var(--primary-color);
  }
  .culture-box-items {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  .culture-box-item {
    border-radius: 16px;
    width: 45%;
    display: flex;
    font-size: 1.2rem;
    font-weight: 500;
    flex-direction: column;
    padding: 40px 20px;
    gap: 1rem;
    background: #f9f9fc;
    transition: all 0.5s;
    .culture-box-item-img {
      width: 32px;
      height: 32px;
    }
  }
}
.active-img {
  display: none;
}
.culture-box-item:hover {
  background: var(--primary-color);
  color: #fff;
  transition: all 0.5s;
  .active-img {
    display: block;
  }
  .default-img {
    display: none;
  }
}
/* 新加入我们 */

.mt-3 {
  margin-top: 3rem;
}
.mt-4 {
  margin-top: 4rem;
}
/* 新招聘流程 */
#hire {
  background: #fff;
}
/* 福利待遇 */
#welfare {
  background: #fff;
}
/* 人才招聘页面样式 */
.recruitment-header {
  font-size: 4rem;
  text-align: center;
}

/* 人才政策 */
.talent-policy {
  text-align: center;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-title {
  color: #333;
  font-size: 28px;
  margin-bottom: 2rem;
  font-weight: 600;
}

.policy-subtitle {
  font-size: 16px;
  color: var(--primary-color);
  font-weight: 400;
}

.policy-text {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.policy-highlight {
  color: #333;
  font-size: 16px;
  line-height: 1.8;
  margin: 15px 0;
  font-weight: 400;
}

.policy-highlight strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* 企业文化理念 */

.culture-title {
  text-align: center;
  color: #333;
  font-size: 28px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.culture-content {
  background: white;
  /* border: 1px solid #e9ecef; */
  border-radius: 12px;
  /* padding: 40px; */
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); */
}

.culture-text p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.3rem;
  text-align: justify;
  text-indent: 2em;
}

.culture-text p:last-child {
  margin-bottom: 0;
}

/* 招聘概览 */

.overview-title {
  text-align: center;
  color: #333;
  font-size: 28px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.overview-item {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 40px 30px;
  /* text-align: center; */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.overview-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.overview-icon {
  width: 80px;
  height: 80px;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-items: center;
  /* margin: 0 auto 0px; */
  color: white;
  margin-right: 1rem;
}

.overview-item h3 {
  color: #333;
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}

.overview-item p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* 招聘流程 */

.process-title {
  text-align: center;
  color: #333;
  font-size: 28px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  /* color: white; */
  /* border-radius: 50%; */
  display: flex;
  align-items: center;
  width: 99px;
  height: 100px;
  justify-content: center;
  /* font-size: 5rem; */
  font-weight: bold;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.process-step::after {
  content: "";
  position: absolute;
  top: 0px;
  right: -15px;

  width: 1px;
  height: 100%;
  background: #eaeaea;
  z-index: 1;
}
.process-step::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -32px;
  margin-top: -16px;
  width: 32px;
  height: 32px;
  background: url("https://oss.allintrip.cn/shanwentou/upfiles/recruitment/back.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  z-index: 2;
}

.process-step:last-child::after,
.process-step:last-child::before {
  display: none;
}

.step-content h4 {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 500;
}

.step-content p {
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* 职位列表 */

.job-title {
  text-align: center;
  color: #333;
  font-size: 28px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.job-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.job-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.job-header h4 {
  color: #333;
  font-size: 18px;
  margin: 0;
  font-weight: 600;
}

.job-type {
  background: var(--primary-color-light);
  color: var(--primary-color);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.job-info {
  margin-bottom: 20px;
}

.job-info p {
  color: #666;
  margin: 8px 0;
  font-size: 14px;
}

.job-description {
  margin-bottom: 25px;
}

.job-description p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.apply-btn {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-color-hover) 100%
  );
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* 福利待遇 */

.benefits-title {
  text-align: center;
  color: #333;
  font-size: 28px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.benefit-item {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.benefit-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.benefit-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.benefit-item h4 {
  color: #333;
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
}

.benefit-item p {
  color: #666;
  line-height: 1.6;
  margin: 0;
  font-size: 14px;
}

/* 联系我们 */
.contact-section {
  /* margin-bottom: 60px; */
}

.contact-title {
  text-align: center;
  color: #333;
  font-size: 28px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.contact-subtitle {
  font-size: 16px;
  color: var(--primary-color);
  font-weight: 400;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  /* gap: 30px; */
}

.contact-item {
  background: var(--primary-color);
  /* border: 1px solid #e9ecef; */
  /* border-radius: 12px; */
  padding: 30px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); */
}
.contact-item:nth-child(2) {
  background: rgba(70, 96, 229, 0.95);
}
.contact-item:nth-child(3) {
  background: rgba(70, 96, 229, 0.9);
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.contact-icon {
  width: 28px;
  height: 28px;

  /* border-radius: 50%; */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: white;
  flex-shrink: 0;
}

.contact-item h4 {
  color: #fff;
  font-size: 16px;
  margin: 0 0 8px 0;
  font-weight: 600;
}

.contact-item p {
  color: #fff;
  margin: 0;
  font-size: 14px;
}

/* 取消内容区域的最大宽度限制，确保真正全宽 */
#recruitment .policy-content {
  max-width: none;
  margin: 0;
  /* 去除水平居中导致的收窄 */
}

/* 响应式设计 */
@media (max-width: 1024px) {
  /* 移动端禁用 AOS 动画，确保所有元素可见 */
  html:not(.no-js) [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    transition: none !important;
  }
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .process-step {
    padding-bottom: 40px;
  }
  .process-step::before {
    /* display: none; */
    bottom: 0px;
    top: auto;
    right: auto;
    left: 50%;
    margin-left: -16px;
    transform: rotate(90deg);
  }
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-step::after {
    display: none;
  }

  .job-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .recruitment-header {
    margin-bottom: 1.5rem;
  }

  .recruitment-overview,
  .recruitment-process,
  .job-listings,
  .benefits-section {
    /* margin-bottom: 50px; */
  }
  #cultural .container {
    flex-direction: column;
  }
  .about-title {
    width: 100% !important;
  }
  .culture-content {
    width: 100%;
  }
  .culture-box {
    flex-direction: column;
    width: 100%;
  }
  .culture-box > div {
    width: 100%;
  }
  .culture-box-items {
    width: 100%;
  }
  .culture-box-item {
    width: 47% !important;
  }

  /* 修复 AOS 在移动端导致元素不可见的问题 */
  #join [data-aos],
  #welfare [data-aos],
  #recruitment [data-aos],
  #join .containers[data-aos],
  #welfare .containers[data-aos],
  #recruitment .container[data-aos],
  #recruitment .containers[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }

  /* 确保 section 内容可见 */
  #join,
  #welfare,
  #recruitment {
    opacity: 1 !important;
  }

  #join *,
  #welfare *,
  #recruitment * {
    opacity: 1 !important;
  }
}
.bor-b {
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 1rem;
}
@media (max-width: 480px) {
  .overview-item,
  .job-card,
  .benefit-item,
  .contact-item {
    padding: 20px;
  }

  .overview-icon {
    width: 60px;
    height: 60px;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  .contact-icon {
    width: 28px;
    height: 28px;
  }
}
