/*
Theme Name: Blocksy Child
Theme URI: https://creativethemes.com/blocksy/
Description: Blocksy Child Theme
Author: Your Name
Template: blocksy
Version: 1.0
*/

/* Custom CSS goes here */
/* =========================================
FIX BLOCKSY HEADER ABOVE HERO / SLIDER
========================================= */


/* Header toujours au-dessus */

#header,
.ct-header,
header#header,
.site-header{

    position: relative !important;

    z-index: 99999 !important;

}



/* Menu dropdown */

.ct-header .menu,
.ct-header .sub-menu,
.ct-header .ct-menu-link,
.ct-header-dropdown{

    position: relative;

    z-index: 99999 !important;

}



/* Panneau menu mobile */

.ct-panel{

    z-index: 999999 !important;

}



/* Les sections hero/slider restent derrière */

.mdw-slider,
.hero,
.swiper,
.swiper-container,
.splide,
.wp-block-cover,
.wp-block-group{

    position: relative;

    z-index: 1;

}



/* Empêcher un overlay invisible de bloquer les clics */

.mdw-slider::before,
.hero::before{

    pointer-events:none;

}

/* =========================================
FIX HOME SLIDER / BLOCKSY MENU DROPDOWN
========================================= */


/* HEADER AU-DESSUS DE TOUT */

#header,
.ct-header,
.site-header{

    position:relative !important;

    z-index:99999 !important;

}



/* MENU DROPDOWN BLOCKSY */

.ct-header .sub-menu,
.ct-menu-dropdown,
.ct-header-trigger,
.ct-panel{

    z-index:999999 !important;

}




/* SLIDER DERRIERE LE MENU */

.hero-slider{

    position:relative;

    z-index:1;

}



/* ELEMENTS DU SLIDER */

.hero-slider .slide,
.hero-slider .overlay,
.hero-slider .content,
.hero-slider img{

    z-index:1;

}



/* BOUTONS DU SLIDER */

.hero-slider button,
.hero-slider a{

    position:relative;

    z-index:2;

}



/* EMPECHE UN OVERLAY DE BLOQUER LE HEADER */

.hero-slider .overlay{

    pointer-events:none;

}