/* 使用说明页面专用样式 */

.page-header p {
    font-size: 1.1rem;
    color: #388e3c;
    max-width: 800px;
    margin: 0 auto;
}

/* 主要内容区域 */
.main-content {
    display: flex;
    max-width: 1400px;
    margin: 0 auto 50px;
    padding: 0 20px;
    min-height: 600px;
}
/* 面包屑 */
.x-content {
    display: flex;
    max-width: 1400px;
    min-height: 30px;
}
/* 左侧分类导航 */
.category-sidebar {
    flex: 0 0 280px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-right: 30px;
    padding: 25px 0;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.category-title {
    padding: 0 25px 15px;
    font-size: 1.3rem;
    color: #1b5e20;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
}

.category-list {
    list-style: none;
}

.category-list li {
    border-bottom: 1px solid #f5f5f5;
}

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

.category-list a {
    display: block;
    padding: 15px 25px;
    text-decoration: none;
    color: #424242;
    transition: all 0.3s;
    font-size: 1rem;
}

.category-list a:hover {
    background: #f1f8e9;
    color: #2e7d32;
}

.category-list a.active {
    background: #f1f8e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
    font-weight: bold;
}

.category-list a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* 右侧内容列表 */
.content-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.content-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.content-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.content-item h2 {
    color: #1b5e20;
    margin-bottom: 15px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.content-item h2 i {
    margin-right: 10px;
    color: #2e7d32;
}

.content-item p {
    color: #455a64;
    line-height: 1.8;
    margin-bottom: 15px;
}

.step-list {
    margin: 20px 0;
    padding-left: 20px;
}

.step-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.highlight-box {
    background: #f1f8e9;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #2e7d32;
    margin: 20px 0;
}

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

.content-footer .date {
    color: #757575;
    font-size: 0.9rem;
}

.read-more {
    color: #2e7d32;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* 响应式设计 */
@media (max-width: 1000px) {
    .main-content {
        flex-direction: column;
    }
    
    .category-sidebar {
        flex: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
        position: static;
    }
    
    .category-list {
        display: flex;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .category-list li {
        border-bottom: none;
        border-right: 1px solid #f5f5f5;
        flex-shrink: 0;
    }
    
    .category-list li:last-child {
        border-right: none;
    }
    
    .category-list a {
        white-space: nowrap;
    }
    
    .category-list a.active {
        border-left: none;
        border-bottom: 4px solid #2e7d32;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 30px 5% 20px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .main-content {
        padding: 0 10px;
    }
    
    .content-item {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .category-list {
        flex-direction: column;
    }
    
    .category-list li {
        border-right: none;
        border-bottom: 1px solid #f5f5f5;
    }
    
    .category-list a.active {
        border-bottom: none;
        border-left: 4px solid #2e7d32;
    }
    
    .content-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
