
/* =====================================
   VOLTEX FAQ
===================================== */

.vx-faq {
    --faq-text: #111111;
    --faq-muted: #626262;
    --faq-line: #D8D6D1;
    --faq-accent: #FF5A1F;

    width: 100%;
    font-family: "Sora", sans-serif;
    color: var(--faq-text);
}

.vx-faq-list {
    width: 100%;
    border-top: 1px solid var(--faq-line);
}

.vx-faq-item {
    border-bottom: 1px solid var(--faq-line);
}

.vx-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 23px 0;
    cursor: pointer;
    list-style: none;
    color: var(--faq-text);
    font-family: "Sora", sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    transition: color 0.25s ease;
}

.vx-faq-question::-webkit-details-marker {
    display: none;
}

.vx-faq-question::marker {
    content: "";
}

.vx-faq-question:hover,
.vx-faq-item[open] .vx-faq-question {
    color: var(--faq-accent);
}

/* PLUS / MINUS */

.vx-faq-icon {
    position: relative;
    display: block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    color: currentColor;
}

.vx-faq-icon::before,
.vx-faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: currentColor;
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.vx-faq-icon::before {
    width: 14px;
    height: 2px;
}

.vx-faq-icon::after {
    width: 2px;
    height: 14px;
}

.vx-faq-item[open] .vx-faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

/* ANSWER */

.vx-faq-answer {
    padding: 0 45px 24px 0;
}

.vx-faq-answer p {
    margin: 0 !important;
    color: var(--faq-muted) !important;
    font-family: "Sora", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.85;
}

/* MOBILE */

@media (max-width: 767px) {

    .vx-faq-question {
        padding: 19px 0;
        font-size: 15px;
        gap: 18px;
    }

    .vx-faq-answer {
        padding: 0 25px 20px 0;
    }

    .vx-faq-answer p {
        font-size: 14px;
        line-height: 1.75;
    }

}
