.marquee-side-by-side {
    --header-font: var(--font-heading-railroad);
    --title-font: var(--font-heading-posterama);
    --text-font: var(--font-body);
    --color-primary: var(--blue);
    --color-text: var(--gray-dark);
    --color-border: var(--green);
    --color-btn-hover-bg: var(--white);
}

/*Widget Header*/
.marquee-side-by-side .widget-title-desk {
    display: none;
}

.marquee-side-by-side .widget-title,
.marquee-side-by-side .widget-title-desk {
    margin-right: 0;
    font-family: var(--header-font);
    font-size: 60px;
    line-height: .5;
    color: var(--color-primary);
    letter-spacing: 1px;
    font-weight: 100;
    text-transform: uppercase;
}

.marquee-side-by-side .widget-header-inner,
.marquee-side-by-side .widget-title-desk .widget-header-inner {
   border-bottom: 6px solid var(--color-border);
}

.marquee-side-by-side .slide .content-section {
    position: relative;
    bottom: unset;
    left: unset;
    padding: 0;
    width: 100%;
}

.marquee-side-by-side .slide p {
    margin-bottom: 0;
}

.core-marquee .slides {
    padding: 0;
    margin-bottom: 2px;
}

.marquee-side-by-side .slide.promoted {
    z-index: 1;
}

.marquee-side-by-side .slide.promoted .content-section {
    padding: 0 20px;
}

.marquee-side-by-side .slide.promoted .content-section .slide-title {
    font-family: var(--font-title);
    font-size: 30px;
    color: var(--color-primary);
    letter-spacing: 2px;
    line-height: 1.1;
    font-weight: 700;
}

.marquee-side-by-side .slide .slide-title > a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.marquee-side-by-side .slide.promoted .content-section .slide-title::after {
    content: '';
    pointer-events: none;
    display: block;
    background-image: url(/includes/public/assets/shared/icons/wave-icon.svg);
    background-repeat: no-repeat;
    margin-top: 14px;
    height: 30px;
    width: 70px;
    z-index: 1;
}

.marquee-side-by-side .slide.promoted .content-section p {
    margin-bottom: 6px;
    color: var(--color-text);
    font-family: var(--text-font);
    line-height: 1.4;
    font-weight: 500;
    font-size: 18px;
}

.marquee-side-by-side .slide.promoted .content-section p::after {
    content: '';
    display: block;
    pointer-events: none;
    border-bottom: 6px solid var(--color-border);
    margin-top: 14px;
}

.marquee-side-by-side .dual-slides-wrap  {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 20px;
    column-gap: 20px;
    padding: 0 20px;
}

.marquee-side-by-side .slide.slide-dual .content-section p {
    display: block;
    font-size: 16px;
    font-weight: 500;
}

.marquee-side-by-side .slide.slide-dual.slide:not(:nth-child(1)) > .inner {
    display: initial;
}

.marquee-side-by-side .slide.slide-dual > .inner .content-section {
    padding: 0;
}

.marquee-side-by-side .slide.slide-dual .img-cont {
    margin-bottom: 8px;
}

.marquee-side-by-side .slide.promoted .img-cont.promoted {
    position: relative;
    overflow: hidden;
    padding: 0;
    height: auto;
    margin-bottom: 16px;
}

.marquee-side-by-side .dual-slides-wrap .slide.slide-dual {
    margin-bottom: 10px;
}

.marquee-side-by-side[data-layout="horizontal"] .slide:nth-child(1) img {
    display: block;
    position: initial;
    top: unset;
    left: unset;
    width: 100%;
    height: auto;
    margin: 0;
}

.marquee-side-by-side .slide.slide-dual .content-section .slide-title {
    color: var(--color-text);
    line-height: 1.3;
    font-size: 16px;
    margin-bottom: 8px;
}


.marquee-side-by-side .slide.slide-dual .content-section p {
    font-size: 14px;
    color: var(--color-text);
}

.marquee-side-by-side .slide:first-child .slide-footer,
.marquee-side-by-side .slide:first-child .slide-footer {
    display: none;
}

.marquee-side-by-side .slide .slide-footer a {
    color: initial;
    border-radius: none;
    background-color: initial;
}

.marquee-side-by-side .widget-footer {
    --font-btn: var(--font-display);

    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 6px 0 36px;
}

.marquee-side-by-side .slide:first-child .slide-footer, 
.marquee-side-by-side .slide.slide-dual:first-child .slide-footer, 
.marquee-side-by-side .slide .slide-footer {
    display: none;
    margin: 0;
}

.marquee-side-by-side .widget-footer .widget-view-all {
    padding: 9px 28px;
    background: var(--blue);
    border-radius: 3px;
    font-family: var(--font-btn);
    font-size: 18px;
    letter-spacing: 2px;
    line-height: 1.25;
}

@media (min-width: 40em) {
    .marquee-side-by-side .slide.slide-dual .content-section .slide-title {
        font-size: 20px;
        line-height: 1.3;
    }

    .marquee-side-by-side .slide.slide-dual .content-section p {
        font-size: 18px;
    }
}

@media (min-width: 980px) {
    .marquee-side-by-side[data-layout="horizontal"] .slides {
        grid-template-columns: unset;
        grid-template-rows: unset;
    }
}

@media (min-width: 64em) {
    .marquee-side-by-side {
        height: 824px;
    }

    .marquee-side-by-side .widget-title-desk {
        display: block;
    }

    .marquee-side-by-side .widget-header-wrap {
        display: none;
    }

    .marquee-side-by-side .slide.promoted .widget-title-desk .widget-header-inner {
        padding: 8px 0 2px;
        margin-bottom: 35px;
        border-bottom: 8px solid var(--color-border);
    }

    .marquee-side-by-side .widget-title {
        font-size: 100px;
        line-height: 1;
    }

    .marquee-side-by-side .widget-footer,
    .marquee-side-by-side .widget-footer .widget-view-all {
        display: none;
    }

    .marquee-side-by-side[data-layout="horizontal"] .slides {
        max-width: 1160px;
        width: 100%;
        padding: 0 20px;
        margin: 0 auto;
        grid-template-columns: 1fr;
        row-gap: 40px;
        column-gap: 40px;
    }

    .marquee-side-by-side .slides .slide .img-cont img {
        transition: ease-in-out 500ms;
        transform: scale(1);
    }
    
    .marquee-side-by-side .slides .slide .img-cont:hover img {
        transform: scale(1.1);
    }

    .marquee-side-by-side .slides .slide.promoted .img-cont::after,
    .marquee-side-by-side .slides .slide.slide-dual .img-cont::after {
        content: '';
        pointer-events: none;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        transition: opacity ease-in-out 200ms; 
        opacity: 0;
        background-color: rgba(0, 93, 132, 0.5);
    }

    .marquee-side-by-side .slides .slide.promoted .img-cont:hover::after,
    .marquee-side-by-side .slides .slide.slide-dual .img-cont:hover::after {
        opacity: 1;
    }

    .marquee-side-by-side .slides .slide.promoted .img-cont.promoted {
        max-height: 419px;
    }

    .marquee-side-by-side .dual-slides-wrap .slide.slide-dual .img-cont {
        margin-bottom: 24px;
    }
    
    .marquee-side-by-side .slide.promoted .content-section {
        padding: 0;
    }

    .marquee-side-by-side .slide.promoted > .inner {
        display: grid;
        gap: 38px; 
        grid-template-columns: 2fr 1fr;
        min-height: 680px;
    }

    .marquee-side-by-side[data-layout="horizontal"] .slide:not(:nth-child(1)) .img-cont {
        flex: initial;
    }

    .marquee-side-by-side[data-layout="horizontal"] .slide:nth-child(1) {
        grid-column: 1;
    }

    .marquee-side-by-side .dual-slides-wrap  {
        grid-template-columns: repeat(2, 260px);
        gap: 65px;
        padding: 0 ;
        margin-top: -20%;
        transform: translateY(-15%);
        width: 640px;
        z-index: 1;
    }

    .marquee-side-by-side .slide.promoted .content-section .slide-title {   
        font-size: 36px;
    }

    .marquee-side-by-side .slide .content-section .slide-title:hover a,
    .marquee-side-by-side[data-layout="horizontal"] .slide:not(:nth-child(1)) .slide-title > a:hover {
        color: var(--color-primary);
        text-decoration: underline;
    }

    .marquee-side-by-side .slide.promoted .content-section .slide-title::after {
        height: 38px;
        width: 125px;
        margin-top: 20px;
        margin-bottom: 16px;
    }

    .marquee-side-by-side .slide.promoted .content-section p {
        margin-bottom: 74px;
        line-height: 1.3;
    }


    .marquee-side-by-side .slide.promoted .content-section p::after {
        border-bottom: 8px solid var(--color-border);
        margin-top: 56px;
    }

    .marquee-side-by-side .slide:only-child .slide-footer, 
    .marquee-side-by-side .slide:first-child .slide-footer,
    .marquee-side-by-side .slide.promoted .slide-footer {
        display: block;
        margin-bottom: 0;
    }

    .core-marquee .slide:only-child .slide-footer, .core-marquee.marquee-side-by-side .slide:first-child .slide-footer {
        margin-bottom: 0;
    }

    .marquee-side-by-side .slide.promoted .slide-footer .read-more {
        margin: 0;
        padding: 12px 40px;
        background: var(--blue);
        border-radius: 3px;
        font-family: var(--font-btn);
        font-size: 22px;
        letter-spacing: 2px;
        line-height: 1.25;
        color: var(--white);
        transition: all ease-in-out 200ms;
    }

    .marquee-side-by-side .slide.promoted:hover .slide-footer .read-more:hover {
        background: var(--color-btn-hover-bg);
        color: var(--color-primary);
        box-shadow: inset 0 0 0 3px var(--color-primary);
    }

    .marquee-side-by-side .slide.slide-dual .content-section .slide-title {
        font-size: 20px;
    }

    .marquee-side-by-side .slide.slide-dual .content-section p{
        font-size: 18px;
    }
}

@media (min-width: 69em) {
    .marquee-side-by-side .dual-slides-wrap {
        transform: translateY(0);
    }
}

@media (min-width: 90em) {
    .marquee-side-by-side {
        height: 900px;
    }

    .marquee-side-by-side .slide.promoted .widget-title-desk .widget-header-inner {
        margin-bottom: 70px;
    }

    .marquee-side-by-side[data-layout="horizontal"] .slides {
        max-width: 1160px;
        padding: 0;
        margin: 0 auto;
        grid-template-columns: 1fr;
        row-gap: 40px;
        column-gap: 40px;
    }

    .marquee-side-by-side .dual-slides-wrap  {
        margin-top: -186px;
    }

    .marquee-side-by-side .slide.promoted > .inner {
        display: grid;
        grid-template-columns: 660px 460px;
        gap: 38px;
    }

    .marquee-side-by-side .slides .slide.promoted .img-cont.promoted {
        max-height: 482px;
    }

    .marquee-side-by-side .dual-slides-wrap  {
        grid-template-columns: repeat(2, 260px);
        gap: 65px;
        margin-top: -186px;
        padding: 0 ;
        transform: none;
        
    }

    .marquee-side-by-side .slide.promoted .content-section .slide-title {   
        font-size: 46px;
    }
}