/* =============================================
   qingnangsc.com — 现代东方美学设计系统 (覆盖层)
   按 Taste Skill 指南实现，零风险（仅追加，不修改原CSS）
   ============================================= */

:root {
  /* 色彩方案 */
  --qn-gold: #b8860b;
  --qn-gold-light: #d4a843;
  --qn-cream: #f5f0e8;
  --qn-cream-lighter: #faf7f2;
  --qn-vermillion: #c23b22;
  --qn-ink: #1a1a1a;
  --qn-ink-soft: #2d2d2d;
  --qn-warm-gray: #6b6260;
  --qn-stone: #8a8280;
  --qn-card-shadow: rgba(184, 134, 11, 0.08);
  --qn-section-gap: 5rem;
}

/* 排版优化 */
body {
  color: var(--qn-ink-soft);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--qn-ink);
  letter-spacing: -0.02em;
}

/* 卡片统一风格 — 温润质感 */
.tcm-card, .feature-card, .stat-card, .tcm-article,
.card, .course-card, .teacher-card, article.post {
  background: #ffffff;
  border: 1px solid rgba(184, 134, 11, 0.10);
  border-radius: 12px;
  box-shadow: 0 2px 16px var(--qn-card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tcm-card:hover, .feature-card:hover, .card:hover,
.course-card:hover, .teacher-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(184, 134, 11, 0.12);
}

/* 按钮风格 — 朱砂红点缀 */
.cta-button, .hero-btn, .wp-block-button__link,
button[type="submit"], .btn-primary, a.button {
  background: var(--qn-vermillion) !important;
  border: none !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.75rem;
  transition: all 0.3s ease;
}

.cta-button:hover, .hero-btn:hover, .wp-block-button__link:hover {
  background: #a8321d !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(194, 59, 34, 0.25);
}

/* 二级按钮 */
.btn-secondary, a.button-secondary {
  background: transparent !important;
  border: 1.5px solid var(--qn-gold) !important;
  color: var(--qn-gold) !important;
  border-radius: 8px !important;
}

.btn-secondary:hover {
  background: rgba(184, 134, 11, 0.06) !important;
  transform: translateY(-2px);
}

/* 导航优化 */
.site-header, .header, nav.main-navigation {
  border-bottom: 1px solid rgba(184, 134, 11, 0.10);
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92) !important;
}

/* 区块间距 */
section, .section, .content-section {
  padding-top: var(--qn-section-gap);
  padding-bottom: var(--qn-section-gap);
}

/* Hero 区 — 更宁静 */
.hero, .hero-section, .banner {
  background: linear-gradient(135deg, var(--qn-cream) 0%, var(--qn-cream-lighter) 100%);
  position: relative;
}

/* 分隔线 */
hr, .divider, .wp-block-separator {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--qn-gold), transparent);
  opacity: 0.3;
}

/* 引号块 */
blockquote, .wp-block-quote {
  border-left: 3px solid var(--qn-gold);
  background: var(--qn-cream);
  padding: 1.5rem 2rem;
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

/* 移动端优化 */
@media (max-width: 768px) {
  :root {
    --qn-section-gap: 3rem;
  }
  h1 { font-size: 1.75rem !important; }
  h2 { font-size: 1.4rem !important; }
}

/* 图片圆角润色 */
img, .wp-block-image img, .post-thumbnail img {
  border-radius: 8px;
}

/* 统计数字强调 */
.stat-number, .counter, .count {
  color: var(--qn-vermillion);
  font-weight: 700;
}

/* 页脚 */
.site-footer, .footer {
  border-top: 1px solid rgba(184, 134, 11, 0.10);
  background: var(--qn-cream) !important;
}

/* 小标签风格 */
.tag, .badge, .wp-block-tag-cloud a {
  border-radius: 20px;
  padding: 0.2rem 0.8rem;
  font-size: 0.85rem;
  border: 1px solid rgba(184, 134, 11, 0.2);
  background: var(--qn-cream-lighter);
}