/**
 * Styles the .etw-post-content wrapper that Post_Content_Filter
 * (includes/class-post-content-filter.php) injects around classic and
 * block editor content on singular Course and Post pages. Content
 * authored directly with Elementor is left unwrapped and untouched by
 * this file entirely — it controls its own spacing per-section.
 */
.etw-post-content {
	box-sizing: border-box;
	font-family: inherit;
	background: #ffffff;

	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.etw-post-content *,
.etw-post-content *::before,
.etw-post-content *::after {
	box-sizing: border-box;
}

.etw-post-content__classic {
	width: 100%;
	max-width: 920px;
	margin-left: auto;
	margin-right: auto;
	padding: 56px 30px;
	color: #444444;
	font-size: 16px;
	line-height: 1.8;
}

.etw-post-content__classic > *:first-child {
	margin-top: 0;
}

.etw-post-content__classic > *:last-child {
	margin-bottom: 0;
}

.etw-post-content__classic p {
	margin: 0 0 20px;
}

.etw-post-content__classic h2,
.etw-post-content__classic h3,
.etw-post-content__classic h4 {
	margin: 1.6em 0 0.6em;
	color: #222222;
	font-weight: 800;
	line-height: 1.2;
}

.etw-post-content__classic ul,
.etw-post-content__classic ol {
	margin: 0 0 20px;
	padding-left: 22px;
}

.etw-post-content__classic li {
	margin-bottom: 8px;
}

.etw-post-content__classic blockquote {
	margin: 28px 0;
	padding: 4px 0 4px 22px;
	border-left: 4px solid #76bd1e;
	color: #333333;
	font-size: 19px;
	font-style: italic;
	line-height: 1.6;
}

.etw-post-content__classic img {
	max-width: 100%;
	height: auto;
}

.etw-post-content__classic a {
	color: #009fe3;
	text-decoration: underline;
}

.etw-post-content__classic iframe,
.etw-post-content__classic .wp-block-embed,
.etw-post-content__classic .wp-embed-responsive .wp-has-aspect-ratio iframe {
	max-width: 100%;
}

@media (max-width: 767px) {
	.etw-post-content__classic {
		padding: 40px 18px;
		font-size: 15px;
	}
}
