/* FAQ vitrin — tema bağımsız varsayılan */
.ws-faq-page {
    padding: 48px 0 64px;
}

.ws-faq-page__header {
    margin-bottom: 28px;
    max-width: 720px;
}

.ws-faq-page__title {
    margin: 0 0 8px;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--text-primary-light, #1d2939);
}

.ws-faq-page__intro,
.ws-faq__desc {
    margin: 0;
    color: var(--text-secondary-light, #667085);
    line-height: 1.6;
}

.ws-faq-empty {
    color: var(--text-secondary-light, #667085);
}

.ws-faq__header {
    margin-bottom: 20px;
}

.ws-faq__title {
    margin: 0 0 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary-light, #1d2939);
}

.ws-faq__groups {
    display: grid;
    gap: 28px;
}

.ws-faq__group-title {
    margin: 0 0 12px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary-light, #1d2939);
}

.ws-faq__accordion {
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 12px;
    overflow: hidden;
    background: var(--white, #fff);
}

.ws-faq__item + .ws-faq__item {
    border-top: 1px solid var(--border-color, #e5e7eb);
}

.ws-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 0;
    background: transparent;
    text-align: start;
    cursor: pointer;
    color: var(--text-primary-light, #1d2939);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.ws-faq__question:hover {
    background: color-mix(in srgb, var(--primary-600, #487fff) 6%, transparent);
}

.ws-faq__question-icon {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.28s ease;
    opacity: 0.7;
}

.ws-faq__question.is-open .ws-faq__question-icon {
    transform: rotate(-135deg);
}

/* Kapalı/açık — yükseklik JS ile (paralel animasyon) */
.ws-faq__answer {
    display: block;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition:
        max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.32s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0s linear 0.38s;
}

.ws-faq__answer.is-open {
    opacity: 1;
    visibility: visible;
    transition:
        max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.32s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0s linear 0s;
}

.ws-faq__answer-clip {
    overflow: hidden;
}

.ws-faq__answer-body {
    padding: 0 16px 14px;
    color: var(--text-secondary-light, #667085);
    line-height: 1.65;
    font-size: 0.95rem;
}

.ws-faq__answer-body p:last-child {
    margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
    .ws-faq__answer,
    .ws-faq__question-icon {
        transition: none;
    }
}

[data-theme="dark"] .ws-faq__accordion,
[data-theme="dark"] .ws-faq-page__title,
[data-theme="dark"] .ws-faq__title,
[data-theme="dark"] .ws-faq__group-title,
[data-theme="dark"] .ws-faq__question {
    color: var(--text-primary-light);
}

[data-theme="dark"] .ws-faq__accordion {
    background: var(--neutral-50, rgba(255, 255, 255, 0.03));
    border-color: var(--border-color);
}
