﻿/* 荣誉奖项 */
.honors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.honors-grid__item {
  aspect-ratio: 1;
  border: 1px solid #ececec;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.honors-grid__item:hover {
  text-decoration: none;
  color: inherit;
}

.honors-grid__item:hover {
  border-color: #d8d8d8;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.honors-grid__item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.pagination {
  padding: 56px 0 80px;
}

.detail-layout {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding: 0 0 80px;
}

.detail-main {
  flex: 1;
  min-width: 0;
}

.detail-sidebar {
  flex-shrink: 0;
  width: 255px;
  position: sticky;
  top: 120px;
}

.about-retrieval {
  width: 255px;
  box-sizing: border-box;
  background: #fff5ed;
  border-radius: 8px;
  padding: 30px 20px 40px;
}

.about-retrieval__en {
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 19px;
  color: #000000;
  line-height: 1.3;
  text-align: left;
}

.about-retrieval__cn {
  margin-top: 6px;
  margin-bottom: 28px;
  font-family: HarmonyOS_Sans_SC_Bold, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  color: #a42127;
  line-height: 1.4;
  text-align: left;
}

.about-retrieval__label {
  margin-bottom: 4px;
  font-family: HarmonyOS_Sans_SC_Medium, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  color: #999999;
  line-height: 20px;
  text-align: left;
}

.about-cats {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-cats__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 0;
  font-family: HarmonyOS_Sans_SC, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  color: #000000;
  line-height: 31px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.25s ease;
}

.about-cats__item span:first-child {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.about-cats__item.is-active {
  color: #a42127;
}

.honor-detail {
  max-width: none;
  margin: 0;
  padding-bottom: 0;
}

.honor-detail__title {
  margin: 0 0 18px;
  font-family: HarmonyOS_Sans_SC_Medium, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 25px;
  line-height: 32px;
  color: #333;
  text-align: left;
}

.honor-detail__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
  padding-bottom: 22px;
  margin-bottom: 36px;
  border-bottom: 1px solid #ececec;
  font-size: 15px;
  color: #999;
}

.honor-detail__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.honor-detail__meta-icon {
  width: 12px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.honor-detail__figure {
  margin: 0 0 40px;
  max-width: 560px;
  padding: 28px;
  box-sizing: border-box;
  border: 1px solid #ececec;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.honor-detail__figure img {
  display: block;
  max-width: 100%;
  max-height: 640px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.honor-detail__body {
  font-family: HarmonyOS_Sans_SC, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  color: #111;
  line-height: 28px;
  text-align: left;
}

.honor-detail__body h2,
.honor-detail__body h3 {
  font-family: HarmonyOS_Sans_SC_Bold, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  color: #a42127;
  line-height: 28px;
  margin: 32px 0 14px;
}

.honor-detail__body h2:first-child,
.honor-detail__body h3:first-child {
  margin-top: 0;
}

.honor-detail__body p {
  margin-bottom: 16px;
}

.honor-detail__body img {
  max-width: 100%;
  height: auto;
}

.honor-detail__nav {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid #ececec;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.honor-detail__nav a {
  display: block;
  font-family: HarmonyOS_Sans_SC, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  color: #111;
  line-height: 24px;
  text-decoration: none;
  transition: color 0.25s ease;
}

.honor-detail__nav a:hover {
  color: #a42127;
}

.honor-detail__nav-label {
  color: inherit;
}

@media (max-width: 1024px) {
  .honors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .detail-layout {
    flex-direction: column;
    gap: 32px;
    padding-bottom: 60px;
  }

  .detail-sidebar {
    width: 100%;
    position: static;
  }

  .about-retrieval {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .honors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .honors-grid__item {
    padding: 12px;
  }

  .pagination {
    padding: 40px 0 48px;
  }

  .honor-detail__title {
    font-size: 18px;
    line-height: 26px;
  }

  .honor-detail__body {
    font-size: 15px;
    line-height: 26px;
  }

  .honor-detail__body h2,
  .honor-detail__body h3 {
    font-size: 17px;
    line-height: 26px;
  }

  .honor-detail__meta {
    gap: 16px;
    margin-bottom: 24px;
  }

  .honor-detail__figure {
    max-width: 100%;
    padding: 16px;
    margin-bottom: 28px;
  }
}



/* [mobile bump] base 10-13px +2px on phone */
@media (max-width: 768px) {
  .about-retrieval__label { font-size: 14px; }
  .about-cats__item { font-size: 15px; }
  .honor-detail__meta { font-size: 15px; }
  .honor-detail__nav a { font-size: 15px; }
}
