/* Story Media block — ported from about-us mockup (.story-media). */

.wdm-story-media {
	display: flex;
	align-items: center;
	gap: 0 20px;
}

.wdm-story-media__text,
.wdm-story-media__image {
	flex: 1 1 50%;
}

/* Right padding gives the visual gap while keeping the image column edge
   aligned with the directions grid's second column (both at x=624 of 1228). */
.wdm-story-media__text {
	padding-right: 20px;
}

.wdm-story-media__head {
	display: flex;
	flex-direction: column;
	margin-bottom: 20px;
}

.wdm-story-media__eyebrow {
	display: block;
	margin: 0 0 12px 0;
	line-height: 24px;
	font-size: 16px;
	font-weight: 600;
	color: #005CA9;
	text-transform: uppercase;
}

.wdm-story-media__title {
	margin: 0;
	line-height: 44px;
	font-size: 32px;
	font-weight: 700;
	color: #20201F;
	text-transform: uppercase;
}

.wdm-story-media__body {
	font-size: 16px;
	line-height: 24px;
	color: #4C4C4D;
}

.wdm-story-media__body p {
	margin: 0 0 30px 0;
}

.wdm-story-media__body p:last-child {
	margin-bottom: 0;
}

.wdm-story-media__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	margin-top: 40px;
	padding: 0 32px;
	background: #005CA9;
	color: #fff;
	font-size: 16px;
	line-height: 24px;
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
	border-radius: 8px;
	transition: background 0.3s ease-in-out;
}

.wdm-story-media__btn:hover {
	background: #004A87;
	color: #fff;
}

.wdm-story-media__image {
	position: relative;
	display: flex;
	border-radius: 8px;
}

.wdm-story-media__image img {
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 8px;
}

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

@media screen and (max-width: 1199px) {
	.wdm-story-media {
		align-items: flex-start;
	}

	.wdm-story-media__title {
		font-size: 26px;
	}
}

@media screen and (max-width: 768px) {
	.wdm-story-media {
		flex-direction: column-reverse;
		gap: 20px 0;
	}

	.wdm-story-media__body p {
		margin-bottom: 24px;
	}

	.wdm-story-media__image {
		width: 100%;
		max-height: 340px;
	}
}

@media screen and (max-width: 575px) {
	.wdm-story-media__title {
		line-height: 34px;
	}
}
