.ecs-layout-wrapper {
	display: flex;
	flex-wrap: nowrap;
	gap: 30px;
	align-items: center;
}

.ecs-left-column {
	flex: 0 0 38%;
	max-width: 38%;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	height: 100%;
}

.ecs-right-column {
	flex: 1 1 62%;
	max-width: 62%;
	position: relative;
	min-width: 0;
	overflow: hidden;
}

/* Base styling for left content */
.ecs-left-content-item {
	display: none;
	animation: fadeInLeft 0.5s ease forwards;
}

.ecs-left-content-item.active {
	display: block;
}

@keyframes fadeInLeft {
	from {
		opacity: 0;
		transform: translateX(-10px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.ecs-left-title {
	font-size: 2em;
	font-weight: bold;
	margin: 0 0 20px;
	color: #0b1a45;
}

.ecs-left-desc {
	font-size: 1.1em;
	line-height: 1.6;
	margin-bottom: 20px;
	color: #333;
}

.ecs-left-meta {
	font-size: 0.9em;
	color: #777;
	line-height: 1.4;
}

.ecs-left-meta-date,
.ecs-left-meta-location,
.ecs-left-meta-separator {
	display: inline;
}

/* Slider Overrides */
.ecs-slider-container {
	width: 100%;
	height: auto;
	min-height: 280px;
	overflow: hidden;
	position: relative;
	padding-bottom: 40px;
	/* Space for pagination */
}

.ecs-slider-container .swiper-wrapper {
	align-items: stretch;
	height: auto !important;
}

.ecs-slider-container .swiper-slide {
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	height: auto !important;
}

.ecs-slide-inner {
	width: 100%;
	height: auto;
	visibility: visible;
	opacity: 1;
}

.ecs-right-content-html {
	width: 100%;
	visibility: visible;
	opacity: 1;
	aspect-ratio: 16 / 9;
	min-height: 0;
}

.ecs-right-content-html > *:last-child {
	margin-bottom: 0;
}

.ecs-slide-inner img,
.ecs-slide-inner video,
.ecs-slide-inner iframe,
.ecs-slide-inner object,
.ecs-slide-inner embed {
	max-width: 100%;
	height: auto;
	display: block;
}

.ecs-slide-inner .wp-video,
.ecs-slide-inner .wp-video-shortcode,
.ecs-slide-inner .wp-block-video,
.ecs-slide-inner .wp-block-embed,
.ecs-slide-inner .wp-block-embed__wrapper {
	max-width: 100% !important;
	width: 100% !important;
}

.ecs-slide-inner iframe {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	min-height: 0;
	border: 0;
	position: relative;
	z-index: 1;
	display: block;
}

.ecs-slider-container .swiper-button-next,
.ecs-slider-container .swiper-button-prev {
	color: #1f2a44;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(11, 26, 69, 0.2);
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	top: 50%;
	bottom: auto;
	margin-top: 0;
	transform: translateY(-50%);
	box-shadow: 0 6px 18px rgba(11, 26, 69, 0.16);
	z-index: 20;
	pointer-events: auto;
}

.ecs-slider-container .swiper-button-prev {
	left: 10px;
}

.ecs-slider-container .swiper-button-next {
	right: 10px;
}

.ecs-slider-container .swiper-button-next::after,
.ecs-slider-container .swiper-button-prev::after {
	display: none;
}

.ecs-slider-container .swiper-button-next svg,
.ecs-slider-container .swiper-button-prev svg,
.ecs-slider-container .swiper-button-next i,
.ecs-slider-container .swiper-button-prev i {
	display: none !important;
}

.ecs-slider-container .ecs-nav-fallback {
	font-size: 24px;
	line-height: 1;
	font-weight: 600;
	font-family: Arial, sans-serif;
	transform: translateY(-1px);
}

.ecs-slider-container .swiper-pagination {
	bottom: 8px;
}

@media (max-width: 1024px) {
	.ecs-layout-wrapper {
		gap: 24px;
		align-items: flex-start;
	}

	.ecs-left-column {
		flex-basis: 42%;
		max-width: 42%;
	}

	.ecs-right-column {
		flex-basis: 58%;
		max-width: 58%;
	}

	.ecs-left-title {
		font-size: 1.6em;
		margin-bottom: 16px;
	}

	.ecs-left-desc {
		font-size: 1em;
		margin-bottom: 16px;
	}
}

@media (max-width: 767px) {
	.ecs-layout-wrapper {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 14px;
	}

	/* Let title stay above, but move text/meta below video on mobile */
	.ecs-left-column {
		display: contents;
	}

	.ecs-left-title {
		order: 1;
		width: 100%;
	}

	.ecs-right-column {
		order: 2;
		flex-basis: 100%;
		max-width: 100%;
		width: 100%;
	}

	.ecs-left-content-item {
		order: 3;
		flex-basis: 100%;
		max-width: 100%;
		width: 100%;
	}

	.ecs-left-title {
		font-size: 1.35em;
		margin: 0 0 6px;
	}

	.ecs-left-desc {
		font-size: 0.95em;
		line-height: 1.5;
		margin-bottom: 12px;
	}

	.ecs-left-meta {
		font-size: 0.85em;
	}

	.ecs-slider-container {
		padding-bottom: 0;
		min-height: 0;
		height: auto !important;
	}

	.ecs-slider-container .swiper-button-next,
	.ecs-slider-container .swiper-button-prev {
		width: 34px;
		height: 34px;
		top: 50%;
		bottom: auto;
		transform: translateY(-50%);
		background: rgba(255, 255, 255, 0.95);
	}

	.ecs-slider-container .swiper-button-prev {
		left: 8px;
	}

	.ecs-slider-container .swiper-button-next {
		right: 8px;
	}

	.ecs-slider-container .swiper-pagination {
		bottom: 6px;
	}

	.ecs-slide-inner iframe {
		aspect-ratio: 16 / 9;
		min-height: 0;
	}

	.ecs-right-content-html {
		aspect-ratio: 16 / 9;
	}
}