/* 页面正文内容区域 */
.main-content {
  padding: 40px 0;
  background-color: #fff;
}

/* 切换菜单样式 */
.tab-menu {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 30px;
  gap: 0;
  width: 100%;
}

/* 确保PC端tab-menu始终横向排列 */
.pc-tabs {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
}

.tab-item {
  flex: 0 0 auto;
  text-align: center;
  padding: 12px 20px;
  cursor: pointer;
  color: #666;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  min-width: 180px;
  display: inline-block;
}
.tdfs {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tdfs img {
  width: 120px;
  height: auto;
}

/* ==================== PC端和移动端容器控制 ==================== */
/* PC端容器 - 默认显示 */
.pc-container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  /* display: block !important; */
}

.mobile-container {
  display: none;
}

/* 移动端banner在PC端隐藏 */
.mobile-banner {
  display: none;
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* 移动端菜单在PC端隐藏 */
.mobile-tab-menu {
  display: none !important;
}

.mobile-banner img {
  width: 100%;
  height: auto; /* 高度自适应 */
  transition: opacity 0.6s ease-in-out;
  opacity: 0;
  display: none; /* 默认隐藏所有图片 */
}
.mobile-banner img.active {
  opacity: 1;
  display: block; /* 激活的图片显示 */
}

/* ==================== 移动端样式优化 ==================== */
/* 移动端显示/隐藏控制 */

.tab-item:hover {
  color: #333;
}

.tab-item.active {
  color: #d32f2f;
  font-weight: bold;
}

.tab-item.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: #d32f2f;
}

/* 内容区域样式 */
.tab-content {
  /* min-height: 400px; */
}

.content-item {
  display: none;
  padding: 20px 0;
}

.content-item.active {
  display: block;
}

.content-item h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 20px;
}

.content-item p {
  color: #666;
  line-height: 1.6;
}

/* 招聘政策内容样式 */
.policy-section {
  margin-bottom: 40px;
}

.policy-section h3 {
  color: #333;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* 核心人才队伍左右布局 */
.talent-layout {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.talent-title {
  flex: 0 0 auto;
  min-width: 260px;
}
.talent-title h3 {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  padding-top: 0;
  line-height: 1.2;
}
.talent-content {
  flex: 1;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 15px;
  padding-top: 0;
}

/* 政策网格布局 */
.policy-grid {
  display: flex;
  gap: 15px;
}

.policy-column {
  flex: 1;
  text-align: left;
}

.policy-column h4 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  margin-top: 0;
  text-align: left;
}

.policy-column p {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  text-align: left;
}

/* 薪酬列表布局 */
.salary-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 0;
  padding-top: 0;
}

.salary-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 0;
  padding-top: 0;
}

.salary-item h4 {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin: 0;
  min-width: 80px;
  flex-shrink: 0;
  line-height: 1.5;
  padding-top: 0;
  padding-bottom: 20px;
}

.salary-details {
  flex: 1;
}

.salary-details p {
  margin: 0 0 8px 0;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  text-align: left;
}

.salary-details strong {
  color: #333;
  font-weight: bold;
}

/* 职业发展双通道布局 */
.career-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 0;
  padding-top: 0;
}

.career-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 0;
  padding-top: 0;
}

.career-item h4 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 0;
  min-width: 120px;
  flex-shrink: 0;
  line-height: 1.5;
  padding-top: 0;
}

.career-path {
  flex: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.career-path span {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
  min-width: 80px;
  text-align: center;
}

.career-path .arrow {
  width: 12px;
  height: 12px;
  vertical-align: middle;
  margin: 0 4px;
}

/* 公司福利网格布局 */
.benefits-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 0;
  padding-top: 0;
}

.benefits-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 0;
  padding-top: 0;
  justify-content: flex-start;
}

.benefits-row span {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
  padding: 12px 0px;
  text-align: left;
  flex: 0 0 calc(20% - 12px);
  min-width: 120px;
}

/* 招聘流程布局 */
.process-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 0;
  padding-top: 0;
  justify-content: space-between;
}

.process-step {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
  padding: 8px 0;
  flex: 0 0 auto;
}

.process-arrow {
  width: 12px;
  height: 12px;
  vertical-align: middle;
  flex: 0 0 auto;
}

/* 投递方式布局 */
.contact-info {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-top: 0;
  padding-top: 0;
}

.contact-text {
  flex: 1;
}

.contact-text p {
  font-size: 18px;
  color: #333;
  line-height: 1.8;
  margin: 0 0 10px 0;
  text-align: left;
}

.qr-code {
  flex: 0 0 auto;
}

.qr-code img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

/* 校园招聘页面样式 */
.search-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-bottom: 30px;
  padding: 20px 0;
  gap: 15px;
}

.search-bar {
  display: flex;
  align-items: center;
  position: relative;
}

.job-search-input {
  width: 300px;
  height: 40px;
  padding: 0 40px 0 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
}

.search-icon2 {
  position: absolute;
  right: 10px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.display-options {
  font-size: 14px;
  color: #666;
  cursor: pointer;
}

.job-list {
  margin-bottom: 30px;
}

.job-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 2px dashed #f0f0f0;
  gap: 20px;
  position: relative;
}

.job-info {
  width: 100%;
}

.job-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

.job-details {
  width: 100%;
  display: flex;
  gap: 4px;
  justify-content: space-between;
  margin-bottom: 8px;
}
.job-details-left {
  display: flex;
  flex-direction: column;
  width: 30%;
}
.job-education {
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.job-count {
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.job-requirements {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  flex: 1;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
}

.requirements-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

.apply-btn {
  border: 1px solid #666;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 100px;
  text-align: center;
  color: #666;
  height: 40px;
  line-height: 40px;
}

.apply-btn.active {
  background-color: #f5f5f5;
  color: #666;
  border: 1px solid #666;
}

.apply-btn:hover {
  background-color: var(--primary);
  color: white;
  border: 1px solid #e74c3c;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

.pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

.page-btn {
  padding: 8px 12px;
  border: 1px solid #ddd;
  background-color: white;
  color: #666;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.page-btn.active {
  background-color: #d32f2f;
  color: white;
  border-color: #d32f2f;
}

.page-btn:hover {
  background-color: #f5f5f5;
}

.page-dots {
  color: #666;
  font-size: 14px;
}

/* 响应式布局 */

/* 政策内容列表样式 */
.policy-table,
.salary-table {
  margin-top: 15px;
}

.policy-table table,
.salary-table table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
}

.policy-table th,
.salary-table th {
  background-color: #f8f8f8;
  color: #333;
  font-weight: bold;
  padding: 12px 8px;
  text-align: center;
  border: 1px solid #e0e0e0;
  font-size: 16px;
}

.policy-table td,
.salary-table td {
  padding: 12px 8px;
  border: 1px solid #e0e0e0;
  vertical-align: top;
  text-align: left;
  background-color: #fff;
}

.policy-table td p,
.salary-table td p {
  margin: 3px 0;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.policy-table td strong,
.salary-table td strong {
  color: #333;
  font-weight: bold;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .tab-content{
    width: 90vw;
    margin: 0 auto;
  }
  .tab-content img{
    width: 100%;
    height: auto;
  }
  .job-item {
    padding: 16px;
    border-top: 1px dashed #ccc;
    gap: 10px;
    position: relative;
  }
  .search-section{
    display: none;
  }
  .job-details{
    flex-direction: column;
  }
  .job-details .apply-btn{
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 12px;
    height: auto;
    line-height: unset;
    padding: 3px 8px;
  }
  .job-details .job-title{
    padding:8px 0;
  }
  .talent-layout {
  display: block;
  }
  .policy-section {
    margin-bottom: 10px;
  }
}


/* .com-page-prev{
    width: 24px;
    background-image: url(/images/left-jiantou.png);
    height: 24px;
    background-size: 100% 100%;
    padding: 4px;
}
.com-page-prev:hover{
  background-image: url('/images/red-left-jiantou.png');
  border:1px solid red;
}

.com-page-next{
  width: 24px;
    background-image: url(/images/right-jiantou.png);
    height: 24px;
    background-size: 100% 100%;
    padding: 4px;
}
.com-page-next:hover{
  background-image: url('/images/red-right-jiantou.png');
  border:1px solid red;
}
.com-page a,.com-page span{
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    margin-left: 8px !important;
}
.com-page span{
  background-color: red;
  color: #fff;
} */