/**
 * Fork & Flare FAQ Accordion Styles
 */

.ff-faq-accordion {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

.ff-faq-item {
    margin-bottom: 20px;
    border: none;
}

.ff-faq-question {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: transparent;
    border: none;
    padding: 15px 0;
    cursor: pointer;
    text-align: left;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    font-family: inherit;
    transition: opacity 0.2s ease;
}

.ff-faq-question:hover {
    opacity: 0.85;
}

.ff-faq-question:focus {
    outline: none;
}

.ff-faq-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #e63946;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    border-radius: 2px;
    transition: background 0.2s ease;
}

.ff-faq-icon-plus,
.ff-faq-icon-minus {
    display: block;
    position: absolute;
    transition: opacity 0.2s ease;
}

.ff-faq-icon {
    position: relative;
}

.ff-faq-icon-minus {
    opacity: 0;
}

.ff-faq-item.is-open .ff-faq-icon-plus {
    opacity: 0;
}

.ff-faq-item.is-open .ff-faq-icon-minus {
    opacity: 1;
}

.ff-faq-question-text {
    flex: 1;
    padding-top: 4px;
}

.ff-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.ff-faq-item.is-open .ff-faq-answer {
    max-height: 99999px;
    transition: max-height 0.5s ease;
}

.ff-faq-answer-inner {
    padding: 10px 0 25px 56px;
    color: #c0c0c0;
    font-size: 16px;
    line-height: 1.7;
}

.ff-faq-answer-inner p {
    margin: 0 0 15px 0;
}

.ff-faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.ff-faq-answer-inner a {
    color: #e63946;
    text-decoration: underline;
}

.ff-faq-answer-inner img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .ff-faq-question {
        font-size: 17px;
        gap: 15px;
    }

    .ff-faq-icon {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }

    .ff-faq-answer-inner {
        padding-left: 47px;
        font-size: 15px;
    }
}
