/* Separator */
hr.wp-block-separator {
    display: block;
    position: relative;
    border: none;
    margin: var(--df-margin-unit) 0;
    height: auto;
    clear: both;
}

h1+hr.wp-block-separator,
h2+hr.wp-block-separator,
h3+hr.wp-block-separator,
h4+hr.wp-block-separator,
h5+hr.wp-block-separator,
h6+hr.wp-block-separator,
.h1+hr.wp-block-separator,
.h2+hr.wp-block-separator,
.h3+hr.wp-block-separator,
.h4+hr.wp-block-separator,
.h5+hr.wp-block-separator,
.h6+hr.wp-block-separator,
.title+hr.wp-block-separator,
.page-title+hr.wp-block-separator {
    display: block;
    margin-top: calc(var(--df-margin-unit) * -1);
}

hr.wp-block-separator.centered {
    text-align: center;
}

hr.wp-block-separator:before {
    clear: both;
    content: "";
    display: block;
    height: 0.4rem;
    background-color: var(--highlight-color);
    width: 6rem;
    border-radius: var(--df-border-radius);
    overflow: hidden;
}

hr.wp-block-separator.centered:before {
    margin: 0 auto;
}

hr.wp-block-separator.xs:before {
    height: 0.2rem;
    width: 3rem;
}

hr.wp-block-separator.gray:before {
    background-color: var(--light-bg-color);
}

hr.wp-block-separator.alt-color:before {
    background-color: var(--highlight-color-alt);
}

hr.wp-block-separator.is-style-wide:before {
    width: 100%;
}

hr.wp-block-separator.is-style-dots:before {
    height: 1px;
    width: 100%;
    background: none;
    border: none;
    background-image: linear-gradient(to right, black 33%, rgba(255, 255, 255, 0) 0%);
    background-position: bottom;
    background-size: 3px 1px;
    background-repeat: repeat-x;
    opacity: .6;
}

@media (max-width: 992px) {
    hr.wp-block-separator:before {
        height: 0.3rem;
        width: 4rem;
    }

    .align-center-on-mobile hr.wp-block-separator:before {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}