.idlc-commitments-carousel {
	position: relative;
	width: 100%;
	max-width: 1370px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 50px;
	z-index: 10;
}

.idlc-commitments-carousel::after {
	content: '';
	position: absolute;
	z-index: -1;
	top: 50px;
	right: 0;
	bottom: 50px;
	left: 0;
	background-color: var(--wp--preset--color--tertiary);
	-webkit-box-shadow: 10px 1px 20px rgba(0,0,0,.15);
	        box-shadow: 10px 1px 20px rgba(0,0,0,.15);
}

.idlc-commitments-carousel .commitment {
	position: relative;
	width: 100%;
	padding: 4em;
	color: var(--wp--preset--color--quaternary);
}

.idlc-commitments-carousel .owl-item.active .commitment::before {
	content: '';
	display: block;
	width: 1px;
	height: 30%;
	position: absolute;
	top: 35%;
	left: 0;
	background-color: var(--wp--preset--color--primary);
}

.idlc-commitments-carousel .owl-item:not(.active) + .owl-item.active .commitment::before {
	content: none;
}

.idlc-commitments-carousel .commitment .title {
	text-transform: uppercase;
}

.idlc-commitments-carousel .commitment .content {
	margin: 2rem auto 0 auto;
	font-weight: var(--wp--custom--font-weight--normal);
}

/* Grid
--------------------------------------------- */
.idlc-commitments-carousel {
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: minmax(0, 1fr);
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 1.5rem;
}

@media (min-width:576px) {
	.idlc-commitments-carousel {
		-ms-grid-columns: (minmax(0, 1fr))[2];
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 75%;
	}
}

@media (min-width:768px) {
	.idlc-commitments-carousel {
		-ms-grid-columns: (minmax(0, 1fr))[3];
		grid-template-columns: repeat(3, minmax(0, 1fr));
		width: 80%;
	}
}

@media (min-width:1024px) {
	.idlc-commitments-carousel {
		-ms-grid-columns: (minmax(0, 1fr))[4];
		grid-template-columns: repeat(4, minmax(0, 1fr));
		width: 90%;
	}
}

@media (min-width:1500px) {
	.idlc-commitments-carousel {
		width: 100%;
	}
}

/* Skew
--------------------------------------------- */
@media (min-width:576px) {
	.idlc-commitments-carousel::after,
	.idlc-commitments-carousel .owl-stage-outer {
		-webkit-transform: skew(-20deg);
		    -ms-transform: skew(-20deg);
		        transform: skew(-20deg);
	}

	.idlc-commitments-carousel .commitment {
		-webkit-transform: skew(20deg);
		    -ms-transform: skew(20deg);
		        transform: skew(20deg);
	}
}

/* Hover
--------------------------------------------- */
.owl-carousel .owl-dots {
	position: absolute;
	width: 100%;
}

.idlc-commitments-carousel .owl-stage-outer {
	padding-top: 50px;
	padding-bottom: 50px;
}

.idlc-commitments-carousel .owl-stage {
	position: relative;
	cursor: pointer;
}

.idlc-commitments-carousel .owl-item {
	position: relative;
	cursor: pointer;
}

.idlc-commitments-carousel .commitment-wrapper {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
	cursor: pointer;
	width: 100%;
}

.idlc-commitments-carousel .commitment-wrapper::after {
	content: '';
	position: absolute;
	z-index: -1;
	top: 0;
	right: -2px;
	bottom: 0;
	left: -2px;
	-webkit-transition: -webkit-transform 0s;
	transition: -webkit-transform 0s;
	-o-transition: transform 0s;
	transition: transform 0s;
	transition: transform 0s, -webkit-transform 0s;
}

.idlc-commitments-carousel .commitment-wrapper:hover .commitment {
	color: var(--wp--preset--color--tertiary);
}

.idlc-commitments-carousel .commitment-wrapper:hover::after {
	background-color: var(--wp--preset--color--primary);
	-ms-transform: scaleY(1.25);
	-webkit-transform: scaleY(1.25);
	transform: scaleY(1.25);
	-webkit-transition: -webkit-transform .25s;
	transition: -webkit-transform .25s;
	-o-transition: transform .25s;
	transition: transform .25s;
	transition: transform .25s, -webkit-transform .25s;
}

.idlc-commitments-carousel .owl-item:hover .commitment::before,
.idlc-commitments-carousel .owl-item:hover + .owl-item.active .commitment::before {
	content: none;
}

.idlc-commitments-carousel .commitment-wrapper:hover .commitment {
	background: none;
}