/* Match the established Video Course layout while leaving Elementor controls
 * available for deliberate per-course overrides. */
.single-video-courses .elementor .tbae-video-course-lessons {
	width: min(100%, 1066.67px);
	margin-inline: auto;
	gap: 48px;
}

.single-video-courses .elementor .tbae-video-course-lesson {
	gap: 8px;
}

.single-video-courses .elementor .tbae-video-course-lesson > :first-child {
	margin-top: 0;
}

.single-video-courses .tbae-video-course-lesson .elementor-widget-heading h3 {
	color: #784c99;
	font-size: 32px;
	font-weight: 900;
	line-height: 42px;
}

.single-video-courses .tbae-video-course-lesson .elementor-widget-text-editor {
	margin-bottom: 16px;
}

.single-video-courses .tbae-video-course-lesson .elementor-widget-video .elementor-wrapper {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}

.single-video-courses .tbae-video-course-lesson .elementor-widget-video iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.tbae-video-course-embed {
	position: relative;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	background: #17233b;
}

.tbae-video-course-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 767px) {
	.single-video-courses .elementor .tbae-video-course-lessons {
		gap: 32px;
	}

	.single-video-courses .tbae-video-course-lesson .elementor-widget-heading h3 {
		font-size: 28px;
		line-height: 1.2;
	}
}
