/* Sanctoria Elements: shared tokens. Defaults follow the Sanctoria theme palette
   (and its dark mode), then Elementor Kit globals, then neutral fallbacks. */
.elementor-widget[class*="elementor-widget-sce-"] {
	--sce-text: var(--wp--preset--color--contrast, var(--e-global-color-text, #1d1f24));
	--sce-muted: var(--wp--preset--color--contrast-2, #4a4f5a);
	--sce-bg: var(--wp--preset--color--base, #fff);
	--sce-surface: var(--wp--preset--color--base-2, #f6f4ef);
	--sce-primary: var(--wp--preset--color--primary, var(--e-global-color-primary, #1b2a4a));
	--sce-on-primary: var(--wp--preset--color--base, #fff);
	--sce-secondary: var(--wp--preset--color--secondary, var(--e-global-color-secondary, #8c6a22));
	--sce-accent: var(--wp--preset--color--accent, var(--e-global-color-accent, #2f6fdb));
	--sce-line: var(--wp--preset--color--line, #e2e0da);
	--sce-radius: 12px;
	--sce-gap: 24px;
	--sce-columns: 3;
	--sce-ease: cubic-bezier(.2, .7, .2, 1);
	color: var(--sce-text);
}
.elementor-widget[class*="elementor-widget-sce-"] :where(h2, h3, h4, h5, h6, p) { margin-top: 0; }
.sce-button,
.elementor-widget[class*="elementor-widget-sce-"] .sce-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	padding: .8em 1.5em;
	border: 1px solid var(--sce-primary);
	border-radius: 999px;
	background: var(--sce-primary);
	color: var(--sce-on-primary);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.sce-button:hover,
.sce-button:focus-visible {
	background: transparent;
	color: var(--sce-primary);
}
.elementor-widget[class*="elementor-widget-sce-"] :focus-visible {
	outline: 2px solid var(--sce-accent);
	outline-offset: 2px;
}
.sce-empty { color: var(--sce-muted); }
.elementor-widget[class*="elementor-widget-sce-"] .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
.sce-stars {
	--sce-star: var(--sce-secondary);
	--sce-rating: 100%;
	display: inline-block;
	position: relative;
	font-size: 1rem;
	line-height: 1;
	letter-spacing: .15em;
}
.sce-stars::before { content: "★★★★★"; color: var(--sce-line); }
.sce-stars::after {
	content: "★★★★★";
	position: absolute;
	inset: 0 auto 0 0;
	width: var(--sce-rating);
	overflow: hidden;
	color: var(--sce-star);
	white-space: nowrap;
}
[dir="rtl"] .sce-stars::after { inset: 0 0 0 auto; }
@media (prefers-reduced-motion: reduce) {
	.elementor-widget[class*="elementor-widget-sce-"] *,
	.elementor-widget[class*="elementor-widget-sce-"] *::before,
	.elementor-widget[class*="elementor-widget-sce-"] *::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}
/* Editor-only placeholder while no license is active. */
.sce-locked {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 28px 20px;
	border: 1px dashed var(--sce-line);
	border-radius: var(--sce-radius);
	background: var(--sce-surface);
	color: var(--sce-text);
	text-align: center;
	font-size: 14px;
	line-height: 1.5;
}
.sce-locked__icon {
	width: 22px;
	height: 22px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='2'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='2'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sce-locked__text { color: var(--sce-muted); }
.sce-locked__link { color: var(--sce-primary); font-weight: 600; }
