:root {
  color-scheme: light;
  --honor-red: #d7000f;
  --honor-red-hover: #b9000d;
  --honor-ink: #121010;
  --honor-heading: #1a0404;
  --honor-brown: #3f1414;
  --honor-body: #666666;
  --honor-blue: #14363f;
  --honor-line: #dddddd;
  --honor-soft-red: #fdf2f2;
  --honor-font: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  --honor-outfit: "Outfit", "Microsoft YaHei", Arial, sans-serif;
}

body {
  min-width: 320px;
  font-family: var(--honor-font);
  background: #fff;
}

.page-root {
  width: 100%;
  min-height: 100vh;
}

.honor-page {
  min-height: 0;
  overflow-x: hidden;
  color: var(--honor-ink);
  background: #fff;
}

.honor-page a {
  color: inherit;
  text-decoration: none;
}

.honor-container {
  width: min(1640px, calc(100vw - 280px));
  margin: 0 auto;
}

.honor-hero {
  padding: 116px 0 0;
}

.honor-hero__grid {
  display: grid;
  grid-template-columns: 680px minmax(0, 1fr);
  column-gap: 75px;
  min-height: 467px;
}

.honor-eyebrow {
  margin: 12px 0 11px;
  color: var(--honor-red);
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
}

.honor-hero h1 {
  margin: 0;
  color: var(--honor-heading);
  font-size: 68px;
  line-height: 1.32;
  font-weight: 400;
  letter-spacing: 0;
}

.honor-hero__copy {
  margin-top: -9px;
  padding-top: 0;
  color: var(--honor-body);
  font-size: 16px;
  line-height: 31px;
  font-weight: 400;
}

.honor-hero__copy p {
  margin: 0 0 10px;
}

.about-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 59px;
  padding: 9px 10px;
  border-radius: 999px;
  background: #fbefef;
}

.about-tabs__item,
.about-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  height: 32px;
  padding: 0 15px;
  border-radius: 999px;
  color: var(--honor-blue);
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.about-tabs__item:nth-child(3),
.about-tabs a:nth-child(3) {
  min-width: 108px;
}

.about-tabs__item.is-active,
.about-tabs a.is-active {
  min-width: 82px;
}

.about-tabs__item.is-active,
.about-tabs a.is-active,
.about-tabs__item:hover,
.about-tabs a:hover,
.about-tabs__item:focus-visible,
.about-tabs a:focus-visible {
  color: #fff;
  background: var(--honor-red);
}

.about-tabs__item:focus-visible,
.about-tabs a:focus-visible {
  outline: 2px solid rgba(215, 0, 15, 0.28);
  outline-offset: 3px;
}

.certificate-section {
  padding: 8px 0 96px;
}

.certificate-section h2 {
  margin: 0;
  color: var(--honor-brown);
  text-align: center;
  font-size: 42px;
  line-height: 92px;
  font-weight: 700;
  letter-spacing: 0;
}

.certificate-rule {
  width: 100%;
  height: 1px;
  margin-top: 28px;
  background: var(--honor-line);
}

 .certificate-tabs {
      display: flex;
      flex-wrap: nowrap;
      /* super260708 */
      /* width: 1274px; */
      max-width: 100%;
      margin: 43px auto 80px;
      overflow-x: auto;
      overflow-y: hidden;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
	 justify-content: center;
  }

  .certificate-tabs > * {
      flex: 0 0 160px;
  }

  .certificate-tabs::-webkit-scrollbar {
      display: none;
  }

.certificate-tabs a {
  position: relative;
  display: flex;
  justify-content: center;
  height: 34px;
  color: var(--honor-blue);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.certificate-tabs a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 44px;
  height: 3px;
  border-radius: 999px;
  background: transparent;
  transform: translateX(-50%);
}

.certificate-tabs a.is-active::after,
.certificate-tabs a:hover::after {
  background: var(--honor-red);
}

.certificate-tabs a:hover,
.certificate-tabs a:focus-visible {
  color: var(--honor-red);
}

.certificate-tabs a:focus-visible {
  outline: 2px solid rgba(215, 0, 15, 0.22);
  outline-offset: 8px;
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 63px;
}

.certificate-card {
  min-width: 0;
}

.certificate-card figure {
  margin: 0;
}

.certificate-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 539px;
  padding: 16px;
  border: 1px solid #dddddd;
  background: #fff;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.certificate-frame img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transform-origin: center;
  transition: transform 0.45s ease;
}

.certificate-card figcaption {
  margin-top: 22px;
  color: var(--honor-ink);
  text-align: center;
  font-size: 18px;
  line-height: 30px;
  font-weight: 400;
  transition: color 0.25s ease;
}


  .certificate-pagination button {
    min-width: 32px;
    height: 32px;
    margin: 0 5px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
	  border-radius: 50%;
  }

  .certificate-pagination button.is-active {
    color: #fff;
    background: var(--honor-red);
    border-color: var(--honor-red);
  }

@media (hover: hover) and (pointer: fine) {
  .certificate-card:hover .certificate-frame {
    transform: translateY(-10px);
    border-color: rgba(215, 0, 15, 0.18);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.12);
    will-change: transform;
  }

  .certificate-card:hover .certificate-frame img {
    transform: scale(1.018);
  }

  .certificate-card:hover figcaption {
    color: var(--honor-red);
  }
}

@media (prefers-reduced-motion: reduce) {
  .certificate-frame,
  .certificate-frame img,
  .certificate-card figcaption,
  .about-tabs__item,
  .about-tabs a,
  .certificate-tabs a,
  .certificate-pagination a {
    transition: none;
  }

  .certificate-card:hover .certificate-frame,
  .certificate-card:hover .certificate-frame img {
    transform: none;
  }
}

.certificate-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 99px 0 0;
  transform: translateX(-13px);
}

.certificate-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid #eeeeee;
  border-radius: 50%;
  color: #333333;
  background: #fff;
  font-family: var(--honor-outfit);
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  cursor: pointer;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.certificate-pagination a:hover,
.certificate-pagination a:focus,
.certificate-pagination a:visited {
  color: #333333;
  text-decoration: none;
}

.certificate-pagination a:hover,
.certificate-pagination a:focus {
  border-color: var(--honor-red);
  transform: translateY(-2px);
}

.certificate-pagination a:focus-visible {
  outline: 2px solid rgba(215, 0, 15, 0.28);
  outline-offset: 3px;
}

.certificate-pagination a.active {
  color: #fff;
  border-color: var(--honor-red);
  background: var(--honor-red);
}

.certificate-pagination a.active:hover,
.certificate-pagination a.active:focus,
.certificate-pagination a.active:visited {
  color: #fff;
}

.certificate-pagination .pager-arrow {
  color: #999999;
}

.certificate-pagination .pager-arrow:hover,
.certificate-pagination .pager-arrow:focus,
.certificate-pagination .pager-arrow:visited {
  color: #999999;
}

.certificate-pagination .pager-arrow i {
  font-size: 18px;
}

@media (min-width: 1921px) {
  .honor-container {
    width: min(1640px, calc(100vw - 320px));
  }
}

@media (max-width: 1500px) {
  .honor-container {
    width: min(1180px, calc(100vw - 80px));
  }

  .honor-hero__grid {
    grid-template-columns: minmax(380px, 0.8fr) minmax(0, 1fr);
    column-gap: 90px;
  }

  .honor-hero h1 {
    font-size: 58px;
    line-height: 1.34;
  }

  .certificate-frame {
    height: clamp(360px, 28vw, 539px);
  }
}

@media (max-width: 1100px) {
  .honor-container {
    width: calc(100vw - 64px);
  }

  .honor-hero {
    padding-top: 72px;
  }

  .honor-hero__grid {
    grid-template-columns: 1fr;
    row-gap: 42px;
    min-height: 0;
  }

  .honor-hero h1 {
    font-size: 42px;
    line-height: 1.34;
  }

  .about-tabs {
    margin-top: 36px;
  }

  .honor-hero__copy {
    font-size: 15px;
    line-height: 26px;
    margin-top: 0;
  }

  .certificate-section {
    padding-top: 76px;
  }

  .certificate-section h2 {
    font-size: 38px;
    line-height: 42px;
  }

  .certificate-rule {
    margin-top: 26px;
  }

  .certificate-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
	.certificate-tabs > * {
      flex: 0 0 60px;
  }
  .honor-container {
    width: calc(100vw - 32px);
  }

  .certificate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 42px;
  }

  .honor-hero h1 {
    font-size: 38px;
    line-height: 1.34;
  }

  .honor-hero__copy {
    font-size: 14px;
    line-height: 23px;
  }

  .certificate-section h2 {
    font-size: 32px;
    line-height: 36px;
  }

  .certificate-tabs {
    width: 100%;
    grid-template-columns: repeat(5, auto);
    justify-content: space-between;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .certificate-frame {
    height: clamp(390px, 58vw, 520px);
  }
}

@media (max-width: 640px) {
  .honor-container {
    width: calc(100vw - 24px);
  }

  .honor-hero {
    padding-top: 20px;
  }

  .honor-eyebrow {
    font-size: 16px;
	  margin: 0 0 20px;
  }

  .honor-hero h1 {
    font-size: 30px;
    line-height: 1.24;
  }

  .honor-hero__copy {
    font-size: 14px;
    line-height: 23px;
  }

  .about-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    height: auto;
    padding: 7px;
    border-radius: 20px;
  }

  .about-tabs__item,
  .about-tabs__item:nth-child(3),
  .about-tabs a,
  .about-tabs a:nth-child(3) {
    min-width: 0;
  }

  .certificate-section {
    padding-top: 52px;
  }

  .certificate-section h2 {
    font-size: 32px;
    line-height: 48px;
  }

  .certificate-rule {
    margin-top: 18px;
  }

  .certificate-tabs {
    margin: 24px auto 36px;
  }

  .certificate-grid {
/*     grid-template-columns: 1fr; */
	  grid-template-columns: repeat(2, minmax(0, 1fr));
	  column-gap: 8px;
  }

  .certificate-frame {
    height: auto;
    aspect-ratio: 389 / 539;
    padding: 14px;
  }

  .certificate-card figcaption {
    font-size: 15px;
    line-height: 23px;
  }

  .certificate-pagination {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 48px;
  }

  .certificate-pagination a {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

@media (max-width: 520px) {
  .honor-container {
    width: calc(100vw - 24px);
  }

  .honor-hero {
    padding-top: 38px;
  }

  .honor-hero__grid {
    row-gap: 28px;
  }

  .honor-hero h1 {
    font-size: 27px;
    line-height: 1.32;
  }

  .honor-hero__copy {
    font-size: 13px;
    line-height: 22px;
  }

  .about-tabs {
    margin-top: 28px;
  }

  .about-tabs__item,
  .about-tabs__item:nth-child(3),
  .about-tabs a,
  .about-tabs a:nth-child(3) {
    height: 31px;
    padding: 0 10px;
    font-size: 14px;
  }

  .certificate-section {
    padding-top: 42px;
    padding-bottom: 56px;
  }

  .certificate-section h2 {
    font-size: 27px;
    line-height: 1.32;
  }

  .certificate-tabs {
    gap: 16px;
    margin: 20px auto 30px;
  }

  .certificate-tabs a {
    font-size: 14px;
  }

  .certificate-grid {
    row-gap: 34px;
  }

  .certificate-card figcaption {
    margin-top: 16px;
    font-size: 15px;
    line-height: 22px;
  }

  .certificate-pagination {
    gap: 7px;
    margin-top: 24px;
    transform: none;
  }

  .certificate-pagination a {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .honor-container {
    width: calc(100vw - 20px);
  }

  .honor-hero h1 {
    font-size: 25px;
    line-height: 1.32;
  }

  .about-tabs {
    gap: 6px;
    padding: 6px;
  }

  .about-tabs__item,
  .about-tabs__item:nth-child(3),
  .about-tabs a,
  .about-tabs a:nth-child(3) {
    height: 30px;
    padding: 0 8px;
    font-size: 13px;
  }

  .certificate-tabs {
    gap: 14px;
  }

  .certificate-pagination {
    gap: 6px;
  }

  .certificate-pagination a {
    width: 32px;
    height: 32px;
  }
}

.video-modal-open,
.video-modal-open body {
  overflow: hidden;
}

.shared-video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.shared-video-modal.is-open {
  display: flex;
}

.shared-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.shared-video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  background: #000;
}

.shared-video-modal__video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.shared-video-modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 24px;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
}
