/*
 Theme Name: Kadence Child
 Template: kadence
 Text Domain: kadence-child
*/

/* Colonne base: niente padding/margine */

/* Colonne base: niente padding/margine */
.settori-row .wp-block-kadence-column {
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
}

/* Wrapper interno posizionato: qui giochiamo con lo z-index */
.settori-row .kt-inside-inner-col {
    position: relative !important;
}

/* IMMAGINI full width */
.settori-row img {
    display: block;
    width: 100%;
    height: auto;
}

/* SOVRAPPOSIZIONE: sposto le colonne 2 e 3 a sinistra */
.settori-row .wp-block-kadence-column:nth-child(2) {
    margin-left: -2.8vw !important;
}
.settori-row .wp-block-kadence-column:nth-child(3) {
    margin-left: -3vw !important;
}

/* ORDINE DI SOVRAPPOSIZIONE: gestito sul wrapper interno */
.settori-row .wp-block-kadence-column:nth-child(1) .kt-inside-inner-col {
    z-index: 1 !important;
}
.settori-row .wp-block-kadence-column:nth-child(2) .kt-inside-inner-col {
    z-index: 5 !important;   /* sopra alla 1 */
}
.settori-row .wp-block-kadence-column:nth-child(3) .kt-inside-inner-col {
    z-index: 10 !important;  /* sopra alla 2 */
}
.related.products{
    display:none;
}
.home .hero-video {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

.home .hero-video::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  /*background: rgba(0,0,0,0.35);*/
  pointer-events:none;
}



.home .miaheader {
  position: absolute;
  top: 10; left: 0; right: 0;
  z-index: 9999;
  width:100%;
  background: rgba(21, 21, 21, 0.6) !important;
}

.home .entry-content-wrap{
    padding:0;
}
.home .kt-row-column-wrap{
    padding:0 !important;
}
/* fondamentale: il contenitore della card (articolo) deve essere relativo */
.elenco_prodotti article {
  position: relative;
}

/* overlay scuro sopra l’immagine */
.elenco_prodotti .kadence-post-image {
    position: relative;
}

/* overlay a gradiente */
.elenco_prodotti .kadence-post-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
         rgba(228, 108, 25, 0.85),
        rgba(21, 21, 21, 0.85)
       
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

/* titolo */
.elenco_prodotti article {
    position: relative;
}

.elenco_prodotti article h2.entry-title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.elenco_prodotti article h2.entry-title a {
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 0 15px;
}

/* hover */
.elenco_prodotti article:hover .kadence-post-image::after {
    opacity: 0.9;
}

.elenco_prodotti article:hover h2.entry-title {
    opacity: 1;
    transform: translateY(0);
}
.single-product .kadence-breadcrumbs,.single-product .product_meta{
    display:none;
}
.video_mobile{
    max-height:600px;
}