/* 页面整体布局 */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.thumb-image{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 主内容区域 */
.main-content {
    padding: 40px 0 80px 0;
}
/* FAQ页面样式 */
.faq-page {
    /* padding: 40px 0 60px 0; */
    background-color: #fff;
    flex: 1;
}

.faq-page .row {
    align-items: stretch;
}

/* 面包屑导航 */


.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: #333;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #666;
}

/* 页面标题 */
.faq-header {
    text-align: left;
    margin-bottom: 40px;
    padding-bottom: 30px;
}

.faq-title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.faq-subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
}

/* 左侧导航样式 */
.faq-sidebar {
    background: #fff;
    padding: 0 30px 20px;
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.faq-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-nav-item {
    margin-bottom: 15px;
}

.faq-nav-item:last-child {
    margin-bottom: 0;
}

.faq-nav-item a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    user-select: none;
}

.faq-nav-item a:hover {
    background-color: #e9ecef;
    transform: translateY(-1px);
}

.faq-nav-item.active a {
    color: #dc3545;
    background-color: #f8f9fa;
    border-color: #e9ecef;
    font-weight: 700;
    transform: scale(1.02);
}

/* 右侧内容样式 */
.faq-content {
    background: #fff;
    padding: 0;
    height: 100%;
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

/* FAQ部分样式 */
.faq-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
    overflow-y: auto;
}

.faq-section.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    height: 100%;
}

/* FAQ项目样式 */
.faq-item {
    margin-bottom: 20px;
    background-color: #fff;
    max-height: none;
}

.faq-item:last-child {
    margin-bottom: 20px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 20px 25px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 0;
    position: relative;
}



.faq-question h3 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.faq-question i {
    color: #333;
    font-size: 14px;
    margin-left: 15px;
    margin-top: 3px;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg) scale(1.1);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #fff;
    margin-left: 10px;
    border: 1px solid #e9ecef;
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    opacity: 0;
    transform: translateY(-10px);
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* Footer样式 */
.footer {
    margin-top: auto;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .faq-sidebar {
        margin-bottom: 30px;
    }

    .faq-title {
        font-size: 36px;
    }

    .faq-question h3 {
        font-size: 14px;
    }

    .faq-answer p {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .faq-page {
        padding: 0px 0 20px 0;
    }

    .faq-header {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }

    .faq-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .faq-subtitle {
        font-size: 14px;
    }

    .faq-sidebar {
        padding: 20px 15px;
    }

    .faq-nav-item a {
        padding: 10px 12px;
        font-size: 14px;
    }
}