/* ==========================================================================
   Single blog post (was Elementor Pro "Single-Post-Template" #34079)
   ========================================================================== */

.mlc-single__row {
	display: flex;
	padding: 0 10%;
}

.mlc-single__row--title { margin: 2em 0; }
.mlc-single__row--content { margin: 0 0 5em; }
.mlc-single__row--related { margin: 0 0 3em; }

.mlc-related { width: 100%; }

.mlc-single__inner {
	display: flex;
	justify-content: flex-end;
	gap: 0 40px;
	width: 100%;
}

.mlc-single__spacer {
	flex: 0 1 25%;
	min-width: 0;
	padding: 10px;
}

.mlc-single__main {
	display: flex;
	flex-direction: column;
	flex: 0 1 75%;
	min-width: 0;
}

.mlc-single__title {
	margin: 0;
	padding: 0;
	color: #000;
	font-family: var(--mlc-font);
	font-size: 35px;
	font-weight: 700;
	line-height: 45.5px;
	letter-spacing: -.525px;
	text-align: start;
}

/* Sticky table of contents column (stays inside the content row, 155px from top) */
.mlc-single__toc {
	position: sticky;
	top: 155px;
	align-self: flex-start;
	display: flex;
	flex-direction: column;
	flex: 0 1 25%;
	min-width: 0;
	height: 550px;
	overflow-y: auto !important;
}

@media (min-width: 1025px) and (max-width: 1800px) {
	.mlc-single__toc { height: 400px; }
}

/* The TOC keeps its full height so the column scrolls through every entry (as the Elementor widget did);
   without this the flex column squeezed it to the column height and cut off the last entries. */
.mlc-single__toc > .mlc-toc { flex-shrink: 0; }

/* Post content (from old child theme: .post_content_sec_class rules) */
.post_content_sec_class h2 {
	margin: 4rem auto 3rem;
	font-size: 30px;
	font-weight: 700;
	line-height: 39px;
	letter-spacing: -.45px;
}

.post_content_sec_class h3 {
	margin: 3rem auto 2rem;
	font-size: 24px;
	font-weight: 700;
	line-height: 31px;
	letter-spacing: -.36px;
}

.post_content_sec_class h4 {
	font-size: 23px;
	font-weight: 700;
	line-height: 29.9px;
	letter-spacing: -.345px;
}

.post_content_sec_class a {
	color: var(--mlc-blue-link);
}

.post_content_sec_class a .elementor-button-text {
	color: #fff;
}

/* Laptop */
@media (max-width: 1366px) {
	.mlc-single__row { padding: 0 4%; }
}

/* Tablet */
@media (max-width: 1024px) {
	.mlc-single__row { padding: 0 3%; }

	.mlc-single__inner {
		flex-direction: column;
		justify-content: flex-start;
	}

	.mlc-single__spacer,
	.mlc-single__toc { display: none; }

	.mlc-single__main { width: 100%; }

	.mlc-single__title {
		font-size: 34px;
		line-height: 1.3em;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.mlc-single__row { padding: 0 5%; }

	.mlc-single__title {
		font-size: 32px;
		line-height: 1.3em;
	}

	.mlc-related .mlc-cards { --mlc-cols: 1; }
}
