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

.rdg-blocks .rdg-new-paragraph-custom {
    width: calc(var(--vw, 1vw) * 100);
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 99.55vw;

    .container.content {
        width: 100%;
        display: flex;
        flex-direction: column;
        padding-left: 20px;
        padding-right: 20px;

        @include title;

        .items {
            .item {
                padding-top: 1rem;
                padding-bottom: 1rem;
                border-bottom: 1px solid var(--new-paragraph-custom-line);

                &:first-of-type {
                    padding-top: 0;
                }

                &:last-of-type {
                    padding-bottom: 0;
                    border-bottom: none;
                }

                .sub-title {
                    color: var(--new-paragraph-custom-sub-title);
                }

                .description {
                    text-align: justify;
                    padding-top: 1.5rem;
                    color: var(--new-paragraph-custom-description);
                }
            }
        }
    }
}

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