/**
 * AnimationStudio
 * El widget anima su container. El contenedor, la sección y la columna
 * animan el div master que se ve en Elementor, no el e-con-inner.
 */

@media (prefers-reduced-motion: no-preference) {
	.elementor-element.as-behavior-enter,
	.elementor-element.as-behavior-hover {
		--as-duration: 700ms;
	}

	.elementor-element.as-behavior-enter.as-rhythm-fast,
	.elementor-element.as-behavior-hover.as-rhythm-fast {
		--as-duration: 400ms;
	}

	.elementor-element.as-behavior-enter.as-rhythm-slow,
	.elementor-element.as-behavior-hover.as-rhythm-slow {
		--as-duration: 1100ms;
	}

	html.as-js .elementor-widget.as-behavior-enter > .elementor-widget-container,
	html.as-js .elementor-widget.as-behavior-enter:not(:has(> .elementor-widget-container)) > :not(script):not(style),
	html.as-js .e-con.as-behavior-enter,
	html.as-js .elementor-section.as-behavior-enter,
	html.as-js .elementor-column.as-behavior-enter {
		animation-name: var(--as-name);
		animation-duration: var(--as-duration, 700ms);
		animation-delay: var(--as-delay, 0ms);
		animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
		animation-fill-mode: both;
		animation-play-state: paused;
	}

	html.as-js .elementor-widget.as-behavior-enter.as-in > .elementor-widget-container,
	html.as-js .elementor-widget.as-behavior-enter.as-in:not(:has(> .elementor-widget-container)) > :not(script):not(style),
	html.as-js .e-con.as-behavior-enter.as-in,
	html.as-js .elementor-section.as-behavior-enter.as-in,
	html.as-js .elementor-column.as-behavior-enter.as-in {
		animation-play-state: running;
	}

	.elementor-widget.as-behavior-hover:is(:hover, :focus-within) > .elementor-widget-container,
	.elementor-widget.as-behavior-hover:is(:hover, :focus-within):not(:has(> .elementor-widget-container)) > :not(script):not(style),
	.e-con.as-behavior-hover:is(:hover, :focus-within),
	.elementor-section.as-behavior-hover:is(:hover, :focus-within),
	.elementor-column.as-behavior-hover:is(:hover, :focus-within) {
		animation-name: var(--as-name);
		animation-duration: var(--as-duration, 700ms);
		animation-delay: var(--as-delay, 0ms);
		animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
		animation-fill-mode: both;
	}

	@supports (animation-timeline: view()) {
		.elementor-element.as-tl-named {
			view-timeline-name: --as-view;
			view-timeline-axis: block;
		}

		.elementor-widget.as-tl-target,
		.e-con.as-tl-target,
		.elementor-section.as-tl-target,
		.elementor-column.as-tl-target {
			view-timeline-name: none;
		}

		.elementor-widget:is(.as-tl-named, .as-tl-view, .as-tl-target) > .elementor-widget-container,
		.elementor-widget:is(.as-tl-named, .as-tl-view, .as-tl-target):not(:has(> .elementor-widget-container)) > :not(script):not(style),
		.e-con:is(.as-tl-named, .as-tl-view, .as-tl-target),
		.elementor-section:is(.as-tl-named, .as-tl-view, .as-tl-target),
		.elementor-column:is(.as-tl-named, .as-tl-view, .as-tl-target) {
			animation-name: var(--as-name);
			animation-duration: auto;
			animation-timing-function: linear;
			animation-fill-mode: both;
			animation-range: var(--as-range, exit 0% exit 100%);
		}

		.elementor-widget.as-tl-named > .elementor-widget-container,
		.elementor-widget.as-tl-named:not(:has(> .elementor-widget-container)) > :not(script):not(style),
		.e-con.as-tl-named,
		.elementor-section.as-tl-named,
		.elementor-column.as-tl-named {
			animation-timeline: --as-view;
		}

		.elementor-widget.as-tl-view > .elementor-widget-container,
		.elementor-widget.as-tl-view:not(:has(> .elementor-widget-container)) > :not(script):not(style),
		.e-con.as-tl-view,
		.elementor-section.as-tl-view,
		.elementor-column.as-tl-view {
			animation-timeline: view();
		}

		.elementor-widget.as-tl-view.as-range-middle > .elementor-widget-container,
		.elementor-widget.as-tl-view.as-range-middle:not(:has(> .elementor-widget-container)) > :not(script):not(style),
		.e-con.as-tl-view.as-range-middle,
		.elementor-section.as-tl-view.as-range-middle,
		.elementor-column.as-tl-view.as-range-middle {
			animation-timeline: view(50%);
		}
	}
}
