/* =========================================================
   IMH - Color global de texto (pisar plantilla)
   ========================================================= */

:root
{
	/* Si la plantilla usa variables, se pisan aquí */
	--body-color: #172626;
	--text-color: #172626;
}

body
{
	color: var(--body-color, #172626);
}
/* ===== DETALLE: que NO se corte el texto (intro/resumen) ===== */
.single-pro-desc .sp-single-desc
{
	overflow: visible !important;
	max-height: none !important;
	height: auto !important;

	white-space: normal !important;
	word-break: normal !important;
	overflow-wrap: anywhere !important;
	hyphens: auto;
}

.single-pro-desc .sp-single-desc *,
.single-pro-desc .sp-single-desc p,
.single-pro-desc .sp-single-desc span,
.single-pro-desc .sp-single-desc strong,
.single-pro-desc .sp-single-desc br
{
	overflow: visible !important;
	max-height: none !important;
	white-space: normal !important;
	word-break: normal !important;
	overflow-wrap: anywhere !important;
	line-height: 1.55 !important;
}

/* Por si la plantilla usa line-clamp */
.single-pro-desc .sp-single-desc
{
	display: block !important;
	-webkit-line-clamp: unset !important;
	-webkit-box-orient: unset !important;
}
/* ===== TEXTO JUSTIFICADO SIN CORTAR PALABRAS ===== */
.single-pro-desc .sp-single-desc
{
	text-align: justify !important;
	hyphens: none !important;
	-webkit-hyphens: none !important;
	-ms-hyphens: none !important;
	word-break: normal !important;
	overflow-wrap: normal !important;
}
/* ===== HERO VIDEO: forzar override contra la plantilla ===== */


/* Quitar franjas negras en móvil: que el WRAP mande el alto */
@media (max-width: 991px)
{
	.sp-hero-2.imh-hero-video .sp-hero-slide .item .imh-hero-video-wrap
	{
		height: 50vh !important;
		width: 100vh !important;
		overflow: hidden !important;
		background: #fff !important;
	}

	.sp-hero-2.imh-hero-video
	{
		background: #fff !important;
	}
}