
.mg-other-services {
	max-width: 1280px !important;
	margin: 0 auto;
	position: relative;
}

.mg-other-services__heading {
	text-align: center;
}

.mg-other-services__heading h4::before,
.mg-other-services__heading h4::after {
	display: none;
}

.mg-other-services__slider-container {
	position: relative;
	overflow: hidden;
	width: 100%;
}

.mg-other-services__slider {

}

.mg-other-services__slider-container .slick-list { width: 100%; }
.mg-other-services__slider-container .slick-track { display: flex !important; }
.mg-other-services__slider-container .slick-slide { height: inherit !important; margin: 0 1rem;
}

.mg-other-services__slider > div {
	width: 190px;
	height: 184px;
}

.mg-other-services__box {
	color: white;
	display: flex;
	flex-direction: column;
	text-decoration: none;
}

.mg-other-services__box:hover { text-decoration: none; }
.mg-other-services__box:hover .mg-other-services__image img { transform: scale(1.1); }

.mg-other-services__image { flex: 1 1 50%; overflow: hidden; }
.mg-other-services__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mg-other-services__text {
	flex: 1 1 50%;
	color: white;
	padding: 0.875rem 1.125rem;
	position: relative;
}

.mg-other-services__text--light-green { background: var(--colors-brand-green); }
.mg-other-services__text--dark-green { background: var(--colors-brand-darkgreen); }
.mg-other-services__text--blue { background: var(--colors-brand-blue); }
.mg-other-services__text--red { background: var(--colors-brand-red); }
.mg-other-services__text--sand { background: var(--colors-brand-gold); }

.mg-other-services__box .mg-other-services__text::after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255,255,255,0.15);
	z-index: 2;
	opacity: 0;
	transition: all .6s ease;
}

.mg-other-services__box:hover .mg-other-services__text::after { opacity: 1; }

.mg-other-services__text > * {
	position: relative;
	z-index: 3;
}

.mg-other-services__small-text {
	font-family: 'ivyora-display', serif;
	font-weight: 300;
	font-style: italic;
	font-size: 1.25rem;
	line-height: 1.55em;
	display: block;
}
.mg-other-services__large-text {
	font-size: 2.1875rem;
	font-family: var(--fonts-heading);
	font-weight: 500;
	display: block;
	line-height: 0.8857142857142857em;
}

.mg-other-services__arrows {
	position: absolute;
	top: calc(50% - 2.5rem);
	width: 14px;
	height: 28px;
	transform: translate3d(0,-50%,0);
	z-index: 4;
}

.mg-other-services__arrows--prev {
	left: 50%;
	transform: translate3d(-120px,0,0);
}
.mg-other-services__arrows--next {
	right: 50%;
	transform: translate3d(118px,0,0);
}

.mg-other-services .slick-dots {
	list-style-type: none;
	margin: 1.25rem auto 0;
	padding: 0;
	display: flex;
	justify-content: center;
	gap: 1rem;
	z-index: 3;
}
.mg-other-services .slick-dots li {
	overflow: hidden;
	border: 1px solid var(--colors-medium-gray);
	background: transparent;
	height: 9px;
	width: 9px;
	font-size: 12px;
	cursor: pointer;
}

.mg-other-services .slick-dots li button {
	visibility: hidden;
	display: none;
}

.mg-other-services .slick-dots li.slick-active {
	background: var(--colors-medium-gray);
}

@media all and (min-width: 768px) {
	.mg-other-services__heading {
		margin-bottom: 1.5625rem;
	}

	.mg-other-services .slick-dots {
		margin: 2.5rem auto 0;
	}
}

@media all and (min-width: 1280px) {

	.mg-other-services {
		width: 100%;
		display: flex;
		gap: 1.75rem;
		padding-left: var(--wp--preset--spacing--30);
		padding-right: var(--wp--preset--spacing--30);
	}

	.mg-other-services .mg-other-services__slider {
		display: flex;
		align-items: stretch;
		gap: 1.75rem;
	}

	.mg-other-services .mg-other-services__slider .mg-other-services__box {
		height: 100%;
	}

	.mg-other-services__arrows { display: none !important; }

	.mg-other-services__heading {
		width: 195px;
		text-align: left;
	}

	.mg-other-services__slider > div {
	}

	.mg-other-services__heading h4::before,
	.mg-other-services__heading h4::after {
		display: block;
	}

}