/* 问答栏目 */
.wenda-page {
    background: linear-gradient(180deg, #f3f7fc 0%, #ffffff 280px);
    min-height: 60vh;
    padding-bottom: 80px;
}

.wenda-hero {
    background: linear-gradient(135deg, #0b5fff 0%, #1a8cff 55%, #3aa0ff 100%);
    color: #fff;
    /* 预留固定顶栏高度，避免「问答」标题被挡住 */
    padding: 120px 20px 48px;
    text-align: center;
}

.wenda-hero-inner h1 {
    margin: 0 0 12px;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 2px;
}

.wenda-hero-inner p {
    margin: 0;
    font-size: 15px;
    opacity: 0.9;
}

.wenda-container {
    width: 100%;
    max-width: 960px;
    margin: -24px auto 0;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.wenda-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    background: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 8px 24px rgba(11, 95, 255, 0.08);
}

.wenda-tab {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    color: #4a5568;
    background: #f5f7fb;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.wenda-tab:hover {
    color: #0b5fff;
    background: #eaf2ff;
}

.wenda-tab.active {
    color: #fff;
    background: #0b5fff;
}

.wenda-list {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(11, 95, 255, 0.08);
    overflow: hidden;
}

.wenda-item {
    border-bottom: 1px solid #eef2f7;
}

.wenda-item:last-child {
    border-bottom: none;
}

.wenda-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

.wenda-cat {
    flex-shrink: 0;
    font-size: 12px;
    color: #0b5fff;
    background: #eaf2ff;
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 500;
}

.wenda-question:hover {
    background: #f8fbff;
}

.wenda-q-text {
    flex: 1;
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 600;
    line-height: 1.5;
}

.wenda-arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid #8a94a6;
    border-bottom: 2px solid #8a94a6;
    transform: rotate(45deg);
    transition: transform 0.25s ease, border-color 0.25s ease;
    flex-shrink: 0;
    margin-top: -4px;
}

.wenda-item.open .wenda-arrow {
    transform: rotate(-135deg);
    border-color: #0b5fff;
    margin-top: 4px;
}

.wenda-item.open .wenda-q-text {
    color: #0b5fff;
}

.wenda-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
}

.wenda-item.open .wenda-answer {
    max-height: 600px;
}

.wenda-answer-inner {
    padding: 0 24px 22px;
    color: #4a5568;
    font-size: 14px;
    line-height: 1.8;
    background: #f8fbff;
    margin: 0 12px 16px;
    border-radius: 8px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.wenda-empty {
    padding: 60px 20px;
    text-align: center;
    color: #8a94a6;
    font-size: 15px;
}

/* 问答栏目样式 */
.wenda-embed .wenda-list {
    box-shadow: none;
    border: 1px solid #eef2f7;
}

.wenda-embed .wenda-tabs {
    box-shadow: none;
    margin-bottom: 16px;
}

@media screen and (max-width: 768px) {
    .wenda-hero {
        padding: 96px 16px 36px;
    }
    .wenda-hero-inner h1 {
        font-size: 26px;
    }
    .wenda-question {
        padding: 16px;
    }
    .wenda-q-text {
        font-size: 15px;
    }
    .wenda-answer-inner {
        margin: 0 8px 12px;
        padding: 14px;
    }
}
