/* AI Content FAQ — Frontend */

.aicfaq-block {
    margin: 2em 0 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.6;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}

.aicfaq-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 18px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    color: #374151;
    font-weight: 600;
    font-size: 14px;
}

.aicfaq-head svg { color: #6366f1; flex-shrink: 0; }

.aicfaq-item { border-top: 1px solid #f1f5f9; }
.aicfaq-item:first-of-type { border-top: none; }

.aicfaq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 18px;
    background: #fff;
    color: #374151;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    transition: background .12s;
}

.aicfaq-q:hover       { background: #fafafa; }
.aicfaq-q.is-open     { color: #4f46e5; background: #fafafa; }
.aicfaq-q.is-open .aicfaq-arrow { transform: rotate(180deg); color: #6366f1; }

.aicfaq-arrow {
    flex-shrink: 0;
    color: #cbd5e1;
    transition: transform .2s ease;
}

.aicfaq-a {
    padding: 0 18px;
    color: #6b7280;
    background: #fff;
    overflow: hidden;
}
.aicfaq-a > div { padding-bottom: 14px; }
.aicfaq-a[hidden] { display: none; }

@media (max-width: 540px) {
    .aicfaq-q    { padding: 12px 14px; font-size: 14px; }
    .aicfaq-a    { padding: 0 14px; }
    .aicfaq-head { padding: 11px 14px; }
}
