/* =========================================
   Personal Web1000 · 详情页公共样式
   ========================================= */

.detail-container {
  max-width: 900px;
  margin: 60px auto 60px;
  padding: 0 20px;
}

.back-btn {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.3s;
}

.back-btn:hover {
  transform: translateX(-5px);
}

.detail-title {
  font-size: 2.5rem;
  color: var(--text);
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.detail-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
}

.hero-img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  object-fit: cover;
  /* 顺手帮你加了图片悬浮微效，逼格更高 */
  transition: transform 0.4s ease;
}

.hero-img:hover {
  transform: scale(1.02);
}

.content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #ccc;
}

.content h2 {
  font-size: 1.5rem;
  color: var(--gold);
  margin: 2.5rem 0 1rem;
}

.content p {
  margin-bottom: 1.2rem;
}

/* 高亮引用框（原来只有 web 和 core 有，现在所有详情页都可以用） */
.highlight-box {
  background: rgba(212, 184, 122, 0.05);
  border-left: 4px solid var(--gold);
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
  color: var(--gold-light);
  font-weight: 500;
}

/* =========================================
   移动端响应式适配（防挤爆屏幕）
   ========================================= */
@media (max-width: 768px) {
  .detail-container {
    margin: 30px auto;
  }
  .detail-title {
    font-size: 1.8rem;
  }
  .content {
    font-size: 1rem;
  }
}