/**
 * Landing pubblica corso — allineata allo stile editor Joinmaker (lp-desc-section, jampink-wp-module--*).
 * course_public_landing.php
 */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body.jm-pl-body {
	margin: 0;
	min-height: 100vh;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
	color: var(--lp-page-fg, #212529);
	background-color: var(--lp-page-bg, #f4f4f5);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	--lp-decor-dot: rgba(15, 23, 42, 0.28);
	--lp-decor-line: rgba(15, 23, 42, 0.14);
	--lp-decor-glow-a: rgba(13, 110, 253, 0.22);
	--lp-decor-glow-b: rgba(99, 102, 241, 0.18);
	--lp-decor-glow-c: rgba(14, 165, 233, 0.16);
}

body.jm-pl-body.lp-page-is-dark {
	--lp-decor-dot: rgba(255, 255, 255, 0.82);
	--lp-decor-line: rgba(255, 255, 255, 0.28);
	--lp-decor-glow-a: rgba(251, 146, 60, 0.48);
	--lp-decor-glow-b: rgba(56, 189, 248, 0.40);
	--lp-decor-glow-c: rgba(167, 139, 250, 0.36);
}

/* Namespace isolato: evita conflitti con .lp-content / .lp-hero del sito (stili globali → grigio opaco) */
#jm-public-landing {
	isolation: isolate;
	position: relative;
	width: 100%;
	overflow-x: hidden;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background-color: var(--lp-page-bg, #f4f4f5);
}

/* Fascia hero: desktop tiene max-height (card absolute a cavallo del corpo).
   Su tablet/telefono l’altezza deve crescere con locandina + testi, altrimenti si accavallano. */
#jm-public-landing .jm-pl-header-band {
	min-height: clamp(200px, 35vh, 340px);
	height: auto;
	color: #fff;
	background-color: #212529;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	position: relative;
	z-index: 4;
	overflow: visible;
	flex-shrink: 0;
}

#jm-public-landing .jm-pl-lp-hero {
	padding: clamp(16px, 4vw, 30px) 0;
	overflow: visible;
}

/* Stessa struttura del modale: flex (non grid), card assoluta su desktop come .lp-card.position-absolute */
#jm-public-landing .jm-pl-hero-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: clamp(0.75rem, 3vw, 1.5rem);
	max-width: 1140px;
	margin: 0 auto;
	width: 100%;
	padding: 0 clamp(12px, 4vw, 15px);
	box-sizing: border-box;
}

#jm-public-landing .jm-pl-card-wrap {
	width: 100%;
	max-width: 420px;
	margin-inline: auto;
	min-width: 0;
	position: relative;
}

#jm-public-landing .jm-pl-card {
	background: #fff;
	color: #212529;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
	width: 100%;
	margin: 0;
	padding: 0;
	position: relative;
}

@media (min-width: 1200px) {
	#jm-public-landing .jm-pl-header-band {
		max-height: 340px;
	}

	#jm-public-landing .jm-pl-card-wrap {
		flex: 0 0 auto;
		width: 25%;
		max-width: none;
		margin-inline: 0;
		align-self: flex-start;
	}

	#jm-public-landing .jm-pl-lp-content {
		flex: 1;
		min-width: 0;
		margin-top: 40px;
	}

	/* Landing pubblica: niente offset verticale (il -40px del modale qui spostava troppo la card) */
	#jm-public-landing .jm-pl-card {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 3;
		box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
	}

	/* Come .lp-card.position-fixed nel modale (js/modal-corsi.js initLandingPageCardScrollToFixed) — left/width via JS */
	#jm-public-landing .jm-pl-card.jm-pl-card--fixed {
		position: fixed !important;
		top: 80px !important;
		left: auto;
		width: auto;
		z-index: 100;
		max-width: calc(100vw - 30px);
		box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
	}
}

@media (max-width: 1199px) {
	#jm-public-landing .jm-pl-header-band {
		max-height: none;
		min-height: 0;
		height: auto;
		overflow: visible;
	}

	#jm-public-landing .jm-pl-lp-hero {
		overflow: visible;
	}

	#jm-public-landing .jm-pl-hero-inner {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
	}

	#jm-public-landing .jm-pl-card-wrap {
		order: 1;
		width: 100%;
		max-width: 400px;
		margin-inline: auto;
	}

	#jm-public-landing .jm-pl-card,
	#jm-public-landing .jm-pl-card.jm-pl-card--fixed {
		position: relative !important;
		top: auto !important;
		left: auto !important;
		width: 100% !important;
		max-width: 100%;
		z-index: 5;
	}

	#jm-public-landing .jm-pl-lp-content {
		order: 2;
		position: relative !important;
		top: auto !important;
		left: auto !important;
		flex: 1 1 auto;
		width: 100%;
		max-width: 100%;
		margin-top: 8px;
		z-index: 2;
	}
}

/* Locandina 420×525 */
#jm-public-landing .jm-pl-card-img-wrap {
	width: 100%;
	aspect-ratio: 420 / 525;
	min-height: 0;
	background: #dee2e6;
	overflow: hidden;
	display: block;
	margin: 0;
	padding: 0;
	line-height: 0;
	position: relative;
}

#jm-public-landing .jm-pl-card-img-wrap--empty {
	min-height: 200px;
	aspect-ratio: auto;
}

#jm-public-landing .jm-pl-card-img-inner {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

#jm-public-landing .jm-pl-card-img {
	display: block;
	width: 100%;
	height: 100%;
}

#jm-public-landing .jm-pl-card-img--contain {
	object-fit: contain;
	object-position: center center;
}

#jm-public-landing .jm-pl-card-img--cover {
	object-fit: cover;
	object-position: center center;
}

#jm-public-landing .jm-pl-card-body {
	padding: 16px;
}

#jm-public-landing .jm-pl-price-wrap {
	margin-bottom: 0;
}

#jm-public-landing .jm-pl-price {
	font-size: 1.5rem;
	font-weight: 700;
	color: #212529;
	line-height: 1.2;
}

#jm-public-landing .jm-pl-card-hr {
	margin: 12px 0;
	border: 0;
	border-top: 1px solid #dee2e6;
}

#jm-public-landing .jm-pl-card-btns {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

#jm-public-landing .jm-pl-btn {
	display: block;
	width: 100%;
	padding: 10px 12px;
	min-height: 44px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 0.95rem;
	text-align: center;
	text-decoration: none;
	border: 1px solid transparent;
	font-family: inherit;
	box-sizing: border-box;
	line-height: 1.35;
}

#jm-public-landing .jm-pl-btn--outline {
	background: #fff;
	color: #212529;
	border-color: #0d6efd;
}

#jm-public-landing .jm-pl-btn--outline:hover {
	background: rgba(13, 110, 253, 0.08);
}

#jm-public-landing .jm-pl-btn--disabled {
	opacity: 0.55;
	cursor: not-allowed;
	pointer-events: none;
}

#jm-public-landing .jm-pl-btn--enroll {
	background: #e91e8c;
	color: #fff;
	border-color: #e91e8c;
	font-weight: 700;
}
#jm-public-landing .jm-pl-btn--enroll:hover {
	background: #d0187d;
}

#jm-public-landing .jm-pl-star {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 3;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: rgba(255,255,255,0.94);
	color: #c4b8c4;
	cursor: pointer;
	font-size: 18px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
#jm-public-landing .jm-pl-star.is-on { color: #e91e8c; }

.jm-pl-cm-bar {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(255,255,255,0.94);
	border-bottom: 1px solid #ece8ef;
	padding: 8px 12px;
	min-width: 0;
}
.jm-pl-cm-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 100%;
	min-width: 0;
	color: #e91e8c;
	font-weight: 700;
	text-decoration: none;
	font-size: 14px;
	line-height: 1;
}
.jm-pl-cm-arrow {
	flex-shrink: 0;
	font-size: 18px;
	line-height: 1;
}
.jm-pl-cm-logo {
	height: 28px;
	width: auto;
	max-width: 120px;
	display: block;
	flex-shrink: 1;
	object-fit: contain;
}
.jm-pl-cm-label {
	color: #e91e8c;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}
@media (max-width: 480px) {
	.jm-pl-cm-bar { padding: 7px 10px; }
	.jm-pl-cm-back { gap: 6px; font-size: 13px; }
	.jm-pl-cm-logo { height: 24px; max-width: 96px; }
	.jm-pl-cm-arrow { font-size: 16px; }
}

/* Velatura solo sul blocco testi — specificità alta per non essere sovrascritta da CSS globali */
#jm-public-landing .jm-pl-lp-content {
	padding: clamp(12px, 3vw, 18px) clamp(14px, 3vw, 22px);
	background-color: rgba(0, 0, 0, 0.45);
	border-radius: 8px;
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	color: #fff;
}

#jm-public-landing .jm-pl-lp-af-heading-wrap {
	margin: 0 0 10px 0;
}

#jm-public-landing .jm-pl-lp-af-heading {
	margin: 0;
	font-size: clamp(1.35rem, 4.2vw, 1.95rem);
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
	overflow-wrap: anywhere;
	word-break: break-word;
}

#jm-public-landing .jm-pl-lp-session-wrap {
	margin-bottom: 16px;
}

#jm-public-landing .jm-pl-lp-session {
	font-size: clamp(1.05rem, 2.8vw, 1.2rem);
	font-weight: 600;
	margin: 0;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.95);
	overflow-wrap: anywhere;
	word-break: break-word;
}

#jm-public-landing .jm-pl-hero-desc {
	font-size: clamp(0.95rem, 2.5vw, 1rem);
	line-height: 1.6;
	margin: 0 0 16px 0;
	white-space: pre-wrap;
	color: rgba(255, 255, 255, 0.95);
}

#jm-public-landing .jm-pl-hero-desc p {
	margin: 0 0 0.85em 0;
}

#jm-public-landing .jm-pl-hero-desc p:last-child {
	margin-bottom: 0;
}

#jm-public-landing .jm-pl-hero-desc a {
	color: #b8d4ff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

#jm-public-landing .jm-pl-lp-meta {
	margin-top: 12px;
}

#jm-public-landing .jm-pl-meta-line {
	margin: 0;
	font-size: clamp(0.8rem, 2.2vw, 0.875rem);
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.88);
}

#jm-public-landing .jm-pl-meta-line i {
	margin-right: 6px;
	opacity: 0.95;
}

/* Sezione moduli: come #modal-landingpage-classe .lp-desc-section (nessun margin negativo) */
#jm-public-landing .jm-pl-desc-section {
	position: relative;
	z-index: 0;
	isolation: isolate;
	overflow: visible;
	background: var(--lp-page-bg, #f8f9fa);
	color: var(--lp-page-fg, #212529);
	padding: clamp(20px, 5vw, 32px) 0 80px;
	flex: 1 0 auto;
	min-height: 40vh;
}

#jm-public-landing .jm-pl-page-decor,
#jm-public-landing .lp-page-decor {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

#jm-public-landing .jm-pl-page-decor::before,
#jm-public-landing .jm-pl-page-decor::after,
#jm-public-landing .lp-page-decor::before,
#jm-public-landing .lp-page-decor::after {
	content: "";
	position: absolute;
	pointer-events: none;
}

/* Stesso layout flex del modale: spacer 25% + colonna moduli allineata a .jm-pl-lp-content */
#jm-public-landing .jm-pl-desc-grid {
	position: relative;
	z-index: 1;
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 15px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 1.5rem;
	box-sizing: border-box;
}

#jm-public-landing .jm-pl-desc-card-spacer {
	flex: 0 0 auto;
	width: 100%;
	min-height: 1px;
}

#jm-public-landing .jm-pl-desc-section-inner {
	flex: 1;
	min-width: 0;
	width: 100%;
	max-width: 100%;
	padding: 0;
	box-sizing: border-box;
}

@media (min-width: 1200px) {
	#jm-public-landing .jm-pl-desc-card-spacer {
		width: 25%;
		flex: 0 0 25%;
	}
}

#jm-public-landing .jm-pl-main {
	width: 100%;
	min-width: 0;
}

@media (max-width: 1199px) {
	#jm-public-landing .jm-pl-desc-grid {
		flex-direction: column;
		flex-wrap: nowrap;
	}

	#jm-public-landing .jm-pl-desc-card-spacer {
		display: none;
	}

	#jm-public-landing .jm-pl-desc-section {
		overflow: visible;
		padding-top: 16px;
	}
}

@media (max-width: 576px) {
	#jm-public-landing .jm-pl-card-wrap {
		max-width: min(340px, 100%);
	}

	#jm-public-landing .jm-pl-lp-content {
		padding: 12px 14px;
	}

	#jm-public-landing .jm-pl-lp-session-wrap {
		margin-bottom: 10px;
	}

	#jm-public-landing .jm-pl-meta-line,
	#jm-public-landing .jm-pl-module__title,
	#jm-public-landing .jm-pl-module__content,
	#jm-public-landing .jm-pl-module .jampink-wp-module__content {
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	#jm-public-landing .jm-pl-ud-table,
	#jm-public-landing .jm-pl-cal-table {
		display: block;
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

/* Intro (descrizione corso) */
.jm-pl-intro {
	font-size: 1rem;
	line-height: 1.65;
	color: #343a40;
	margin-bottom: 1.5rem;
	padding: 0 2px;
}

.jm-pl-intro p {
	margin: 0 0 1em 0;
}

.jm-pl-intro p:last-child {
	margin-bottom: 0;
}

.jm-pl-intro strong,
.jm-pl-intro b {
	font-weight: 600;
	color: #212529;
}

.jm-pl-intro img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}

/* Moduli — stessi preset di join_landingpage_classe / WordPress */
.jm-pl-module.jampink-wp-module {
	margin: 1.75rem 0;
	padding: 0;
	border: none;
	background: transparent;
}

.jm-pl-module.jampink-wp-module:first-of-type {
	margin-top: 0.5rem;
}

.jm-pl-module.jampink-wp-module--highlight {
	background: linear-gradient(180deg, color-mix(in srgb, var(--lp-style-accent, #0d6efd) 22%, transparent) 0%, transparent 100%);
	border-left: 4px solid var(--lp-style-accent, #0d6efd);
	padding: 12px 16px 16px;
	border-radius: 6px;
}

.jm-pl-module.jampink-wp-module--card {
	background: #fff;
	border: 1px solid #dee2e6;
	border-radius: 8px;
	padding: 16px 18px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.jm-pl-module.jampink-wp-module--minimal {
	padding-bottom: 0.25rem;
}

.jm-pl-module.jampink-wp-module--minimal .jm-pl-module__title {
	font-weight: 600;
	font-size: 1.1rem;
}

.jm-pl-module.jampink-wp-module--ribbon {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 18px 18px 16px;
	box-shadow: inset 0 5px 0 0 var(--lp-style-accent, #7c3aed);
}

.jm-pl-module.jampink-wp-module--outline {
	background: transparent;
	border: 2px solid #334155;
	border-radius: 12px;
	padding: 16px 18px;
}

.jm-pl-module.jampink-wp-module--dark {
	background: #0f172a;
	color: #e8eef7;
	border-radius: 10px;
	padding: 16px 18px;
	color-scheme: dark;
}

.jm-pl-module.jampink-wp-module--dark .jm-pl-module__title,
.jm-pl-module.jampink-wp-module--dark .jampink-wp-module__title,
.jm-pl-module.jampink-wp-module--dark .jm-pl-ud-titolo {
	color: #ffffff;
}

.jm-pl-module.jampink-wp-module--dark .jm-pl-module__content,
.jm-pl-module.jampink-wp-module--dark .jampink-wp-module__content,
.jm-pl-module.jampink-wp-module--dark .jm-pl-module__content *:not(a):not(em):not(i):not(.lp-mark):not(.lp-mark-warm),
.jm-pl-module.jampink-wp-module--dark .jampink-wp-module__content *:not(a):not(em):not(i):not(.lp-mark):not(.lp-mark-warm) {
	color: #e8eef7 !important;
}

.jm-pl-module.jampink-wp-module--dark .jm-pl-module__content h1,
.jm-pl-module.jampink-wp-module--dark .jm-pl-module__content h2,
.jm-pl-module.jampink-wp-module--dark .jm-pl-module__content h3,
.jm-pl-module.jampink-wp-module--dark .jm-pl-module__content h4,
.jm-pl-module.jampink-wp-module--dark .jampink-wp-module__content h1,
.jm-pl-module.jampink-wp-module--dark .jampink-wp-module__content h2,
.jm-pl-module.jampink-wp-module--dark .jampink-wp-module__content h3,
.jm-pl-module.jampink-wp-module--dark .jampink-wp-module__content h4 {
	color: #ffffff !important;
}

.jm-pl-module.jampink-wp-module--dark .jm-pl-module__content a,
.jm-pl-module.jampink-wp-module--dark .jampink-wp-module__content a {
	color: #7dd3fc !important;
}

.jm-pl-module.jampink-wp-module--dark .jm-pl-module__content em,
.jm-pl-module.jampink-wp-module--dark .jm-pl-module__content i,
.jm-pl-module.jampink-wp-module--dark .jampink-wp-module__content em,
.jm-pl-module.jampink-wp-module--dark .jampink-wp-module__content i {
	color: #f9a8d4 !important;
}

.jm-pl-module.jampink-wp-module--dark .jm-pl-module__content strong,
.jm-pl-module.jampink-wp-module--dark .jm-pl-module__content b,
.jm-pl-module.jampink-wp-module--dark .jampink-wp-module__content strong,
.jm-pl-module.jampink-wp-module--dark .jampink-wp-module__content b {
	color: #ffffff !important;
}

.jm-pl-module.jampink-wp-module--dark .jm-pl-ud-meta,
.jm-pl-module.jampink-wp-module--dark .jm-pl-ud-sunto,
.jm-pl-module.jampink-wp-module--dark .jm-pl-docente__bio {
	color: #cbd5e1 !important;
}

/* Elenco unità, docenti e calendario: stesso fondo del modulo scuro (niente riquadro chiaro) */
.jm-pl-module.jampink-wp-module--dark .jm-pl-ud-list,
.jm-pl-module.jampink-wp-module--dark .jm-pl-docenti,
.jm-pl-module.jampink-wp-module--dark .jm-pl-ud-table,
.jm-pl-module.jampink-wp-module--dark .jm-pl-cal-table {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.12);
	color: #e8eef7;
}

.jm-pl-module.jampink-wp-module--dark .jm-pl-ud-item,
.jm-pl-module.jampink-wp-module--dark .jm-pl-docente-item {
	background: transparent;
	border-top-color: rgba(255, 255, 255, 0.12);
}

.jm-pl-module.jampink-wp-module--dark .jm-pl-docente__name {
	color: #ffffff;
}

.jm-pl-module.jampink-wp-module--dark .jm-pl-ud-table th,
.jm-pl-module.jampink-wp-module--dark .jm-pl-ud-table td,
.jm-pl-module.jampink-wp-module--dark .jm-pl-cal-table th,
.jm-pl-module.jampink-wp-module--dark .jm-pl-cal-table td {
	border-color: rgba(255, 255, 255, 0.12);
	color: #e8eef7;
}

.jm-pl-module.jampink-wp-module--dark .jm-pl-ud-table thead,
.jm-pl-module.jampink-wp-module--dark .jm-pl-cal-table thead {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
}

.jm-pl-module.jampink-wp-module--quote {
	padding: 8px 12px 16px 22px;
	border-left: 3px solid var(--lp-style-accent, #64748b);
	background: transparent;
}

.jm-pl-module.jampink-wp-module--quote .jm-pl-module__title,
.jm-pl-module.jampink-wp-module--quote .jampink-wp-module__title {
	font-weight: 600;
}

.jm-pl-module.jampink-wp-module--soft {
	background: color-mix(in srgb, var(--lp-style-accent, #e0b0d0) 14%, #fff);
	border: 1px solid color-mix(in srgb, var(--lp-style-accent, #e0b0d0) 45%, #fff);
	border-radius: 16px;
	padding: 16px 18px;
}

.jm-pl-module__title,
.jm-pl-module .jampink-wp-module__title {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 12px 0;
	line-height: 1.35;
	color: var(--lp-page-fg, #212529);
}
.jm-pl-module.jampink-wp-module--card .jm-pl-module__title,
.jm-pl-module.jampink-wp-module--card .jampink-wp-module__title {
	color: #212529;
}

/* Contenuto HTML editor */
.jm-pl-module__content,
.jm-pl-module .jampink-wp-module__content {
	font-size: 1rem;
	line-height: 1.65;
	color: var(--lp-page-fg, #343a40);
}
.jm-pl-module.jampink-wp-module--card .jm-pl-module__content,
.jm-pl-module.jampink-wp-module--card .jampink-wp-module__content {
	color: #343a40;
}

.jm-pl-module__content p,
.jm-pl-module .jampink-wp-module__content p {
	margin: 0 0 0.7rem 0 !important;
}
.jm-pl-module__content,
.jm-pl-module .jampink-wp-module__content {
	white-space: normal;
}
.jm-pl-module__content h3,
.jm-pl-module__content h4,
.jm-pl-module .jampink-wp-module__content h3,
.jm-pl-module .jampink-wp-module__content h4 {
	margin: 1rem 0 0.25rem !important;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.3;
}
.jm-pl-module__content br,
.jm-pl-module .jampink-wp-module__content br {
	display: none;
}
.jm-pl-module__content .lp-mark,
.jm-pl-module .jampink-wp-module__content .lp-mark {
	color: #0b5ed7;
	font-weight: 700;
}
.jm-pl-module__content .lp-mark-warm,
.jm-pl-module .jampink-wp-module__content .lp-mark-warm {
	color: #b45309;
	font-weight: 700;
}
.jm-pl-module.jampink-wp-module--dark .lp-mark {
	color: #7dd3fc !important;
}
.jm-pl-module.jampink-wp-module--dark .lp-mark-warm {
	color: #fdba74 !important;
}

.jm-pl-module__content p:last-child,
.jm-pl-module .jampink-wp-module__content p:last-child {
	margin-bottom: 0;
}

.jm-pl-module__content ul,
.jm-pl-module__content ol,
.jm-pl-module .jampink-wp-module__content ul,
.jm-pl-module .jampink-wp-module__content ol {
	margin: 0.5em 0 1em 0;
	padding-left: 1.35em;
}

.jm-pl-module__content li,
.jm-pl-module .jampink-wp-module__content li {
	margin-bottom: 0.35em;
}

.jm-pl-module__content h2,
.jm-pl-module__content h3,
.jm-pl-module__content h4,
.jm-pl-module .jampink-wp-module__content h2,
.jm-pl-module .jampink-wp-module__content h3,
.jm-pl-module .jampink-wp-module__content h4 {
	margin: 1.15em 0 0.5em 0;
	font-weight: 600;
	line-height: 1.35;
	color: #212529;
}

.jm-pl-module__content h2:first-child,
.jm-pl-module .jampink-wp-module__content h2:first-child {
	margin-top: 0;
}

.jm-pl-module__content img,
.jm-pl-module .jampink-wp-module__content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}
.jm-pl-module__content::after,
.jm-pl-module .jampink-wp-module__content::after {
	content: '';
	display: table;
	clear: both;
}
.jm-pl-module__content .lp-mod-img--logo,
.jm-pl-module__content .lp-mod-logos img {
	max-height: 72px;
	width: auto;
	max-width: 180px;
	object-fit: contain;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
}
.jm-pl-module__content .lp-mod-logos {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	justify-content: center;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 22px;
	align-items: center;
	margin: 0.75rem 0 1.1rem;
}
.jm-pl-module__content .lp-mod-logos[data-lp-pos="sopra"],
.jm-pl-module__content > .lp-mod-logos:first-child { margin-top: 0; }
.jm-pl-module__content .lp-mod-logos[data-lp-pos="sotto"],
.jm-pl-module__content > .lp-mod-logos:last-child { margin-bottom: 0; }
.jm-pl-module__content > p,
.jm-pl-module .jampink-wp-module__content > p,
.jm-pl-module__content .lp-mod-media ~ p,
.jm-pl-module__content .lp-mod-media ~ h2,
.jm-pl-module__content .lp-mod-media ~ h3,
.jm-pl-module__content .lp-mod-media ~ ul,
.jm-pl-module__content .lp-mod-media ~ ol {
	width: 100%;
	max-width: 100%;
	clear: both;
	box-sizing: border-box;
}
.jm-pl-module__content .lp-mod-media {
	display: flex;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	gap: 1.15rem;
	align-items: flex-start;
	flex-wrap: nowrap;
	margin: 0.75rem 0 1.1rem;
}
.jm-pl-module__content .lp-mod-media--right {
	flex-direction: row-reverse;
}
.jm-pl-module__content .lp-mod-media__img {
	flex: 0 0 auto;
	width: max-content;
	max-width: 46%;
	min-width: 0;
	align-self: flex-start;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 16px;
}
.jm-pl-module__content .lp-mod-media--right .lp-mod-media__img {
	margin-left: auto;
	margin-right: 0;
	align-items: flex-end;
}
.jm-pl-module__content .lp-mod-media__img img {
	width: auto !important;
	max-width: 180px !important;
	height: auto !important;
	object-fit: contain;
	display: block;
	margin: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}
.jm-pl-module__content .lp-mod-media--right .lp-mod-media__img img {
	margin-left: auto;
	margin-right: 0;
}
.jm-pl-module__content .lp-mod-media__img .lp-logo-item,
.jm-pl-module__content .lp-mod-media__img figure,
.jm-pl-module__content .lp-mod-media__img .lp-mod-figure {
	margin: 0;
	max-width: 220px;
	width: max-content;
	flex: 0 0 auto;
}
.jm-pl-module__content .lp-mod-media--right .lp-mod-media__img .lp-logo-item,
.jm-pl-module__content .lp-mod-media--right .lp-mod-media__img figure,
.jm-pl-module__content .lp-mod-media--right .lp-mod-media__img .lp-mod-figure {
	margin-left: auto;
	margin-right: 0;
	text-align: right;
}
.jm-pl-module__content .lp-mod-media__txt {
	flex: 1 1 auto;
	min-width: 0;
}
.jm-pl-module__content .lp-img-size-s { max-width: min(100%, 96px) !important; max-height: 40px !important; }
.jm-pl-module__content .lp-img-size-m { max-width: min(100%, 180px) !important; max-height: 72px !important; }
.jm-pl-module__content .lp-img-size-l { max-width: min(100%, 280px) !important; max-height: 120px !important; }
.jm-pl-module__content .lp-img-box-s,
.jm-pl-module__content .lp-img-box-m,
.jm-pl-module__content .lp-img-box-l { max-width: 100%; min-width: 0; }
.jm-pl-module__content .lp-img-grid {
	display: grid !important;
	gap: 14px 16px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	justify-content: center;
	align-items: center;
	justify-items: center;
}
.jm-pl-module__content .lp-img-grid > * { min-width: 0; max-width: 100%; }
.jm-pl-module__content .lp-img-grid img { max-width: 100% !important; height: auto !important; }
.jm-pl-module__content .lp-mod-media--right .lp-img-grid,
.jm-pl-module__content .lp-mod-media[data-lp-pos="destra"] .lp-img-grid { justify-content: end; justify-items: end; margin-left: auto; margin-right: 0; }
.jm-pl-module__content .lp-mod-media[data-lp-pos="sinistra"] .lp-img-grid { justify-content: start; justify-items: start; margin-left: 0; margin-right: auto; }
.jm-pl-module__content .lp-img-grid--riga-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jm-pl-module__content .lp-img-grid--riga-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jm-pl-module__content .lp-img-grid--riga-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.jm-pl-module__content .lp-img-grid--riga-all { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
.jm-pl-module__content .lp-img-grid--colonna-all { grid-template-columns: minmax(0, max-content); width: max-content; max-width: 100%; }
.jm-pl-module__content .lp-img-grid--colonna-2 { grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: minmax(0, 1fr); }
.jm-pl-module__content .lp-img-grid--colonna-3 { grid-auto-flow: column; grid-template-rows: repeat(3, auto); grid-auto-columns: minmax(0, 1fr); }
.jm-pl-module__content .lp-img-grid--colonna-4 { grid-auto-flow: column; grid-template-rows: repeat(4, auto); grid-auto-columns: minmax(0, 1fr); }
.jm-pl-module__content .lp-mod-media__img.lp-img-grid { max-width: 100%; }
.jm-pl-module__content .lp-logo-item {
	text-align: center;
	max-width: 220px;
}
.jm-pl-module__content .lp-logo-item p,
.jm-pl-module__content .lp-mod-media__img p,
.jm-pl-module__content .lp-mod-media__img figcaption,
.jm-pl-module__content .lp-mod-float p,
.jm-pl-module__content .lp-mod-float figcaption,
.jm-pl-module__content .lp-mod-logos p,
.jm-pl-module__content .lp-mod-logos figcaption {
	font-size: 0.68rem !important;
	font-weight: 400;
	line-height: 1.25;
	color: #64748b;
	text-align: center;
	margin: 0.2em 0 0;
	max-width: 11.5rem;
}
.jm-pl-module__content .lp-mod-float {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: max-content;
	max-width: 46%;
}
.jm-pl-module__content .lp-mod-float--right {
	float: right;
	clear: right;
	align-items: flex-end;
	margin: 0.2rem 0 0.85em 1.75em;
}
.jm-pl-module__content .lp-mod-float--left {
	float: left;
	clear: left;
	align-items: flex-start;
	margin: 0.2rem 1.75em 0.85em 0;
}
.jm-pl-module__content .lp-mod-float img {
	width: auto !important;
	max-width: 180px;
	height: auto !important;
	object-fit: contain;
	display: block;
	margin: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}
.jm-pl-module__content .lp-mod-float--right img,
.jm-pl-module__content .lp-mod-float--right .lp-logo-item,
.jm-pl-module__content .lp-mod-float--right figure {
	margin-left: auto;
	margin-right: 0;
}
.jm-pl-module__content .lp-mod-float ~ p {
	clear: both;
	width: 100%;
	max-width: 100%;
}
.jm-pl-module__content .lp-mod-img--float-left {
	float: left;
	margin: 0.2rem 1.75em 0.85em 0;
	max-width: min(42%, 280px);
}
.jm-pl-module__content .lp-mod-img--float-right {
	float: right;
	margin: 0.2rem 0 0.85em 1.75em;
	max-width: min(42%, 280px);
}
.jm-pl-module__content .lp-mod-figure {
	margin: 1em 0;
}
.jm-pl-module__content .lp-mod-figure figcaption,
.jm-pl-module__content figcaption {
	font-size: 0.68rem !important;
	font-weight: 400;
	line-height: 1.25;
	color: #64748b;
	text-align: center;
	margin: 0.2em 0 0;
	max-width: 11.5rem;
}
@media (max-width: 640px) {
	.jm-pl-module__content .lp-mod-media,
	.jm-pl-module__content .lp-mod-media--right {
		flex-direction: column;
	}
	.jm-pl-module__content .lp-mod-media__img {
		width: max-content;
		max-width: 100%;
		flex: 0 0 auto;
		flex-basis: auto;
		align-self: flex-start;
	}
	.jm-pl-module__content .lp-mod-float,
	.jm-pl-module__content .lp-mod-float--right,
	.jm-pl-module__content .lp-mod-float--left,
	.jm-pl-module__content .lp-mod-img--float-left,
	.jm-pl-module__content .lp-mod-img--float-right {
		float: none;
		margin: 0 0 0.8em 0;
		max-width: 100%;
	}
	.jm-pl-module__content .lp-img-grid--riga-3,
	.jm-pl-module__content .lp-img-grid--riga-4,
	.jm-pl-module__content .lp-img-grid--riga-all {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-flow: row;
	}
}

.jm-pl-module__content a,
.jm-pl-module .jampink-wp-module__content a {
	color: #0d6efd;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.jm-pl-module__content a:hover,
.jm-pl-module .jampink-wp-module__content a:hover {
	color: #0a58ca;
}

/* Docenti — come .lp-docenti-list */
.jm-pl-module__docenti {
	margin-top: 10px;
}

.jm-pl-docenti {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	border: 1px solid #dee2e6;
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
}

.jm-pl-docente-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 16px;
	border-top: 1px solid #dee2e6;
	background: #f8f9fa;
}

.jm-pl-docente-item:first-child {
	border-top: none;
}

.jm-pl-docente__photo {
	position: relative;
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid #e0b0d0;
}

.jm-pl-docente__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.jm-pl-docente-info {
	flex: 1;
	min-width: 0;
}

.jm-pl-docente__name {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
	color: #212529;
}

.jm-pl-docente__bio {
	font-size: 0.875rem;
	line-height: 1.5;
	color: #6c757d;
	margin-top: 6px;
}

/* Elenco unità didattiche (titolo + durata + sunto) */
.jm-pl-ud-list {
	list-style: none;
	margin: 8px 0 0 0;
	padding: 0;
	border: 1px solid #dee2e6;
	border-radius: 4px;
	overflow: hidden;
	background: #f8f9fa;
}

.jm-pl-ud-item {
	padding: 12px 16px;
	background: #f8f9fa;
	border-top: 1px solid #dee2e6;
}

.jm-pl-ud-item:first-child {
	border-top: none;
}

.jm-pl-ud-titolo {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
	color: #212529;
	margin-bottom: 4px;
}

.jm-pl-ud-meta {
	font-size: 0.875rem;
	color: #6c757d;
}

.jm-pl-ud-durata {
	font-weight: 500;
}

.jm-pl-ud-sunto {
	font-size: 0.85rem;
	line-height: 1.45;
	color: #6c757d;
	margin: 6px 0 0 0;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	max-height: calc(1.45em * 3);
}

/* Tabelle unità / calendario (calendario resta tabellare) */
.jm-pl-ud-table,
.jm-pl-cal-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
	background: #fff;
	border: 1px solid #dee2e6;
	border-radius: 4px;
	overflow: hidden;
	margin-top: 8px;
}

.jm-pl-ud-table th,
.jm-pl-ud-table td,
.jm-pl-cal-table th,
.jm-pl-cal-table td {
	border: 1px solid #dee2e6;
	padding: 10px 12px;
	text-align: left;
}

.jm-pl-ud-table thead,
.jm-pl-cal-table thead {
	background: #e9ecef;
	font-weight: 600;
}

.jm-pl-module__attestato,
.jm-pl-module__crediti {
	margin: 0.5em 0 0 0;
	font-size: 1rem;
	line-height: 1.55;
}

.jm-pl-empty {
	opacity: 0.85;
	margin-top: 1rem;
	padding: 12px;
	background: #fff3cd;
	border: 1px solid #ffc107;
	border-radius: 6px;
	color: #664d03;
}

/* Decorazioni (stessi stili dell'editor; inlined qui cos� la Community non dipende da common/landing_page_decor.css) */

/**
 * Decorazioni CSS corpo landing pubblica.
 * L'editor le ha anche inline in join_landingpage_classe.html (AJAX: un <link> esterno non si carica).
 * Richiede .lp-page-is-dark sull'antenato per le varianti scure.
 */
.lp-page-decor--none { display: none; }

.lp-page-decor--stars {
	background-image:
		radial-gradient(1.4px 1.4px at 8% 18%, var(--lp-decor-dot) 50%, transparent 51%),
		radial-gradient(1.2px 1.2px at 22% 42%, var(--lp-decor-dot) 50%, transparent 51%),
		radial-gradient(2px 2px at 36% 12%, var(--lp-decor-dot) 50%, transparent 51%),
		radial-gradient(1.2px 1.2px at 48% 68%, var(--lp-decor-dot) 50%, transparent 51%),
		radial-gradient(1.6px 1.6px at 62% 28%, var(--lp-decor-dot) 50%, transparent 51%),
		radial-gradient(1.2px 1.2px at 74% 78%, var(--lp-decor-dot) 50%, transparent 51%),
		radial-gradient(2.2px 2.2px at 86% 16%, var(--lp-decor-dot) 50%, transparent 51%),
		radial-gradient(1.2px 1.2px at 12% 82%, var(--lp-decor-dot) 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 94% 54%, var(--lp-decor-dot) 50%, transparent 51%),
		radial-gradient(1.2px 1.2px at 40% 90%, var(--lp-decor-dot) 50%, transparent 51%);
}
.lp-page-decor--stars::after {
	inset: 0;
	background-image:
		radial-gradient(1.2px 1.2px at 18% 30%, var(--lp-decor-dot) 50%, transparent 51%),
		radial-gradient(1.8px 1.8px at 55% 22%, var(--lp-decor-dot) 50%, transparent 51%),
		radial-gradient(1.2px 1.2px at 70% 60%, var(--lp-decor-dot) 50%, transparent 51%),
		radial-gradient(1.4px 1.4px at 28% 58%, var(--lp-decor-dot) 50%, transparent 51%);
	opacity: 0.55;
	animation: lpDecorTwinkle 5.5s ease-in-out infinite;
}
@keyframes lpDecorTwinkle { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.85; } }

.lp-page-decor--glow::before {
	width: 62vw; height: 62vw; left: -20%; top: -16%; border-radius: 50%;
	background: radial-gradient(circle, var(--lp-decor-glow-a), transparent 68%);
}
.lp-page-decor--glow::after {
	width: 54vw; height: 54vw; right: -16%; bottom: -10%; border-radius: 50%;
	background: radial-gradient(circle, var(--lp-decor-glow-b), transparent 68%);
}

.lp-page-decor--rings::before {
	width: 70vmin; height: 70vmin; right: -12%; top: 8%; border-radius: 50%;
	border: 2px solid var(--lp-decor-line);
	box-shadow: 0 0 0 28px var(--lp-decor-line), 0 0 0 56px var(--lp-decor-line);
	opacity: 0.7;
}
.lp-page-decor--rings::after {
	width: 36vmin; height: 36vmin; left: 4%; bottom: 8%; border-radius: 50%;
	border: 2px solid var(--lp-decor-line); opacity: 0.5;
}

.lp-page-decor--aurora {
	background:
		linear-gradient(118deg, transparent 0%, var(--lp-decor-glow-a) 16%, transparent 34%),
		linear-gradient(158deg, transparent 38%, var(--lp-decor-glow-b) 56%, transparent 76%),
		linear-gradient(200deg, transparent 8%, var(--lp-decor-glow-c) 26%, transparent 46%);
}

.lp-page-decor--mesh {
	background-image:
		linear-gradient(var(--lp-decor-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--lp-decor-line) 1px, transparent 1px);
	background-size: 48px 48px;
}

.lp-page-decor--dots {
	background-image: radial-gradient(var(--lp-decor-dot) 1.4px, transparent 1.5px);
	background-size: 22px 22px;
}

.lp-page-decor--waves {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='180' viewBox='0 0 800 180'%3E%3Cpath d='M0 90 Q 200 30 400 90 T 800 90' fill='none' stroke='rgba(255,255,255,0.28)' stroke-width='1.6'/%3E%3Cpath d='M0 120 Q 200 70 400 120 T 800 120' fill='none' stroke='rgba(255,255,255,0.16)' stroke-width='1.2'/%3E%3C/svg%3E");
	background-size: 800px 180px;
}
body.jm-pl-body:not(.lp-page-is-dark) .lp-page-decor--waves {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='180' viewBox='0 0 800 180'%3E%3Cpath d='M0 90 Q 200 30 400 90 T 800 90' fill='none' stroke='rgba(15,23,42,0.18)' stroke-width='1.6'/%3E%3Cpath d='M0 120 Q 200 70 400 120 T 800 120' fill='none' stroke='rgba(15,23,42,0.10)' stroke-width='1.2'/%3E%3C/svg%3E");
}

.lp-page-decor--nebula {
	background:
		radial-gradient(ellipse 58% 48% at 10% 28%, var(--lp-decor-glow-a), transparent 70%),
		radial-gradient(ellipse 52% 42% at 90% 78%, var(--lp-decor-glow-b), transparent 70%),
		radial-gradient(ellipse 40% 36% at 72% 18%, var(--lp-decor-glow-c), transparent 68%);
}

.lp-page-decor--cosmos {
	background-image:
		radial-gradient(1.4px 1.4px at 8% 18%, var(--lp-decor-dot) 50%, transparent 51%),
		radial-gradient(1.2px 1.2px at 22% 42%, var(--lp-decor-dot) 50%, transparent 51%),
		radial-gradient(2px 2px at 36% 12%, var(--lp-decor-dot) 50%, transparent 51%),
		radial-gradient(1.2px 1.2px at 74% 78%, var(--lp-decor-dot) 50%, transparent 51%),
		radial-gradient(2px 2px at 86% 16%, var(--lp-decor-dot) 50%, transparent 51%),
		radial-gradient(1.2px 1.2px at 12% 82%, var(--lp-decor-dot) 50%, transparent 51%),
		radial-gradient(32vw 24vw at 10% 78%, var(--lp-decor-glow-a), transparent 70%),
		radial-gradient(28vw 22vw at 90% 16%, var(--lp-decor-glow-b), transparent 72%);
}

.lp-page-decor--orbit::before {
	width: 78vmin; height: 42vmin; right: -16%; top: 12%;
	border: 2px solid var(--lp-decor-line); border-radius: 50%;
	transform: rotate(-18deg); opacity: 0.85;
}
.lp-page-decor--orbit::after {
	width: 52vmin; height: 26vmin; left: -8%; bottom: 14%;
	border: 2px solid var(--lp-decor-line); border-radius: 50%;
	transform: rotate(22deg); opacity: 0.6;
	box-shadow: 0 0 0 18px var(--lp-decor-line);
}

.lp-page-decor--meteor {
	background-image:
		linear-gradient(122deg, transparent 0 7%, var(--lp-decor-line) 7.3%, transparent 8.2%),
		linear-gradient(122deg, transparent 0 26%, var(--lp-decor-dot) 26.2%, transparent 27.4%),
		linear-gradient(122deg, transparent 0 45%, var(--lp-decor-line) 45.3%, transparent 46.2%),
		linear-gradient(122deg, transparent 0 67%, var(--lp-decor-dot) 67.2%, transparent 68.3%),
		linear-gradient(122deg, transparent 0 83%, var(--lp-decor-line) 83.3%, transparent 84.1%);
}

.lp-page-decor--flare::before {
	left: -10%; top: -20%; width: 70vw; height: 70vw;
	background: repeating-conic-gradient(from 0deg, var(--lp-decor-glow-a) 0 6deg, transparent 6deg 18deg);
	opacity: 0.42; border-radius: 50%;
}
.lp-page-decor--flare::after {
	right: -8%; bottom: -18%; width: 42vw; height: 42vw; border-radius: 50%;
	background: radial-gradient(circle, var(--lp-decor-glow-a), transparent 68%);
}

.lp-page-decor--moon::before {
	width: 38vmin; height: 38vmin; right: 6%; top: 10%; border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, var(--lp-decor-glow-b), transparent 68%);
	box-shadow: inset -14px -8px 0 0 var(--lp-decor-line);
	opacity: 0.8;
}
.lp-page-decor--moon::after {
	width: 14vmin; height: 14vmin; left: 8%; bottom: 16%; border-radius: 50%;
	border: 2px solid var(--lp-decor-line); opacity: 0.55;
}

.lp-page-decor--planets::before {
	width: 18vmin; height: 18vmin; left: 6%; top: 18%; border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, var(--lp-decor-glow-a), transparent 70%);
	box-shadow: 42vw 28vh 0 -4vmin var(--lp-decor-glow-b), 8vw 52vh 0 -8vmin var(--lp-decor-glow-c);
}
.lp-page-decor--planets::after {
	width: 28vmin; height: 10vmin; right: 8%; top: 22%; border-radius: 50%;
	border: 2px solid var(--lp-decor-line); transform: rotate(-18deg); opacity: 0.6;
}

.lp-page-decor--dawn {
	background: linear-gradient(180deg, transparent 0%, transparent 52%, var(--lp-decor-glow-a) 78%, var(--lp-decor-glow-b) 100%);
}
.lp-page-decor--dawn::after {
	left: 8%; right: 8%; bottom: -18%; height: 46%;
	background: radial-gradient(ellipse at 50% 100%, var(--lp-decor-glow-a), transparent 70%);
}

.lp-page-decor--beam::before {
	left: -20%; top: -10%; width: 80vw; height: 80vw;
	background: conic-gradient(from 210deg at 20% 20%, transparent 0 8%, var(--lp-decor-glow-a) 10%, transparent 14%, var(--lp-decor-glow-b) 16%, transparent 22%);
	opacity: 0.75;
}
.lp-page-decor--beam::after {
	right: -15%; bottom: -15%; width: 50vw; height: 50vw;
	background: conic-gradient(from 40deg at 80% 80%, transparent 0 10%, var(--lp-decor-glow-c) 12%, transparent 18%);
	opacity: 0.55;
}

.lp-page-decor--hex {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cpath d='M14 0.8 L26.5 8 V24.5 L14 31.7 L1.5 24.5 V8 Z' fill='none' stroke='rgba(255,255,255,0.22)' stroke-width='1'/%3E%3C/svg%3E");
	background-size: 28px 49px;
}
body.jm-pl-body:not(.lp-page-is-dark) .lp-page-decor--hex {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cpath d='M14 0.8 L26.5 8 V24.5 L14 31.7 L1.5 24.5 V8 Z' fill='none' stroke='rgba(15,23,42,0.14)' stroke-width='1'/%3E%3C/svg%3E");
}

.lp-page-decor--circuit {
	background-image:
		linear-gradient(var(--lp-decor-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--lp-decor-line) 1px, transparent 1px),
		radial-gradient(var(--lp-decor-dot) 1.8px, transparent 1.9px);
	background-size: 72px 72px, 72px 72px, 72px 72px;
	background-position: 0 0, 0 0, 36px 36px;
}

.lp-page-decor--stripe {
	background-image: repeating-linear-gradient(-32deg, transparent 0 18px, var(--lp-decor-line) 18px 20px);
}

.lp-page-decor--lattice {
	background-image:
		linear-gradient(45deg, var(--lp-decor-line) 1.4px, transparent 1.4px),
		linear-gradient(-45deg, var(--lp-decor-line) 1.4px, transparent 1.4px);
	background-size: 36px 36px;
}

.lp-page-decor--ripple::before {
	width: 90vmin; height: 90vmin; left: 50%; top: 42%;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	border: 2px solid var(--lp-decor-line);
	box-shadow: 0 0 0 24px var(--lp-decor-line), 0 0 0 48px var(--lp-decor-line), 0 0 0 72px var(--lp-decor-line);
	opacity: 0.55;
}
.lp-page-decor--ripple::after {
	width: 12vmin; height: 12vmin; left: 50%; top: 42%;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: radial-gradient(circle, var(--lp-decor-glow-b), transparent 70%);
}

.lp-page-decor--sparkle {
	background-image:
		radial-gradient(2px 2px at 10% 20%, var(--lp-decor-dot) 50%, transparent 51%),
		radial-gradient(1px 8px at 10% 20%, var(--lp-decor-dot) 40%, transparent 41%),
		radial-gradient(8px 1px at 10% 20%, var(--lp-decor-dot) 40%, transparent 41%),
		radial-gradient(2px 2px at 78% 30%, var(--lp-decor-dot) 50%, transparent 51%),
		radial-gradient(1px 9px at 78% 30%, var(--lp-decor-dot) 40%, transparent 41%),
		radial-gradient(9px 1px at 78% 30%, var(--lp-decor-dot) 40%, transparent 41%),
		radial-gradient(1.6px 1.6px at 22% 72%, var(--lp-decor-dot) 50%, transparent 51%),
		radial-gradient(1px 7px at 22% 72%, var(--lp-decor-dot) 40%, transparent 41%),
		radial-gradient(7px 1px at 22% 72%, var(--lp-decor-dot) 40%, transparent 41%),
		radial-gradient(1.8px 1.8px at 90% 78%, var(--lp-decor-dot) 50%, transparent 51%),
		radial-gradient(1px 8px at 90% 78%, var(--lp-decor-dot) 40%, transparent 41%),
		radial-gradient(8px 1px at 90% 78%, var(--lp-decor-dot) 40%, transparent 41%);
}

.lp-page-decor--mist {
	background:
		radial-gradient(50% 34% at 18% 78%, var(--lp-decor-glow-a), transparent 70%),
		radial-gradient(42% 28% at 82% 68%, var(--lp-decor-glow-b), transparent 70%),
		radial-gradient(62% 24% at 50% 100%, var(--lp-decor-glow-c), transparent 72%);
}

.lp-page-decor--plus {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M13 6h2v16h-2zM6 13h16v2H6z' fill='rgba(255,255,255,0.28)'/%3E%3C/svg%3E");
	background-size: 28px 28px;
}
body.jm-pl-body:not(.lp-page-is-dark) .lp-page-decor--plus {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M13 6h2v16h-2zM6 13h16v2H6z' fill='rgba(15,23,42,0.16)'/%3E%3C/svg%3E");
}

.lp-page-decor--rain::before {
	inset: -10% -8%;
	background-image: repeating-linear-gradient(168deg, var(--lp-decor-dot) 0 10px, transparent 10px 28px);
	background-size: 22px 40px;
	opacity: 0.45;
}

.lp-page-decor--arch::before {
	width: 90vmin; height: 90vmin; left: -48%; bottom: -35%;
	border-radius: 50%;
	border: 2px solid var(--lp-decor-line);
	box-shadow: 0 0 0 22px var(--lp-decor-line);
	opacity: 0.55;
}
.lp-page-decor--arch::after {
	width: 70vmin; height: 70vmin; right: -38%; top: -28%;
	border-radius: 50%;
	border: 2px solid var(--lp-decor-line);
	opacity: 0.45;
}

.lp-page-decor--prism {
	background:
		linear-gradient(105deg, transparent 6%, rgba(239,68,68,0.22) 10%, transparent 14%),
		linear-gradient(105deg, transparent 18%, rgba(251,146,60,0.22) 22%, transparent 26%),
		linear-gradient(105deg, transparent 30%, rgba(250,204,21,0.20) 34%, transparent 38%),
		linear-gradient(105deg, transparent 68%, rgba(56,189,248,0.22) 72%, transparent 76%),
		linear-gradient(105deg, transparent 80%, rgba(167,139,250,0.22) 84%, transparent 88%);
}

.lp-page-decor--chevron {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='24' viewBox='0 0 40 24'%3E%3Cpath d='M0 18 L20 6 L40 18' fill='none' stroke='rgba(255,255,255,0.24)' stroke-width='1.4'/%3E%3C/svg%3E");
	background-size: 40px 24px;
}
body.jm-pl-body:not(.lp-page-is-dark) .lp-page-decor--chevron {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='24' viewBox='0 0 40 24'%3E%3Cpath d='M0 18 L20 6 L40 18' fill='none' stroke='rgba(15,23,42,0.14)' stroke-width='1.4'/%3E%3C/svg%3E");
}

.lp-page-decor--frost {
	background-image:
		linear-gradient(30deg, transparent 38%, var(--lp-decor-line) 39.5%, transparent 41%),
		linear-gradient(150deg, transparent 53%, var(--lp-decor-line) 54.5%, transparent 56%),
		linear-gradient(90deg, transparent 18%, var(--lp-decor-line) 19.5%, transparent 21%),
		radial-gradient(18px 18px at 18% 24%, var(--lp-decor-glow-b), transparent 70%),
		radial-gradient(22px 22px at 82% 70%, var(--lp-decor-glow-c), transparent 70%);
}

@media (prefers-reduced-motion: reduce) {
	.lp-page-decor--stars::after { animation: none; }
}

