/* extracted from page-about.php */

/* ==================== 发展历程板块 ==================== */
.about-history-section {
  padding: 80px 0 100px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

/* 标题区 */
.about-history-header {
  text-align: center;
  margin-bottom: 60px;
}

.about-history-en {
  display: block;
  font-size: 16px;
  color: rgba(34, 34, 34, 0.4);
  letter-spacing: 3px;
  margin-bottom: 8px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  text-transform: uppercase;
}

.about-history-title {
  font-size: 32px;
  color: #222;
  font-weight: 500;
  margin: 0;
}

/* 主轮播区 - 固定高度防止跳动 */
.about-history-topper {
  max-width: 1400px;
  margin: 0 auto 50px;
  padding: 0 20px;
  min-height: 450px; /* 新增：固定最小高度，防止内容变化导致跳动 */
}

.about-history-main-wrapper {
  display: flex;
  align-items: center;
  gap: 80px;
}

.about-history-swiper-main {
  flex: 1;
  overflow: hidden;
}

/* 右侧导航按钮 */
.about-history-nav-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.history-nav-btn {
  width: 60px;
  height: 60px;
  border: 2px solid rgba(10, 196, 207, 0.3);
  border-radius: 50%;
  background: #fff;
  color: #0AC4CF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.history-nav-btn:hover {
  background: #0AC4CF;
  color: #fff;
  border-color: #0AC4CF;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(10, 196, 207, 0.3);
}

.history-nav-btn svg {
  width: 28px;
  height: 28px;
}

.about-history-slide {
  width: 100%;
}

.about-history-card {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* 图片区域 */
.about-history-image {
  flex: 0 0 520px;
  max-width: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-history-img {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  border-radius: 4px;
}

/* 内容区域 */
.about-history-content {
  flex: 1;
  padding: 30px 0;
  text-align: left;
}

.about-history-year {
  font-size: 80px; /* 从 72px 加大到 80px */
  color: #0AC4CF;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 35px; /* 适当增加底部间距 */
  font-family: 'Helvetica Neue', Arial, sans-serif;
  text-align: left;
}

.about-history-desc {
  font-size: 17px; /* 从 16px 加大到 17px */
  color: #222;
  line-height: 2.4; /* 适当增加行高以匹配更大的字号 */
  text-align: left; /* 左对齐 */
}

.about-history-desc p {
  margin: 0 0 22px 0; /* 增加标题与描述的间距 */
  text-align: left; /* 标题左对齐 */
  font-size: 18px;
  font-weight: 600;
}

.history-desc-line {
  position: relative;
  padding-left: 26px; /* 适当增加列表符号后的间距 */
  line-height: 2.4;
  margin-bottom: 14px; /* 适当增加每行之间的间距 */
}

.history-desc-line::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #666; /* 使用深灰色，与普通文字颜色一致 */
  font-size: 18px; /* 与文字大小一致 */
  line-height: 2.4;
}

.about-history-desc p strong {
  font-size: 18px;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

/* 标题从下到上的动画效果 */
.history-title-animated {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.swiper-slide-active .history-title-animated {
  opacity: 1;
  transform: translateY(0);
}

/* 描述文字也添加动画，延迟一点 */
.history-desc-line {
  position: relative;
  padding-left: 26px;
  line-height: 2.4;
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.swiper-slide-active .history-desc-line {
  opacity: 1;
  transform: translateY(0);
}

/* 逐行延迟动画 */
.swiper-slide-active .history-desc-line:nth-child(1) { transition-delay: 0.1s; }
.swiper-slide-active .history-desc-line:nth-child(2) { transition-delay: 0.2s; }
.swiper-slide-active .history-desc-line:nth-child(3) { transition-delay: 0.3s; }
.swiper-slide-active .history-desc-line:nth-child(4) { transition-delay: 0.4s; }
.swiper-slide-active .history-desc-line:nth-child(5) { transition-delay: 0.5s; }

/* 时间轴导航区 - 固定不动（透明背景） */
.about-history-botper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px 30px;
  position: sticky;  /* 固定定位 */
  bottom: 0;         /* 固定在底部 */
  background: transparent;  /* 透明背景 */
  z-index: 100;      /* 确保在其他内容之上 */
  box-shadow: none;  /* 移除阴影 */
  pointer-events: none;  /* 让鼠标事件穿透，但不影响子元素 */
}

/* 节点轨道 - 需要接收鼠标事件 */
.about-history-nav-track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  pointer-events: auto;  /* 恢复子元素的鼠标事件 */
}

/* 单个节点容器 */
.about-history-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  cursor: pointer;
}

/* 节点之间的连接直线（每个节点左侧的线） */
.about-history-nav-line {
  position: absolute;
  top: 10px; /* 与圆点垂直居中对齐 */
  right: 50%;
  left: -50%;
  height: 1px;
  background: rgba(34, 34, 34, 0.15);
  z-index: 0;
}

/* 圆点外圈 */
.about-history-dot {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(102, 102, 102, 0.2);
  transition: background 0.3s ease;
  flex-shrink: 0;
}

/* 圆点内圈 */
.about-history-dot-inner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #666;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: background 0.3s ease;
}

/* 年份文字 */
.about-history-dot-year {
  margin-top: 12px;
  font-size: 13px;
  color: #888;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-align: center;
}

/* 每个节点的浮动年份 */
.about-history-floating-year {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #0AC4CF;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(10, 196, 207, 0.3);
}

/* 激活时显示浮动年份 */
.about-history-nav-item.active .about-history-floating-year {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* 浮动年份的小三角 */
.about-history-floating-year::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #0AC4CF;
}

/* 激活/悬停状态 */
.about-history-nav-item.active .about-history-dot,
.about-history-nav-item:hover .about-history-dot {
  background: rgba(10, 196, 207, 0.2);
}

.about-history-nav-item.active .about-history-dot-inner,
.about-history-nav-item:hover .about-history-dot-inner {
  background: #0AC4CF;
}

.about-history-nav-item.active .about-history-dot-year,
.about-history-nav-item:hover .about-history-dot-year {
  color: #0AC4CF;
  transform: translateY(-4px);
}

/* 响应式 */
@media (max-width: 991px) {
  .about-history-card {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .about-history-image {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
  
  .about-history-year {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .about-history-section {
    padding: 50px 0 70px;
  }
  
  .about-history-title {
    font-size: 26px;
  }
  
  .about-history-year {
    font-size: 36px;
  }
  
  .about-history-desc {
    font-size: 14px;
  }
  
  /* 移动端节点轨道：固定不动，所有节点可见 */
  .about-history-nav-track {
    overflow-x: visible;
    gap: 0;
    padding-bottom: 10px;
    justify-content: space-between;
  }
  
  /* 移动端时间轴也固定在底部（透明背景） */
  .about-history-botper {
    padding: 30px 15px 20px;
    bottom: 0;
    background: transparent;  /* 移动端也使用透明背景 */
    box-shadow: none;         /* 移除阴影 */
  }
  
  .about-history-nav-item {
    min-width: auto;
    flex: 1;
  }
  
  .about-history-dot-year {
    font-size: 11px;
  }
  
  /* 移动端隐藏右侧导航按钮 */
  .about-history-nav-buttons {
    display: none;
  }
  
  .about-history-main-wrapper {
    gap: 0;
  }
}


/* ==================== 荣誉资质 ==================== */
.honor-section {
  padding: 80px 0;
  background: #fff;
}

/* 标题区 - 居中 */
.honor-header {
  text-align: center;
  margin-bottom: 50px;
}

.honor-en-title {
  font-size: 14px;
  color: #999;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.honor-cn-title {
  font-size: 32px;
  color: #1A5FB4;
  font-weight: 600;
  margin: 0;
}

/* 内容区 - 左右布局 */
.honor-content {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

/* 左侧区域 */
.honor-left {
  flex: 1;
  min-width: 0;
}

/* 左侧文字列表 */
.honor-list {
  padding: 0;
  margin-bottom: 30px;
}

.honor-list-item {
  display: flex;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px dashed #d0d0d0;
  max-width: fit-content; /* 根据内容自适应宽度 */
  min-width: 320px; /* 最小宽度保证 */
}

/* 移除最后一条的下划线隐藏规则，让所有条目都有下划线 */
/* .honor-list-item:last-child {
  border-bottom: none;
} */

.honor-arrow {
  color: #1A5FB4;
  font-size: 12px;
  margin-right: 10px;
  flex-shrink: 0;
  margin-top: 4px;
}

.honor-text {
  font-size: 15px;
  color: #333;
  line-height: 1.7;
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  flex: 1; /* 让文字占据剩余空间 */
}

/* 文字下方图片 - 增大尺寸 */
.honor-image-bottom {
  margin-top: 25px;  /* 从 20px 增加到 25px */
}

.honor-image-bottom img {
  width: 77%;
  max-width: 100%;
  max-height: 400px;  /* 从 300px 增加到 400px */
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  display: block;
}

/* 右侧区域 - 增大占比 */
.honor-right {
  flex: 0 0 55%;  /* 从 45% 增加到 55% */
  max-width: 700px;  /* 从 500px 增加到 700px */
}

/* 右侧图片 */
.honor-image-right {
  height: 100%;
}

.honor-image-right img {
  width: 130%;
  height: auto;
  /* max-height: 600px;  从 500px 增加到 600px */
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ==================== 合作伙伴 ==================== */
.partner-section {
  padding: 80px 0;
  background: #f8f9fa;
}

/* 标题区 */
.partner-header {
  text-align: center;
  margin-bottom: 50px;
}

.partner-en-title {
  font-size: 14px;
  color: #999;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.partner-cn-title {
  font-size: 32px;
  color: #1A5FB4;
  font-weight: 600;
  margin: 0 0 15px;
}

.partner-desc {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* 合作伙伴列表 */
.partner-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.partner-item {
  flex: 0 0 calc(33.333% - 20px);
  max-width: 360px;
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
}

a.partner-item:hover {
  text-decoration: none;
}

.partner-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.partner-logo {
  width: 120px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.partner-item:hover .partner-logo img {
  transform: scale(1.05);
}

.partner-name {
  font-size: 18px;
  color: #333;
  font-weight: 600;
  margin: 0 0 12px;
}

.partner-item-desc {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
  margin: 0;
}

/* 占位符 */
.partner-item.placeholder {
  background: #e9ecef;
}

.partner-item.placeholder .partner-logo {
  background: #dee2e6;
  border-radius: 8px;
  color: #999;
  font-size: 14px;
}

/* 响应式 */
@media (max-width: 991px) {
  .partner-item {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .partner-item {
    flex: 0 0 100%;
    max-width: 400px;
  }
  
  .partner-logo {
    width: 100px;
    height: 70px;
  }
  
  .partner-logo img {
    max-height: 50px;
  }
}

@media (max-width: 576px) {
  .partner-section {
    padding: 50px 0;
  }
  
  .partner-cn-title {
    font-size: 26px;
  }
  
  .partner-desc {
    font-size: 14px;
    padding: 0 20px;
  }
  
  .partner-item {
    padding: 25px;
  }
  
  .partner-name {
    font-size: 16px;
  }
}

/* ==================== Lightbox ==================== */
.honor-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.honor-lightbox.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.honor-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.honor-lightbox-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 90vw;
  max-height: 90vh;
}

.honor-lightbox-img-wrap {
  max-width: 80vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.honor-lightbox-img-wrap img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  display: block;
  transition: opacity 0.2s ease;
}

.honor-lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  padding: 0 8px;
  transition: color 0.2s;
}

.honor-lightbox-close:hover {
  color: #0AC4CF;
}

.honor-lightbox-prev,
.honor-lightbox-next {
  flex-shrink: 0;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.honor-lightbox-prev:hover,
.honor-lightbox-next:hover {
  background: #1A5FB4;
  border-color: #1A5FB4;
}

.honor-lightbox-caption {
  position: absolute;
  bottom: -36px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}

.honor-lightbox-counter {
  position: absolute;
  top: -44px;
  left: 0;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

/* 响应式 */
@media (max-width: 1200px) {
  .honor-content { gap: 30px; }
  .honor-list { 
    flex: 0 0 340px;
    min-width: 260px;
  }
  .honor-right {
    flex: 0 0 50%;  /* 中等屏幕也增加占比 */
    max-width: 600px;
  }
  .honor-image-right img {
    max-height: 550px;  /* 相应增加高度 */
  }
}

@media (max-width: 991px) {
  .honor-content {
    flex-direction: column;
  }
  .honor-left {
    width: 100%;
  }
  .honor-right {
    flex: none;
    width: 100%;
    max-width: 100%;
  }
  .honor-image-right img {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .honor-image-bottom img {
    max-height: 350px;  /* 从 250px 增加到 350px */
  }
  .honor-image-right img {
    max-height: 400px;
  }
  .honor-lightbox-prev,
  .honor-lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .honor-section { padding: 50px 0; }
  .honor-cn-title { font-size: 26px; }
  .honor-cert-item {
    flex: 0 0 88px;
    width: 88px;
  }
  .honor-cert-frame {
    height: 110px;
  }
  .honor-cert-frame img {
    max-height: 88px;
  }
  .honor-lightbox-img-wrap {
    max-width: 92vw;
  }
}


/* 招贤纳士并排布局 */
.recruit-row { display: flex; gap: 30px; margin-top: 40px; }
.recruit-row > div { flex: 1; }

/* 我们期待你 */
.recruit-expect { padding: 30px; background: linear-gradient(135deg, #f0f9f3 0%, #e8f5ec 100%); border-radius: 12px; border-left: 5px solid #208740; }
.recruit-expect-title { font-size: 20px; font-weight: bold; color: #208740; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid #c5e3ce; }
.recruit-expect-list { list-style: none; padding: 0; margin: 0; }
.recruit-expect-list li { position: relative; padding: 8px 0 8px 26px; color: #444; font-size: 14px; line-height: 1.6; border-bottom: 1px dashed #d0e8d8; }
.recruit-expect-list li:last-child { border-bottom: none; }
.recruit-expect-list li::before { content: ''; position: absolute; left: 0; top: 14px; width: 10px; height: 10px; background: #208740; border-radius: 50%; }

/* 加入我们 */
.recruit-join { padding: 30px; background: linear-gradient(135deg, #208740 0%, #2a9d4f 100%); border-radius: 12px; color: #fff; }
.recruit-join-title { font-size: 18px; font-weight: bold; color: #fff; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.3); }
.recruit-join-content p { color: rgba(255,255,255,0.95); font-size: 13px; line-height: 1.7; margin-bottom: 8px; }
.recruit-join-content p strong { color: #fff; font-weight: bold; }
.recruit-join-content a { color: #fff; text-decoration: underline; }
.recruit-join-content a:hover { color: #e8f5ec; }
.recruit-join-contact { margin-left: 16px; }

@media (max-width: 768px) {
  .recruit-row { flex-direction: column; }
  .recruit-expect, .recruit-join { padding: 20px; }
  .recruit-join-contact { margin-left: 0; }
}
