@import '../../../../assets/scss/abstracts/variables';
@import '../../../../assets/scss/abstracts/mixins';

.rdg-blocks .rdg-faq {
    width: 100%;

    @include title;

    .content {
        width: 100%;
        display: flex;
        flex-direction: column;

        #items {
            .item {
                .header {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    min-height: 2.5rem;
                    margin-bottom: .7rem;
                    cursor: pointer;
                    background-color: var(--color-faq-item-title-bg);
                    border-bottom: 3px solid var(--color-faq-item-icon);

                    &.no-radio {
                        margin-bottom: 0;
                        border-bottom-left-radius: 0;
                        border-bottom-right-radius: 0;
                    }

                    .icon {
                        .hide {
                            display: none;
                        }
                    }
    
                    li {
                        list-style-type: none;
                        margin-bottom: 0;
                        padding: .8rem 0 .8rem .8rem;
                        color: var(--color-faq-item-title);

                        &::marker {
                            display: none;
                        }
                    }
    
                    i {
                        margin-right: 1rem;
                        color: var(--color-faq-item-icon);
                        filter: drop-shadow(0px 2px 1px rgb(49 -5 -4 / 45%));
                    }
                }
    
                .body {
                    padding: 1rem;
                    margin-bottom: 1rem;
                    text-align: justify;
                    color: var(--color-faq-item-content);
                    background-color: var(--color-faq-item-content-bg);
                    border: 1px solid var(--color-faq-item-content-border);

                    p {
                        margin-bottom: 0;
                    }
                }
            }
        }
    }
}

.acf-block-preview {
    .rdg-faq {
        width: 100%;
        left: 0;
        right: 0;
        margin-left: 0;
        margin-right: 0;
    }
}
