/* 科研实力 */
.honor_txt {
  padding: 0.3rem 0;
  width: 10rem;
  height: 3.84rem;
  background-image: url("../images/honor/yc_bj_honor.png");
  background-size: 100% auto; /* 宽度100%，高度自动保持比例 */
  background-repeat: no-repeat;
  display: table;
}
.honor_txt .brief {
  width: 3.2rem;
  font-size: 0.09rem;
  color: #1A1A1A;
  line-height: 0.23rem;
  text-align: left;
}
.honor_txt .brief p {
  margin-top: 0.2rem;
}
.honor_txt .brief p span {
  color: #0075C1;
  font-weight: bold;
 }

/* 技术资质 */
.honor_img {
  padding: 0.3rem 0;
  width: 10rem;
  background-image: url("../images/honor/yc_bj_honor_2.png");
  background-size: 100% auto; /* 宽度100%，高度自动保持比例 */
  background-repeat: no-repeat;
  display: table;
}

/* 幻灯片 */
/* 图片展示容器 */
.gallery-container {
  margin: 0.15rem auto 0;
  width: 6.3258rem;
  box-sizing: border-box;
}

/* 图片帧容器 */
.frames-container {
  position: relative;
  overflow: hidden;
}

.frames-track {
  display: flex;
  transition: transform 0.5s ease;
}

/* 当只有1组图片时，禁用flex布局 */
.single-frame .frames-track {
  display: block;
  transform: none !important;
}

/* 图片组 */
.frame {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 单组图片时的样式 */
.single-frame .frame {
  flex: none;
  width: 100%;
}

/* 图片行 */
.image-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
}

/* 单组图片时的行布局 */
.single-frame .image-row {
  flex-wrap: wrap;
}

/* 图片项 */
.image-item {
  flex: 0 0 calc(25% - 15px);
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  /*
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  background: #f0f0f0;
  */
}

.image-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.image-item img {
  width: 100%;
  height: 100%;
  /*object-fit: cover;*/
  display: block;
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 58, 95, 0.85);
  color: white;
  padding: 8px 10px;
  font-size: 14px;
  text-align: center;
}

/* 底部切换按钮 - 只在多组图片时显示 */
.controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 0.3rem;
}

.controls.hidden {
  display: none;
}

.frame-btn {
  width: 0.06rem;
  height: 0.06rem;
  border: none;
  background: #e0e0e0;
  color: #666;
  border-radius: 0.03rem;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.frame-btn:hover {
  background: #0075C1;
  color: white;
}

.frame-btn.active {
  background: #0075C1;
  color: white;
  box-shadow: 0 4px 12px rgba(26, 58, 95, 0.3);
}

.frame-btn i {
  font-size: 14px;
}

/* 图片序号 */
.image-number {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(230, 57, 70, 0.9);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

/* 单组图片提示 */
.single-tip {
  text-align: center;
  color: #666;
  font-size: 14px;
  margin-top: 10px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 5px;
  display: none;
}

.single-frame .single-tip {
  display: block;
}

/* 响应式设计 */
/*
@media (max-width: 768px) {
  .image-item {
    flex: 0 0 calc(50% - 10px);
  }

  .image-row {
    gap: 15px;
  }

  .frame-btn {
    width: 100px;
    height: 36px;
    font-size: 14px;
  }

  .single-frame .image-item {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 480px) {
  .image-item {
    flex: 0 0 100%;
    max-width: 300px;
  }

  .image-row {
    flex-direction: column;
    align-items: center;
  }

  .frame-btn {
    width: 90px;
    height: 32px;
    font-size: 13px;
  }

  .single-frame .image-item {
    flex: 0 0 100%;
    max-width: 300px;
  }

  .single-frame .image-row {
    flex-direction: column;
  }
}
*/