/* ═══════════════════════════════════════════════════════════
   honor.css — Qualifications & Honors listing page
   Scope: body.sr-honor-page  |  Zero !important
   ════════════════════════════════════════════════════════════ */

/* ── Hero banner ────────────────────────────────────────────── */
body.sr-honor-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.sr-honor-page .site-footer {
  margin-top: auto;
}

body.sr-honor-page .site-nav__item--about > .site-nav__link {
  color: #1677ff;
}

body.sr-honor-page .site-nav__item--about > .site-nav__link::before {
  width: 24px;
}

body.sr-honor-page .company-gallery-hero__content {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 78px 0 24px;
}

body.sr-honor-page .company-gallery-hero__container {
  width: 100%;
  max-width: calc(var(--header-shell) + var(--header-pad) * 2);
  margin: 0 auto;
  padding: 0 var(--header-pad);
}

body.sr-honor-page .company-gallery-hero__title {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 2.6vw, 48px);
  font-weight: 900;
  line-height: 1.08;
}

body.sr-honor-page .honor-breadcrumb {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
  color: rgba(238,246,255,.76);
  font-size: 12px;
  font-weight: 700;
}

body.sr-honor-page .honor-breadcrumb a {
  color: rgba(238,246,255,.82);
  text-decoration: none;
}

body.sr-honor-page .honor-breadcrumb a:hover {
  color: #fff;
}

body.sr-honor-page .honor-breadcrumb::after {
  content: ">";
  color: rgba(238,246,255,.48);
}

body.sr-honor-page .company-gallery-hero__subtitle {
  max-width: 660px;
  margin: 14px 0 0;
  color: rgba(238,246,255,.86);
  font-size: 16px;
  line-height: 1.55;
}

/* ── Content wrapper ─────────────────────────────────────────── */
body.sr-honor-page .inpage-container {
  padding: 44px 0 52px;
}

/* ── Certificate grid ────────────────────────────────────────── */
body.sr-honor-page .inpage-main-content > ul.row {
  align-content: flex-start;
  list-style: none;
  margin: -8px;
  padding: 0;
}

body.sr-honor-page .product-slide {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 8px;
  transition: filter .22s ease, transform .22s ease;
}

body.sr-honor-page .product-slide[hidden] {
  display: none;
}

body.sr-honor-page .product-slide::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 3;
  border: 1px solid #cddced;
  pointer-events: none;
  transition: border-color .22s ease;
}

body.sr-honor-page .product-slide-card {
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
  border: 0;
  background: #fff;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

body.sr-honor-page .product-slide:hover {
  filter: drop-shadow(0 18px 18px rgba(13,45,84,.12));
  transform: translateY(-4px);
}

body.sr-honor-page .product-slide:hover::before {
  border-color: #1677ff;
}

body.sr-honor-page .product-slide-img {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 40 / 27;
  overflow: hidden;
  background: #f0f5fb;
}

body.sr-honor-page .product-slide-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .24s ease, filter .24s ease;
}

body.sr-honor-page .product-slide:hover .product-slide-img img {
  transform: scale(1.015);
  filter: brightness(.96);
}

body.sr-honor-page .product-slide-txt {
  display: flex;
  flex: 0 0 68px;
  align-items: center;
  justify-content: center;
  height: 68px;
  padding: 8px 12px;
  box-sizing: border-box;
  border: 0;
  background: #fff;
  color: #0f2b44;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

/* ── Pagination ──────────────────────────────────────────────── */
body.sr-honor-page .de-page-mian {
  padding-top: 24px;
}

body.sr-honor-page .page-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid #dce8f4;
}

body.sr-honor-page .page-inner a,
body.sr-honor-page .page-inner span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #cddced;
  background: #fff;
  color: #24415f;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

body.sr-honor-page .page-inner a:hover,
body.sr-honor-page .page-inner a.active {
  background: #1677ff;
  border-color: #1677ff;
  color: #fff;
}

body.sr-honor-page .page-inner span {
  display: none;
}

body.sr-honor-page .page-inner .prev:not(.on),
body.sr-honor-page .page-inner .next:not(.on) {
  opacity: .42;
  pointer-events: none;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 767px) {
  body.sr-honor-page .company-gallery-hero__content {
    padding: 78px 0 24px;
  }

  body.sr-honor-page .company-gallery-hero__title {
    font-size: clamp(26px, 7vw, 32px);
    line-height: 1.12;
  }

  body.sr-honor-page .company-gallery-hero__subtitle {
    font-size: 14px;
    margin-top: 10px;
  }

  body.sr-honor-page .inpage-container {
    padding: 40px 0 56px;
  }

  body.sr-honor-page .inpage-main-content > ul.row {
    margin: -8px;
  }

  body.sr-honor-page .product-slide {
    padding: 8px;
  }

  body.sr-honor-page .product-slide::before {
    inset: 8px;
  }

  body.sr-honor-page .product-slide-txt {
    flex-basis: 88px;
    height: 88px;
    padding: 10px;
  }
}

.honor-wall-intro {
  max-width: 760px;
  margin: 0 0 30px;
}

.honor-wall-intro > span {
  color: #1677ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}

.honor-wall-intro h2 {
  margin: 8px 0 10px;
  color: #071f3f;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 900;
}

.honor-wall-intro p {
  margin: 0;
  color: #587087;
  font-size: 14px;
  line-height: 1.7;
}

body.sr-honor-page .product-slide--featured .product-slide-card {
  border-color: #8bbcf1;
  background: #f3f8ff;
}
