

/* =========================================================
   CRILUMY - CSS COMPLETO DEFINITIVO
   ========================================================= */

/* ---------- 1) BANNER AZZURRO ---------- */
#st-content-wrapper .banner{
  min-height: 240px !important;
  margin: 0 !important;
  padding: 0 !important;
  background-image: url("https://www.crilumaviaggi.com/wp-content/uploads/2026/02/BG-CRILUMY.png") !important;
  background-repeat: no-repeat !important;
  background-position: center top !important;
  background-size: 100% auto !important;
}

/* Nasconde il titolo pagina dentro il banner */
#st-content-wrapper .banner .banner-content{
  display: none !important;
}

/* ---------- 2) ELIMINA SPAZI BIANCHI ---------- */
#st-content-wrapper .st-breadcrumb{
  display: none !important;
}

#st-content-wrapper > .container,
#st-content-wrapper .st-blog{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ---------- 3) BARRA BLU SCURA FULL WIDTH ---------- */
/* Prima sezione Elementor della pagina (quella del menu) */
#st-content-wrapper [data-elementor-type="wp-page"] > .elementor-section:first-of-type{
  position: relative !important;
  margin: -1px 0 0 0 !important; /* toglie la riga bianca */
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
}

/* Fondo full width della barra */
#st-content-wrapper [data-elementor-type="wp-page"] > .elementor-section:first-of-type::before{
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 100vw;
  height: 60px;                 /* altezza fissa uguale ovunque */
  background: #1f2f73;
  z-index: 0;
}

/* Pulizia contenitori Elementor */
#st-content-wrapper [data-elementor-type="wp-page"] > .elementor-section:first-of-type .elementor-container,
#st-content-wrapper [data-elementor-type="wp-page"] > .elementor-section:first-of-type .elementor-column,
#st-content-wrapper [data-elementor-type="wp-page"] > .elementor-section:first-of-type .elementor-widget-wrap,
.menu-account-crilumy,
.menu-account-crilumy .elementor-widget-container{
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  position: relative;
  z-index: 1;
}

/* ---------- 4) MENU ---------- */
.menu-account-crilumy .elementor-nav-menu--main{
  min-height: 60px;
  display: flex;
  align-items: center;
}

.menu-account-crilumy .elementor-nav-menu--main .elementor-nav-menu{
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-account-crilumy .elementor-nav-menu--main .elementor-item{
  color: #fff !important;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1;
  padding: 10px 8px;
  border: 0 !important;
  transition: all .2s ease;
}

/* Rimuove underline Elementor */
.menu-account-crilumy .e--pointer-underline .elementor-item:after{
  display: none !important;
}

/* Hover */
.menu-account-crilumy .elementor-nav-menu--main .elementor-item:hover{
  color: #2dd9ff !important;
}

/* Voce attiva */
.menu-account-crilumy .elementor-nav-menu--main .current-menu-item > .elementor-item,
.menu-account-crilumy .elementor-nav-menu--main .current_page_item > .elementor-item,
.menu-account-crilumy .elementor-nav-menu--main .elementor-item.elementor-item-active{
  background: #fff !important;
  color: #0f1648 !important;
  border-radius: 999px !important;
  padding: 10px 16px !important;
}

/* Mobile dropdown */
.menu-account-crilumy .elementor-nav-menu--dropdown{
  background: #1f2f73 !important;
}
.menu-account-crilumy .elementor-nav-menu--dropdown .elementor-item{
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 12px 16px !important;
}
.menu-account-crilumy .elementor-nav-menu--dropdown .current-menu-item > .elementor-item,
.menu-account-crilumy .elementor-nav-menu--dropdown .current_page_item > .elementor-item,
.menu-account-crilumy .elementor-nav-menu--dropdown .elementor-item.elementor-item-active{
  background: #fff !important;
  color: #0f1648 !important;
}

/* ---------- 5) RESPONSIVE ---------- */
@media (max-width: 1024px){
  #st-content-wrapper .banner{
    min-height: 200px !important;
    background-size: cover !important;
  }
  #st-content-wrapper [data-elementor-type="wp-page"] > .elementor-section:first-of-type::before{
    height: 56px;
  }
  .menu-account-crilumy .elementor-nav-menu--main{
    min-height: 56px;
  }
  .menu-account-crilumy .elementor-nav-menu--main .elementor-item{
    font-size: 15px;
  }
}

@media (max-width: 767px){
  #st-content-wrapper .banner{
    min-height: 170px !important;
    background-size: cover !important;
  }
  .menu-account-crilumy .elementor-menu-toggle{
    color: #fff !important;
  }
}
.travel-user-card{
  display:grid;
  grid-template-columns:160px 1fr 180px; /* era 280px */
}

.card-img{
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-img img{
  width: auto !important;
  height: auto !important;
  max-width: 140px !important;   /* scegli tu: 120/140/160 */
  max-height: 90px !important;   /* scegli tu: 80/90/100 */
  object-fit: contain !important;
  display: block;
  margin: 10px auto;             /* centra */
}


/*Inizio Menù*/

/* Desktop: rende cliccabili i sottomenu senza "vuoti" */
.MenuCriluma .elementor-nav-menu--main .menu-item-has-children {
  position: relative;
}

.MenuCriluma .elementor-nav-menu--main .sub-menu {
  display: block !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  margin-top: 0 !important;
  top: 100% !important;
  transition: opacity .2s ease, visibility .2s ease;
  z-index: 9999;
}

/* ponte hover tra voce principale e submenu */
.MenuCriluma .elementor-nav-menu--main .menu-item-has-children::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
}

.MenuCriluma .elementor-nav-menu--main .menu-item-has-children:hover > .sub-menu,
.MenuCriluma .elementor-nav-menu--main .menu-item-has-children.elementor-active > .sub-menu,
.MenuCriluma .elementor-nav-menu--main .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Mobile: forza la visibilità del toggle e del menu dropdown */
@media (max-width: 1024px) {
  .MenuCriluma .elementor-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .MenuCriluma .elementor-nav-menu--dropdown {
    display: block !important;
    background: #fff;
    width: 100%;
    z-index: 9999;
  }

  .MenuCriluma .elementor-nav-menu--dropdown a {
    color: #0f2d5c !important;
    background: #fff;
  }

  .MenuCriluma .elementor-nav-menu--dropdown .sub-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: none;
  }

  .MenuCriluma .elementor-nav-menu--dropdown .menu-item-has-children.elementor-active > .sub-menu,
  .MenuCriluma .elementor-nav-menu--dropdown .menu-item-has-children > a[aria-expanded="true"] + .sub-menu {
    display: block !important;
  }
}
