/* honor.html — banner 沿用 about，本页专属：图3 子菜单 + 图库 */

/* 顶部导航：未下拉时绿色，下拉后变白（沿用 .header.scrolled） */

body.honor-page .header.scrolled,
body.honor-page .header:hover,
body.honor-page .header.dropdown-active,
body.honor-page .header:has(.nav-item.has-dropdown:hover),
body.honor-page .header.search-open {
  background: #fff;
}

.honor-mission {
  position: relative;
  padding: 40px 0 10px;
  background:
    radial-gradient(ellipse 80% 60% at 12% 18%, rgba(45, 106, 62, 0.06), transparent 55%),
    linear-gradient(180deg, #f7faf7 0%, #f3f6f3 100%);
  overflow: hidden;
}

.honor-mission-inner {
  width: min(1300px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.honor-mission-visuals {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 20px;
  min-height: 0;
  padding: 0;
}

.honor-card {
  position: relative;
  flex: 1 1 0;
  width: 0;
  height: 120px;
  display: flex;
  align-items: flex-end;
  box-sizing: border-box;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  background: #6a7570;
  border: 2px solid transparent;
  box-shadow: 0 8px 20px rgba(20, 40, 28, 0.08);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  z-index: 1;
}

.honor-card-label {
  position: relative;
  z-index: 2;
  padding: 0 20px 18px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height:17px;
  letter-spacing: 0em;
}

.honor-card:hover {
  background: #2d6a3e;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(45, 106, 62, 0.22);
}

.honor-card.is-active {
  background: #2d6a3e;
  border-color: #1b4a2a;
}

.honor-card.is-active .honor-card-label::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  margin-top: 8px;
  background: #fff;
  border-radius: 2px;
}

.honor-mission-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 12px 0 12px 24px;
  min-width: 0;
}

.honor-mission-text {
  flex: 1;
  min-width: 0;
}

.honor-mission-eyebrow {
  margin: 0 0 5px;
  font-size: 14px;
  color: #8a958e;
  letter-spacing: 0.12em;
}

.honor-mission-title {
  margin: 0;
  font-size:22px;
  font-weight: 700;
  line-height: 1.25;
  color: #1b3022;
}

/* 默认浅灰线稿；下滑刷漆变绿（信凯星 .earth 同款） */
.honor-mission-icon {
  position: relative;
  flex: 0 0 140px;
  width: 140px;
  height: 140px;
  margin-left: auto;
}

.honor-mission-icon > img {
  display: block;
  width: 140px;
  height: 140px;
  object-fit: contain;
}

/* 绿色层：从上往下 height 0% → 100% 刷漆 */
.honor-mission-icon-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  will-change: height;
  pointer-events: none;
}

.honor-mission-icon-fill img {
  display: block;
  width: 140px;
  height: 140px;
  object-fit: contain;
}

.honor-content {
  padding: 24px 0 88px;
  background: #f7f7f5;
}

.honor-content-inner {
  width: min(1300px, 92%);
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  padding: 40px 44px 48px;
}

.honor-content-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e8ece9;
}

.honor-content-title {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  color: #1b3022;
}

.honor-content-crumb {
  margin: 0;
  font-size: 13px;
  color: #8a958e;
  white-space: nowrap;
}

.honor-content-crumb a {
  color: #5a6b60;
  text-decoration: none;
}

.honor-content-crumb a:hover {
  color: #2d6a3e;
  text-decoration: underline;
}

.honor-gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
}

.honor-gallery-item {
  text-align: center;
}

.honor-gallery-link {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f5f3;
  border: 1px solid rgba(45, 106, 62, 0.12);
  aspect-ratio: 3 / 2;
  cursor: zoom-in;
}

.honor-gallery-link img {
  max-width: 100%;
  object-fit: cover; margin:auto;
  display: block;
  transition: transform 0.45s ease;
}

.honor-gallery-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 28, 22, 0.35);
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.honor-gallery-link:hover img {
  transform: scale(1.06);
}

.honor-gallery-link:hover .honor-gallery-zoom {
  opacity: 1;
}

.honor-gallery-caption {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: #3d4a42;
  line-height: 1.4;
}

/* Lightbox */
.honor-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: rgba(8, 14, 12, 0.88);
  cursor: zoom-out;
}

.honor-lightbox[hidden] {
  display: none !important;
}

.honor-lightbox-img {
  max-width: min(920px, 92vw);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  cursor: default;
}

.honor-lightbox-caption {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  text-align: center;
}

.honor-lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.honor-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

@media (max-width: 960px) {
  .honor-mission {
    padding: 48px 0 36px;
  }

  .honor-mission-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .honor-mission-visuals {
    min-height: 0;
  }

  .honor-card {
    height: 120px;
  }

  .honor-mission-copy {
    padding: 0;
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .honor-mission-icon {
    margin-left: auto;
    flex-basis: 110px;
    width: 110px;
    height: 110px;
  }

  .honor-mission-icon > img,
  .honor-mission-icon-fill img {
    width: 110px;
    height: 110px;
  }

  .honor-content-inner {
    padding: 28px 18px 36px;
  }

  .honor-content-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .honor-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 14px;
  }
}

@media (max-width: 560px) {
  .honor-gallery {
    grid-template-columns: 1fr;
  }
}
