.service-pages {
	position: relative;
}

.service-pages .elementor-menu-anchor {
	left: 0;
	width: 100%;
	z-index: -10;
	position: absolute;
}

.service-pages__title {
	z-index: 10;
	display: flex;
	text-align: left;
	position: relative;
	padding-bottom: 1.5em;
	flex-direction: column;
	align-items: flex-start;
}

.service-pages__title h2 {
	font-weight: 600;
	font-size: 2.5rem;
	line-height: 3rem;
	color: var(--e-global-color-secondary);
	font-family: var(--e-global-typography-primary-font-family), Sans-serif;
}

.service-pages__title span {
	font-weight: 500;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.0375rem;
	color: var(--e-global-color-accent);
	font-family: var(--e-global-typography-primary-font-family), Sans-serif;
}

.service-pages__description {
	margin: 0 auto;
	max-width: 1000px;
	font-weight: 300;
	line-height: 2rem;
	text-align: left;
	position: relative;
	padding-bottom: 1em;
	font-size: 1.0625rem;
	align-items: flex-start;
	color: var(--e-global-color-primary);
	font-family: var(--e-global-typography-primary-font-family), Sans-serif;
}

.service-pages__items {
	gap: 2em;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}


.item-page {
	max-width: 437px;
	overflow: hidden;
	position: relative;
	border-radius: 20px;
	background-color: #ffffff;
	border: 1px solid #F2F4F5;
	box-shadow: 0px 0px 20px #F2F4F5;
}

.item-page__img {
	height: 190px;
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.item-page__img:before {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	content: "";
	position: absolute;
	background: rgba(0, 0, 0, .04);
}

.item-page__link {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	position: absolute;
}

.item-page__link:after {
	right: 2em;
	content: '';
	width: 20px;
	z-index: 10;
	height: 20px;
	bottom: 1em;
	position: absolute;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	transition: all 0.5s ease-in-out;
	background-image: url(/wp-content/themes/astra-child/templates/assets/img/arrow-up-right-accent.svg);
}

.item-page:hover .item-page__link:after {
	transform: translateX(0.5rem);
}

.item-page__info {
	gap: 1em;
	display: flex;
	flex-direction: column;
	padding: 1em 1em 2em 1em;
}

.item-page__info-title {
	display: flex;
	overflow: hidden;
	position: relative;
	align-items: center;
}

.item-page__info-title h3 {
	--line-clamp: 2;
	font-weight: 500;
	font-size: 1.25rem;
	overflow: hidden;
	position: relative;
	align-items: center;
	display: -webkit-box;
	line-height: 1.5625rem;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--line-clamp);
	color: var(--e-global-color-secondary);
	font-family: var(--e-global-typography-primary-font-family), Sans-serif;
}

.item-page__info span {
	font-weight: 400;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.04375rem;
	color: var(--e-global-color-accent);
	font-family: var(--e-global-typography-primary-font-family), Sans-serif;
}

.item-page__info span.item-page__link-text {
	font-size: 1rem;
	text-transform: none !important;
}

.item-page__info p {
	font-weight: 300;
	--line-clamp: 3;
	overflow: hidden;
	font-size: 0.8125rem;
	display: -webkit-box;
	line-height: 1.125rem;
	margin-bottom: 0 !important;
	letter-spacing: 0.053125rem;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--line-clamp);
	color: var(--e-global-color-secondary);
	font-family: var(--e-global-typography-primary-font-family), Sans-serif;
}


/*RESPONSIVE*/

/*phone*/
@media (max-width: 767px) {

	.service-pages__items {
		gap: 2em;
		grid-template-columns: repeat(1, 1fr);
	}

	.service-pages__items .item-page {
		display: grid;
		min-height: 100px;
		grid-template-columns: 130px 1fr;
	}

	.item-page__img {
		height: 100%;
	}

	.item-page__info {
		height: 100%;
		display: flex;
		padding: 1em;
		align-items: flex-start;
		justify-content: center;
	}

	.item-page__link:after {
		right: 1em;
		width: 13px;
		height: 13px;
	}

}

/*tablet*/
@media (min-width: 768px) and (max-width: 1024px) {

	.item-page__img {
		height: 120px;
	}

	.service-pages__items--sm {
		gap: 1em;
		grid-template-columns: repeat(4, 1fr);
	}

	.service-pages__items--sm .item-page__info {
		min-height: 90px;
		padding: 1.5em 1em;
		align-items: center;
		justify-content: center;
	}

	.service-pages__items--sm .item-page__info-title h3 {
		font-size: 1rem;
		line-height: 1.25rem;
	}

	.service-pages__items--sm .item-page__info-title {
		text-align: center;
		justify-content: center;
	}

}

/*mobile and tablet*/
@media (max-width: 1024px) {

}

/*desktop*/
@media (min-width: 1025px) {

	.service-pages__items--sm {
		gap: 2em;
		grid-template-columns: repeat(4, 1fr);
	}

	.service-pages__items--sm .item-page__info {
		display: flex;
		padding: 2em 1em;
		min-height: 110px;
		align-items: center;
		justify-content: center;
	}

	.service-pages__items--sm .item-page__info-title {
		text-align: center;
		justify-content: center;
	}

}

/*laptop 1*/
@media (min-width: 1025px) and (max-width: 1439px) {

	.item-page__img {
		height: 120px;
	}

	.service-pages__items--sm {
		gap: 1em;
	}

	.service-pages__items--sm .item-page__info {
		min-height: 90px;
		padding: 1.5em 1em;
	}

	.service-pages__items--sm .item-page__info-title h3 {
		font-size: 1rem;
		line-height: 1.25rem;
	}

}

/*laptop 2*/
@media (min-width: 1440px) and (max-width: 1700px) {

	.item-page__img {
		height: 150px;
	}

	.service-pages__items--sm {
		gap: 1em;
	}

	.service-pages__items--sm .item-page__info {
		min-height: 90px;
		padding: 1.5em 1em;
	}

	.service-pages__items--sm .item-page__info-title h3 {
		font-size: 1rem;
		line-height: 1.25rem;
	}

}

/*RESPONSIVE*/
