.cooperpress-faq {
    display: grid;
    gap: 24px;
    width: 100%;
}

.cooperpress-faq__block {
    background: var(--cfg-block-bg, #fff);
}

.cooperpress-faq__heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.cooperpress-faq__icon {
    align-items: center;
    background: var(--cfg-icon-bg, #f8d233);
    border-radius: var(--cfg-icon-radius, 16px);
    display: inline-flex;
    flex: 0 0 auto;
    height: var(--cfg-icon-size, 52px);
    justify-content: center;
    width: var(--cfg-icon-size, 52px);
}

.cooperpress-faq__icon img {
    display: block;
    height: 58%;
    object-fit: contain;
    width: 58%;
}

.cooperpress-faq__icon span {
    color: #004b3f;
    font-weight: 800;
}

.cooperpress-faq__heading h2 {
    color: var(--cfg-title-color, #004b3f);
    font-family: "New Order", "NewOrder", Arial, sans-serif;
    font-size: var(--cfg-title-size, 30px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
}

.cooperpress-faq__items {
    display: grid;
    gap: 12px;
}

.cooperpress-faq__item {
    background: #fff;
    overflow: hidden;
}

.cooperpress-faq__question {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--cfg-question-color, #173b35);
    cursor: pointer;
    display: flex;
    font-family: "New Order", "NewOrder", Arial, sans-serif;
    font-size: var(--cfg-question-size, 18px);
    justify-content: space-between;
    line-height: 1.3;
    text-align: left;
    user-select: none;
    width: 100%;
}

.cooperpress-faq__arrow {
    display: inline-block;
    flex: 0 0 auto;
    margin-left: 16px;
    transition: transform 250ms ease;
}

.cooperpress-faq__answer {
    color: #33443f;
    font-size: var(--cfg-answer-size, 16px);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease, padding 300ms ease;
}

.cooperpress-faq__item.is-open .cooperpress-faq__answer {
    max-height: 800px;
}

.cooperpress-faq__divider {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 0 0 14px;
}

.cooperpress-faq__answer p:first-child {
    margin-top: 0;
}

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

/* Modelo 1 - visual original */
.cooperpress-faq--model-1 .cooperpress-faq__block {
    border-radius: 8px;
    padding: 28px;
}

.cooperpress-faq--model-1 .cooperpress-faq__item {
    border: 1px solid rgba(0, 75, 63, 0.12);
    border-radius: 8px;
}

.cooperpress-faq--model-1 .cooperpress-faq__question {
    font-weight: 700;
    padding: 18px 20px;
}

.cooperpress-faq--model-1 .cooperpress-faq__arrow {
    border: solid var(--cfg-arrow-color, #f8d233);
    border-width: 0 3px 3px 0;
    height: 10px;
    transform: rotate(-135deg);
    width: 10px;
}

.cooperpress-faq--model-1 .cooperpress-faq__item.is-open .cooperpress-faq__arrow {
    transform: rotate(45deg);
}

.cooperpress-faq--model-1 .cooperpress-faq__answer {
    padding: 0 20px;
}

.cooperpress-faq--model-1 .cooperpress-faq__item.is-open .cooperpress-faq__answer {
    padding: 0 20px 20px;
}

.cooperpress-faq--model-1 .cooperpress-faq__divider {
    display: none;
}

/* Modelo 2 - balão envolve pergunta e resposta */
.cooperpress-faq--model-2 .cooperpress-faq__block,
.cooperpress-faq--model-3 .cooperpress-faq__block {
    border-radius: 0;
    padding: 0;
}

.cooperpress-faq--model-2 .cooperpress-faq__item {
    border: 1.5px solid #ccc;
    border-radius: 32px;
}

.cooperpress-faq--model-2 .cooperpress-faq__question,
.cooperpress-faq--model-3 .cooperpress-faq__question {
    font-weight: 600;
}

.cooperpress-faq--model-2 .cooperpress-faq__question {
    padding: 18px 28px;
}

.cooperpress-faq--model-2 .cooperpress-faq__arrow,
.cooperpress-faq--model-3 .cooperpress-faq__arrow {
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 13px solid var(--cfg-arrow-color, #f8d233);
    height: 0;
    width: 0;
}

.cooperpress-faq--model-2 .cooperpress-faq__item.is-open .cooperpress-faq__arrow,
.cooperpress-faq--model-3 .cooperpress-faq__item.is-open .cooperpress-faq__arrow {
    transform: rotate(180deg);
}

.cooperpress-faq--model-2 .cooperpress-faq__answer {
    padding: 0 28px;
}

.cooperpress-faq--model-2 .cooperpress-faq__item.is-open .cooperpress-faq__answer {
    padding: 0 28px 20px;
}

/* Modelo 3 - resposta fora do balão */
.cooperpress-faq--model-3 .cooperpress-faq__item {
    background: transparent;
    overflow: visible;
}

.cooperpress-faq--model-3 .cooperpress-faq__question {
    background: #fff;
    border: 1.5px solid #ccc;
    border-radius: 32px;
    padding: 16px 24px;
}

.cooperpress-faq--model-3 .cooperpress-faq__answer {
    padding: 0 24px;
}

.cooperpress-faq--model-3 .cooperpress-faq__item.is-open .cooperpress-faq__answer {
    padding: 16px 24px 8px;
}

.cooperpress-faq--model-3 .cooperpress-faq__divider {
    display: none;
}

@media (max-width: 767px) {
    .cooperpress-faq--model-1 .cooperpress-faq__block {
        padding: 20px;
    }

    .cooperpress-faq__heading {
        align-items: flex-start;
    }

    .cooperpress-faq--model-1 .cooperpress-faq__question {
        padding: 16px;
    }

    .cooperpress-faq--model-1 .cooperpress-faq__answer {
        padding: 0 16px;
    }

    .cooperpress-faq--model-1 .cooperpress-faq__item.is-open .cooperpress-faq__answer {
        padding: 0 16px 16px;
    }

    .cooperpress-faq--model-2 .cooperpress-faq__question {
        padding: 16px 22px;
    }

    .cooperpress-faq--model-2 .cooperpress-faq__answer {
        padding: 0 22px;
    }

    .cooperpress-faq--model-2 .cooperpress-faq__item.is-open .cooperpress-faq__answer {
        padding: 0 22px 18px;
    }

    .cooperpress-faq--model-3 .cooperpress-faq__question {
        padding: 16px 22px;
    }

    .cooperpress-faq--model-3 .cooperpress-faq__answer {
        padding: 0 22px;
    }

    .cooperpress-faq--model-3 .cooperpress-faq__item.is-open .cooperpress-faq__answer {
        padding: 16px 22px 8px;
    }
}
