/* YouMind Theme Builder — front-end canvas */

body.ymct-template-canvas {
	margin: 0;
	background: #fff;
}

/* Beat theme body{background-color:var(--base)} + fill admin-bar html offset */
html:has(body.ymct-template-canvas.ymct-has-post-hero),
html:has(body.ymct-template-canvas:has(.ymct-post-hero--under-header)),
body.ymct-template-canvas.ymct-has-post-hero,
body.ymct-template-canvas:has(.ymct-post-hero--under-header) {
	background: #cafdf9 !important;
	background-color: #cafdf9 !important;
}

html:has(body.ymct-template-canvas.ymct-has-hero),
html:has(body.ymct-template-canvas:has(.ymct-hero--under-header)),
body.ymct-template-canvas.ymct-has-hero,
body.ymct-template-canvas:has(.ymct-hero--under-header) {
	background: #cafdf9 !important;
	background-color: #cafdf9 !important;
}

body.ymct-template-canvas .alignfull {
	max-width: none;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
}

/* Fallback single post (when template has no Post Title / Content blocks yet) */
.ymct-fallback-singular {
	width: 100%;
	max-width: 920px;
	margin: 0 auto;
	padding: 48px 24px 80px;
	box-sizing: border-box;
	font-family: "Poppins", sans-serif;
	color: #021019;
}

.ymct-fallback-header {
	text-align: center;
	margin-bottom: 32px;
}

.ymct-fallback-title {
	margin: 0;
	font-weight: 500;
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.25;
	color: #0a0a0a;
}

.ymct-fallback-excerpt {
	margin: 16px auto 0;
	max-width: 720px;
	font-size: 18px;
	line-height: 1.6;
	color: #031728;
	opacity: 0.75;
}

.ymct-fallback-media {
	margin: 0 0 40px;
	padding: 0;
}

.ymct-fallback-media img,
.ymct-fallback-thumb {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 24px;
}

.ymct-fallback-content {
	font-size: 18px;
	line-height: 1.7;
	color: #021019;
}

.ymct-fallback-content > *:first-child {
	margin-top: 0;
}

.ymct-fallback-content p {
	margin: 0 0 1.25em;
}

.ymct-fallback-content h2,
.ymct-fallback-content h3 {
	margin: 1.75em 0 0.75em;
	font-weight: 500;
	line-height: 1.3;
}

@media (max-width: 768px) {
	.ymct-fallback-singular {
		padding: 32px 20px 56px;
	}

	.ymct-fallback-excerpt {
		font-size: 16px;
	}

	.ymct-fallback-content {
		font-size: 16px;
	}
}
