/**
 * FAQ Block
 * Synced with ACF: FAQ Block
 */

/* Padding: same as text-container (Top only = no bottom; Bottom only = no top; Neither = no top or bottom) */
.faq-block-section--padding-top {
    padding-bottom: 0 !important;
}

.faq-block-section--padding-bottom {
    padding-top: 0 !important;
}

.faq-block-section--padding-neither {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* H2 header - match resources-headline / home-page-topics-section__headline responsiveness */
.faq-block__headline {
    font-size: 20px !important;
}

@media (min-width: 768px) {
    .faq-block__headline {
        font-size: 24px !important;
    }
}

@media (min-width: 1024px) {
    .faq-block__headline {
        font-size: 30px !important;
    }
}

/* FAQ item: padding-bottom 1rem; border-bottom between items; last has no padding-bottom and no line */
.faq-block-item {
    padding-bottom: 1.25rem;
    padding-top: 1.25rem;
    border-bottom: 1px solid #e5e7eb;
}

.faq-block-item--last {
    padding-bottom: 0;
    border-bottom: none;
}

/* Question: ~16px, bold, margin-bottom .5rem */
.faq-block-question {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #111827;
}

/* Answer: 14px, normal weight */
.faq-block-answer {

    p {
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    color: #374151;
    }

    .elementor-widget-text-editor, .elementor-element {
        margin-bottom: 0;
    }
}

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