.course-detail-section {
    background-color: #fff;
}

.course-detail-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px 20px;
	border-radius: 12px;
    box-sizing: content-box;
}

.nav-bar {
	margin-bottom: 30px;
	font-size: 14px;
	color: #666;
}

.nav-bar-link {
	color: #409eff;
	text-decoration: none;
	transition: color 0.3s;
}

.nav-bar-link:hover {
	color: #66b1ff;
}

.video {
	width: 1200px;
	margin: 0 auto;
}

.video-wrap {
	width: 1200px;
	height: 640px;
	background: #000;
}

.video-container {
	width: 1200px;
	height: 590px;
}

.video-player {
	width: 100%;
	height: 100%;
}

.video-title {
	width: 1200px;
	height: 50px;
	display: flex;
	align-items: center;
	padding: 0 25px;
}

.video-title {
	font-size: 16px;
	font-weight: 500;
	color: #fff;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.video-bot {
	width: 1200px;
	height: 50px;
	background: #fff;
	border: 1px solid #e4e7ed;
	border-top: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 25px;
	box-sizing: border-box;
    border-radius: 0 0 12px 12px;
}

.video-bot-time {
	display: flex;
	align-items: center;
}

.video-bot-item {
	font-size: 14px;
	color: #666;
}

.video-bot-label {
	color: #999;
}

.video-bot-value {
	color: #333;
}

.video-bot-button {
	display: flex;
	align-items: center;
	gap: 30px;
}

.video-bot-item {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	transition: transform 0.2s;
}

.video-bot-item:hover {
	transform: translateY(-2px);
}

.video-icon {
	font-size: 22px;
	color: #666;
}

.video-bot-text {
	font-size: 14px;
	color: #666;
}

.video-icon.is-liked {
	color: #e6a23c;
}

.video-icon.is-collected {
	color: #f56c6c;
}

.course-section {
	width: 1200px;
	margin: 30px auto 0;
	display: flex;
	gap: 20px;
}

.course-left {
	flex: 1;
	min-width: 0;
}

.course-recommend-box {
	width: 360px;
	flex-shrink: 0;
}

.course-box {
	background: #fff;
	border: 1px solid #e4e7ed;
	border-radius: 12px;
	padding: 25px;
	margin-bottom: 20px;
}

.course-tab {
	color: #015BEF;
	margin-bottom: 10px;
}

.course-title {
	font-size: 18px;
	font-weight: 600;
	color: #303133;
	margin: 26px 0 15px 0;
}

.course-intro {
	margin-bottom: 19px;
}

.course-active-bar {
	margin-left:14px; 
	height: 5px; 
	width: 50px; 
	background: #015BF0;
}

.course-content {
	font-size: 14px;
	line-height: 1.8;
	color: #606266;
	word-break: break-word;
	text-indent: 2em;
}

.course-content.course-rich-content {
	text-indent: 0;
}

.course-rich-content img {
	max-width: 100%;
	height: auto;
}

.course-rich-content p {
	margin: 0 0 1em;
}

.course-rich-content table {
	max-width: 100%;
	border-collapse: collapse;
}

.course-empty {
	text-indent: 0;
	color: #909399;
	margin: 0;
}

.course-attach {
	margin-top: 24px;
}

.course-attach-list {
	margin-top: 8px;
}

.course-attach-item {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 16px;
	padding: 14px 0;
	border-bottom: 1px solid #f2f3f5;
}

.course-attach-item:last-child {
	border-bottom: none;
}

.course-attach-name {
	flex: 1;
	min-width: 180px;
	margin: 0;
	font-size: 14px;
	color: #303133;
	word-break: break-all;
}

.course-attach-size {
	font-size: 13px;
	color: #909399;
	min-width: 60px;
}

.course-attach-btns {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
}

.course-attach-btn {
	display: inline-block;
	padding: 6px 14px;
	font-size: 13px;
	line-height: 1.4;
	color: #fff;
	background: #015BF0;
	border-radius: 3px;
	text-decoration: none;
	transition: background 0.2s;
}

.course-attach-btn:hover {
	background: #0149c4;
	color: #fff;
}


.teacher {
	margin:  24px 0 0 0;
}

.teacher-item {
	display: flex;
	gap: 20px;
	padding: 20px 0;
	border-bottom: 1px solid #f2f3f5;
	flex-wrap: wrap;
	align-items: flex-start;
}

.teacher-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.teacher-item:first-child {
	padding-top: 0;
}

.teacher-avatar {
	width: 80px;
	height: 80px;
	flex-shrink: 0;
	border-radius: 50%;
	overflow: hidden;
	background: #f5f7fa;
	display: block;
	text-decoration: none;
	cursor: pointer;
	transition: opacity 0.2s;
}

.teacher-avatar:hover {
	opacity: 0.85;
}

.teacher-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.teacher-info {
	flex: 1;
	min-width: 0;
}

.teacher-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.teacher-name {
	font-size: 16px;
	font-weight: 600;
	color: #303133;
	margin: 0;
}

.teacher-title {
	display: inline-block;
	padding: 0px 12px;
	background: #EDC336;
	color: #fff;
	font-size: 12px;
	border-radius: 4px;
	line-height: 28px;
}

.teacher-intro {
	font-size: 14px;
	line-height: 1.8;
	color: #606266;
	word-break: break-word;
	text-indent: 2em;
	width: 100%;
    line-height: 1.6;
}

.course-recommend-box {
	background: #fff;
	border: 1px solid #e4e7ed;
	border-radius: 12px;
	padding: 25px;
	position: sticky;
	top: 80px;
}

.recommend-heading {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.recommend-active-bar {
	flex-shrink: 0;
	height: 18px;
	width: 4px;
	background: #015BF0;
}

.recommend-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 15px;
}

.recommend-title {
	font-size: 18px;
	font-weight: 600;
	color: #303133;
	margin: 0;
}

.refresh-btn {
	font-size: 14px;
	cursor: pointer;
	transition: color 0.3s;
}

.refresh-btn:hover {
	color: #66b1ff;
}

.recommend-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.recommend-item {
	display: flex;
	gap: 12px;
	text-decoration: none;
	transition: transform 0.3s;
	padding: 10px;
	border-radius: 2px;
}

.recommend-item:hover {
	background: #f5f7fa;
	transform: translateX(5px);
}

.recommend-cover {
	width: 140px;
	height: 80px;
	flex-shrink: 0;
	overflow: hidden;
	background: #f5f7fa;
	border-radius: 2px;
}

.recommend-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.recommend-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.recommend-course-title {
	font-size: 14px;
	font-weight: 500;
	color: #303133;
	margin: 0 0 8px 0;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
}

.recommend-meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 12px;
	color: #909399;
}

.recommend-category {
	color: #606266;
	margin-bottom: 10px;
}

.no-recommend {
	text-align: center;
	padding: 40px 0;
	font-size: 14px;
	color: #909399;
}
