/* Smooth scroll writing reveal, without smoke, sparks, or decorative pulses. */
[data-coleg-writing] {
	transition: clip-path 1450ms cubic-bezier(0.34, 0.02, 0.17, 1);
	visibility: visible !important;
}

[data-coleg-writing="pending"] {
	clip-path: inset(0 100% 0 0);
}

[data-coleg-writing="active"],
[data-coleg-writing="done"] {
	clip-path: inset(0 0 0 0);
}

[data-coleg-writing="done"] {
	visibility: visible !important;
}

/* Page titles reuse the homepage's separate outline and white-fill layers. */
body:not(.home):not(.front-page) .col-page-title-effect {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr);
	position: relative;
	color: transparent;
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 0;
	clip-path: none !important;
	transition: none !important;
}

body:not(.home):not(.front-page) .col-page-title-outline,
body:not(.home):not(.front-page) .col-page-title-fill {
	display: block;
	grid-area: 1 / 1;
	min-width: 0;
	white-space: inherit;
}

body:not(.home):not(.front-page) .col-page-title-outline,
body:not(.home):not(.front-page) .col-page-title-outline * {
	color: transparent !important;
	-webkit-text-fill-color: transparent !important;
	-webkit-text-stroke: 1px rgba(255, 255, 255, 0.94) !important;
	background: none !important;
	text-shadow: none !important;
}

body:not(.home):not(.front-page) .col-page-title-outline {
	clip-path: inset(0 100% 0 0);
	transition: clip-path 1450ms cubic-bezier(0.34, 0.02, 0.17, 1);
}

body:not(.home):not(.front-page) .col-page-title-fill,
body:not(.home):not(.front-page) .col-page-title-fill * {
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	-webkit-text-stroke: 0 transparent !important;
	background: none !important;
	text-shadow: 0 0 20px rgba(166, 45, 214, 0.24), 0 1px 4px rgba(0, 0, 0, 0.42) !important;
}

body:not(.home):not(.front-page) .col-page-title-fill {
	position: relative;
	z-index: 1;
	clip-path: inset(0 100% 0 0);
	transition: clip-path 1450ms cubic-bezier(0.34, 0.02, 0.17, 1);
	pointer-events: none;
}

body:not(.home):not(.front-page) .col-page-title-effect[data-col-page-title-stage="outline"] .col-page-title-outline,
body:not(.home):not(.front-page) .col-page-title-effect[data-col-page-title-stage="fill"] .col-page-title-outline,
body:not(.home):not(.front-page) .col-page-title-effect[data-col-page-title-stage="fill"] .col-page-title-fill {
	clip-path: inset(0);
}

/* Swiper duplicates slides while looping. Never let a cloned post card inherit hidden text. */
.news-slider .news-box-items [data-coleg-writing] {
	clip-path: none !important;
	visibility: visible !important;
	transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
	[data-coleg-writing="pending"],
	[data-coleg-writing="active"],
	[data-coleg-writing="done"] {
		clip-path: none;
		transition: none;
	}

}
