/* ============================================
   首页背景美化 - 中式传统风格
   纯CSS实现，无需特殊字体
   ============================================ */

:root {
  --chinese-red: #8B2323;
  --chinese-gold: #C9A86C;
  --chinese-cream: #F5F0E6;
  --chinese-dark: #3C2415;
  --chinese-green: #2D5A3D;
  --chinese-border: #D4C5A9;
}

/* ============================================
   就诊指南 - 古典暖色 + 回形纹边框
   ============================================ */
.guide-section {
  background: linear-gradient(180deg, #FBF8F3 0%, #F8F3EB 100%);
  position: relative;
  border-top: 3px solid var(--chinese-red);
}

/* 底部装饰带 */
.guide-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--chinese-gold), transparent);
}

/* ============================================
   专家团队 - 清新绿调 + 中式边框
   ============================================ */
.team-section {
  background: linear-gradient(180deg, #FAFCF8 0%, #F0F5F0 100%);
  position: relative;
}

/* 左侧竖线装饰 */
.team-section::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  bottom: 40px;
  width: 3px;
  background: linear-gradient(180deg, 
    var(--chinese-green) 0%, 
    rgba(45, 90, 61, 0.1) 100%);
}

/* 右侧竖线装饰 */
.team-section::after {
  content: '';
  position: absolute;
  top: 40px;
  right: 0;
  bottom: 40px;
  width: 3px;
  background: linear-gradient(180deg, 
    rgba(45, 90, 61, 0.1) 0%, 
    var(--chinese-green) 100%);
}

/* ============================================
   活动公告 - 中式分隔风格
   ============================================ */
.activity-section {
  background-color: #FFFFFF;
  position: relative;
  border-top: 1px solid var(--chinese-border);
  border-bottom: 1px solid var(--chinese-border);
}

/* 左右装饰点 */
.activity-section::before,
.activity-section::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--chinese-gold);
  border-radius: 50%;
}

.activity-section::before { left: 30px; }
.activity-section::after { right: 30px; }

/* ============================================
   非遗传奇 - 古典边框 + 印章风格
   ============================================ */
.heritage-section {
  background: linear-gradient(180deg, #FDFBF7 0%, #F7F2E8 100%);
  position: relative;
}

/* 左侧粗边框 */
.heritage-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, 
    var(--chinese-red) 0%, 
    var(--chinese-red-dark, #6B1C1C) 50%,
    var(--chinese-red) 100%);
}

/* 右侧粗边框 */
.heritage-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, 
    var(--chinese-red) 0%, 
    var(--chinese-red-dark, #6B1C1C) 50%,
    var(--chinese-red) 100%);
}

/* ============================================
   患者见证 - 温暖色调 + 古朴边框
   ============================================ */
.testimonials-section {
  background: linear-gradient(180deg, #F8F6F2 0%, #F0EBE3 100%);
  position: relative;
}

/* 顶部装饰线 */
.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--chinese-gold) 30%,
    var(--chinese-gold) 70%,
    transparent);
}

/* ============================================
   骨科知识 - 清新绿调
   ============================================ */
.knowledge-section {
  background: linear-gradient(180deg, #F9FCF9 0%, #F0F5F0 100%);
  position: relative;
}

/* 左右竹节纹 */
.knowledge-section::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 10px;
  bottom: 20px;
  width: 4px;
  background: repeating-linear-gradient(
    180deg,
    var(--chinese-green) 0px,
    var(--chinese-green) 12px,
    transparent 12px,
    transparent 16px
  );
  border-radius: 2px;
  opacity: 0.4;
}

.knowledge-section::after {
  content: '';
  position: absolute;
  top: 20px;
  right: 10px;
  bottom: 20px;
  width: 4px;
  background: repeating-linear-gradient(
    180deg,
    var(--chinese-green) 0px,
    var(--chinese-green) 12px,
    transparent 12px,
    transparent 16px
  );
  border-radius: 2px;
  opacity: 0.4;
}

/* ============================================
   媒体报道 - 简洁专业
   ============================================ */
.media-section {
  background: linear-gradient(180deg, #F5F5F5 0%, #FAFAFA 100%);
  position: relative;
}

/* 顶部装饰线 */
.media-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%,
    var(--chinese-border) 20%,
    var(--chinese-border) 80%,
    transparent 100%);
}

/* ============================================
   滚动公告栏 - 中式边框
   ============================================ */
.scroll-notice {
  background-color: #FFFFFF;
  height: 70px;
  border-bottom: 2px solid var(--chinese-border);
  position: relative;
}

.scroll-notice::before,
.scroll-notice::after {
  content: '';
  position: absolute;
  bottom: -2px;
  width: 50px;
  height: 2px;
  background: var(--chinese-red);
}

.scroll-notice::before { left: 0; }
.scroll-notice::after { right: 0; }

/* ============================================
   板块标题样式 - 中式风格
   ============================================ */
.section-title {
  position: relative;
  display: inline-block;
  font-weight: 600;
  color: var(--chinese-dark);
  padding: 0 30px;
}

/* 标题样式 */
.section-header .section-title {
  color: var(--chinese-dark);
}

/* 标题下方下划线 */
.section-title {
  border-bottom: 1px solid var(--chinese-border);
  padding-bottom: 10px;
}

/* ============================================
   卡片悬浮效果
   ============================================ */
.expert-card,
.patient-card {
  transition: all 0.3s ease;
  border: 1px solid #EEE;
}

.expert-card:hover,
.patient-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(60, 36, 21, 0.15);
  border-color: var(--chinese-border);
}

/* ============================================
   Banner区域
   ============================================ */
.banner-bg {
  background: linear-gradient(180deg, #FFFFFF 0%, #FDFCFA 100%);
  border-bottom: 1px solid var(--chinese-border);
}
