/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* 头部样式 */
.header {
    background-color: #2c3e50;
    color: #fff;
}

.header-top {
    background-color: #34495e;
    padding: 10px 0;
}

.header-top-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-info a {
    color: #fff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #fff;
    text-decoration: none;
}

.header-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #fff;
}

.logo img {
    max-height: 60px;
}

.logo-text h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.logo-text p {
    font-size: 14px;
    margin: 0;
    opacity: 0.8;
}

/* 导航样式 */
.nav {
    background-color: #2c3e50;
    border-top: 1px solid #34495e;
    overflow: hidden;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
    flex-wrap: nowrap;
}

.nav-item {
    position: relative;
    white-space: nowrap;
}

.nav-item a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s;
    font-weight: bold;
    white-space: nowrap;
}

.nav-item a:hover,
.nav-item.active a {
    background-color: #3498db;
}

/* 轮播图样式 */
.carousel-section {
    background-color: #f8f9fa;
    padding: 20px 0;
}

.carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    flex: 0 0 100%;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 20px;
}

.carousel-caption h3 {
    margin: 0;
    font-size: 24px;
}

/* 主要内容样式 */
.main-content {
    padding: 30px 0;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 标题样式 */
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.section-title .more {
    font-size: 14px;
    color: #3498db;
    text-decoration: none;
}

.section-title .more:hover {
    text-decoration: underline;
}

/* 文章列表样式 */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.article-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.article-meta .category {
    background-color: #3498db;
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
}

.article-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.article-title a {
    color: #2c3e50;
    text-decoration: none;
}

.article-title a:hover {
    color: #3498db;
}

.article-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
}

.article-footer .read-more {
    color: #3498db;
    text-decoration: none;
}

.article-footer .read-more:hover {
    text-decoration: underline;
}

/* 内容区域布局 */
.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

/* 栏目卡片样式 */
.category-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: #3498db #f8f9fa;
}

.category-grid::-webkit-scrollbar {
    height: 6px;
}

.category-grid::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 3px;
}

.category-grid::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 3px;
}

.category-card {
    background-color: #f8f9fa;
    padding: 20px 30px;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s, background-color 0.3s;
    min-width: 200px;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.category-card h3 {
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    background-color: #3498db;
    color: #fff;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.category-card a {
    color: #2c3e50;
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.category-card:hover a {
    color: #fff;
}

.category-card i {
    font-size: 32px;
    color: #3498db;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.category-card:hover i {
    color: #fff;
}

.category-card h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    transition: color 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.category-card:hover h3 {
    color: #fff;
}

.category-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
    transition: color 0.3s;
}

.category-card:hover p {
    color: rgba(255, 255, 255, 0.8);
}

/* 侧边栏样式 */
.sidebar-section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.sidebar-title {
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

/* 热门文章列表 */
.hot-articles-list {
    list-style: none;
}

.hot-articles-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.hot-articles-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.hot-articles-list a {
    color: #2c3e50;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hot-articles-list a:hover {
    color: #3498db;
}

.hot-articles-list .article-date {
    font-size: 12px;
    color: #999;
}

/* 关于信息 */
.about-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.about-info .read-more {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
}

.about-info .read-more:hover {
    text-decoration: underline;
}

/* 联系信息 */
.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.contact-info i {
    color: #3498db;
    width: 20px;
}

/* 面包屑样式 */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #666;
}

/* 栏目信息 */
.category-info {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.category-title {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
}

.sub-categories {
    font-size: 14px;
    color: #666;
}

.sub-categories strong {
    margin-right: 10px;
}

.sub-category {
    display: inline-block;
    margin-right: 15px;
    color: #3498db;
    text-decoration: none;
}

.sub-category:hover {
    text-decoration: underline;
}

/* 分页样式 */
.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination ul {
    display: inline-flex;
    list-style: none;
    gap: 5px;
}

.pagination li {
    margin: 0;
}

.pagination a {
    display: block;
    padding: 8px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination a:hover {
    background-color: #f8f9fa;
    border-color: #3498db;
    color: #3498db;
}

.pagination li.active a {
    background-color: #3498db;
    border-color: #3498db;
    color: #fff;
}

.pagination li.ellipsis {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    color: #999;
}

/* 文章详情样式 */
.article-detail {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
}

.article-content p {
    margin-bottom: 15px;
}

.article-content h1, 
.article-content h2, 
.article-content h3, 
.article-content h4, 
.article-content h5, 
.article-content h6 {
    margin: 20px 0 15px;
    color: #2c3e50;
    font-weight: bold;
}

.article-content ul, 
.article-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 8px;
}

/* 文章标签 */
.article-tags {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.article-tags strong {
    color: #666;
    margin-right: 10px;
}

.tag {
    display: inline-block;
    padding: 5px 12px;
    background-color: #e3f2fd;
    color: #3498db;
    text-decoration: none;
    border-radius: 15px;
    font-size: 14px;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.tag:hover {
    background-color: #3498db;
    color: #fff;
}

/* 上一篇下一篇 */
.article-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.article-nav a {
    color: #3498db;
    text-decoration: none;
}

.article-nav a:hover {
    text-decoration: underline;
}

/* 页脚样式 */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section p {
    margin-bottom: 20px;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links,
.friend-links {
    list-style: none;
}

.footer-links li,
.friend-links li {
    margin-bottom: 10px;
}

.footer-links a,
.friend-links a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover,
.friend-links a:hover {
    opacity: 1;
}

.friend-links img {
    vertical-align: middle;
    margin-right: 5px;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.contact-list i {
    margin-top: 3px;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    opacity: 0.8;
}

.footer-bottom-content a {
    color: #fff;
    text-decoration: none;
}

.footer-bottom-content a:hover {
    text-decoration: underline;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.modal-header {
    padding: 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #2c3e50;
}

.modal-body {
    padding: 20px;
    color: #333;
}

.close {
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #000;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 300px;
    }
    
    .carousel-caption h3 {
        font-size: 20px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .article-detail {
        padding: 20px;
    }
    
    .article-title {
        font-size: 20px;
    }
    
    .article-meta {
        gap: 10px;
        font-size: 12px;
    }
    
    .article-content {
        font-size: 14px;
    }
    
    .header-main {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .nav-menu {
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .nav-item a {
        padding: 10px 15px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .carousel-item img {
        height: 200px;
    }
    
    .carousel-caption h3 {
        font-size: 16px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .article-detail {
        padding: 15px;
    }
    
    .article-title {
        font-size: 18px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-list li {
        justify-content: center;
        text-align: left;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
}

/* 考试页面样式 */
.exam-section {
    padding: 20px 0;
    background-color: #f8f9fa;
}

.exam-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.exam-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.exam-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.exam-footer {
    margin-top: 20px;
    text-align: center;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #3498db;
    color: #fff;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-success {
    background-color: #28a745;
    color: #fff;
}

.btn-success:hover {
    background-color: #218838;
}

.btn-danger {
    background-color: #dc3545;
    color: #fff;
}

.btn-danger:hover {
    background-color: #c82333;
}

.btn-warning {
    background-color: #ffc107;
    color: #212529;
}

.btn-warning:hover {
    background-color: #e0a800;
}

.btn-block {
    display: block;
    width: 100%;
}

/* 考试结果样式 */
.result-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.result-header {
    text-align: center;
    margin-bottom: 30px;
}

.result-score {
    font-size: 48px;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 10px;
}

.result-status {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.result-status.pass {
    color: #28a745;
}

.result-status.fail {
    color: #dc3545;
}

.result-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.detail-item {
    text-align: center;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.detail-value {
    font-size: 24px;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 5px;
}

.detail-label {
    font-size: 14px;
    color: #666;
}

.question-result {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid #3498db;
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.question-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.question-content {
    margin-bottom: 15px;
}

.option-item {
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 4px;
    background-color: #fff;
}

.option-item.correct {
    background-color: #d4edda;
    border-left: 4px solid #28a745;
}

.option-item.incorrect {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
}

.option-item.selected {
    border-left: 4px solid #3498db;
}

.answer-info {
    margin-top: 10px;
    padding: 10px;
    background-color: #e3f2fd;
    border-radius: 4px;
    font-size: 14px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
}

/* 资源页面样式 */
.resource-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.resource-header {
    text-align: center;
    margin-bottom: 30px;
}

.resource-header h1 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.resource-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.resource-nav-item {
    padding: 8px 15px;
    background-color: #f8f9fa;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    font-size: 14px;
}

.resource-nav-item:hover,
.resource-nav-item.active {
    background-color: #3498db;
    color: #fff;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.resource-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid #e0e0e0;
}

.resource-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.resource-item-header {
    background-color: #f8f9fa;
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.resource-item-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #2c3e50;
}

.resource-item-category {
    font-size: 12px;
    color: #666;
}

.resource-item-body {
    padding: 15px;
}

.resource-item-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.resource-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

.resource-item-footer {
    padding: 15px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.resource-item-size {
    font-size: 12px;
    color: #666;
}

/* 资源下载页面样式 */
.download-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.download-header {
    text-align: center;
    margin-bottom: 30px;
}

.download-title {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.download-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.download-info-item {
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.download-info-value {
    font-size: 20px;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 5px;
}

.download-info-label {
    font-size: 14px;
    color: #666;
}

.download-description {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.download-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #28a745;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: #218838;
}

.download-btn i {
    margin-right: 8px;
}

.related-resources {
    margin-top: 40px;
}

/* 关于我们页面样式 */
.about-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.about-section {
    margin-bottom: 40px;
}

.about-section h2 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.about-content {
    line-height: 1.8;
    color: #333;
}

.about-content p {
    margin-bottom: 20px;
}

.about-content h3 {
    font-size: 20px;
    color: #2c3e50;
    margin: 30px 0 15px;
}

.team-section {
    margin-top: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.team-member {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.member-name {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
}

.member-position {
    font-size: 14px;
    color: #3498db;
    margin-bottom: 15px;
}

.member-bio {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 联系我们页面样式 */
.contact-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.contact-section {
    margin-bottom: 40px;
}

.contact-section h2 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.contact-item i {
    font-size: 36px;
    color: #3498db;
    margin-bottom: 15px;
}

.contact-item h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.contact-item p {
    color: #666;
    margin: 5px 0;
}

.map-section {
    margin-bottom: 40px;
}

.map-container {
    width: 100%;
    height: 400px;
    background-color: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.form-section {
    margin-top: 40px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .member-avatar {
        width: 100px;
        height: 100px;
    }
    
    .about-container,
    .contact-container,
    .download-container {
        padding: 15px;
    }
}

/* 加入我们页面样式 */
.membership-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.membership-section {
    margin-bottom: 40px;
}

.membership-section h2 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.membership-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.benefit-item {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
    font-size: 36px;
    color: #3498db;
    margin-bottom: 15px;
}

.benefit-item h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.benefit-item p {
    color: #666;
    line-height: 1.5;
}

.membership-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.membership-form h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

.form-group.has-error .form-control {
    border-color: #dc3545;
}

.form-group.has-error .help-block {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

/* 进度条样式 */
.progress {
    width: 100%;
    height: 20px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-bar {
    height: 100%;
    background-color: #3498db;
    border-radius: 10px;
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

/* 标签页样式 */
.tabs {
    display: flex;
    gap: 2px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.tab-item {
    padding: 10px 20px;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
}

.tab-item:hover {
    background-color: #e9ecef;
}

.tab-item.active {
    background-color: #fff;
    border-color: #3498db;
    border-bottom-color: transparent;
    color: #3498db;
    font-weight: bold;
}

.tab-content {
    display: none;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0 4px 4px 4px;
}

.tab-content.active {
    display: block;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease;
}

/* 打印样式 */
@media print {
    .header,
    .nav,
    .footer,
    .sidebar,
    .article-nav,
    .article-tags {
        display: none;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .main-content {
        padding: 0;
    }
    
    .article-detail {
        box-shadow: none;
        padding: 0;
    }
    
    .article-content {
        font-size: 14px;
        line-height: 1.5;
    }
}