/* jandlcleaners client overrides (Run 68). Agent-authored additions only; every rule was
 * measured against the live site.
 *
 * Full-screen hero: Enfold ships `.av-minimum-height-100 .container{height:1500px}` as a
 * placeholder and its script replaces it with the window height on load. With the script gone
 * the hero stayed 1500px tall (live: 900 at 1440x900, 844 at 390x844). The window height is
 * 100vh. */
#top .av-minimum-height-100 .container { height: 100vh; }

/* 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). Same fix as strandz Run 63 and pureessencesalon Run 66.
 * Phone widths only (the single-column layout): at 1440 the shared grid is within 1px of live. */
@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; }
}

/* Scrolled header: live's fixed header background is 95% opaque at desktop (the page shows
 * faintly through it). The shared rule forces 100% for glassy headers; this header is not
 * glassy. Same specificity plus #top so it wins. On a phone the header is not fixed and live
 * is 100%, so this is desktop only. Same as pureessencesalon Run 66. */
@media only screen and (min-width: 990px) {
#top #header:not(.av_header_transparency) .header_bg { opacity: 0.95 !important; }
}

/* Blog shells (/blog and /blog/<slug>), built by 08-blog-migration/build-blog-widget.py.
 * The post body loads after the shell, so a screen of space is held while it is still empty
 * (otherwise the share box and footer jump down when it arrives). */
.ym-seo-h1 { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ym-blog-status { text-align: center; padding: 40px 0; }
#blog-pagination[hidden] { display: none; }
#post-content:empty { min-height: 100vh; }
