/* =========================================
   SHARED CORPORATE HERO DIVIDER
   ========================================= */

main.ml8 .ml8-hero-copy .ml8-line,
main .c6-list-hero .v5-divider {
    display: block;
    width: min(304px, 100%);
    max-width: 100%;
    height: 4px;
    min-height: 4px;
    margin: 12px 0;
    padding: 0;
    border: 0;
    border-radius: 0;

    background: linear-gradient(
        to right,
        #d9d323 0 42%,
        #d1d5db 42% 100%
    );

    clip-path: polygon(
        0 0,
        42% 0,
        42% 25%,
        100% 25%,
        100% 75%,
        42% 75%,
        42% 100%,
        0 100%
    );

    transform-origin: left center;
}

/* Remove conflicting decorative elements */
main.ml8 .ml8-hero-copy .ml8-line::before,
main.ml8 .ml8-hero-copy .ml8-line::after,
main .c6-list-hero .v5-divider::before,
main .c6-list-hero .v5-divider::after {
    content: none;
}

/* Mobile */
@media (max-width: 767px) {
    main.ml8 .ml8-hero-copy .ml8-line,
    main .c6-list-hero .v5-divider {
        width: min(224px, 100%);
        margin: 12px auto;
        transform-origin: center;
    }
}

/* =========================================
   HOMEPAGE — CENTRE-OUT DIVIDER
   ========================================= */

body.ml-homepage main .v5-divider {
    position: relative;
    display: block;

    width: min(304px, 100%);
    max-width: 100%;
    height: 4px;
    min-height: 4px;

    margin: 20px auto;
    padding: 0;
    border: 0;
    border-radius: 0;

    background: linear-gradient(
        to right,
        #d1d5db 0 29%,
        #d9d323 29% 71%,
        #d1d5db 71% 100%
    );

    clip-path: polygon(
        0 25%,
        29% 25%,
        29% 0,
        71% 0,
        71% 25%,
        100% 25%,
        100% 75%,
        71% 75%,
        71% 100%,
        29% 100%,
        29% 75%,
        0 75%
    );

    transform-origin: center center !important;
}

/* Remove previous divider decorations */

body.ml-homepage main .v5-divider::before,
body.ml-homepage main .v5-divider::after {
    content: none;
}

/* Mobile */

@media (max-width: 767px) {
    body.ml-homepage main .v5-divider {
        width: min(224px, 100%);
        margin: 16px auto;
    }
}

/* =========================================
   DEVELOPMENTS — CENTRED SECTION DIVIDERS
   ========================================= */

main.ml-development-list .v5-featured > .v5-divider {
    position: relative;
    display: block;

    width: min(304px, 100%);
    max-width: 100%;
    height: 4px;
    min-height: 4px;

    margin: 20px auto;
    padding: 0;
    border: 0;
    border-radius: 0;

    background: linear-gradient(
        to right,
        #d1d5db 0 29%,
        #d9d323 29% 71%,
        #d1d5db 71% 100%
    );

    clip-path: polygon(
        0 25%,
        29% 25%,
        29% 0,
        71% 0,
        71% 25%,
        100% 25%,
        100% 75%,
        71% 75%,
        71% 100%,
        29% 100%,
        29% 75%,
        0 75%
    );

    transform-origin: center center !important;
}

main.ml-development-list .v5-featured > .v5-divider::before,
main.ml-development-list .v5-featured > .v5-divider::after {
    content: none;
}

@media (max-width: 767px) {
    main.ml-development-list .v5-featured > .v5-divider {
        width: min(224px, 100%);
        margin: 16px auto;
    }
}