/*
 * 善知识中心 CSS样式
 * 日行一善官网
 */

/* ===== 基础样式 ===== */
:root {
    --primary-color: #4CAF50;       /* 主色调：绿色 */
    --secondary-color: #FF9800;     /* 辅助色：橙色 */
    --text-color: #333333;          /* 主文本色 */
    --text-light: #757575;          /* 浅色文本 */
    --bg-light: #F5F5F5;            /* 浅色背景 */
    --bg-white: #FFFFFF;            /* 白色背景 */
    --link-color: #2196F3;          /* 链接色：蓝色 */
    --border-color: #E0E0E0;        /* 边框色 */
    --success-color: #4CAF50;       /* 成功色 */
    --warning-color: #FFC107;       /* 警告色 */
    --error-color: #F44336;         /* 错误色 */
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* 阴影 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "思源黑体", "Source Han Sans", "Microsoft YaHei", "微软雅黑", sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== 按钮样式 ===== */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #43A047;
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-outline-secondary {
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline-secondary:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* ===== 头部导航 ===== */
.site-header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 24px;
    font-weight: bold;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.main-nav a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.user-actions {
    display: flex;
    align-items: center;
}

.user-actions a {
    margin-left: 15px;
}

.search-toggle {
    font-size: 18px;
    color: var(--text-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
}

/* 搜索框 */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
}

.search-form {
    width: 80%;
    max-width: 600px;
    position: relative;
}

.search-form input {
    width: 100%;
    padding: 15px 20px;
    font-size: 18px;
    border: none;
    border-bottom: 2px solid var(--primary-color);
    background: transparent;
}

.search-form button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50px;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--primary-color);
    cursor: pointer;
}

.search-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

/* ===== 善知识中心横幅 ===== */
.knowledge-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 0;
    text-align: center;
}

.knowledge-banner h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.knowledge-banner .slogan {
    font-size: 18px;
    margin-bottom: 30px;
    font-family: "思源宋体", "Source Han Serif", serif;
}

.knowledge-search {
    max-width: 600px;
    margin: 0 auto;
}

.knowledge-search form {
    display: flex;
    position: relative;
}

.knowledge-search input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
}

.knowledge-search button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50px;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 18px;
}

/* ===== 主要内容区 ===== */
.knowledge-main {
    padding: 40px 0;
}

/* 知识分类导航 */
.category-nav {
    background-color: var(--bg-white);
    border-radius: 4px;
    padding: 15px 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.category-nav ul {
    display: flex;
    flex-wrap: wrap;
}

.category-nav li {
    margin-right: 20px;
    margin-bottom: 10px;
}

.category-nav a {
    color: var(--text-color);
    padding: 5px 0;
    position: relative;
}

.category-nav a:hover,
.category-nav a.active {
    color: var(--primary-color);
}

.category-nav a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* 内容布局 */
.content-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
}

/* 主要内容区 */
.main-content {
    background-color: var(--bg-white);
    border-radius: 4px;
    padding: 30px;
    box-shadow: var(--shadow);
}

/* 段落标题 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.section-header h2 {
    font-size: 24px;
    color: var(--text-color);
}

.view-all {
    color: var(--text-light);
    font-size: 14px;
    display: flex;
    align-items: center;
}

.view-all i {
    margin-left: 5px;
}

/* 文章卡片 */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.article-card {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
}

.article-content {
    padding: 15px;
}

.article-content h3 {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.4;
}

.article-content h3 a {
    color: var(--text-color);
}

.article-content h3 a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-light);
}

.reading-time {
    display: flex;
    align-items: center;
}

.reading-time i {
    margin-right: 5px;
}

.article-stats {
    display: flex;
}

.article-stats span {
    margin-left: 10px;
    display: flex;
    align-items: center;
}

.article-stats i {
    margin-right: 3px;
}

/* 知识专题区 */
.knowledge-topics {
    margin-top: 40px;
}

/* 知识专题区 */
.knowledge-topics {
    margin-top: 40px;
}

.topic-banner {
    position: relative;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.topic-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.topic-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: white;
}

.topic-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.topic-info p {
    font-size: 14px;
    margin-bottom: 15px;
    max-width: 80%;
}

.topic-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.article-card-small {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.article-card-small .article-image {
    height: 120px;
}

.article-card-small .article-content {
    padding: 10px;
}

.article-card-small h4 {
    font-size: 14px;
    line-height: 1.4;
}

/* 专家专栏区 */
.expert-columns {
    margin-top: 40px;
}

.expert-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.expert-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.expert-info {
    display: flex;
    flex-direction: column;
}

.expert-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
}

.expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-details h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.expert-title {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.expert-bio {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.btn-follow {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-follow:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-follow.followed {
    background-color: var(--primary-color);
    color: white;
}

.expert-articles {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.article-item {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.article-item:last-child {
    border-bottom: none;
}

.article-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.article-item h4 a {
    color: var(--text-color);
}

.article-item h4 a:hover {
    color: var(--primary-color);
}

.article-item p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.article-date {
    font-size: 12px;
    color: var(--text-light);
}

/* 用户贡献区 */
.user-contributions {
    margin-top: 40px;
}

.section-header .btn {
    padding: 5px 15px;
    font-size: 14px;
}

.contribution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.contribution-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.user-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.user-info span {
    font-weight: 500;
    color: var(--text-color);
}

.contribution-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.contribution-content h3 a {
    color: var(--text-color);
}

.contribution-content h3 a:hover {
    color: var(--primary-color);
}

.contribution-content p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.contribution-image {
    margin-bottom: 10px;
    border-radius: 4px;
    overflow: hidden;
}

.interaction-stats {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--text-light);
}

.load-more {
    text-align: center;
    margin-top: 30px;
}

/* 知识互动区 */
.knowledge-interaction {
    margin-top: 40px;
}

.interaction-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.topic-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.topic-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.topic-item:hover {
    transform: translateX(5px);
}

.topic-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
}

.topic-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.topic-info h4 a {
    color: var(--text-color);
}

.topic-info h4 a:hover {
    color: var(--primary-color);
}

.topic-info p {
    font-size: 12px;
    color: var(--text-light);
}

/* QA部分 */
.qa-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.qa-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
}

.question, .answer {
    display: flex;
    padding: 15px;
}

.answer {
    background-color: #f0f7f0;
    border-top: 1px solid var(--border-color);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.question-content, .answer-content {
    flex: 1;
}

.user-name {
    font-weight: 500;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.expert-tag {
    background-color: var(--primary-color);
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 10px;
}

.question-content h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.question-content p, .answer-content p {
    font-size: 14px;
    margin-bottom: 10px;
}

.question-meta, .answer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-light);
}

.answer-link {
    color: var(--primary-color);
}

.answer-actions {
    display: flex;
    gap: 15px;
}

.no-answer {
    padding: 15px;
    background-color: #f9f9f9;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-light);
    font-style: italic;
}

/* 每周一问 */
.weekly-question-container {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
}

.weekly-question-header {
    margin-bottom: 20px;
}

.weekly-question-header h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.question-description {
    font-size: 16px;
    color: var(--text-light);
}

.expert-answer {
    background-color: #f0f7f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.expert-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.expert-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.expert-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.expert-info p {
    font-size: 14px;
    color: var(--text-light);
}

.expert-answer-content {
    font-size: 14px;
}

.expert-answer-content p {
    margin-bottom: 15px;
}

.community-responses h4 {
    font-size: 16px;
    margin-bottom: 15px;
}

.response-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

.response-item {
    display: flex;
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.response-content {
    flex: 1;
}

.response-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 10px;
}

.response-actions {
    display: flex;
    gap: 15px;
}

.view-more-responses {
    display: block;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.add-response {
    margin-top: 20px;
}

.add-response textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    resize: none;
    margin-bottom: 10px;
}

/* 侧边栏 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background-color: var(--bg-white);
    border-radius: 4px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.sidebar-widget h3 {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

/* 知识排行榜 */
.ranking-list li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
}

.ranking-list li:last-child {
    border-bottom: none;
}

.rank-num {
    width: 25px;
    height: 25px;
    background-color: var(--bg-light);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 10px;
}

.ranking-list li:nth-child(1) .rank-num {
    background-color: #FFD700;
    color: white;
}

.ranking-list li:nth-child(2) .rank-num {
    background-color: #C0C0C0;
    color: white;
}

.ranking-list li:nth-child(3) .rank-num {
    background-color: #CD7F32;
    color: white;
}

.ranking-list a {
    flex: 1;
    font-size: 14px;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.view-count {
    font-size: 12px;
    color: var(--text-light);
    margin-left: 10px;
}

/* 最新更新 */
.latest-list li {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
}

.latest-list li:last-child {
    border-bottom: none;
}

.latest-image {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 10px;
}

.latest-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.latest-content a {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-date {
    font-size: 12px;
    color: var(--text-light);
}

/* 标签云 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    display: inline-block;
    padding: 5px 10px;
    background-color: #f0f0f0;
    border-radius: 20px;
    color: var(--text-color);
    font-size: 12px;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background-color: var(--primary-color);
    color: white;
}

.tag-item.tag-xl {
    font-size: 16px;
}

.tag-item.tag-l {
    font-size: 14px;
}

.tag-item.tag-m {
    font-size: 12px;
}

.tag-item.tag-s {
    font-size: 10px;
}

/* 订阅区域 */
.subscribe-widget p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.subscribe-form {
    display: flex;
}

.subscribe-form input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px 0 0 4px;
}

.subscribe-form button {
    padding: 10px 15px;
    border: none;
    border-radius: 0 4px 4px 0;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
}

/* 知识实践卡 */
.practice-card {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.practice-image {
    height: 120px;
    overflow: hidden;
}

.practice-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.practice-card h4 {
    padding: 15px 15px 10px;
    font-size: 16px;
}

.practice-card p {
    padding: 0 15px 15px;
    font-size: 14px;
    color: var(--text-light);
}

.practice-actions {
    display: flex;
    padding: 0 15px 15px;
    gap: 10px;
}

.practice-actions .btn {
    flex: 1;
    padding: 8px 10px;
    font-size: 12px;
}

/* 音频知识推荐 */
.audio-knowledge {
    background-color: #f0f7f0;
    padding: 40px 0;
    margin-top: 40px;
}

.audio-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.audio-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.audio-image {
    height: 160px;
    position: relative;
    overflow: hidden;
}

.audio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.audio-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255,255,255,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.audio-play-btn i {
    color: var(--primary-color);
    font-size: 20px;
}

.audio-play-btn:hover {
    background-color: var(--primary-color);
}

.audio-play-btn:hover i {
    color: white;
}

.audio-info {
    padding: 15px;
}

.audio-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.audio-speaker {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.audio-duration {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.audio-duration i {
    margin-right: 5px;
}

/* 知识学习路径 */
.learning-paths {
    padding: 40px 0;
}

.path-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.path-item {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.path-header {
    display: flex;
    margin-bottom: 20px;
}

.path-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.path-icon i {
    color: white;
    font-size: 24px;
}

.path-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.path-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--text-light);
}

.path-progress {
    margin-bottom: 20px;
}

.progress-bar {
    height: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
}

.progress-text {
    font-size: 12px;
    color: var(--text-light);
}

.path-steps {
    margin-bottom: 20px;
}

.path-steps li {
    display: flex;
    padding: 10px 0;
    position: relative;
}

.path-steps li:not(:last-child):after {
    content: '';
    position: absolute;
    top: 25px;
    left: 7px;
    width: 2px;
    height: calc(100% - 15px);
    background-color: #e0e0e0;
}

.step-marker {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #e0e0e0;
    margin-right: 15px;
    margin-top: 5px;
    position: relative;
    z-index: 1;
}

.path-steps li.completed .step-marker {
    background-color: var(--primary-color);
}

.path-steps li.current .step-marker {
    background-color: var(--secondary-color);
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.step-status {
    font-size: 12px;
    color: var(--text-light);
}

.path-steps li.completed .step-status {
    color: var(--primary-color);
}

.path-steps li.current .step-status {
    color: var(--secondary-color);
}

.path-item .btn {
    width: 100%;
}

/* AI助手 */
.ai-assistant {
    background-color: #f0f7f0;
    padding: 40px 0;
}

.ai-container {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
}

.ai-image {
    flex: 0 0 200px;
    margin-right: 30px;
}

.ai-content {
    flex: 1;
}

.ai-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.ai-content p {
    font-size: 16px;
    margin-bottom: 15px;
}

.ai-content ul {
    margin-bottom: 20px;
}

.ai-content li {
    padding: 5px 0;
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.ai-content li:before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.ai-input {
    display: flex;
    position: relative;
}

.ai-input input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 14px;
}

.ai-input button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
}

/* 底部区域 */
.site-footer {
    background-color: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo span {
    font-size: 20px;
    font-weight: bold;
}

.footer-desc {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #ccc;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: #444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 14px;
    color: #ccc;
}

.contact-info i {
    margin-right: 10px;
    margin-top: 3px;
}

.app-download {
    margin-top: 20px;
}

.app-download p {
    margin-bottom: 10px;
    font-size: 14px;
}

.app-download img {
    width: 100px;
    height: 100px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.copyright {
    font-size: 12px;
    color: #999;
}

.footer-bottom-links {
    display: flex;
}

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

.footer-bottom-links a {
    font-size: 12px;
    color: #999;
}

.footer-bottom-links a:hover {
    color: white;
}

/* 响应式样式 */
@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
    }

    .expert-card {
        grid-template-columns: 1fr;
    }

    .expert-info {
        flex-direction: row;
        margin-bottom: 20px;
    }

    .expert-avatar {
        margin-right: 20px;
        margin-bottom: 0;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

