/* strandz client overrides (Run 63). Agent-authored additions only.
 *
 * Full-width "large gap" masonry: live keeps the 15px gutter on the gallery wrapper and sizes
 * the strip at Enfold's own 100.4% (captured rule `.av-masonry-container{width:100.4%}`). The
 * shared static grid pads the strip instead, which left every tile ~1px short on a phone
 * (360x288 vs live 361.44x289.15: 8px and 12px over the two home galleries) and put the
 * Load more button 15px left of live. Same box model the shared template already uses for the
 * in-column case. Phone widths only (the single-column layout): at 1440 the shared grid is
 * within 1px of live and this box model measured 2px worse per gallery. */
@media only screen and (max-width: 480px) {
#top .av-masonry.av-large-gap { padding: 15px 0 0 15px !important; box-sizing: border-box; }
#top .av-masonry.av-large-gap .av-masonry-container { padding: 0; width: 100.4%; float: left; clear: both; }
}

/* Hero slider: live hides the slide that is not showing with visibility:hidden as well as
 * opacity 0, so only the showing slide is read out. The shared static slider fades by inline
 * opacity and pins `visibility: visible !important` inline, so visibility cannot be used here.
 * Skip the faded-out slide's contents instead (content-visibility), once the 0.8s fade has
 * finished; a slide fading in no longer matches, so its contents are back at once and the
 * fade still runs. Nothing changes on screen. */
@keyframes ym-slide-hide { to { content-visibility: hidden; } }
#top #full_slider_1 li.avia-slideshow-slide[style*="opacity: 0 "] { animation: ym-slide-hide 0s linear 0.8s forwards; }
