:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --line: #d9dfeb;
  --text: #1f2937;
  --muted: #6b7280;
  --accent: #bbbbbb;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  background: linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
  color: var(--text);
}

.page {
  min-height: 100vh;
  padding: 24px 16px 40px;
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
}

.header {
  margin-bottom: 20px;
}

.title {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 700;
}

.desc {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.list {
  display: grid;
  gap: 10px;
}

.item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.item:hover {
  transform: translateY(-2px);
  border-color: #b7c6e6;
}

.item-title {
  font-size: 18px;
  line-height: 1.5;
}

.item-arrow {
  width: 16px;
  height: 16px;
  background: url(https://qjsz-bucket.oss-cn-shenzhen.aliyuncs.com/miniprogram/certification/turn.png) no-repeat center;
  background-size: 100%;
  flex: 0 0 auto;
  font-size: 0;
}

.detail-page {
  min-height: 100vh;
  padding: 24px 16px 40px;
}

.detail-wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.detail-header {
  text-align: center;
  margin-bottom: 20px;
  display: none;
}

.detail-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

.gallery {
  display: grid;
  gap: 24px;
}

.gallery.single {
  min-height: calc(100vh - 120px);
}

.gallery.multi {
  gap: 0;
}

.image-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  /* display: flex;
  justify-content: center; */
  padding: 24px;
}

.gallery.single .image-card {
  min-height: calc(100vh - 160px);
}

.gallery.multi .image-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.image-card img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 220px);
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}

.gallery.multi .image-card img {
  max-height: none;
  border-radius: 0;
}

@media (max-width: 640px) {
  .title {
    font-size: 24px;
  }

  .detail-title {
    font-size: 22px;
  }

  .item {
    padding: 12px 16px;
  }

  .item-title {
    font-size: 15px;
    white-space: nowrap;
  }

  .detail-page {
    padding: 16px 12px 24px;
  }

  .image-card {
    padding: 16px;
  }

  .gallery.single .image-card {
    min-height: calc(100vh - 140px);
  }
}
