/*
 * ICON EXP for Elementor: front-end styles (small; loaded only on pages with an EXP widget,
 * or site-wide when the Slides pause button is on).
 */

/* Reserve space and keep EXP's late content from shifting the rest of the page (review M7). */
.icon-exp-embed { contain: layout; }
.icon-exp-embed--today[data-format="text"] { contain: none; min-height: 0 !important; }

/* ---- Events: Light theme ----
 * Cards: white card, dark-teal eyebrow (#046B61, 6.4:1 on white), no white wash over the poster.
 * Style > Colors on a widget still wins (Elementor writes it at higher specificity). */
.elementor-widget-icon-exp-events .icon-exp-embed.icon-exp-embed--light {
	--icon-events-card-bg: #ffffff;
	--icon-events-eyebrow-ink: #046B61;
	--icon-events-section-bg: transparent;
}
.elementor-widget-icon-exp-events .icon-exp-embed.icon-exp-embed--light.icon-events-layout-cards[data-theme="light"] .icon-events-media::after {
	display: none;
}

/* Whole section: with "Color the whole section" on, the Elementor container/section that directly
 * holds a Light Events widget turns light too, including its headings and text. The colour comes
 * from Site Settings > ICON EXP > "Light theme section background" (default white). */
.icon-exp-theme-is-light.icon-exp-paint-yes,
.e-con:has(> .icon-exp-theme-is-light.icon-exp-paint-yes),
.e-con:has(> .e-con-inner > .icon-exp-theme-is-light.icon-exp-paint-yes),
.elementor-section:has(> .elementor-container > .elementor-column > .elementor-widget-wrap > .icon-exp-theme-is-light.icon-exp-paint-yes) {
	background-color: var(--icon-exp-light-section-bg, #ffffff) !important;
	background-image: none !important;
	--icon-events-section-ink: var(--icon-exp-light-section-ink, #111111);
	color: var(--icon-exp-light-section-ink, #111111);
}
.e-con:has(> .icon-exp-theme-is-light.icon-exp-paint-yes) > .elementor-background-overlay,
.e-con:has(> .e-con-inner > .icon-exp-theme-is-light.icon-exp-paint-yes) > .elementor-background-overlay,
.elementor-section:has(> .elementor-container > .elementor-column > .elementor-widget-wrap > .icon-exp-theme-is-light.icon-exp-paint-yes) > .elementor-background-overlay {
	display: none;
}
.e-con:has(> .icon-exp-theme-is-light.icon-exp-paint-yes) .elementor-heading-title,
.e-con:has(> .e-con-inner > .icon-exp-theme-is-light.icon-exp-paint-yes) .elementor-heading-title,
.elementor-section:has(> .elementor-container > .elementor-column > .elementor-widget-wrap > .icon-exp-theme-is-light.icon-exp-paint-yes) .elementor-heading-title {
	color: var(--icon-exp-light-section-ink, #111111);
}

/* ---- Shop button ---- */
.icon-exp-shop-button--icon-right { flex-direction: row-reverse; }
.icon-exp-shop-button .elementor-button-content-wrapper { gap: .5em; }
.icon-exp-shop-button:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

/* ---- Pause/Play for Elementor Pro Slides (assets/js/slides-pause.js, WCAG 2.2.2) ---- */
.elementor-widget-slides .icon-exp-slides-pause {
	position: absolute; z-index: 5; left: 20px; bottom: 14px;
	width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.7); border-radius: 50%;
	background: rgba(0,0,0,.55); color: #fff; font-size: 12px; line-height: 1; cursor: pointer;
}
.elementor-widget-slides .icon-exp-slides-pause:hover { background: rgba(0,0,0,.8); }
.elementor-widget-slides .icon-exp-slides-pause:focus-visible { outline: 3px solid #FFC629; outline-offset: 3px; }
