.side-by-side-slider {
    --bg-color: var(--beige-f1);

    position: relative;
    container-type: inline-size;
    padding: 20px 0 60px;
    margin-bottom: 59px;
    overflow-x: clip;
}

.side-by-side-slider::before,
.side-by-side-slider::after {
    content: '';
    pointer-events: none;
    display: block;
    position: absolute;
    z-index: -1;
}

.side-by-side-slider::before {
    background-image: url(/includes/public/assets/shared/decorations/wave-pattern.svg);
    background-repeat: repeat;
    background-size: 378px;
    height: 104%;
    width: 100%;
    left: 0;
    top: 0;
    opacity: 0.4;
}

.side-by-side-slider::after {
    content: '';
    background: var(--beige-f1);
    height: 477px;
    width: 100%;
    left: 0;
    bottom: 0;
}

.side-by-side-slider .small-waves {
    position: absolute;
    right: 0;
    top: 42%;
    transform: translate(0px, 32%);
}


.side-by-side-slider .stamps {
    height: 150px;
    width: 160px;
    position: absolute;
    right: -28px;
    bottom: -45px;
}

.side-by-side-slider .widget-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    align-items: start;
}

.side-by-side-slider .widget-header {
    display: contents;
}

.side-by-side-slider .widget-title {
    rotate: -3deg;
    transform-origin: center;
    font-family: var(--font-damion);
    font-size: 2.25rem;
    font-weight: var(--font-weight-normal);
    line-height: 1;
    text-align: center;
    color: var(--sw-key-color);
}

.side-by-side-slider .view-all-col {
    display: flex;
    justify-content: flex-start;
    order: 10;
    padding-left: 20px;
}

.side-by-side-slider .widget-view-all {
	position: relative;
	margin: 0;
	padding: 14.5px 35px 14.5px 14px;
	font-size: 0.8125rem;
	font-weight: var(--font-weight-semibold);
	line-height: 1;
	text-decoration: none;
	color: var(--black);
	background-color: var(--sw-button-primary-bg);
	border: var(--sw-button-primary-border);
	transition:
		color var(--transition-appendix),
		background-color var(--transition-appendix);
}

.side-by-side-slider .widget-view-all::after {
	content: '';
	display: block;
	pointer-events: none;
	background-image: url(/includes/public/assets/shared/arrows/black-arrow.svg);
	background-repeat: no-repeat;
	background-size: cover;
	height: 14px;
	width: 15px;
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translate(0, -50%);
	transition: background-image var(--transition-appendix);
}

.side-by-side-slider .slider-cont {
    position: relative;
    width: calc(100% - var(--space-10));
    max-width: calc(var(--width-base) - var(--space-10));
    margin: 0 auto;
}

.side-by-side-slider .slide > .inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: 3% 2%;
}

.side-by-side-slider .slide-top {
    position: relative;
}

.side-by-side-slider .slide-top .credits {
    right: 20px;
    rotate: -3deg;
    transform-origin: center;
}

.side-by-side-slider .glide__slide {
    visibility: hidden;
}

.side-by-side-slider .glide__slide--active {
    visibility: visible;
}

.side-by-side-slider .glide__slide .img-cont {
    rotate: -3deg;
    transform-origin: center;
}

.side-by-side-slider :is(
    .info-flag,
    .details .info-item
) {
    font-family: var(--font-amiri);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-lg);
    color: var(--sw-key-color);
}

.side-by-side-slider .details {
    margin: 10px 0;
}

.side-by-side-slider .slide-img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    object-fit: cover;
}

.side-by-side-slider .content-section {
    position: relative;
    order: 1;
    padding-top: 50px;
    z-index: 2;
}

.side-by-side-slider .slider-cont::before {
    content: '';
    pointer-events: none;
    background-image: url(/includes/public/assets/shared/decorations/small-waves.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    height: 33px;
    width: 87px;
    position: absolute;
    top: 43%;
    right: -23px;
    z-index: 1;
    transform: translate(0px, -19%);
}

.side-by-side-slider .slide-title {
    margin-top: 4px;
    font-family: var(--font-body);
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: var(--font-weight-semibold);
    color: var(--black);
}

.side-by-side-slider .slide-desc {
    margin-bottom: 18px;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--black);
}

.side-by-side-slider .slide-footer .read-more {
    display: none;
}

.side-by-side-slider .glide__arrows {
    position: absolute;
    top: 40% !important;
    right: 0;
    left: -20px;
    transform: translateY(-50%);
    width: calc(100% + 40px);
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.side-by-side-slider .glide__arrow {
    margin: 0;
    height: 57px;
    width: 42px;
}

@media (hover: hover) {
    .side-by-side-slider .widget-view-all:hover {
        text-decoration: none;
        color: var( --sw-button-primary-color-hover);
        background-color: var(--sw-button-primary-bg-hover);
        border: var(--sw-button-primary-border-hover);
    }

    .side-by-side-slider .slide-title:hover {
        color: var(--sw-key-color-hover)
    }

    .side-by-side-slider .widget-view-all::after{
        background-image: url(/includes/public/assets/shared/arrows/pink-arrow.svg)
    }

	.side-by-side-slider .glide__arrow:hover {
		background-color: var(--white);
		border: 1px solid var(--sw-button-secondary-color-hover);
	}

	.side-by-side-slider .glide__arrow:hover::after {
		background-image: url(/includes/public/assets/shared/arrows/blue-arrow.svg);
	}
}

@media screen and (min-width: 64em) {
    .side-by-side-slider {
        padding: 0 0 20px;
        margin-bottom: 169px;
    }

    .side-by-side-slider::before {
        height: 102%;
        height: 644px;
    }

    .side-by-side-slider::after {
        display: none;
    }


    .side-by-side-slider .slider-cont::before {
        height: 53px;
        width: 137px;
        top: 26%;
        right: 0;
    }

    .side-by-side-slider .slider-cont::after {
        content: '';
        pointer-events: none;
        background-image: url(/includes/public/assets/shared/decorations/stamps.svg);
        background-repeat: no-repeat;
        background-size: cover;
        height: 206px;
        width: 192px;
        position: absolute;
        bottom: -90px;
        right: -25px;
        z-index: 1;
    }

    .side-by-side-slider .widget-header {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: end;
        max-width: 1210px;
        padding: 0 20px;
        margin: 0 auto;
        width: 100%;
        position: relative;
        top: 72px;
        z-index: 3;
    }

    .side-by-side-slider .widget-title {
        padding-right: 20px;
        font-size: 3rem;
        line-height: 1;
    }

    .side-by-side-slider .slider-cont {
        width: 100%;
        max-width: 1150px;
        max-width: 1210px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .side-by-side-slider .slide > .inner {
        grid-template-columns: 1fr 1fr;
        padding: 22px 0 0;
    }

    .side-by-side-slider .content-section {
        position: relative;
        margin-top: 77px;
        padding: 58px 90px 72px 76px;
        background-color: var(--bg-color);
        z-index: -1;
    }

    .side-by-side-slider .content-section::before {
        content: '';
        pointer-events: none;
        display: block;
        height: 100%;
        width: 168px;
        background-color: var(--bg-color);
        position: absolute;
        left: -164px;
        top: 0;
    }

    .side-by-side-slider .content-section::after {
        content: '';
        pointer-events: none;
        display: block;
        height: 233px;
        width: 1px;
        background-color: var(--beige-bc);
        position: absolute;
        left: 45px;
        top: 45%;
        z-index: 1;
        transform: translate(0px, -50%);
    }

    .side-by-side-slider .slide-top .credits {
        right: 0;
        top: 335px;
        top: 300px;
    }

    .side-by-side-slider .slide-title {
        margin-top: 0;
        font-size: 1.75rem;
    }

    .side-by-side-slider .slide-desc {
        font-size: 0.875rem;
    }

    .side-by-side-slider .glide__arrow {
        height: 72px;
        width: 56px;
        margin: 0 20px;
    }

    .side-by-side-slider .glide__arrow.glide__arrow--left::after,
    .side-by-side-slider .glide__arrow.glide__arrow--right::after {
        height: 28px;
        width: 32px;
    }

    .side-by-side-slider .glide__arrows {
        top: 61% !important;
     }

    .side-by-side-slider .stamps {
        display: none;
    }
}

@media screen and (min-width: 1300px) {
    .side-by-side-slider .glide__arrow {
        margin: 0;
    }
}

@media screen and (min-width: 90em) {
    .side-by-side-slider .slider-cont::after {
        bottom: -90px;
        right: -55px;
    }

    .side-by-side-slider .content-section {
        padding: 68px 100px 82px 86px;
    }

    .side-by-side-slider .widget-title {
        font-size: 52px;
    }

    .side-by-side-slider .slide-top .credits {
        top: 335px;
    }
}