/* ============================================
   项目详情页样式
   ============================================ */

/* --- 内页 Hero --- */
.page-hero {
  margin-top: 80px;
  width: 100%;
  height: 360px;
  background: linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .5)),
    center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
}

.page-hero .hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
}

/* --- 顶栏：返回 + 分享 --- */
.detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid var(--base);
  border-radius: 50%;
  color: var(--base);
  font-size: 16px;
  transition: all .2s;
}

.back-link:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--base);
}

/* ============================================
   项目信息行
   ============================================ */
.detail-row {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 40px;
  margin-bottom: 48px;
  align-items: start;
}

/* --- 左侧信息卡片 --- */
.detail-info-card {
  background: linear-gradient(180deg, var(--gray-bg) 0%, #fff 100%);
  border-radius: 14px;
  padding: 36px 28px;
  border: 1px solid var(--gray-light);
}

.detail-info-card .info-item {
  margin-bottom: 24px;
}

.detail-info-card .info-item:last-child {
  margin-bottom: 0;
}

.detail-info-card .info-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--lime);
  margin-bottom: 6px;
}

.detail-info-card .info-text {
  font-size: 14px;
  color: var(--base);
  line-height: 1.7;
  font-weight: 500;
}

/* --- 右侧详情 --- */
.detail-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--base);
  margin-bottom: 16px;
  line-height: 1.3;
}

.detail-content .intro-text {
  font-size: 15px;
  color: var(--gray-dark);
  line-height: 1.9;
  margin-bottom: 28px;
}

.detail-content-bd {
  overflow: hidden;
  margin: 20px 0 40px;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--gray-light)
}

.detail-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
  margin-bottom: 28px;
}

.detail-specs .spec-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-bg);
}

.detail-specs .spec-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--lime);
  display: block;
  margin-bottom: 4px;
}

.detail-specs .spec-val {
  font-size: 14px;
  color: var(--base);
}

/* ============================================
   项目图集
   ============================================ */
.detail-gallery {
  margin-bottom: 56px;
}

.detail-gallery h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--base);
  margin-bottom: 20px;
}

.gallery-grid {
  column-count: 3;
  column-gap: 12px;
}

.gallery-grid .gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
}

.gallery-grid .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .4s ease;
}

.gallery-grid .gallery-item:hover img {
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .gallery-grid {
    column-count: 2;
    column-gap: 8px;
  }
  .gallery-grid .gallery-item {
    margin-bottom: 8px;
  }
}

/* ============================================
   项目亮点轮播
   ============================================ */
.highlights-section {
  margin-bottom: 64px;
}

.highlights-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.highlights-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--base);
}

.highlights-nav {
  display: flex;
  gap: 8px;
}

.highlights-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--base);
  background: transparent;
  color: var(--base);
  cursor: pointer;
  font-size: 14px;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlights-nav button:hover {
  background: var(--base);
  color: var(--lime);
}

.highlights-swiper .swiper-slide {
  height: auto;
}

.highlights-swiper .project-card {
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

/* --- 亮点卡片（Swiper 内，正常文档流） --- */
.highlight-card .project-info {
  position: relative;
  padding: 20px 24px 24px;
  background: #fff;
}

.highlight-card .project-info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.highlight-card .project-info h3 a {
  color: var(--base);
  transition: color .2s;
}

.highlight-card .project-info h3 a:hover {
  color: var(--lime);
}

.highlight-card .project-desc {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}

.highlight-card .project-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}