/*
Theme Name: Netizo Master Theme
Theme URI: https://netizo.in
Author: Netizo Digital
Author URI: https://netizo.in
Template: hub
Description: Netizo Master Theme — custom-built for netizo.in
Version: 2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hub-child
Tags: responsive, retina, portfolio, custom-colors, full-width-template
*/

/* lqd-css-sticky: ensure position sticky works */
.lqd-css-sticky:not(.vc_row) {
    position: sticky !important;
}
.lqd-css-sticky {
    top: calc(30px + var(--lqd-sticky-header-height, 0px));
}

/* Mobile stacking: tighter top offsets and proper layering */
@media (max-width: 767px) {
    .lqd-css-sticky {
        position: sticky !important;
    }
    .elementor-element-3fd3165f.lqd-css-sticky { top: 20px !important; z-index: 1; }
    .elementor-element-62a8fd00.lqd-css-sticky { top: 35px !important; z-index: 2; }
    .elementor-element-7f10747b.lqd-css-sticky { top: 50px !important; z-index: 3; }
    .elementor-element-80fd5aa.lqd-css-sticky { top: 65px !important; z-index: 4; }
    .elementor-element-8745d16.lqd-css-sticky { top: 0px !important; z-index: 1; }
    .elementor-element-a0e3166.lqd-css-sticky { top: 15px !important; z-index: 2; }
    .elementor-element-6b57217.lqd-css-sticky { top: 30px !important; z-index: 3; }
    .elementor-element-8b010bf.lqd-css-sticky { top: 0px !important; z-index: 1; }
    .elementor-element-5cebc88.lqd-css-sticky { top: 15px !important; z-index: 1; }
    .elementor-element-27a5e76.lqd-css-sticky { top: 30px !important; z-index: 2; }
    .elementor-element-d62c1ee.lqd-css-sticky { top: 45px !important; z-index: 3; }
    .elementor-element-105cb7e.lqd-css-sticky { top: 60px !important; z-index: 4; }
}

/* Ensure custom animation elements are visible even if JS hasn't initialized */
.ca-initvalues-applied > .elementor-element > .elementor-widget-container,
.ca-initvalues-applied .lqd-text-reveal-el,
.ca-initvalues-applied .ld-fh-element,
[data-custom-animations]:not(.ca-initvalues-applied) > .elementor-element > .elementor-widget-container {
    opacity: 1 !important;
    transform: none !important;
}
