/* Employment cards */
.services_container{
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	height: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.services_heading{
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding-bottom: 50px;
	gap: 10px;
}

.services_heading > h1{
	width: 100%;
	text-align: center;
	color: var(--blue);
	font-family: "BBH Sans Hegarty", sans-serif;
	letter-spacing: 1px;
}

.subheading{
	text-align: center;
	font-family: "Noto Sans", sans-serif;
}

.services{
	width: 100%;
	height: auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.service_card{
	width: 100%;
	max-height: 700px;
	height: 100%;
	display: flex;
	flex-direction: column;
	border-radius: 5px;
	box-shadow: var(--shadow);
}

.servicecard_image{
	width: 100%;
	height: 100%;
	max-height: 300px;
}

.servicecard_image > img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.servicecard_content{
	width: 100%;
	padding: 20px 30px;
	display: flex;
	flex-direction: column;
	align-items: center;
	line-height: 1.6;
}

.servicecard_text{
	width: 100%;
	margin: 17px;
	font-family: "Noto Sans", sans-serif;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	line-height: 1.4;
}

.servicecard_content > p {
	width: 100%;
	margin: 17px;
	font-family: "Noto Sans", sans-serif;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	line-height: 1.4;
}

.servicecard_content > h1 {
	width: 100%;
	text-align: center;
	font-size: 30px !important;
	font-family: "Noto Sans", sans-serif;
	line-height: 1.2;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	min-height: calc(1.2em * 2); /* ensures space for 2 lines */
}

.details_heading{
	width: 100%;
	height: 200px;
	padding-bottom: 15px;
}

.details_heading > img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 5px;
}

/* Queries */
@media screen and (max-width: 1075px) {
	.services{
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 700px) {
	.services{
		grid-template-columns: repeat(1, 1fr);
	}
	
	.details_heading{
		height: 125px;
		padding-bottom: 10px;
	}
}