/* APT Ad Rotator — one ad at a time inside a box marked data-apt-rotate. The box keeps its
   Bricks styling (shape, border, background); this only stacks the ads and fades between them.
   Before the script runs, the first ad shows, so a box is never blank. */
[data-apt-rotate] { position: relative; }
[data-apt-rotate] > * { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
[data-apt-rotate] > .apt-rot-on,
[data-apt-rotate]:not([data-ready]) > :first-child { opacity: 1; visibility: visible; transition: opacity .6s ease; }
@media (prefers-reduced-motion: reduce) { [data-apt-rotate] > * { transition: none; } }
