/* Horizon Tiles 1.0.0 - see horizon-tiles.php. Only loaded on the front page (every language). */

/* Probe: the script runs only when this sheet is applied. */
:root { --hzt-css: 1; }

/* The cards this plugin animates (tagged by the script): Avada's own entrance animation is switched off on them,
   otherwise it would run on top of ours, and Avada's "not yet animated" state (visibility: hidden) no longer applies. */
.hzt-card.fusion-animated { visibility: visible !important; animation-name: none !important; }

/* Waiting for its row: transparent but laid out (opacity only, no layout shift). Only while the script is alive. */
html.hzt-js .hzt-card.hzt-wait { opacity: 0; }

/* While a card plays no CSS transition may touch it (Avada columns transition "transform"). */
.hzt-card.hzt-play { transition: none !important; }

@media print, (prefers-reduced-motion: reduce) {
	html.hzt-js .hzt-card.hzt-wait { opacity: 1; }
}
