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

.rdg-blocks .rdg-quick-links-sidebar {
    width: 100%;

    .content {
        width: 100%;
        display: flex;
        flex-direction: column;
        border-radius: .8rem;

        .header {
            display: flex;
            justify-content: center;
            padding: .5rem;
            border-top-left-radius: .8rem;
            border-top-right-radius: .8rem;
            background-color: var(--color-primary-dark-light);

            .title {
                color: var(--color-quick-link-sidebar-title);
            }
        }

        .body {
            padding: 1rem;

            li {
                display: list-item;
                margin: inherit;
                align-items: center;
                list-style: disc;
                padding: .3rem 0;
                border-bottom: 1px solid var(--color-quick-link-sidebar-border);
                color: var(--color-quick-link-sidebar-item);

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

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

                &::marker {
                    font-size: .8rem;
                    color: var(--color-quick-link-sidebar-li);
                }

                a {
                    color: var(--color-quick-link-sidebar-a);

                    &:hover {
                        color: var(--color-quick-link-a-sidebar-hover);
                    }
                }
            }
        }

        @include message;
    }
}

.acf-block-preview {
    .rdg-quick-links-sidebar {
        width: 100%;
        left: 0;
        right: 0;
        margin-left: 0;
        margin-right: 0;

        .content {
            a {
                text-decoration: none;
            }
        }
    }
}
