/* ==========================================================================
   Hover Effects  (Advanced tab -> Hover Effects)
   - PHP adds the class  stsb-hfx-<effect>  (and  stsb-hfx-t-parent  when the effect
     is triggered by the parent) and writes the settings as CSS variables:
       --stsb-hfx-distance --stsb-hfx-scale --stsb-hfx-angle --stsb-hfx-color
       --stsb-hfx-size --stsb-hfx-amount --stsb-hfx-duration --stsb-hfx-delay
       --stsb-hfx-ease
   - Every variable is optional: the fallbacks in this file ARE the defaults.
   - Only individual properties (translate / scale / rotate / filter / box-shadow)
     are used, never `transform`, so the builder's Transform keeps working.
     Exception: Tilt 3D (needs perspective) uses `transform`.
   - Active only for a real mouse (hover:hover + pointer:fine) and when the
     system does not ask for reduced motion.
   - Cursor effects (tilt, magnetic, spotlight) are driven by views/js/hover-fx.js,
     which only sets variables; all the visuals are here.

   DEFAULTS
     lift 8px | grow 1.06 | shrink .95 | rotate 4deg | float 6px / 1600ms
     pulse 1.06 / 1000ms | wobble 3deg / 700ms | glow 24px | brightness 115%
     gray<->color 100% | image zoom 1.1 / 600ms | sheen 700ms
     tilt 10deg, scale 1.03 | magnetic 14px | spotlight 320px
   ========================================================================== */

@property --stsb-hfx-distance{syntax:"*";inherits:false}
@property --stsb-hfx-scale{syntax:"*";inherits:false}
@property --stsb-hfx-angle{syntax:"*";inherits:false}
@property --stsb-hfx-color{syntax:"*";inherits:false}
@property --stsb-hfx-size{syntax:"*";inherits:false}
@property --stsb-hfx-amount{syntax:"*";inherits:false}
@property --stsb-hfx-duration{syntax:"*";inherits:false}
@property --stsb-hfx-delay{syntax:"*";inherits:false}
@property --stsb-hfx-ease{syntax:"*";inherits:false}

@keyframes stsb-hfx-float{50%{translate:0 calc(var(--stsb-hfx-distance,6px)*-1)}}
@keyframes stsb-hfx-pulse{50%{scale:var(--stsb-hfx-scale,1.06)}}
@keyframes stsb-hfx-wobble{
	15%{rotate:calc(var(--stsb-hfx-angle,3deg)*-1)}
	30%{rotate:var(--stsb-hfx-angle,3deg)}
	45%{rotate:calc(var(--stsb-hfx-angle,3deg)*-.6)}
	60%{rotate:calc(var(--stsb-hfx-angle,3deg)*.4)}
	75%{rotate:calc(var(--stsb-hfx-angle,3deg)*-.2)}
}

@media (hover:hover) and (pointer:fine){
@media (prefers-reduced-motion:no-preference){

.stsb-hfx-lift{transition:translate var(--stsb-hfx-duration,300ms) var(--stsb-hfx-ease,ease-out) var(--stsb-hfx-delay,0ms),box-shadow var(--stsb-hfx-duration,300ms) var(--stsb-hfx-ease,ease-out) var(--stsb-hfx-delay,0ms)}
.stsb-hfx-lift:not(.stsb-hfx-t-parent):hover,
:is(.e-con,.elementor-section,.elementor-column):hover > .stsb-hfx-lift.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .e-con-inner > .stsb-hfx-lift.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-container > .stsb-hfx-lift.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-container > .elementor-row > .stsb-hfx-lift.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-widget-wrap > .stsb-hfx-lift.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-column-wrap > .elementor-widget-wrap > .stsb-hfx-lift.stsb-hfx-t-parent{translate:0 calc(var(--stsb-hfx-distance,8px)*-1);box-shadow:0 calc(var(--stsb-hfx-distance,8px)*1.5) calc(var(--stsb-hfx-distance,8px)*3) var(--stsb-hfx-color,rgba(0,0,0,.18))}
.stsb-hfx-grow{transition:scale var(--stsb-hfx-duration,300ms) var(--stsb-hfx-ease,ease-out) var(--stsb-hfx-delay,0ms)}
.stsb-hfx-grow:not(.stsb-hfx-t-parent):hover,
:is(.e-con,.elementor-section,.elementor-column):hover > .stsb-hfx-grow.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .e-con-inner > .stsb-hfx-grow.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-container > .stsb-hfx-grow.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-container > .elementor-row > .stsb-hfx-grow.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-widget-wrap > .stsb-hfx-grow.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-column-wrap > .elementor-widget-wrap > .stsb-hfx-grow.stsb-hfx-t-parent{scale:var(--stsb-hfx-scale,1.06)}
.stsb-hfx-shrink{transition:scale var(--stsb-hfx-duration,300ms) var(--stsb-hfx-ease,ease-out) var(--stsb-hfx-delay,0ms)}
.stsb-hfx-shrink:not(.stsb-hfx-t-parent):hover,
:is(.e-con,.elementor-section,.elementor-column):hover > .stsb-hfx-shrink.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .e-con-inner > .stsb-hfx-shrink.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-container > .stsb-hfx-shrink.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-container > .elementor-row > .stsb-hfx-shrink.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-widget-wrap > .stsb-hfx-shrink.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-column-wrap > .elementor-widget-wrap > .stsb-hfx-shrink.stsb-hfx-t-parent{scale:var(--stsb-hfx-scale,.95)}
.stsb-hfx-rotate{transition:rotate var(--stsb-hfx-duration,300ms) var(--stsb-hfx-ease,ease-out) var(--stsb-hfx-delay,0ms)}
.stsb-hfx-rotate:not(.stsb-hfx-t-parent):hover,
:is(.e-con,.elementor-section,.elementor-column):hover > .stsb-hfx-rotate.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .e-con-inner > .stsb-hfx-rotate.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-container > .stsb-hfx-rotate.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-container > .elementor-row > .stsb-hfx-rotate.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-widget-wrap > .stsb-hfx-rotate.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-column-wrap > .elementor-widget-wrap > .stsb-hfx-rotate.stsb-hfx-t-parent{rotate:var(--stsb-hfx-angle,4deg)}
.stsb-hfx-glow{transition:box-shadow var(--stsb-hfx-duration,300ms) var(--stsb-hfx-ease,ease-out) var(--stsb-hfx-delay,0ms)}
.stsb-hfx-glow:not(.stsb-hfx-t-parent):hover,
:is(.e-con,.elementor-section,.elementor-column):hover > .stsb-hfx-glow.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .e-con-inner > .stsb-hfx-glow.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-container > .stsb-hfx-glow.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-container > .elementor-row > .stsb-hfx-glow.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-widget-wrap > .stsb-hfx-glow.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-column-wrap > .elementor-widget-wrap > .stsb-hfx-glow.stsb-hfx-t-parent{box-shadow:0 0 var(--stsb-hfx-size,24px) var(--stsb-hfx-color,rgba(80,120,255,.55))}
.stsb-hfx-brightness{transition:filter var(--stsb-hfx-duration,300ms) var(--stsb-hfx-ease,ease-out) var(--stsb-hfx-delay,0ms)}
.stsb-hfx-brightness:not(.stsb-hfx-t-parent):hover,
:is(.e-con,.elementor-section,.elementor-column):hover > .stsb-hfx-brightness.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .e-con-inner > .stsb-hfx-brightness.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-container > .stsb-hfx-brightness.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-container > .elementor-row > .stsb-hfx-brightness.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-widget-wrap > .stsb-hfx-brightness.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-column-wrap > .elementor-widget-wrap > .stsb-hfx-brightness.stsb-hfx-t-parent{filter:brightness(var(--stsb-hfx-amount,115%))}
.stsb-hfx-gray-to-color{filter:grayscale(var(--stsb-hfx-amount,100%));transition:filter var(--stsb-hfx-duration,300ms) var(--stsb-hfx-ease,ease-out) var(--stsb-hfx-delay,0ms)}
.stsb-hfx-gray-to-color:not(.stsb-hfx-t-parent):hover,
:is(.e-con,.elementor-section,.elementor-column):hover > .stsb-hfx-gray-to-color.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .e-con-inner > .stsb-hfx-gray-to-color.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-container > .stsb-hfx-gray-to-color.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-container > .elementor-row > .stsb-hfx-gray-to-color.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-widget-wrap > .stsb-hfx-gray-to-color.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-column-wrap > .elementor-widget-wrap > .stsb-hfx-gray-to-color.stsb-hfx-t-parent{filter:grayscale(0%)}
.stsb-hfx-color-to-gray{transition:filter var(--stsb-hfx-duration,300ms) var(--stsb-hfx-ease,ease-out) var(--stsb-hfx-delay,0ms)}
.stsb-hfx-color-to-gray:not(.stsb-hfx-t-parent):hover,
:is(.e-con,.elementor-section,.elementor-column):hover > .stsb-hfx-color-to-gray.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .e-con-inner > .stsb-hfx-color-to-gray.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-container > .stsb-hfx-color-to-gray.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-container > .elementor-row > .stsb-hfx-color-to-gray.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-widget-wrap > .stsb-hfx-color-to-gray.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-column-wrap > .elementor-widget-wrap > .stsb-hfx-color-to-gray.stsb-hfx-t-parent{filter:grayscale(var(--stsb-hfx-amount,100%))}
.stsb-hfx-float:not(.stsb-hfx-t-parent):hover,
:is(.e-con,.elementor-section,.elementor-column):hover > .stsb-hfx-float.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .e-con-inner > .stsb-hfx-float.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-container > .stsb-hfx-float.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-container > .elementor-row > .stsb-hfx-float.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-widget-wrap > .stsb-hfx-float.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-column-wrap > .elementor-widget-wrap > .stsb-hfx-float.stsb-hfx-t-parent{animation:stsb-hfx-float var(--stsb-hfx-duration,1600ms) var(--stsb-hfx-ease,ease-in-out) var(--stsb-hfx-delay,0ms) infinite}
.stsb-hfx-pulse:not(.stsb-hfx-t-parent):hover,
:is(.e-con,.elementor-section,.elementor-column):hover > .stsb-hfx-pulse.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .e-con-inner > .stsb-hfx-pulse.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-container > .stsb-hfx-pulse.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-container > .elementor-row > .stsb-hfx-pulse.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-widget-wrap > .stsb-hfx-pulse.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-column-wrap > .elementor-widget-wrap > .stsb-hfx-pulse.stsb-hfx-t-parent{animation:stsb-hfx-pulse var(--stsb-hfx-duration,1000ms) var(--stsb-hfx-ease,ease-in-out) var(--stsb-hfx-delay,0ms) infinite}
.stsb-hfx-wobble:not(.stsb-hfx-t-parent):hover,
:is(.e-con,.elementor-section,.elementor-column):hover > .stsb-hfx-wobble.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .e-con-inner > .stsb-hfx-wobble.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-container > .stsb-hfx-wobble.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-container > .elementor-row > .stsb-hfx-wobble.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-widget-wrap > .stsb-hfx-wobble.stsb-hfx-t-parent,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-column-wrap > .elementor-widget-wrap > .stsb-hfx-wobble.stsb-hfx-t-parent{animation:stsb-hfx-wobble var(--stsb-hfx-duration,700ms) var(--stsb-hfx-ease,ease-in-out) var(--stsb-hfx-delay,0ms) 1}
.stsb-hfx-zoom-media{overflow:clip;--hfx-m-d:var(--stsb-hfx-duration,600ms);--hfx-m-e:var(--stsb-hfx-ease,ease-out);--hfx-m-l:var(--stsb-hfx-delay,0ms);--hfx-m-s:var(--stsb-hfx-scale,1.1)}
.stsb-hfx-zoom-media :is(img,video){transition:scale var(--hfx-m-d) var(--hfx-m-e) var(--hfx-m-l)}
.stsb-hfx-zoom-media:not(.stsb-hfx-t-parent):hover :is(img,video),
:is(.e-con,.elementor-section,.elementor-column):hover > .stsb-hfx-zoom-media.stsb-hfx-t-parent :is(img,video),
:is(.e-con,.elementor-section,.elementor-column):hover > .e-con-inner > .stsb-hfx-zoom-media.stsb-hfx-t-parent :is(img,video),
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-container > .stsb-hfx-zoom-media.stsb-hfx-t-parent :is(img,video),
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-container > .elementor-row > .stsb-hfx-zoom-media.stsb-hfx-t-parent :is(img,video),
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-widget-wrap > .stsb-hfx-zoom-media.stsb-hfx-t-parent :is(img,video),
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-column-wrap > .elementor-widget-wrap > .stsb-hfx-zoom-media.stsb-hfx-t-parent :is(img,video){scale:var(--hfx-m-s)}
.stsb-hfx-sheen{overflow:clip;--hfx-m-d:var(--stsb-hfx-duration,700ms);--hfx-m-e:var(--stsb-hfx-ease,ease-out);--hfx-m-l:var(--stsb-hfx-delay,0ms);--hfx-m-c:var(--stsb-hfx-color,rgba(255,255,255,.45))}
.stsb-hfx-sheen::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;border-radius:inherit;background:linear-gradient(105deg,transparent 35%,var(--hfx-m-c) 50%,transparent 65%);translate:-120% 0;transition:translate var(--hfx-m-d) var(--hfx-m-e) var(--hfx-m-l)}
.stsb-hfx-sheen:not(.stsb-hfx-t-parent):hover::after,
:is(.e-con,.elementor-section,.elementor-column):hover > .stsb-hfx-sheen.stsb-hfx-t-parent::after,
:is(.e-con,.elementor-section,.elementor-column):hover > .e-con-inner > .stsb-hfx-sheen.stsb-hfx-t-parent::after,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-container > .stsb-hfx-sheen.stsb-hfx-t-parent::after,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-container > .elementor-row > .stsb-hfx-sheen.stsb-hfx-t-parent::after,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-widget-wrap > .stsb-hfx-sheen.stsb-hfx-t-parent::after,
:is(.e-con,.elementor-section,.elementor-column):hover > .elementor-column-wrap > .elementor-widget-wrap > .stsb-hfx-sheen.stsb-hfx-t-parent::after{translate:120% 0}

/* Cursor effects: hover-fx.js sets --hfx-mx/--hfx-my (magnetic), --hfx-px/--hfx-py (spotlight)
   and an inline transform (tilt). */
.stsb-hfx-tilt{transition:transform var(--stsb-hfx-duration,250ms) var(--stsb-hfx-ease,ease-out),scale var(--stsb-hfx-duration,250ms) var(--stsb-hfx-ease,ease-out);will-change:transform}
.stsb-hfx-tilt:hover{scale:var(--stsb-hfx-scale,1.03)}
.stsb-hfx-magnetic{translate:var(--hfx-mx,0) var(--hfx-my,0);transition:translate var(--stsb-hfx-duration,250ms) var(--stsb-hfx-ease,ease-out)}
.stsb-hfx-spotlight{overflow:clip;--hfx-m-d:var(--stsb-hfx-duration,300ms);--hfx-m-e:var(--stsb-hfx-ease,ease-out);--hfx-m-c:var(--stsb-hfx-color,rgba(255,255,255,.25));--hfx-m-sz:var(--stsb-hfx-size,320px)}
.stsb-hfx-spotlight::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;border-radius:inherit;opacity:0;background:radial-gradient(circle var(--hfx-m-sz) at var(--hfx-px,50%) var(--hfx-py,50%),var(--hfx-m-c),transparent 70%);transition:opacity var(--hfx-m-d) var(--hfx-m-e)}
.stsb-hfx-spotlight:hover::after{opacity:1}

}
}
