/* Ensoul Diary Filter — descrizione categoria sopra ai filtri (diary + archivio) */

.ens-filter-desc {
	width: 100%;
	max-width: 46rem;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: var(--wp--preset--spacing--40, 1.75rem);
	text-align: center;
	/* Lascia respirare il reveal a riga (le righe salgono dentro la maschera). */
	overflow-wrap: break-word;
}

.ens-filter-desc__inner {
	font-size: var(--wp--preset--font-size--paragraph-base, 1.0625rem);
	line-height: 1.5;
	color: inherit;
}

.ens-filter-desc__inner p {
	margin: 0;
}

.ens-filter-desc__inner p + p {
	margin-top: 0.75em;
}

/* H1 categoria (solo sulle pagine archivio) */
.ens-filter-desc__title {
	margin: 0 0 0.5em;
	line-height: 1.1;
	font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.6rem);
	font-weight: 600;
}

/* Righe generate da SplitText (mask:'lines') */
.ens-fd-line {
	display: block;
}

/* Fallback CSS quando GSAP/SplitText non sono disponibili */
.ens-fd-css-in {
	animation: ensFdRise 0.7s ease both;
}

@keyframes ensFdRise {
	from { opacity: 0; transform: translateY(20px); }
	to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.ens-fd-css-in { animation: none; }
}
