.services-card-grid {
	position: relative;
	z-index: 1;
	margin-right: -15px;
	margin-left: -15px;
}

.services-card-grid > [class*='col-'] {
	display: flex;
	justify-content: center;
}

#services > .bg-overlay {
	bottom: 0;
}

.service-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	font: inherit;
	color: inherit;
	cursor: pointer;
	transition: box-shadow .3s ease, transform .3s ease;
}

#services .service-card.block-sm {
	max-width: none;
}

#services + .section {
	padding-top: 60px;
}

@media (min-width: 992px) {
	#services + .section {
		padding-top: 90px;
	}
}

.desktop .service-card:hover,
.service-card:focus {
	box-shadow: 0 17px 36px rgba(61, 46, 130, 0.13);
	transform: translateY(-8px);
}

.service-card:focus {
	outline: none !important;
	outline-offset: 0;
}

.service-alba-image {
	display: block;
	width: 100%;
	height: 200px;
	margin-top: 0;
	object-fit: cover;
	object-position: center top;
}

.service-alba-body {
	display: block;
	flex-grow: 1;
}

.service-alba-title,
.service-alba-text,
.service-card-more {
	display: block;
}

.service-card-more {
	margin-top: 18px;
	color: #24B4CC;
	font-size: 15px;
	font-weight: 700;
}

.services-card-grid > [class*='col-']:nth-child(4n + 2) .service-alba {
	color: #ffffff;
	background: #FFA984;
}

.services-card-grid > [class*='col-']:nth-child(4n + 2) .service-alba-title,
.services-card-grid > [class*='col-']:nth-child(4n + 2) .service-card-more,
.services-card-grid > [class*='col-']:nth-child(4n) .service-alba-title,
.services-card-grid > [class*='col-']:nth-child(4n) .service-card-more {
	color: #ffffff;
}

.services-card-grid > [class*='col-']:nth-child(4n) .service-alba {
	color: #ffffff;
	background: #3D2E82;
}

body.service-popup-open {
	overflow: hidden;
}

.service-popup {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	overflow-y: auto;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease, visibility .2s ease;
}

.service-popup.is-active {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.service-popup-overlay {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(34, 25, 73, 0.72);
}

.service-popup-dialog {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 760px;
	max-height: calc(100vh - 40px);
	overflow: hidden;
	text-align: left;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 25px 80px rgba(61, 46, 130, 0.24);
	transform: translateY(20px);
	transition: transform .2s ease;
}

.service-popup.is-active .service-popup-dialog {
	transform: translateY(0);
}

.service-popup-close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	color: #3D2E82;
	font-size: 28px;
	line-height: 1;
	background: #F7F6F9;
	cursor: pointer;
	transition: color .2s ease, background .2s ease;
}

.service-popup-close:hover,
.service-popup-close:focus {
	color: #ffffff;
	background: #24B4CC;
}

.service-popup-image {
	flex: 0 0 auto;
	display: block;
	width: 100%;
	height: 240px;
	margin-top: 0;
	object-fit: cover;
}

.service-popup-content {
	min-height: 0;
	overflow-y: auto;
	padding: 30px 24px 34px;
}

.service-popup-title {
	color: #3D2E82;
}

.service-popup-text {
	margin-top: 18px;
	color: #696E7B;
	font-size: 17px;
	line-height: 1.7;
}

@media (min-width: 768px) {
	.service-popup {
		padding: 40px;
	}

	.service-popup-dialog {
		max-height: calc(100vh - 80px);
	}

	.service-popup-image {
		height: 320px;
	}

	.service-popup-content {
		padding: 38px 44px 44px;
	}
}
