/* 基础容器通用样式（PC+移动端通用） */
.tours-faq {
    padding-top: 20px;
    padding-bottom: 20px;
}
.tours-faq .yn_faq_shell {
    width: 100%;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 1px rgba(0,0,0,0.12);
}
.yn_faq_header {
    background: #f5f5f5;
    padding: 12px 16px;
    text-align: center;
}
.yn_faq_header h3 {
    font-size: 18px;
    margin: 0;
    font-weight: 600;
    color: #222;
}
.tours-faq .items {
    display: flex;
    flex-direction: column;
}
.tours-faq details.item {
    border-bottom: 1px solid #eee;
}
.tours-faq details.item:last-child {
    border-bottom: none;
}
.tours-faq summary.question {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px;
    cursor: pointer;
    list-style: none;
    gap: 12px;
}
/* 清除默认小三角 */
.tours-faq summary.question::-webkit-details-marker {
    display: none;
}
.yn_faq_text {
    flex: 1;
    font-size: 16px;
    line-height: 1.5;
    color: #111;
}
.yn_faq_toggle {
    font-size: 18px;
    color: #333;
    flex-shrink: 0;
    line-height: 1.4;
    transition: transform 0.2s ease;
    position: relative;
}
/* 默认收起：显示加号 */
.tours-faq .yn_faq_toggle::before {
    content: "+";
}
/* 展开：替换为减号 */
.tours-faq details[open] .yn_faq_toggle::before {
    content: "−";
}
.tours-faq .answer {
    padding: 0 16px 16px 16px;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}
#qa-summary {
    scroll-margin-top: 80px;
}
/* 移动端专属适配（手机样式优化） */
@media (max-width: 767px) {
    #qa-summary {
        scroll-margin-top: 50px;
    }
    .tours-faq {
        padding-left: 12px;
        padding-right: 12px;
    }
    .yn_faq_header {
        padding: 10px 14px;
    }
    .yn_faq_header h3 {
        font-size: 17px;
    }
    .tours-faq summary.question {
        padding: 14px 12px;
    }
    .yn_faq_text {
        font-size: 15px;
    }
    .tours-faq .answer {
        padding: 0 12px 14px 12px;
        font-size: 14px;
    }
    .yn_faq_toggle {
        font-size: 20px;
    }
}
