.trust-bar--five {
	grid-template-columns: repeat(5, 1fr);
}

.trust-bar--five div {
	padding-inline: 18px;
}

.hero--home h1 {
	font-size: 56px;
	line-height: 64px;
}

.hero--home .hero__lead {
	font-size: 17px;
	line-height: 26px;
}

.hero--home .button-row {
	margin-top: 26px;
}

.project-card__body p {
	min-height: 66px;
}

.project-card__services {
	padding-left: 18px;
	margin: -4px 0 18px;
	font-size: 13px;
	line-height: 20px;
}

.process-steps strong {
	display: block;
}

.process-steps p {
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 100%;
	padding: 18px 20px;
	border: 1px solid #d7e2ec;
	border-radius: 6px;
	background: #f6f9fc;
	color: #12346b;
	font: inherit;
}

.contact-form select {
	height: 58px;
}

.contact-form label > span {
	display: block;
	margin-bottom: 8px;
	color: #12346b;
	font-size: 14px;
	font-weight: 600;
}

.contact-details address {
	margin-top: 8px;
	font-style: normal;
}

.service-area {
	min-height: 260px;
	padding: 40px;
	border: 1px solid #c6d2de;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.service-area h2 {
	font-size: 28px;
	line-height: 36px;
}

.home main > .wp-block-gallery.has-nested-images {
	display: grid;
	width: min(calc(100% - 144px), var(--mesco-container));
	margin: 0 auto 32px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.home main > .wp-block-gallery.has-nested-images figure.wp-block-image,
.home main > .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
	width: 100% !important;
	max-width: none;
	aspect-ratio: 1;
	margin: 0;
	overflow: hidden;
	border-radius: 8px;
	flex: none;
}

.home main > .wp-block-gallery.has-nested-images figure.wp-block-image img {
	width: 100% !important;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 1199px) {
	.home main > .wp-block-gallery.has-nested-images {
		width: min(calc(100% - 64px), 1040px);
	}
}

@media (max-width: 767px) {
	.hero--home {
		min-height: 900px;
	}

	.hero--home h1 {
		font-size: 40px;
		line-height: 46px;
	}

	.card-grid--services .service-card:nth-child(n + 5) {
		display: block;
	}

	.site-footer {
		display: block;
		padding-bottom: 96px;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.site-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.expanded-services {
		display: grid;
	}

	.expanded-service {
		min-height: 0;
		padding: 24px;
		grid-template-columns: 52px 1fr;
	}

	.expanded-service footer {
		position: static;
		grid-column: 1 / -1;
		padding-bottom: 0;
	}

	.contact-form select {
		height: 54px;
	}

	.service-area {
		min-height: 0;
		padding: 24px;
		box-shadow: none;
	}

	.home main > .wp-block-gallery.has-nested-images {
		width: calc(100% - 40px);
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.home main > .wp-block-gallery.has-nested-images figure.wp-block-image,
	.home main > .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
		aspect-ratio: 4 / 3;
	}
}
