    /* 主色调：蓝白搭配，清爽护眼，适合教育类网站 */
        :root {
            --main-color: #2E86AB;
            --sub-color: #A23B72;
            --light-color: #F1F2F6;
            --text-color: #333333;
        }
        body {
            background-color: var(--light-color);
            color: var(--text-color);
            line-height: 1.6;
        }
        /* 头部样式 */
        .header {
            background-color: var(--main-color);
            color: white;
            padding: 20px 0;
            text-align: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        /* 板块通用样式 */
        section {
            background-color: white;
            padding: 30px;
            margin-bottom: 25px;
            border-radius: 8px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        h2 {
            color: var(--main-color);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--sub-color);
        }
        p {
            margin-bottom: 15px;
            font-size: 15px;
        }
        /* 表格样式 */
        table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
        }
        table th, table td {
            border: 1px solid #ddd;
            padding: 12px;
            text-align: center;
        }
        table th {
            background-color: var(--main-color);
            color: white;
        }
        table tr:nth-child(even) {
            background-color: #f9f9f9;
        }
        /* 辅导类型卡片 */
        .tutor-type {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 20px;
        }
        .card {
            flex: 1;
            min-width: 280px;
            padding: 20px;
            border: 1px solid #ddd;
            border-radius: 8px;
            text-align: center;
        }
        .card h3 {
            color: var(--sub-color);
            margin-bottom: 10px;
        }
        
        /* FAQ 样式 */
        .faq details {
            margin: 15px 0;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
        }
        .faq summary {
            font-weight: bold;
            color: var(--main-color);
            cursor: pointer;
        }
        .faq p {
            margin-top: 10px;
            line-height: 1.8;
        }
       
/*课程优选*/	
.moreCourse{display: -webkit-flex;display: flex;width:100%;gap:10px;justify-content:space-around; align-items: center; flex-wrap:wrap;}  
.moreCourse li:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    }

.moreCourse li{
      flex: 1; 
     box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);border:solid 1px #EDEDED;border-radius:10px 10px 0 0;
    }   
.moreCourse li div, .moreCourse li figcaption{
     box-sizing: border-box; padding:5px;
    }   
.moreCourse figure img{	 
	 width: 100%;
	height: auto;
	border-radius:10px 10px 0 0;
	}
 
.tags,.course-teachers{display: -webkit-flex;display: flex;justify-content:space-around; align-items: center; flex-wrap:wrap;}
.course-teachers>p{ width:100%; margin:10px 0; position:relative;
                 &::after{content: "";
    position: absolute;    
      width: 180px;
      height:2px;
      right:10px;
      bottom:-6px;
      top:50%;
      background-color:#ECFCCB;  
   }
                 }
.tags>span{ color:#2ABEEE;}
.tags>span:nth-child(2){ color:#008890;}
.tags>span:nth-child(3){ color:#999936;}
 

.newCourse{ margin-top:30px;}
time{ display:inline-block;}

 
 /*老师*/

 
.teachers-list{justify-content: space-around;list-style: none; display: flex; flex-wrap:wrap;  width: 100%; padding: 0; margin: 0 auto;}
.teachers-list li{ width: 24%; max-width:260px; margin: 5px auto; background-color: white; padding: 8px; box-sizing: border-box; border-radius: 8px; 
   box-shadow: 0 0 3px #8a8ed6;
}
 
.teachers-list li>a>figure{width:100%;padding:2px;  
  display: flex; flex-wrap:wrap; 
	justify-content: center;
	/* 水平居中 */
	align-items: center;
  height:auto;
  
}
.teachers-list li>a>figure figcaption{width: 100%; text-align:center;}
 .teachers-list li>a>figure figcaption h3{margin: 15px auto;}
.teachers-list li>a>figure img {

	 height: 200px;
	/* 确保图像不会超出容器 */
	max-width: 100%;
	width: auto;
	/* 保持图像比例 */
 
 border-radius:50%;
}
  
 
 
 
 .teacher-feature{ display: flex; flex-wrap:wrap;  
	justify-content: center;
	/* 水平居中 */
	align-items: center;
  height:100px;}
 
 
 
   .teacher-tags{justify-content: space-around;list-style: none; display: flex; flex-wrap:wrap; min-height:50px; gap:10px 40px;}
 .teacher-tags span{ text-align:center;text-indent:0; }
 
 
  .teacher-feature span{ text-align:left; width:100%; text-indent:0; font-size:0.9rem; color:#8D8D95;}
 
 


/* 评论轮播 */
    #commentCarousel { height: 260px;  }
    .carousel-list,#commentCarousel .carousel-item { box-sizing: border-box;}
    #commentCarousel .carousel-item { padding: 10px; text-align: left;}
    
 #commentCarousel .carousel-list{max-width: 80%;  margin:0 auto;}
    
    .comment-header{display: flex;align-items: center; gap:10px;}
        .comment-header>div:nth-child(1){ background-color:#DCDCDC; border-radius:50%;border:solid 1px #CDCDCD; height:60px; width:45px;display: flex; justify-content: center; align-items: center;}
        .comment-header>div:nth-child(1) img{ 	max-height: 100%;
	/* 确保图像不会超出容器 */
	max-width: 100%;
	width: auto;
	/* 保持图像比例 */
	height: auto;
	/* 保持图像比例 */ border-radius:50%;}
    
    .comment-content { color: #666; font-size: 14px; line-height: 1.4;}
   .comment-content>p{ margin:5px auto;}
    /* 评论图片样式（关键：标记直接加在img上，容器仅做布局） */
    .comment-img-group { display: flex; gap: 8px; flex-wrap: wrap; }
    /* 缩略图img直接加标记，容器仅负责样式 */
    .comment-img { 
      width: 60px; height: 60px; border-radius: 4px; 
      cursor: pointer; object-fit: cover;
    }
.comment-item a{ font-size:1.6rem;}
.comment-item a span{ margin-right:50px;}

/* 评论图片预览弹窗（自定义类名） */
  /* 图片预览弹窗样式 */
    .preview-modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0,0,0,0.95);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      padding: 20px;
    }
    .preview-modal.show {
      display: flex;
    }
    .preview-close {
      position: absolute;
      top: 20px;
      right: 60px;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: none;
      background: #fff;
      color: #333;
      font-size: 20px;
      cursor: pointer;
      transition: background 0.2s;
    }
    .preview-close:hover {
      background: #eee;
    }
    #previewCarousel {
      width: 90%;
      max-width: 1200px;
      height: 80vh;
    }
    .preview-carousel-item {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 0.3s ease;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .preview-carousel-item.preview-active {
      opacity: 1;
      z-index: 1;
    }
    #previewCarousel img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
    }
    #previewCarousel .carousel-pagination {
      bottom: 20px;
    }
    #previewCarousel .carousel-dot.preview-active {
      background: #fff;
      transform: scale(1.2);
    }

    /* 响应式适配 */
    @media (max-width: 768px) {

      .comment-single-carousel {
        height: 250px;
      }
      .comment-img {
        width: 60px;
        height: 60px;
      }
      #previewCarousel {
        width: 95%;
        height: 70vh;
      }
      #previewCarousel .carousel-pagination {
        bottom: 15px;
      }
      .carousel-nav {
        display: none !important;
      }
    }

    @media (min-width: 769px) {
      .show-nav-on-pc .carousel-nav {
        display: block !important;
      }
    }



/*星星开始*/

 .rating-dual 
 {
 	 margin-top:10px;
            position: relative;
            left:100px;
            width: 100px;
            height: 20px;
     line-height: 20px;
        }
        
        .rating-dual::before,.rating-dual::after {
            content: '★★★★★';
            position: absolute;
            left:-105%;
            top: 0;
            width: 100%;
            height: 100%;
            color: #ddd;
            font-size: 20px;
            line-height: 20px;
            letter-spacing: 0;
             font-family:Monospace;
        }
        
        .rating-dual::after {
            
            color: #ffc107;
            overflow: hidden;
           width: calc(100px * var(--rating-percent, 0) / 5);/* 5是总分，如果 --rating-percent 的值是百分比，直接用：width: calc(100px * var(--rating-percent, 0));*/
        }


/*星星结束*/