/**
 * Content Block Component - Styles
 *
 * Styling for the content block section with left/right columns,
 * images with animation, and text content. Responsive design for all devices.
 */


/* Main content block layout */
.ws-content-block {
	margin: 0 -1rem;
}
.ws-content-block > * {
	flex-basis: 100%;
	padding: 0 1rem
}
/* Left column styling */
.ws-content-block-column--left {

}
/* Left column image */
.ws-content-block-left-image {
	width: 100%;
	height: auto;
	aspect-ratio: 1.0256;
	overflow: hidden;
}

.ws-content-block-left-image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

/* Right column styling */
.ws-content-block-column--right {
}

/* Images container for right column */
.ws-content-block-images {
	margin-left: -1rem;
	margin-right: -1rem;
	padding-top: 18%;
}
.ws-content-block-images > * {
	margin-left: 1rem;
	margin-right: 1rem;
	width: calc(50% - 2rem);
}
/* Individual image styling */
.ws-content-block-image {
	width: 100%;
	height: auto;
	overflow: hidden;
	aspect-ratio: 1;
}
.ws-content-block-image.ws-content-block-image--top {
	transform: translateY(-24%);
}
.ws-content-block-image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Top image animation on scroll */
.ws-content-block-image--top img {
	animation: slideInLeft 0.8s ease-out forwards;
}

/* Bottom image animation on scroll */
.ws-content-block-image--bottom img {
	animation: slideInRight 0.8s ease-out 0.2s forwards;
}

/* Animation keyframes */
@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-2rem);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(2rem);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@media (min-width: 992px) {
	.ws-content-block {
		margin: 0 -2rem;
	}
	.ws-content-block > * {
		flex-basis: 100%;
		padding: 0 2rem
	}

}
@media (max-width: 767px) {
	.ws-content-block-images {
		padding-top: calc(12% + 1rem);
	}
}
