/**
 * 产品 FAQ 区块样式（WSM_Product_FAQ 渲染，仅在有 FAQ 的产品页加载）
 *
 * v3.4.0 从已下线的全站 frontend.css 中拆出。
 */

.wsm-product-faq {
    margin: 2em 0;
    clear: both;
}

.wsm-product-faq__title {
    margin-bottom: 0.75em;
    font-size: 1.4em;
}

.wsm-product-faq__item {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    margin-bottom: 0.5em;
    background: #fff;
    transition: box-shadow 0.25s ease;
}

.wsm-product-faq__item[open] {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.wsm-product-faq__question {
    padding: 0.9em 2.5em 0.9em 1em;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    list-style: none;
}

.wsm-product-faq__question::-webkit-details-marker {
    display: none;
}

/* 折叠箭头：展开时旋转，给用户明确的交互反馈 */
.wsm-product-faq__question::after {
    content: '';
    position: absolute;
    right: 1em;
    top: 50%;
    width: 0.55em;
    height: 0.55em;
    border-right: 2px solid #888;
    border-bottom: 2px solid #888;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.25s ease;
}

.wsm-product-faq__item[open] .wsm-product-faq__question::after {
    transform: translateY(-30%) rotate(-135deg);
}

.wsm-product-faq__answer {
    padding: 0 1em 1em;
    color: #555;
    line-height: 1.6;
}

/* 不做 prefers-color-scheme 暗色适配：Electro 主题本身没有暗色模式，系统暗色下页面仍是白底，
   旧版暗色卡片会与主题继承的深色问题文字叠成“深字压深底”（v3.4.0 移除）。 */
