.wp-block-acf-faq {
    position: relative;
    overflow: hidden;
}

.faq-header {
    text-align: left;
    margin-bottom: 2rem;
}

.faq-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-description {
    font-size: 1.25rem;
    color: var(--ast-global-color-3);
    margin: 0;
}

.faq-questions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.faq-item {
    border: none;
    margin-bottom: 0;
    background-color: var(--color-bg-light);
    padding: 2rem;
    border-radius: 0.5rem;
}

h3.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--ast-global-color-2);
    padding: 0;
    margin-bottom: 0.75rem;
    cursor: default;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

h3.faq-question i {
    color: var(--ast-global-color-0);
    font-size: 1.25rem;
    flex-shrink: 0;
    &::before {
        margin: 0;
    }
}

.faq-question-text {
    flex: 1;
}

.faq-question::after {
    display: none;
}

.faq-answer {
    display: block !important;
    padding: 0;
    color: #6B7280;
    font-size: 1rem;
    line-height: 1.5;
    /*margin-left: 1.75rem;*/
}
.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-cta {
    margin-top: 2rem;
}

.faq-cta:has(.faq-cta-content) {
    padding: 2rem;
    background: rgba(209, 218, 229, 0.5);
    border-radius: 0.75rem;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
}

.faq-cta-content {
    text-align: left;
}

.faq-cta-title {
    font-size: 1.5rem;
    font-weight: 700 !important;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #111827;
}

.faq-cta-text {
    margin-bottom: 0;
    color: #6B7280;
}

.faq-cta-button-wrapper {
    justify-content: center;
}

.faq-cta-button-wrapper--centered {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.faq-cta-button-wrapper--centered .wp-block-button {
    margin: 0;
}

@media (max-width: 1024px) {
    .wp-block-acf-faq {
        padding: 1rem;
    }

    .faq-questions {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .faq-title {
        font-size: 2rem;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-cta:has(.faq-cta-content) {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .faq-cta-content {
        text-align: center;
    }

    .faq-cta-button-wrapper {
        justify-content: center;
    }
} 