﻿/* 基础样式 */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* 顶部导航栏 */
.header {
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .logo a {
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  font-weight: bold;
}

.header .nav {
  display: flex;
  gap: 20px;
  margin: 0 auto; /* 导航菜单居中 */
}

.header .nav a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

.header .auth {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header .auth a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

.header .btn-publish {
  background: #f99e28;
  color: #6a11cb;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: bold;
}

/* 面包屑标签 */
.breadcrumb {
  padding: 10px 0;
  background: #f5f5f5;
  font-size: 14px;
  color: #666;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #6a11cb;
}

.breadcrumb span {
  color: #333;
  font-weight: bold;
}

/* 详情页样式 */
.detail {
  padding: 30px 0;
  background: #f5f5f5;
}

.detail h1 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #333;
}

.detail-info {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.detail-left {
  flex: 1;
}

.detail-left img {
  width: 100%;
  border-radius: 10px;
}

.detail-right {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.detail-right h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #333;
}

.info-row {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 16px;
  color: #666;
}

.info-row i {
  margin-right: 10px;
  color: #6a11cb;
}

.info-row .label {
  font-weight: bold;
  width: 80px;
}

.info-row .value {
  flex: 1;
}

.platform-tips {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 5px;
  margin-top: 20px;
}

.platform-tips h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
}

.platform-tips p {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

/* 服务提醒 */
.service-reminder {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.service-reminder h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

.service-reminder h3 i {
  margin-right: 10px;
  color: #6a11cb;
}

.service-reminder .reminder-container {
  display: flex;
  gap: 20px; /* 调整间距 */
}

.reminder-item {
  flex: 1; /* 均分宽度 */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.reminder-item i {
  font-size: 24px;
  color: #6a11cb;
  margin-bottom: 10px;
}

.reminder-item h4 {
  font-size: 16px;
  margin-bottom: 5px;
  color: #333;
}

.reminder-item p {
  font-size: 14px;
  color: #666;
}


/* 课程介绍 */
.course-description {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.course-description h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

.course-description h3 i {
  margin-right: 10px;
  color: #6a11cb;
}

.course-description p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
 all: unset;
  font-family: "Microsoft YaHei", SimSun, 宋体, sans-serif !important;
}

.course-description img {
  max-width: 100%; /* 限制图片宽度不超出父容器 */
  height: auto; /* 高度自适应 */
  border-radius: 10px; /* 如果需要圆角 */
  margin-bottom: 20px; /* 图片与文字的间距 */
}


/* 底部导航栏 */
.footer {
  background: #333;
  color: #fff;
  padding: 30px 0;
  text-align: center;
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
}

.social-media a {
  color: #fff;
  font-size: 24px;
  margin: 0 10px;
}

.footer p {
  margin-top: 20px;
  font-size: 14px;
  color: #bbb;
}
