/*
 * Data-driven FAQ disclosure list.
 * Elementor owns the outer Home section, heading, anchor, shell and spacing;
 * this component styles only the generated FAQ rows.
 */

.wwts-faq {
    width: 100%;
}

.wwts-faq__item {
    margin: 0;
    border-top: 1px solid rgba(47, 42, 38, 0.16);
}

.wwts-faq__item:last-child {
    border-bottom: 1px solid rgba(47, 42, 38, 0.16);
}

.wwts-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 58px;
    padding: 16px 4px;
    cursor: pointer;
    list-style: none;
}

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

.wwts-faq__question-text {
    min-width: 0;
    font: inherit;
    font-size: clamp(17px, 1.3vw, 20px);
    line-height: 1.25;
}

.wwts-faq__icon {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.wwts-faq__icon::before,
.wwts-faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}

.wwts-faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.wwts-faq__item[open] .wwts-faq__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.wwts-faq__answer {
    max-width: 900px;
    padding: 0 42px 20px 4px;
    line-height: 1.55;
}

.wwts-faq__answer > :first-child {
    margin-top: 0;
}

.wwts-faq__answer > :last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .wwts-faq__question {
        gap: 16px;
        padding-block: 14px;
    }

    .wwts-faq__answer {
        padding-right: 28px;
        padding-bottom: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wwts-faq__icon::before,
    .wwts-faq__icon::after {
        transition: none;
    }
}
