/**
 * Curso Hongos Story
 * Estilos totalmente encapsulados para convivir con temas y otros widgets.
 */

.cursohongosstory,
.cursohongosstory *,
.cursohongosstory *::before,
.cursohongosstory *::after {
	box-sizing: border-box;
}

.cursohongosstory {
	--cursohongosstory-tinta: #16150f;
	--cursohongosstory-tinta-suave: #46443d;
	--cursohongosstory-lima: #c6ff00;
	--cursohongosstory-rojo: #d62f2f;
	--cursohongosstory-cafe: #785228;
	--cursohongosstory-duracion: 850ms;
	position: relative;
	isolation: isolate;
	width: 100%;
	overflow: hidden;
	background-color: #f4f0e4;
	color: var(--cursohongosstory-tinta);
}

.cursohongosstory__contenedor {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1180px;
	margin-inline: auto;
	padding-inline: 60px 48px;
}

.cursohongosstory__etiqueta {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 22px;
	color: #5f5d55;
	font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.cursohongosstory__cuadro {
	flex: 0 0 auto;
	width: 9px;
	height: 9px;
	border: 1.4px solid var(--cursohongosstory-tinta);
	background: var(--cursohongosstory-lima);
	transform: rotate(8deg);
}

.cursohongosstory__referencia {
	color: rgba(22, 21, 15, 0.55);
}

.cursohongosstory__titulo {
	position: relative;
	z-index: 2;
	max-width: 12ch;
	margin: 0 0 40px;
	color: var(--cursohongosstory-tinta);
	font-family: "Bricolage Grotesque", "Arial Black", Impact, sans-serif;
	font-size: clamp(46px, 8vw, 104px);
	font-weight: 800;
	line-height: 0.86;
	letter-spacing: -0.04em;
}

.cursohongosstory__titulo-base,
.cursohongosstory__titulo-acento {
	display: inline;
}

.cursohongosstory__titulo-acento {
	font-family: Caveat, "Segoe Print", "Bradley Hand", cursive;
	font-size: 1.04em;
	font-weight: 700;
	line-height: 1.02;
}

.cursohongosstory__relato {
	display: flex;
	flex-direction: column;
	gap: 22px;
	max-width: 660px;
}

.cursohongosstory__parrafo,
.cursohongosstory__pregunta {
	margin: 0;
}

.cursohongosstory__parrafo {
	color: var(--cursohongosstory-tinta-suave);
	font-family: "DM Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: clamp(19px, 2.2vw, 23px);
	font-weight: 400;
	line-height: 1.62;
}

.cursohongosstory__acento--serif {
	color: var(--cursohongosstory-tinta);
	font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
	font-style: italic;
	font-weight: 400;
}

.cursohongosstory__acento--sello {
	display: inline-block;
	padding: 0 7px;
	border: 2px solid var(--cursohongosstory-rojo);
	border-radius: 4px;
	color: var(--cursohongosstory-rojo);
	font-weight: 700;
	line-height: 1.25;
	transform: rotate(-2deg);
}

.cursohongosstory__acento--marca {
	--cursohongosstory-marca: var(--cursohongosstory-lima);
	color: var(--cursohongosstory-tinta);
	font-weight: 800;
	background: linear-gradient(transparent 56%, var(--cursohongosstory-marca) 56% 92%, transparent 92%);
	padding-inline: 0.06em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.cursohongosstory__acento--fuerte {
	color: var(--cursohongosstory-tinta);
	font-weight: 800;
}

.cursohongosstory__pregunta {
	position: relative;
	margin-top: 16px;
	color: var(--cursohongosstory-tinta);
	font-family: Caveat, "Segoe Print", "Bradley Hand", cursive;
	font-size: clamp(30px, 4.4vw, 50px);
	font-weight: 700;
	line-height: 1.08;
}

.cursohongosstory__pregunta-texto,
.cursohongosstory__spoiler {
	display: block;
}

.cursohongosstory__spoiler {
	margin-top: 14px;
	color: #507500;
	font-family: inherit;
	font-size: clamp(26px, 3.6vw, 40px);
	font-weight: 700;
	line-height: 1.08;
}

.cursohongosstory__cafe {
	--cursohongosstory-cafe: #785228;
	position: absolute;
	z-index: -1;
	top: 60px;
	right: 4%;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	opacity: 0.22;
	background: radial-gradient(
		circle,
		transparent 55%,
		color-mix(in srgb, var(--cursohongosstory-cafe) 72%, transparent) 59%,
		var(--cursohongosstory-cafe) 68%,
		transparent 73%
	);
	box-shadow: inset 0 0 30px color-mix(in srgb, var(--cursohongosstory-cafe) 24%, transparent);
	transform: rotate(12deg);
	pointer-events: none;
}

.cursohongosstory--animar.cursohongosstory--js .cursohongosstory__relato {
	opacity: 0;
	filter: blur(6px);
	transform: translateY(34px) scale(0.96);
	transition:
		opacity var(--cursohongosstory-duracion) cubic-bezier(0.16, 1, 0.3, 1),
		transform var(--cursohongosstory-duracion) cubic-bezier(0.16, 1, 0.3, 1),
		filter var(--cursohongosstory-duracion) ease;
	will-change: opacity, transform, filter;
}

.cursohongosstory--animar.cursohongosstory--js.cursohongosstory--visible .cursohongosstory__relato,
.elementor-editor-active .cursohongosstory--animar.cursohongosstory--js .cursohongosstory__relato {
	opacity: 1;
	filter: none;
	transform: none;
}

@supports not (color: color-mix(in srgb, black 50%, transparent)) {
	.cursohongosstory__cafe {
		background: radial-gradient(circle, transparent 55%, rgba(120, 82, 40, 0.72) 59%, rgba(120, 82, 40, 1) 68%, transparent 73%);
		box-shadow: inset 0 0 30px rgba(120, 82, 40, 0.24);
	}
}

@media (max-width: 767px) {
	.cursohongosstory__contenedor {
		padding-inline: 20px 16px;
	}

	.cursohongosstory__titulo {
		overflow-wrap: anywhere;
	}

	.cursohongosstory__cafe {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cursohongosstory--animar.cursohongosstory--js .cursohongosstory__relato {
		opacity: 1;
		filter: none;
		transform: none;
		transition: none;
	}
}
