/*
 * Estilos del LMS propio.
 *
 * La piel visual del sitio la pone el mu-plugin sh-integracion.php y el tema
 * tutorstarter; esto resuelve la disposicion de lo que agrega el plugin.
 *
 * ---------------------------------------------------------------------------
 * LO QUE FALTABA, y por que la primera version se veia rota (2026-09-18):
 *
 * Las plantillas imprimian <main> directo, sin ningun contenedor. El tema no
 * envuelve nada por su cuenta: quien pone el ancho maximo y el padding es
 * siempre la plantilla. Resultado: el titulo pegado al borde izquierdo de la
 * pantalla y el video de presentacion a todo el ancho del monitor.
 *
 * Medido en produccion sobre la pagina que servia Tutor, antes de arreglarlo:
 *
 *   .container del tema .......... 1140 px de ancho maximo, padding 0 10px
 *   .tutor-container ............. 720 px de ancho maximo, padding 0 12px
 *   el iframe del video .......... 696 x 392
 *
 * O sea que Tutor usaba una columna angosta y centrada. `.sh-lms-ancho`
 * reproduce esa medida con una clase propia, porque `.tutor-container`
 * desaparece el dia que Tutor se apaga.
 * ---------------------------------------------------------------------------
 */

.sh-lms {
	--sh-lms-tinta: var(--sh-tinta, #192128);
	--sh-lms-acento: var(--sh-acento, #b3261e);
	--sh-lms-destacado: var(--sh-destacado, #ffd500);
	--sh-lms-suave: var(--sh-suave, #e2e0da);
	--sh-lms-radio: 2px;
	--sh-lms-ancho-lectura: 720px;
}

/* --- El contenedor. Esto es lo que faltaba. --- */

.sh-lms-ancho {
	width: 100%;
	max-width: var(--sh-lms-ancho-lectura);
	margin-inline: auto;
	padding-inline: 16px;
	box-sizing: border-box;
}

.sh-lms-leccion,
.sh-lms-curso {
	padding-block: 8px 56px;
}

/* --- Titulos y jerarquia --- */
/* El otro motivo por el que la pagina "no tenia jerarquia": todo salia con el
   tamano que le daba el tema, sin escala ni aire entre bloques. */

.sh-lms-titulo {
	margin: 0 0 10px;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.sh-lms-curso-cabecera {
	margin: 0 0 24px;
}

.sh-lms-datos {
	margin: 0;
	font-size: 0.875rem;
	opacity: 0.7;
}

.sh-lms-descripcion {
	margin: 0 0 40px;
	font-size: 1.0625rem;
	line-height: 1.65;
}

.sh-lms-descripcion > *:first-child { margin-top: 0; }
.sh-lms-descripcion > *:last-child { margin-bottom: 0; }

.sh-lms-descripcion h2,
.sh-lms-descripcion h3,
.sh-lms-descripcion h4 {
	margin: 2em 0 0.6em;
	line-height: 1.25;
}

.sh-lms-descripcion h2 { font-size: 1.5rem; }
.sh-lms-descripcion h3 { font-size: 1.25rem; }
.sh-lms-descripcion h4 { font-size: 1.0625rem; }
.sh-lms-descripcion p { margin: 0 0 1.1em; }
.sh-lms-descripcion img { max-width: 100%; height: auto; }

.sh-lms-seccion {
	margin: 0 0 36px;
	padding: 0 0 4px;
}

.sh-lms-seccion h2 {
	margin: 0 0 14px;
	padding: 0 0 10px;
	border-bottom: 2px solid var(--sh-lms-suave);
	font-size: 1.25rem;
	line-height: 1.25;
}

.sh-lms-lista {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sh-lms-lista li {
	position: relative;
	margin: 0 0 0.55em;
	padding-left: 1.4em;
	line-height: 1.55;
}

.sh-lms-lista li::before {
	content: "";
	position: absolute;
	left: 0.15em;
	top: 0.55em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--sh-lms-acento);
}


.sh-lms-datos {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1.25rem;
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
	opacity: 0.75;
}

/* --- Video, con portada --- */
/* El iframe de Bunny viene con position:absolute y 100% de ancho y alto, asi
   que necesita un contenedor con relacion de aspecto. Y un ancho maximo: sin
   el, en un monitor grande el video de presentacion ocupaba toda la pantalla. */

.sh-lms-video {
	margin: 0 0 28px;
}

.sh-lms-video-marco,
.sh-lms-video-portada {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	margin: 0;
	padding: 0;
	border: 0;
	background: #000;
	border-radius: var(--sh-lms-radio);
	overflow: hidden;
}

.sh-lms-video-marco iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* La portada: la imagen del curso, recortada al centro, con un boton de play
   encima. Es un <button>, no un div, para que funcione con teclado. */

.sh-lms-video-portada {
	cursor: pointer;
	appearance: none;
}

.sh-lms-video-portada img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sh-lms-video-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: rgba(179, 38, 30, 0.92);
	box-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
	transition: transform 0.15s ease, background 0.15s ease;
}

.sh-lms-video-play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 52%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 11px 0 11px 18px;
	border-color: transparent transparent transparent #fff;
}

.sh-lms-video-portada:hover .sh-lms-video-play,
.sh-lms-video-portada:focus-visible .sh-lms-video-play {
	transform: translate(-50%, -50%) scale(1.08);
	background: var(--sh-lms-acento);
}

.sh-lms-video-portada:focus-visible {
	outline: 3px solid var(--sh-lms-destacado);
	outline-offset: 3px;
}

.sh-lms-duracion {
	margin: 10px 0 0;
	font-size: 0.8125rem;
	opacity: 0.7;
}

.sh-lms-portada img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--sh-lms-radio);
}

/* --- El recuadro de la accion --- */
/* Despues del video, una sola cosa evidente que hacer. Es lo que le da
   jerarquia a la pagina. */

.sh-lms-cta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	margin: 0 0 40px;
	padding: 24px 26px;
	background: var(--sh-lms-tinta);
	color: #fff;
	border-radius: var(--sh-lms-radio);
}

.sh-lms-cta .sh-lms-precio {
	margin: 0;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.1;
	color: #fff;
}

.sh-lms-cta .sh-lms-precio del {
	font-size: 0.6em;
	font-weight: 400;
	opacity: 0.6;
	margin-right: 0.35em;
}

.sh-lms-cta .sh-lms-precio ins {
	text-decoration: none;
}

.sh-lms-cta-nota {
	margin: 0;
	font-size: 0.8125rem;
	opacity: 0.7;
}

.sh-lms-cta-progreso {
	width: 100%;
}

.sh-lms-cta .sh-lms-barra {
	background: rgba(255, 255, 255, 0.18);
}

.sh-lms-cta .sh-lms-progreso-texto {
	color: #fff;
	opacity: 0.8;
}

.sh-lms-cta-pie {
	margin-top: 40px;
}

/* --- Botones --- */

.sh-lms-boton {
	display: inline-block;
	padding: 0.75rem 1.375rem;
	background: var(--sh-lms-acento);
	color: #fff;
	border-radius: var(--sh-lms-radio);
	text-decoration: none;
	font-weight: 500;
	line-height: 1.2;
}

.sh-lms-boton:hover,
.sh-lms-boton:focus {
	color: #fff;
	filter: brightness(1.1);
}

.sh-lms-acciones {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin: 0 0 2rem;
}

.sh-lms-precio {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 600;
}

/* --- Progreso --- */

.sh-lms-barra {
	height: 6px;
	background: var(--sh-lms-suave);
	border-radius: 3px;
	overflow: hidden;
}

.sh-lms-barra > span {
	display: block;
	height: 100%;
	background: var(--sh-lms-destacado);
}

.sh-lms-progreso-texto {
	margin: 0.5rem 0 0;
	font-size: 0.8125rem;
	opacity: 0.75;
}

.sh-lms-terminado {
	margin: 0.5rem 0 0;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--sh-lms-acento);
}

/* --- Temario --- */

.sh-lms-temario {
	margin: 0 0 40px;
}

.sh-lms-temario > h2 {
	margin: 0 0 20px;
	padding: 0 0 10px;
	border-bottom: 2px solid var(--sh-lms-suave);
	font-size: 1.25rem;
}

.sh-lms-tema {
	margin: 0 0 1.75rem;
	padding: 0 0 1.25rem;
	border-bottom: 1px solid var(--sh-lms-suave);
}

.sh-lms-tema:last-child {
	border-bottom: 0;
}

.sh-lms-tema-titulo {
	margin: 0 0 0.75rem;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	opacity: 0.85;
}

.sh-lms-clases {
	margin: 0;
	padding: 0 0 0 1.5rem;
}

.sh-lms-clase {
	margin: 0 0 0.5rem;
	line-height: 1.45;
}

.sh-lms-clase-actual {
	font-weight: 600;
}

.sh-lms-clase-duracion {
	margin-left: 0.5rem;
	font-size: 0.75rem;
	opacity: 0.6;
}

.sh-lms-tilde {
	margin-left: 0.375rem;
	color: var(--sh-lms-acento);
}

.sh-lms-clase-vista > span,
.sh-lms-clase-vista > a {
	opacity: 0.7;
}

/* --- Materiales --- */

.sh-lms-materiales {
	margin: 2rem 0;
	padding: 1.25rem 1.5rem;
	background: rgba(0, 0, 0, 0.03);
	border-radius: var(--sh-lms-radio);
}

.sh-lms-materiales h2 {
	margin: 0 0 0.75rem;
	font-size: 1rem;
}

.sh-lms-materiales ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sh-lms-materiales li {
	margin: 0 0 0.5rem;
}

.sh-lms-peso {
	margin-left: 0.5rem;
	font-size: 0.75rem;
	opacity: 0.6;
}

/* --- Sin acceso --- */

.sh-lms-sin-acceso {
	margin: 2rem 0;
	padding: 2rem;
	background: var(--sh-lms-tinta);
	color: #fff;
	border-radius: var(--sh-lms-radio);
}

.sh-lms-sin-acceso h2 {
	margin: 0 0 0.75rem;
	color: var(--sh-lms-destacado);
	font-size: 1.125rem;
}

.sh-lms-sin-acceso .sh-lms-enlace {
	color: #fff;
	text-decoration: underline;
}

/* --- Navegacion de clases --- */

.sh-lms-pie-de-clase {
	margin: 2rem 0;
	padding: 1.5rem 0 0;
	border-top: 1px solid var(--sh-lms-suave);
}

.sh-lms-navegacion {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin: 1.25rem 0 0;
}

.sh-lms-navegacion .sh-lms-siguiente {
	margin-left: auto;
	text-align: right;
}

.sh-lms-marcada {
	margin: 0;
	font-size: 0.875rem;
	opacity: 0.75;
}

/* --- Panel del alumno --- */

.sh-lms-mis-cursos {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sh-lms-mi-curso {
	display: flex;
	gap: 1.5rem;
	margin: 0 0 1.75rem;
	padding: 0 0 1.75rem;
	border-bottom: 1px solid var(--sh-lms-suave);
}

.sh-lms-mi-curso:last-child {
	border-bottom: 0;
}

.sh-lms-mi-curso-portada {
	flex: 0 0 180px;
}

.sh-lms-mi-curso-portada img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--sh-lms-radio);
}

.sh-lms-mi-curso-datos {
	flex: 1 1 auto;
	min-width: 0;
}

.sh-lms-mi-curso-datos h3 {
	margin: 0 0 0.625rem;
	font-size: 1.0625rem;
}

.sh-lms-mi-curso-datos .sh-lms-boton {
	margin-top: 1rem;
}

/* --- Telefono --- */

@media (max-width: 640px) {
	.sh-lms-mi-curso {
		flex-direction: column;
		gap: 1rem;
	}

	.sh-lms-mi-curso-portada {
		flex: 0 0 auto;
		max-width: 260px;
	}

	.sh-lms-navegacion {
		flex-direction: column;
	}

	.sh-lms-navegacion .sh-lms-siguiente {
		margin-left: 0;
		text-align: left;
	}
}

/* --- Catalogo --- */

.sh-lms-catalogo {
	display: grid;
	gap: 1.75rem;
	margin: 2rem 0;
	padding: 0;
	list-style: none;
	grid-template-columns: repeat(var(--sh-lms-columnas, 3), minmax(0, 1fr));
}

.sh-lms-catalogo-1 { --sh-lms-columnas: 1; }
.sh-lms-catalogo-2 { --sh-lms-columnas: 2; }
.sh-lms-catalogo-3 { --sh-lms-columnas: 3; }
.sh-lms-catalogo-4 { --sh-lms-columnas: 4; }

.sh-lms-curso-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--sh-lms-suave);
	border-radius: var(--sh-lms-radio);
	overflow: hidden;
	background: #fff;
}

.sh-lms-curso-card-portada img {
	display: block;
	width: 100%;
	height: auto;
}

.sh-lms-curso-card-cuerpo {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	padding: 1.125rem 1.25rem 1.375rem;
	flex: 1 1 auto;
}

.sh-lms-curso-card-titulo {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.3;
}

.sh-lms-curso-card-titulo a {
	text-decoration: none;
	color: inherit;
}

.sh-lms-curso-card-texto {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.5;
	opacity: 0.8;
}

.sh-lms-curso-card-datos {
	display: flex;
	flex-wrap: wrap;
	gap: 0 0.875rem;
	align-items: baseline;
	margin: 0;
	font-size: 0.8125rem;
	opacity: 0.75;
}

.sh-lms-curso-card-precio {
	font-size: 1rem;
	font-weight: 600;
	opacity: 1;
}

.sh-lms-curso-card .sh-lms-boton {
	margin-top: auto;
	align-self: flex-start;
}

@media (max-width: 900px) {
	.sh-lms-catalogo { --sh-lms-columnas: 2; }
}

@media (max-width: 600px) {
	.sh-lms-catalogo { --sh-lms-columnas: 1; }
}

/* --- El boton grande del recuadro de accion --- */

.sh-lms-boton-grande {
	padding: 1rem 2rem;
	font-size: 1.0625rem;
}

/* --- Telefono --- */

@media (max-width: 640px) {
	.sh-lms-cta {
		padding: 20px;
	}

	.sh-lms-cta .sh-lms-boton-grande {
		width: 100%;
		text-align: center;
	}
}

/* ==========================================================================
   LA FICHA DE CURSO — tercera version (2026-09-18)
   El patron de las paginas profesionales de cursos: cabecera oscura con los
   numeros clave, tarjeta de compra a la derecha que acompana al bajar,
   "lo que vas a aprender" con tildes, temario plegable por modulos, y una
   barra fija con el boton en el telefono.
   ========================================================================== */

.sh-lms-curso {
	padding: 0 0 72px;
}

.sh-lms-contenedor {
	width: 100%;
	max-width: 1140px;
	margin-inline: auto;
	padding-inline: 20px;
	box-sizing: border-box;
}

/* --- 1. La cabecera --- */

.sh-lms-hero {
	background: var(--sh-lms-tinta);
	color: #fff;
	padding: 48px 0 44px;
}

.sh-lms-hero .sh-lms-titulo {
	color: #fff;
	margin: 0 0 14px;
	font-size: clamp(2rem, 4.2vw, 2.9rem);
	line-height: 1.1;
}

.sh-lms-antetitulo {
	margin: 0 0 12px;
	color: var(--sh-lms-destacado);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.sh-lms-bajada {
	margin: 0 0 22px;
	max-width: 36em;
	font-size: 1.2rem;
	line-height: 1.45;
	opacity: 0.92;
}

.sh-lms-cifras {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
	font-size: 0.95rem;
	opacity: 0.9;
}

.sh-lms-cifras strong {
	font-weight: 700;
	color: #fff;
}

.sh-lms-autor {
	margin: 0;
	font-size: 0.95rem;
	opacity: 0.8;
}

/* --- La grilla de dos columnas --- */

.sh-lms-cuerpo {
	padding-top: 32px;
}

.sh-lms-principal > section,
.sh-lms-principal > div {
	margin-bottom: 44px;
}

.sh-lms-principal h2 {
	margin: 0 0 18px;
	font-size: 1.45rem;
	line-height: 1.25;
}

/* --- 2. La tarjeta de compra --- */

.sh-lms-tarjeta {
	background: #fff;
	color: var(--sh-lms-tinta);
	border-radius: 4px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08);
	overflow: hidden;
}

.sh-lms-tarjeta .sh-lms-video {
	margin: 0;
}

.sh-lms-tarjeta .sh-lms-video-marco,
.sh-lms-tarjeta .sh-lms-video-portada {
	border-radius: 0;
}

.sh-lms-tarjeta .sh-lms-duracion {
	display: none;
}

.sh-lms-tarjeta .sh-lms-portada img {
	border-radius: 0;
}

.sh-lms-tarjeta-cuerpo {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 22px 24px 26px;
}

.sh-lms-tarjeta .sh-lms-precio {
	margin: 0;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.1;
	color: var(--sh-lms-tinta);
}

.sh-lms-tarjeta .sh-lms-precio del {
	font-size: 0.5em;
	font-weight: 400;
	opacity: 0.5;
	margin-right: 0.4em;
}

.sh-lms-tarjeta .sh-lms-precio ins,
.sh-lms-cierre .sh-lms-precio ins,
.sh-lms-barra-movil ins {
	text-decoration: none;
}

.sh-lms-boton-ancho {
	display: block;
	width: 100%;
	text-align: center;
	box-sizing: border-box;
}

.sh-lms-tarjeta-nota {
	margin: -4px 0 0;
	text-align: center;
	font-size: 0.82rem;
	opacity: 0.65;
}

.sh-lms-tarjeta-estado {
	margin: 0;
	font-weight: 600;
	color: var(--sh-lms-acento);
}

.sh-lms-incluye {
	margin-top: 6px;
	padding-top: 16px;
	border-top: 1px solid var(--sh-lms-suave);
}

.sh-lms-incluye-titulo {
	margin: 0 0 10px;
	font-size: 0.9rem;
	font-weight: 700;
}

.sh-lms-incluye ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sh-lms-incluye li {
	position: relative;
	margin: 0 0 8px;
	padding-left: 22px;
	font-size: 0.88rem;
	line-height: 1.45;
}

.sh-lms-incluye li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	color: var(--sh-lms-acento);
	font-weight: 700;
}

/* --- 3. Lo que vas a aprender --- */

.sh-lms-aprender {
	padding: 24px 26px;
	border: 1px solid var(--sh-lms-suave);
	border-radius: 4px;
	background: #fff;
}

.sh-lms-tildes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sh-lms-tildes li {
	position: relative;
	padding-left: 28px;
	line-height: 1.5;
	font-size: 0.97rem;
}

.sh-lms-tildes li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--sh-lms-acento);
	font-weight: 700;
	font-size: 1.05rem;
}

/* --- 4. El temario plegable --- */

.sh-lms-programa-cabecera {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 16px;
	margin-bottom: 14px;
}

.sh-lms-programa-cabecera h2 {
	margin: 0;
}

.sh-lms-programa-cabecera p {
	margin: 0;
	font-size: 0.9rem;
	opacity: 0.7;
}

.sh-lms-modulos {
	border: 1px solid var(--sh-lms-suave);
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
}

.sh-lms-modulo + .sh-lms-modulo {
	border-top: 1px solid var(--sh-lms-suave);
}

.sh-lms-modulo summary {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 20px;
	cursor: pointer;
	list-style: none;
	background: rgba(0, 0, 0, 0.025);
	font-weight: 600;
}

.sh-lms-modulo summary::-webkit-details-marker {
	display: none;
}

/* La flecha que gira al abrir */
.sh-lms-modulo summary::before {
	content: "";
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(-45deg);
	transition: transform 0.15s ease;
	opacity: 0.6;
}

.sh-lms-modulo[open] summary::before {
	transform: rotate(45deg);
}

.sh-lms-modulo-titulo {
	flex: 1 1 auto;
}

.sh-lms-modulo-datos {
	flex: 0 0 auto;
	font-size: 0.85rem;
	font-weight: 400;
	opacity: 0.65;
}

.sh-lms-modulo-clases {
	margin: 0;
	padding: 6px 20px 12px;
	list-style: none;
}

.sh-lms-modulo-clases li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 0;
	font-size: 0.95rem;
	line-height: 1.4;
}

.sh-lms-modulo-clases li > a,
.sh-lms-modulo-clases li > span:not(.sh-lms-icono):not(.sh-lms-clase-duracion):not(.sh-lms-tilde) {
	flex: 1 1 auto;
}

.sh-lms-modulo-clases .sh-lms-clase-duracion {
	margin: 0;
	flex: 0 0 auto;
	font-size: 0.82rem;
	opacity: 0.6;
}

/* Iconito: triangulo de video o lineas de texto */
.sh-lms-icono {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--sh-lms-suave);
	position: relative;
}

.sh-lms-icono-video::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 55%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 4px 0 4px 6px;
	border-color: transparent transparent transparent var(--sh-lms-tinta);
	opacity: 0.7;
}

.sh-lms-icono-texto::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 7px;
	height: 7px;
	transform: translate(-50%, -50%);
	border-top: 2px solid var(--sh-lms-tinta);
	border-bottom: 2px solid var(--sh-lms-tinta);
	opacity: 0.55;
}

/* --- 6. Dos columnas: para quien / que hace falta --- */

.sh-lms-dos-columnas {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

.sh-lms-dos-columnas h2 {
	font-size: 1.2rem;
}

/* --- 7. El cierre --- */

.sh-lms-cierre {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 24px;
	padding: 28px 30px;
	background: var(--sh-lms-tinta);
	color: #fff;
	border-radius: 4px;
}

.sh-lms-cierre-titulo {
	flex: 1 1 100%;
	margin: 0;
	font-size: 1.2rem;
	font-weight: 700;
}

.sh-lms-cierre .sh-lms-precio {
	margin: 0;
	font-size: 1.6rem;
	font-weight: 700;
	color: #fff;
}

.sh-lms-cierre .sh-lms-precio del {
	font-size: 0.55em;
	font-weight: 400;
	opacity: 0.6;
	margin-right: 0.4em;
}

/* --- 8. La barra fija del telefono --- */

.sh-lms-barra-movil {
	display: none;
}

/* --- Escritorio: dos columnas y la tarjeta que acompana --- */

@media (min-width: 960px) {
	.sh-lms-grilla {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 360px;
		column-gap: 48px;
		align-items: start;
	}

	.sh-lms-hero-texto {
		grid-column: 1;
	}

	.sh-lms-principal {
		grid-column: 1;
		grid-row: 1;
	}

	.sh-lms-lateral {
		grid-column: 2;
		grid-row: 1;
		align-self: stretch;
	}

	/* La tarjeta sube sobre la cabecera y despues acompana al bajar. */
	.sh-lms-tarjeta {
		position: sticky;
		top: 24px;
		margin-top: -200px;
	}

	.sh-lms-hero {
		padding-bottom: 56px;
	}
}

/* --- Telefono y tablet --- */

@media (max-width: 959px) {
	.sh-lms-cuerpo {
		padding-top: 0;
	}

	/* La tarjeta, justo debajo de la cabecera, pegada a ella. */
	.sh-lms-lateral {
		margin: 0 -20px 32px;
	}

	.sh-lms-tarjeta {
		border-radius: 0;
		box-shadow: none;
		border-bottom: 1px solid var(--sh-lms-suave);
	}

	.sh-lms-tildes,
	.sh-lms-dos-columnas {
		grid-template-columns: 1fr;
	}

	/* El margen va en el body: si va en el main, la barra tapa el pie. */
	body:has(.sh-lms-con-barra) {
		padding-bottom: 72px;
	}

	.sh-lms-barra-movil {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 999;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
		background: #fff;
		box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.14);
	}

	.sh-lms-barra-movil-precio {
		font-size: 1.1rem;
		font-weight: 700;
		line-height: 1.15;
		color: var(--sh-lms-tinta);
	}

	.sh-lms-barra-movil-precio del {
		display: block;
		font-size: 0.72em;
		font-weight: 400;
		opacity: 0.5;
	}

	.sh-lms-barra-movil .sh-lms-boton {
		flex: 0 0 auto;
	}

	.sh-lms-modulo-clases {
		padding-inline: 16px;
	}
}

/* El tema deja 40px arriba (.single-courses .site-content) del contenido: en la ficha el hero va pegado al menu. */
body .site-content:has(> .sh-lms-curso) { padding-top: 0; }

/* "Sobre el curso" sale del editor: se empareja con el resto de la ficha. */
.sh-lms-sobre p,
.sh-lms-sobre li { font-size: 16px; line-height: 1.65; }
.sh-lms-sobre ul,
.sh-lms-sobre ol { margin: 0 0 1em 1.2em; padding: 0; }
