/* About Hero block — ported from about-us mockup (page-hero + page-heading). */

.wdm-about-hero__heading {
	margin: 0 0 20px 0;
}

.wdm-about-hero__page-title {
	position: relative;
	margin: 0;
	line-height: 54px;
	font-size: 36px;
	font-weight: 700;
	color: #323232;
	text-transform: uppercase;
}

.wdm-about-hero__media {
	position: relative;
	border-radius: 8px;
}

.wdm-about-hero__media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.wdm-about-hero__media::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 50%;
	background: linear-gradient(180deg, rgba(0, 77, 107, 0) 0%, rgba(4, 45, 70, 0.8) 100%);
	border-radius: 0 0 8px 8px;
}

.wdm-about-hero__details {
	position: absolute;
	left: 48px;
	right: 48px;
	bottom: 48px;
	color: #fff;
	z-index: 1;
}

.wdm-about-hero__title {
	margin: 0 0 8px 0;
	line-height: 44px;
	font-size: 32px;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
}

.wdm-about-hero__details p {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
}

@media screen and (max-width: 1199px) {
	.wdm-about-hero__details {
		left: 24px;
		right: 24px;
		bottom: 32px;
	}
}

@media screen and (max-width: 991px) {
	.wdm-about-hero__page-title {
		line-height: 40px;
		font-size: 28px;
	}
}

@media screen and (max-width: 768px) {
	.wdm-about-hero__media {
		/* full-bleed edge-to-edge regardless of page padding */
		width: 100vw;
		max-width: 100vw;
		height: 340px;
		margin-left: 50%;
		transform: translateX(-50%);
		border-radius: 0;
	}

	.wdm-about-hero__media img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		border-radius: 0;
	}

	.wdm-about-hero__title {
		line-height: 34px;
		font-size: 26px;
	}
}

@media screen and (max-width: 767px) {
	.wdm-about-hero__details {
		left: 20px;
		right: 20px;
	}
}
