
/* 头部区域样式 */
   .course-header {
       background-color: white;
       padding: 30px 20px;
       text-align: center;
       border-bottom: 1px solid #e0e0e0;
       box-shadow: 0 1px 3px rgba(0,0,0,0.05);
       display: flex;
 align-items: center;
 justify-content: center;
   }

   .logo-container {
       display: flex;
       align-items: center;
       justify-content: center;
       margin-right:10px;
   }

  .course-header .logo {
      background:url(/static/img/logo-single.png) 0px 0px no-repeat;background-size: contain;width: 60px;height: 60px;
   }
   .course-header h2 {
       font-size: 24px;
       margin-top: 10px;
       color: #333;
   }

   .course-header p {
       color: #333;
   }

   /* 分类标签样式 */
   .category-tabs {
       display: flex;
       justify-content: center;
       gap: 10px;
       margin: 20px 0;
       flex-wrap: wrap;
   }

   .category-tab {
       padding: 8px 20px;
       border-radius: 20px;
       font-weight: bold;
       cursor: pointer;
       transition: all 0.3s ease;
   }

   .main-content {
       max-width: 1190px;
       margin: 0 auto;
       padding: 0 20px;
   }

   .category-tab.active {
       background-color: #e74c3c;
       color: white;
       border: none;
   }

   .category-tab.inactive {
       background-color: white;
       color: #333;
       border: 1px solid #ddd;
   }

   /* 筛选和排序区域样式 */
   .filter-sort {
       display: flex;
       justify-content: space-between;
       align-items: center;
       padding: 15px 20px;
       background-color: white;
       margin-bottom: 20px;
       border: 1px solid #e0e0e0;
       border-radius: 8px;
       box-shadow: 0 1px 2px rgba(0,0,0,0.03);
   }

   .filter-options {
       display: flex;
       gap: 10px;
       flex-wrap: wrap;
   }

   .filter-option {
       color: #666;
       cursor: pointer;
   }

   .filter-option.active {
       color: #e74c3c;
       font-weight: bold;
   }

   .sort-options {
       display: flex;
       align-items: center;
       gap: 10px;
   }

   .sort-option {
       color: #666;
       cursor: pointer;
   }

   .sort-option.active {
       color: #e74c3c;
       font-weight: bold;
   }

   /* 课程卡片区域样式 */
       .courses-container {
           display: flex;
           gap: 20px;
           padding: 0 20px;
           margin: 0 auto;
           flex-wrap: wrap;
       }

       .course-card {
           width: 23%;
           background-color: white;
           border-radius: 8px;
           overflow: hidden;
           box-shadow: 0 3px 10px rgba(0,0,0,0.08);
           margin-bottom: 20px;
           transition: transform 0.3s ease, box-shadow 0.3s ease;
           position: relative;
       }

       .course-card:hover {
           transform: translateY(-5px);
           box-shadow: 0 5px 15px rgba(0,0,0,0.1);
       }
       .course-card .cover{
    position: absolute;
    top: 0;
    width: 100%;
    height: 82%;
       cursor:pointer;
       }

       .course-image {
           width: 100%;
           height: 180px;
           background-color: #ddd;
           display: flex;
       }
	.course-image img {
		width: 100%;
   		object-fit: contain;
	}
       .course-content {
           padding: 15px;
       }
	.course-desc{
		height:44px;
		overflow: hidden;
  			word-break: break-all;
  				text-overflow: ellipsis;
	}
       .course-type {
           color: #e74c3c;
           font-weight: bold;
           margin-bottom: 5px;
       }

       .course-title {
           font-size: 18px;
           margin-bottom: 10px;
       }

       .course-info {
           font-size: 14px;
           color: #666;
           margin-bottom: 15px;
       }

       .course-price {
           font-size: 18px;
           color: #e74c3c;
           font-weight: bold;
           margin-bottom: 15px;
       }

       .enroll-btn {
           display: block;
           width: 90%;
           padding: 10px;
           background-color: #e74c3c;
           color: white;
           border: none;
           border-radius: 4px;
           font-weight: bold;
           cursor: pointer;
           text-align: center;
           text-decoration: none;
       }
.enroll-btn:hover{
	color:white;
}