/* 页面背景 */
.hero {
  width: 100%;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--hero-bg, #0d2179);
  background-size: cover;
  filter: brightness(0.8);
  z-index: -1;
}

/* 详情卡片容器 */
.detail-card {
  padding: 2.7778rem 4.1667rem;
  background: #ffffff;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 0.0694rem solid rgba(255, 255, 255, 0.3);
  border-radius: 1.6667rem;
  box-shadow: 0 1.3889rem 4.1667rem rgba(0, 0, 0, 0.2);
}
/* 响应式调整992px以下 */
@media (max-width: 992px) {
  .detail-card {
    padding: 1.7361rem 3.4722rem;
    border-radius: 1.1111rem;
  }
}

/* 响应式调整768px以下 */
@media (max-width: 768px) {
  .detail-card {
    padding: 2.2222rem 1.6667rem;
    border-radius: 1.1111rem;
  }
}

/* 卡片顶部 */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.7778rem;
}

.year-dropdown {
  position: relative;
}

.year-select {
  display: flex;
  align-items: center;
  gap: 0.2778rem;
  font-size: 1.9444rem;
  font-weight: 700;
  color: var(--primary-color);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
}

.year-select:focus {
  outline: none;
}

.year-arrow {
  font-size: 1.1111rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.year-select[aria-expanded="true"] .year-arrow {
  transform: rotate(180deg);
}

.year-menu {
  min-width: 6rem;
  border-radius: 0.4167rem;
  box-shadow: 0 0.2778rem 1.1111rem rgba(0, 0, 0, 0.15);
  border: 0.0694rem solid #e2e8f0;
  padding: 0.2778rem 0;
}

.year-menu .dropdown-item {
  padding: 0.5556rem 1.1111rem;
  font-size: 0.9722rem;
  font-weight: 500;
  color: var(--dark-color);
  cursor: pointer;
}

.year-menu .dropdown-item:hover,
.year-menu .dropdown-item:focus {
  background-color: #f1f5f9;
  color: var(--primary-color);
}

.year-menu .dropdown-item.active {
  color: var(--primary-color);
  font-weight: 700;
}

.download-links {
  display: flex;
  gap: 2.7778rem;
}

.download-link {
  display: flex;
  align-items: center;
  gap: 0.4167rem;
  font-size: 0.8333rem;
  color: #475569;
  text-decoration: none;
  transition: color 0.3s ease;
}

.download-link:hover {
  color: var(--primary-color);
}

.download-icon {
  font-size: 1rem;
  color: inherit;
  transition: color 0.3s ease;
}

.download-link:hover .download-icon {
  color: var(--primary-color);
}

/* 简介区 */
.card-intro {
  text-align: center;
}

.intro-title {
  font-size: 1.5278rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 0.8333rem;
  line-height: 1.5;
}

.intro-subtitle {
  font-size: 0.9028rem;
  color: #64748b;
}
/* 装饰线 */
.hero-divider {
  width: 100%;
  height: 1px;
  background: #ededed;
  margin: 2.7778rem 0;
}

/* 图片画廊 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6667rem;
}

.gallery-item {
  position: relative;
  border-radius: 1.6667rem;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 0.2778rem 1.1111rem rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-0.2778rem);
  box-shadow: 0 0.5556rem 1.6667rem rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.6667rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  color: #ffffff;
  font-size: 1.3889rem;
  font-weight: 500;
}

.gallery-count {
  position: absolute;
  top: 0.8333rem;
  right: 0.8333rem;
  display: flex;
  align-items: center;
  gap: 0.2083rem;
  padding: 0.2778rem 0.5556rem;
  font-size: 0.8333rem;
  font-weight: 400;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 0.3472rem;
}

.gallery-count i {
  font-size: 0.9722rem;
}

/* 响应式 */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-links {
    gap: 1.6667rem;
  }
}

@media (max-width: 768px) {
  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1111rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .intro-title {
    font-size: 1.25rem;
  }

  .download-links {
    flex-wrap: wrap;
    gap: 0.8333rem 1.6667rem;
  }
}
