/* faq.css - 常见问题页面样式 */

/* 基础样式重置 */
body {
    background-color: #f8f9fa;
    color: #333;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
}

/* 页面标题 */
.page-title {
    color: #2c3e50;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1e4e8;
}

/* 侧边栏样式 */
.sidebar-nav {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-nav .nav-item {
    margin-bottom: 5px;
}

.sidebar-nav .nav-link {
    color: #555;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.sidebar-nav .nav-link:hover {
    background-color: #f0f0f0;
    color: #2c3e50;
}

.sidebar-nav .nav-link.active {
    background-color: #e9f5ff;
    color: #007bff;
    font-weight: bold;
}

.sidebar-images img {
    border: 1px solid #eee;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.sidebar-images img:hover {
    transform: scale(1.02);
}

/* FAQ列表样式 */
.faq-list {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
}

.faq-list ul {
    padding-left: 0;
}

.faq-list li {
    padding: 10px 15px;
    border-bottom: 1px dashed #eee;
    transition: background-color 0.3s ease;
}

.faq-list li:last-child {
    border-bottom: none;
}

.faq-list li:hover {
    background-color: #f9f9f9;
}

.faq-list a {
    color: #2c3e50;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.faq-list a:hover {
    color: #007bff;
}

/* 分页样式 */
.pagination {
    justify-content: center;
    margin-top: 30px;
}

.page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
}

.page-link {
    color: #2c3e50;
    border: 1px solid #dee2e6;
    margin: 0 5px;
    border-radius: 4px !important;
}

.page-link:hover {
    color: #007bff;
    background-color: #f0f0f0;
    border-color: #dee2e6;
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .sidebar-nav {
        margin-bottom: 30px;
    }
    
    .sidebar-images {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .sidebar-images img {
        width: 48%;
        margin-bottom: 15px;
    }
}

@media (max-width: 767.98px) {
    .page-title {
        font-size: 24px;
    }
    
    .sidebar-images img {
        width: 100%;
    }
    
    .faq-list {
        padding: 15px;
    }
}

/* 闪烁动画 */
@keyframes blinker-two {
    100% {
        opacity: 0;
    }
}

.blink-two {
    animation: blinker-two 1.4s linear infinite;
    color: #FF0000;
    font-size: 22px;
    font-weight: bold;
    font-family: sans-serif;
    margin: 10px 0;
}