/* Widget Service 3.x — shared, dependency-light foundation. */
:where(.wsx-section) {
	--wsx-primary: var(--e-global-color-primary,#2563eb);
	--wsx-accent: var(--e-global-color-accent,#f59e0b);
	--wsx-text: var(--e-global-color-text,#1f2937);
	--wsx-muted: color-mix(in srgb,var(--wsx-text) 68%,transparent);
	--wsx-bg: transparent;
	--wsx-soft: color-mix(in srgb,var(--wsx-primary) 7%,transparent);
	--wsx-border: color-mix(in srgb,var(--wsx-primary) 18%,transparent);
	--wsx-gap: 28px;
	position: relative;
	box-sizing: border-box;
	width: 100%;
	background: var(--wsx-bg);
	color: var(--wsx-text);
	isolation: isolate;
}

.wsx-section *, .wsx-section *::before, .wsx-section *::after { box-sizing: border-box; }
.wsx-section img, .wsx-section video, .wsx-section iframe { max-width: 100%; }
.wsx-container { width: 100%; max-width: 1200px; margin-inline: auto; }
.wsx-eyebrow { margin: 0 0 10px; color: var(--wsx-primary); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.wsx-heading { margin: 0; color: var(--wsx-text); font-size: clamp(28px, 4vw, 48px); line-height: 1.2; }
.wsx-subtitle { margin: 12px 0 0; color: var(--wsx-muted); font-size: clamp(16px, 2vw, 20px); line-height: 1.75; }
.wsx-description { margin: 16px 0 0; color: var(--wsx-muted); line-height: 1.85; }
.wsx-description > :first-child { margin-top: 0; }
.wsx-description > :last-child { margin-bottom: 0; }
.wsx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.wsx-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border: 1px solid transparent; border-radius: 12px; background: var(--wsx-primary); color: #fff; text-decoration: none; font-weight: 700; line-height: 1.2; transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
.wsx-button:hover, .wsx-button:focus-visible { background: var(--e-global-color-secondary,#111827); color: #fff; }
.wsx-button:focus-visible, .wsx-interactive:focus-visible { outline: 3px solid #e6bd65; outline-color: color-mix(in srgb, var(--wsx-accent) 70%, #fff); outline-offset: 3px; }
.wsx-button-icon { display: inline-flex; align-items: center; justify-content: center; }
.wsx-button-icon :where(svg, i) { width: 1em; height: 1em; }
.wsx-grid { display: grid; gap: var(--wsx-gap); }
.wsx-card { min-width: 0; border: 1px solid var(--wsx-border); border-radius: 18px; background: #fff; padding: 24px; }
.wsx-card-icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 14px; background: rgba(31,41,55,.06); background: color-mix(in srgb, var(--wsx-primary) 12%, #fff); color: var(--wsx-primary); font-size: 22px; }
.wsx-card-icon :where(svg, i), .wsx-card-icon svg * { width: 1em; height: 1em; color: inherit; fill: currentColor; }
.wsx-card-title { margin: 16px 0 0; font-size: 20px; line-height: 1.4; color: var(--wsx-text); }
.wsx-card-text { margin: 10px 0 0; color: var(--wsx-muted); line-height: 1.75; }
.wsx-badge { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px 10px; border-radius: 999px; background: #fbf2dc; background: color-mix(in srgb, var(--wsx-accent) 16%, #fff); color: #795307; font-size: 12px; font-weight: 800; }
.wsx-list { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.wsx-list li { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.wsx-list-icon { display: inline-flex; flex: 0 0 auto; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 50%; background: var(--wsx-primary); color: #fff; font-size: 12px; margin-top: 2px; }
.wsx-list-icon :where(svg, i), .wsx-list-icon svg * { width: 1em; height: 1em; color: inherit; fill: currentColor; }
.wsx-section-head { max-width: 760px; margin-bottom: 36px; }
.wsx-section-head.is-center { margin-inline: auto; text-align: center; }
.wsx-section-head.is-end { margin-inline-start: auto; text-align: end; }
.wsx-media-frame { position: relative; overflow: hidden; border-radius: 24px; background: var(--wsx-soft); }
.wsx-media-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wsx-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
[hidden] { display: none !important; }

/* Shared surface mode added to every Widget Service Elementor widget. The
   explicit class makes "Transparent" a real setting instead of relying on an
   empty color value (which would fall back to the widget's old white surface). */
.ws-surface-mode-transparent > .elementor-widget-container,
.ws-surface-mode-transparent :is(
	.wsx-section,
	.ws-header,
	.ws-hero,
	.ws-teacher-tabs,
	.ws-teachers-section,
	.ws-reviews,
	.ws-cta,
	.ws-posts,
	.ws-services,
	.ws-resources,
	.ws-service-hero,
	.ws-service-features,
	.ws-service-audience,
	.ws-service-steps,
	.ws-service-related,
	.ws-service-cta
) {
	--wsx-bg: transparent;
	background: transparent !important;
}

@media (max-width: 767px) {
	.wsx-section { --wsx-gap: 20px; }
	.wsx-actions { align-items: stretch; }
	.wsx-actions .wsx-button { flex: 1 1 100%; width: 100%; }
	.wsx-card { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	.wsx-section *, .wsx-section *::before, .wsx-section *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
