/*
Theme Name: Hub Child
Theme URI: http://hub.liquid-themes.com/
Author: Liquid Themes
Author URI: https://themeforest.net/user/liquidthemes
Template: hub
Description: Smart, Powerful and Unlimited Customizable WordPress Theme.
Version: 1.0
License: GNU General Public License
License URI: license.txt
Text Domain: hub-child
Tags: responsive, retina, rtl-language-support, blog, portfolio, custom-colors, live-editor
*/
/* Fix: top phone-number/social bar flashes a collapsed "sliver" on the
   homepage after the new video hero was added. The parent theme's sticky-
   header JS (LiquidStickyHeader) can toggle #header to .is-stuck once on
   load before it has finished async-measuring the true header height
   (data-sticky-values-measured stays "false" until that resolves). A
   premature .is-stuck triggers the theme's own stickySlideDown keyframe,
   which starts the header at translateY(-100%) and animates it in over
   0.65s — on lighter pages this resolves before paint is visible, but the
   heavier hero video on the homepage delays rendering enough to expose the
   mid-animation frame as a collapsed top bar. Real scroll-triggered
   is-stuck (data-sticky-values-measured="true" by then) is untouched. */
/* Disabled 2026-08-15 per user request — rule left for reference, not active.
#header[data-sticky-values-measured="false"].is-stuck {
  animation: none !important;
  transform: none !important;
}
*/

/* Promote homepage hero video (module 4, "Homepage Hero (Light)") to its own
   GPU compositor layer. Without this, none of the SR7 video/media/layer
   elements have will-change or a transform set, so the browser repaints the
   video's paint area on every scroll frame instead of compositing it,
   producing scroll jank while it's in view. Scoped to module 4's DOM id
   (stable, tied to the module's DB id) so it doesn't affect other SR7
   modules on the site. Added 2026-08-16 per user-reported scroll lag. */
#SR7_4_1 video.sr7-html5-video,
#SR7_4_1 sr7-media.sr7-media {
  will-change: transform;
  transform: translateZ(0);
}