.logo-image {margin-left:50px!important;}
.sp-megamenu-parent {margin-right:50px!important;}
#sp-footer1 {margin-left: 50px;}

/* Rimuove la casetta nera generata dal contenitore */
li.sp-menu-item.fa.fa-home::before {
  content: none !important;
  display: none !important;
}

/* Nasconde il testo Home e mantiene il collegamento */
li.sp-menu-item.fa.fa-home > a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 44px;
  padding: 0 !important;
  font-family: inherit !important;
  font-size: 0 !important;
}

/* Crea la casetta dentro il collegamento cliccabile */
li.sp-menu-item.fa.fa-home > a::before {
  content: "\f015";
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  transform: translate(-10px, -3px);
}

/* ==================================================
   LOGHI SPONSOR
   ================================================== */

/* Contenitore principale: 3 colonne × 2 righe */
.sppb-column-addons:has(
  > #sppb-addon-wrapper-eb0cd699-90b5-459b-889a-404fc90d0466
) {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 20px 30px;
  width: 100%;
  box-sizing: border-box;
  padding-right: 50px;
}

/* Riquadri dei loghi */
.sppb-column-addons:has(
  > #sppb-addon-wrapper-eb0cd699-90b5-459b-889a-404fc90d0466
) > .addon-root-image {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-width: 0;
  height: 100px;
  margin: 0 !important;
  overflow: visible;
}

/* Centratura dei contenitori interni */
.sppb-column-addons:has(
  > #sppb-addon-wrapper-eb0cd699-90b5-459b-889a-404fc90d0466
) .sppb-addon,
.sppb-column-addons:has(
  > #sppb-addon-wrapper-eb0cd699-90b5-459b-889a-404fc90d0466
) .sppb-addon-content,
.sppb-column-addons:has(
  > #sppb-addon-wrapper-eb0cd699-90b5-459b-889a-404fc90d0466
) .sppb-addon-single-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Dimensioni uniformi delle immagini */
.sppb-column-addons:has(
  > #sppb-addon-wrapper-eb0cd699-90b5-459b-889a-404fc90d0466
) img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 90% !important;
  max-height: 75px !important;
  object-fit: contain;
  transform-origin: center;
}

/* Smartphone: 2 colonne × 3 righe */
@media (max-width: 767.98px) {
  .sppb-column-addons:has(
    > #sppb-addon-wrapper-eb0cd699-90b5-459b-889a-404fc90d0466
  ) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    padding-right: 0;
  }

  .sppb-column-addons:has(
    > #sppb-addon-wrapper-eb0cd699-90b5-459b-889a-404fc90d0466
  ) > .addon-root-image {
    height: 90px;
  }

  .sppb-column-addons:has(
    > #sppb-addon-wrapper-eb0cd699-90b5-459b-889a-404fc90d0466
  ) img {
    max-height: 65px !important;
  }
}

/* ==================================================
   DIMENSIONI INDIVIDUALI
   Modifica liberamente i valori scale()
   ================================================== */

/* Raiffeisen: 115% */
img[src$="/images/sponsor/logo_raiffeisen.png"] {
  transform: scale(1.15) !important;
}

/* AIL: 50% */
img[src$="/images/sponsor/logo_ail.svg"] {
  transform: scale(0.5) !important;
}

/* LVGA: 95% */
img[src$="/images/sponsor/logo_lvga.png"] {
  transform: scale(0.95) !important;
}

/* ASN: 95% */
img[src$="/images/sponsor/logo_asn.png"] {
  transform: scale(0.95) !important;
}

/* Lepori Storni: 130% */
img[src$="/images/sponsor/logo_leporistorni.gif"] {
  transform: scale(1.3) !important;
}

/* ==================================================
   TABLET: tre loghi per riga
   ================================================== */

@media (max-width: 991px) {
  .sppb-column-addons:has(
    > #sppb-addon-wrapper-eb0cd699-90b5-459b-889a-404fc90d0466
  ) > .addon-root-image {
    flex: 0 1 calc(33.333% - 25px);
    height: 110px;
  }
}

/* ==================================================
   SMARTPHONE: due loghi per riga
   ================================================== */

@media (max-width: 575px) {
  .sppb-column-addons:has(
    > #sppb-addon-wrapper-eb0cd699-90b5-459b-889a-404fc90d0466
  ) {
    gap: 15px;
  }

  .sppb-column-addons:has(
    > #sppb-addon-wrapper-eb0cd699-90b5-459b-889a-404fc90d0466
  ) > .addon-root-image {
    flex: 0 1 calc(50% - 15px);
    height: 90px;
  }

  .sppb-column-addons:has(
    > #sppb-addon-wrapper-eb0cd699-90b5-459b-889a-404fc90d0466
  ) img {
    max-width: 85% !important;
    max-height: 70px !important;
  }
}
/* Correzione specifica logo AIL SVG */
#sppb-addon-6d47eac7-30f7-4572-9d03-52688b85ec2c
.sppb-addon-single-image-container img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 60px !important;
  height: 60px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain;
  transform: scale(1) !important;
}
/* Ingrandisce tutto il blocco ASN */
#sppb-addon-wrapper-b7a2d83b-f4dc-43cb-a0d3-d749db24837e {
  transform: scale(1.2) !important;
  transform-origin: center !important;
  position: relative;
  z-index: 2;
}
#sppb-addon-wrapper-b7a2d83b-f4dc-43cb-a0d3-d749db24837e {
  transform: translateX(-15px) scale(1.25) !important;
  transform-origin: center !important;
  position: relative;
  z-index: 2;
}

@media (min-width: 769px) {
  .sppb-addon-timeline
  .sppb-addon-timeline-wrapper
  .timeline-movement
  .timeline-item
  .timeline-panel {
    width: 95% !important;
  }
}

/* ==================================================
   ORGANIGRAMMA
   ================================================== */

/* titoli */
.sppb-person-name {
    font-size: 20px !important;
}

/* ==================================================
   GALLERIA FOTO - EFFETTO DIAPOSITIVA
   ================================================== */

.sonvico-foto-native .sonvico-foto-col {
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sonvico-foto-native .sonvico-foto-col:hover,
.sonvico-foto-native .sonvico-foto-col:focus-within {
    transform: translateY(-8px) !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28) !important;
    z-index: 2;
}

/* Distanza verticale tra le sezioni della galleria */
.sonvico-foto-native {
    padding-bottom: 30px !important;
}

/* Distanza tra le righe su tablet e telefono */
.sonvico-foto-native .sppb-row {
    row-gap: 30px !important;
}

.sonvico-foto-native .sonvico-foto-col {
    height: 100% !important;
    margin-bottom: 0 !important;
}