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

.rdg-blocks .rdg-paragraph-custom {
    .preview-thumbs {
        background-image: url('../images/rdg-paragraph-custom-template-preview.jpg');
    }

    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-bottom: 1rem;

                .title {
                    h1, h2, h3, span {
                        padding-bottom: .5rem;
                    }
                }

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

                .description {
                    text-align: justify;
                }
            }
        }
    }
}

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