/**
 * VSW Image & Text block
 */
.vsw-imgtxt {
	width: 100%;
}

.vsw-imgtxt__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 32px;
	row-gap: 24px;
}

.vsw-imgtxt--image-right .vsw-imgtxt__inner {
	flex-direction: row-reverse;
}

.vsw-imgtxt__media {
	flex: 0 0 45%;
	max-width: 45%;
	min-width: 0;
}

.vsw-imgtxt__media img {
	display: block;
	width: 100%;
	height: auto;
}

.vsw-imgtxt__body {
	flex: 1 1 280px;
	min-width: 0;
}

.vsw-imgtxt__title {
	margin: 0 0 1rem;
	font-size: clamp(1.25rem, 2.5vw, 1.75rem);
	line-height: 1.25;
	font-weight: 600;
}

.vsw-imgtxt__desc {
	margin: 0;
	font-size: 1rem;
	line-height: 1.6;
}

.vsw-imgtxt__desc > :first-child {
	margin-top: 0;
}

.vsw-imgtxt__desc > :last-child {
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.vsw-imgtxt__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.vsw-imgtxt__media {
		flex: 1 1 auto;
		max-width: 100%;
	}

	.vsw-imgtxt--image-right .vsw-imgtxt__inner {
		flex-direction: column;
	}

	/* Right-image desktop layout: on narrow screens show text block first */
	.vsw-imgtxt--image-right .vsw-imgtxt__body {
		order: -1;
	}
}
