.marquee-side-by-side {
	margin-bottom: 38px;
}

.marquee-side-by-side .widget-header {
	margin-bottom: 6px;
	max-width: 1360px;
}

.marquee-side-by-side .title-small {
	font-family: var(--typewriter);
	font-size: 16px;
	color: var(--blue);
	letter-spacing: 0.2em;
	font-weight: var(--font-weight-normal);
}

.marquee-side-by-side .title-large {
	font-family: var(--giorgio);
	font-size: 70px;
	letter-spacing: 0.02em;
	font-weight: var(--font-weight-heavy);
	color: var(--blue);
	text-transform: uppercase;
	line-height: .7;
	position: relative;
	z-index: 1;
}

.marquee-side-by-side .subtitle {
	color: var(--teal);
	font-family: var(--handelson);
	font-size: 50px;
	font-weight: var(--font-weight-normal);
	line-height: .5;
	z-index: 1;
	position: relative;
	margin-top: -6px;
	margin-bottom: -17px;
	pointer-events: none;
}

.marquee-side-by-side .slides-cont {
	position: relative;
	padding-bottom: 7px; 
}

.marquee-side-by-side .slides {
	max-width: 1360px;
	gap: 8px;
}

.marquee-side-by-side .teal-rect {
	position: absolute;
	inset: 29px 0 0 30%;
	background-color: var(--teal-dark);
	pointer-events: none;
}

.marquee-side-by-side .teal-rect:before {
	content: '';
	background-image: url(/includes/public/assets/shared/brush-blog2.svg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: left bottom;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	bottom: 0;
	pointer-events: none;
}

.marquee-side-by-side .teal-rect:after {
	content: '';
	background-image:
		url(/includes/public/assets/shared/brush-blog1.svg),
		url(/includes/public/assets/shared/brush-blog1.svg);
		background-position:
			right bottom,
			right 400%;
	background-repeat: repeat-y;
	background-size: 80%;
	width: 60%;
	height: 100%;
	position: absolute;
	right: 0;
	top: 0;
	pointer-events: none;
}

.marquee-side-by-side .slide {
	border: 2px solid var(--off-white);
	box-shadow: 0px 6px 18px 0px rgba(0, 0, 0, 0.15);
	transition: translate var(--transition);
	position: relative;
}

.marquee-side-by-side .slide > .inner {
	height: unset;
	position: static;
}

.marquee-side-by-side[data-layout="horizontal"] .slide:not(:nth-child(1)) > .inner {
	display: unset;
}

.marquee-side-by-side .slide .img-cont::after,
.marquee-side-by-side .slide .img-cont::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
	pointer-events: none;
	transition: opacity var(--transition);
}

.marquee-side-by-side[data-layout="horizontal"] .slides .slide:not(:nth-child(1)) .content-section {
	position: absolute;
}

.marquee-side-by-side .slide .img-cont::before {
	height: 100%;
	background: rgba(10, 60, 78, 0.7);
	opacity: 0;
}

.marquee-side-by-side[data-layout="horizontal"] .slides .slide:not(:nth-child(1)) .content-section,
.marquee-side-by-side .slide .content-section {
	--padding-inline: 10px;
	padding-inline: var(--padding-inline);
	padding-block: 8px;
}

.marquee-side-by-side .info-item {
	pointer-events: none;
	background-color: var(--yellow);
	text-transform: uppercase;
	font-family: var(--typewriter);
	font-size: 9px;
	color: var(--blue);
	display: inline-flex;
	align-items: center;
	line-height: 1;
	padding: 3px 14px 3px 12px;
	gap: 4px;
	margin-bottom: 8px;
	translate: calc(-1 * var(--padding-inline) - 2px);
	transition: background-color var(--transition);
}

.marquee-side-by-side .info-item i {
	font-weight: 500;
	font-size: 9px;
}

.marquee-side-by-side .slide .slide-title {
	font-family: var(--sofia);
	line-height: 1.2;
	margin: 0;
	font-weight: var(--font-weight-bold);
	font-size: 19px;
	color: var(--off-white)
}

.marquee-side-by-side[data-layout="horizontal"] .slide:not(:nth-child(1)) .slide-title {
	font-size: 19px;
}

.marquee-side-by-side .view-all-cont {
	padding: 25px;
	justify-self: center;
	align-self: center;
	position: relative
}

@media (hover: hover) {
	.marquee-side-by-side .slide:hover {
		translate: 0 -7px;
	}

	.marquee-side-by-side .slide:hover .img-cont::before {
		opacity: 1;
	}

	.marquee-side-by-side .slide:hover .img-cont::after {
		opacity: 0;
	}

	.marquee-side-by-side .slide:hover .info-item {
		background-color: var(--off-white);
	}

	.marquee-side-by-side .slide.overlap-image .slide-title > a:hover {
		text-decoration: none;
		color: var(--off-white)
	}
}

@media (min-width: 980px) {
	.marquee-side-by-side .slides-cont {
		position: relative;
		padding-bottom: 46px; 
	}

	.marquee-side-by-side .teal-rect {
		inset: 29px 0 0 31.5%;
	}

	.marquee-side-by-side .teal-rect:before {
		background-size: 100%;
		width: 80%;
		height: 400px;
	}
	
	.marquee-side-by-side .teal-rect:after {
		background-image:
			url(/includes/public/assets/shared/brush-blog1.svg),
			url(/includes/public/assets/shared/brush-blog1.svg),
			url(/includes/public/assets/shared/brush-blog1.svg);
			background-position:
				right 0,
				right 400%,
				left 400%;
		background-repeat: no-repeat;
		background-size: 30%;
	}

	.marquee-side-by-side[data-layout="horizontal"] .slides {
		grid-template-columns: 800fr 505fr;
		grid-template-rows: repeat(7, 1fr);
		gap: 10px 10px;
		align-items: start;
	}

	.marquee-side-by-side[data-layout="horizontal"] .slide:nth-child(1) {
		grid-column: 1;
		grid-row: 1 / span 6;
	}

	.marquee-side-by-side[data-layout="horizontal"] .slide:nth-child(2) {
		grid-row: 2 / span 3;
	}

	.marquee-side-by-side[data-layout="horizontal"] .slide:nth-child(3) {
		grid-row: span 3;
	}

	.marquee-side-by-side .view-all-cont {
		padding: 0;
	}
}

@media (min-width: 64em) {
	.marquee-side-by-side {
		margin-bottom: 95px;
	}

	.marquee-side-by-side .slide:first-child .img-cont::after {
		background-image:
			linear-gradient(to top, rgba(0,0,0,0) 0%, rgba(0,0,0,.45) 100%),
			linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,.6) 100%);
		background-position:
			top,
			bottom;
		background-size:
			100% 125px,
			100% 50%;
		background-repeat: no-repeat;
	}

	.marquee-side-by-side .title-small {
		font-size: 27px;
	}

	.marquee-side-by-side .title-large {
		font-size: 135px;
		margin-bottom: 2px;
	}

	.marquee-side-by-side .subtitle {
		font-size: 100px;
		margin-top: 0;
		margin-bottom: -40px;
		translate: -10px
	}

	.marquee-side-by-side .info-item {
		font-size: 14px;
		padding: 5px 18px 4px;
		gap: 6px;
		margin-bottom: 12px;
	}

	.marquee-side-by-side .slide:first-child .info-item {
		padding-inline: 25px;
		margin-bottom: 16px;
	}
	
	.marquee-side-by-side .info-item i {
		font-size: 13px;
	}

	.marquee-side-by-side[data-layout="horizontal"] .slide:not(:nth-child(1)) .slide-title {
		font-size: 28px;
	}

	.marquee-side-by-side .slide:first-child .slide-title {
		font-size: 36px;
	}

	.marquee-side-by-side .slide .content-section {
		--padding-inline: 22px;
		padding-block: 22px;
	}

	.marquee-side-by-side[data-layout="horizontal"] .slides .slide:not(:nth-child(1)) .content-section {
		--padding-inline: 16px;
		padding-block: 12px;
	}
}