/* Opt-in JDS presets style actual component roots in either Elementor DOM mode.
   Explicit editor declarations are generated against the same roots and win.
   A widget with no selected preset is untouched by this presentation layer. */
:where(:is(.jds-widget,.elementor-widget):is(.jaygah-preset-minimal,.jaygah-preset-cards,.jaygah-preset-featured,.jaygah-preset-outlined,.jaygah-preset-accent,.jaygah-preset-glass,.jaygah-preset-brand)){
 --jaygah-surface-text:var(--jds-color-text);--jaygah-surface-border:0;--jaygah-surface-backdrop:none;
}
:where(:is(.jds-widget,.elementor-widget).jaygah-preset-minimal){--jaygah-surface-bg:transparent;--jaygah-surface-padding:16px;--jaygah-surface-radius:var(--jds-radius-control);--jaygah-surface-shadow:none}
:where(:is(.jds-widget,.elementor-widget).jaygah-preset-cards){--jaygah-surface-bg:var(--jds-color-surface);--jaygah-surface-padding:clamp(16px,3vw,32px);--jaygah-surface-radius:var(--jds-radius-card);--jaygah-surface-shadow:var(--jds-shadow-card)}
:where(:is(.jds-widget,.elementor-widget).jaygah-preset-featured,:is(.jds-widget,.elementor-widget).jaygah-preset-brand){--jaygah-surface-bg:var(--jds-color-primary-soft);--jaygah-surface-padding:clamp(20px,4vw,40px);--jaygah-surface-radius:var(--jds-radius-feature);--jaygah-surface-shadow:none}
:where(:is(.jds-widget,.elementor-widget).jaygah-preset-outlined,:is(.jds-widget,.elementor-widget).jaygah-preset-accent){--jaygah-surface-bg:var(--jds-color-surface);--jaygah-surface-padding:24px;--jaygah-surface-radius:var(--jds-radius-card);--jaygah-surface-border:1px solid var(--jds-color-border);--jaygah-surface-shadow:none}
:where(:is(.jds-widget,.elementor-widget).jaygah-preset-brand){--jaygah-surface-border:2px solid var(--jds-color-primary);--jaygah-surface-radius:var(--jds-radius-card)}
:where(:is(.jds-widget,.elementor-widget).jaygah-preset-accent){--jaygah-surface-accent:4px solid var(--jds-color-primary)}
:where(:is(.jds-widget,.elementor-widget).jaygah-preset-glass){--jaygah-surface-bg:color-mix(in srgb,var(--jds-color-surface) 88%,transparent);--jaygah-surface-padding:24px;--jaygah-surface-radius:var(--jds-radius-card);--jaygah-surface-border:1px solid var(--jds-color-border);--jaygah-surface-backdrop:blur(12px);--jaygah-surface-shadow:var(--jds-shadow-sm)}
:is(.jds-widget,.elementor-widget):is(.jaygah-preset-minimal,.jaygah-preset-cards,.jaygah-preset-featured,.jaygah-preset-outlined,.jaygah-preset-accent,.jaygah-preset-glass,.jaygah-preset-brand) :is(.jaygah-reference-section,.jaygah-course-piece,.jaygah-filtered-products,.posts-section-shkrn,.customers-slider,.slider-image-shkrn,.header-shkrn,.classor-hero,.main-box-tile-posts-shkrn:not(.posts-section-shkrn *),.posts-wrapper-slider-shkrn:not(.posts-section-shkrn *),.jaygah-home-learning,.jaygah-learning-paths,.jaygah-student-stories,.jaygah-latest-articles,.banner,.jaygah-countdown,.steps-order,.search-el-jaygah,.sarfasl-box-jaygah,.jaygah-course-curriculum,.jaygah-media-widget,:not(.jaygah-filtered-products)>.archive-grid-posts-shkrn),
:is(.jds-widget,.elementor-widget):is(.jds-surface-wrapper,.elementor-widget-jaygah_custom_code):is(.jaygah-preset-minimal,.jaygah-preset-cards,.jaygah-preset-featured,.jaygah-preset-outlined,.jaygah-preset-accent,.jaygah-preset-glass,.jaygah-preset-brand)> .elementor-widget-container,
:is(.jds-widget,.elementor-widget):is(.jds-surface-wrapper,.elementor-widget-jaygah_custom_code):is(.jaygah-preset-minimal,.jaygah-preset-cards,.jaygah-preset-featured,.jaygah-preset-outlined,.jaygah-preset-accent,.jaygah-preset-glass,.jaygah-preset-brand):not(:has(>.elementor-widget-container)){
 background:var(--jaygah-surface-bg);color:var(--jaygah-surface-text);padding:var(--jaygah-surface-padding);border-radius:var(--jaygah-surface-radius);box-shadow:var(--jaygah-surface-shadow);border:var(--jaygah-surface-border);border-inline-start:var(--jaygah-surface-accent,var(--jaygah-surface-border));backdrop-filter:var(--jaygah-surface-backdrop);
}
:is(.jds-widget,.elementor-widget):not(:is(.jds-surface-wrapper,.elementor-widget-jaygah_custom_code)):is(.jaygah-preset-minimal,.jaygah-preset-cards,.jaygah-preset-featured,.jaygah-preset-outlined,.jaygah-preset-accent,.jaygah-preset-glass,.jaygah-preset-brand) :is(h2,h3,h4,p,li,blockquote,cite,dt,dd){color:var(--jaygah-surface-text)}
:is(.jds-widget,.elementor-widget):not(:is(.jds-surface-wrapper,.elementor-widget-jaygah_custom_code)):is(.jaygah-preset-minimal,.jaygah-preset-cards,.jaygah-preset-featured,.jaygah-preset-outlined,.jaygah-preset-accent,.jaygah-preset-glass,.jaygah-preset-brand)>.elementor-widget-container{background:none;border:0;border-radius:0;padding:0;box-shadow:none}
/* Preserve legacy layout defaults while allowing an opted-in preset to win. */
:is(.jds-widget,.elementor-widget):is(.jaygah-preset-minimal,.jaygah-preset-cards,.jaygah-preset-featured,.jaygah-preset-outlined,.jaygah-preset-accent,.jaygah-preset-glass,.jaygah-preset-brand) .posts-wrapper-slider-shkrn:not(.posts-section-shkrn *){padding:var(--jaygah-surface-padding)!important}

.elementor-widget-jaygah_lessons :is([data-jaygah-legacy-lesson]:focus-visible,input:focus-visible+label){outline:2px solid var(--jds-color-primary);outline-offset:3px}
