/* =========================================================
   HOME HERO — CONVENZIONI
   Caricare dopo home-hero.css
   ========================================================= */

.home-hero__conventions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1.25rem 0 1.35rem;
}

.home-hero__conventions-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #684879;
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.home-hero__conventions-title::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #684879, #9d75ad);
}

.home-hero__conventions-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.75rem;
}

.home-hero__convention-logo {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(104, 72, 121, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 9px 24px rgba(59, 39, 70, 0.09);
}

.home-hero__convention-logo--unisalute {
  width: 180px;
}

.home-hero__convention-logo--generali {
  width: 132px;
}

.home-hero__convention-logo img {
  display: block;
  width: 100%;
  height: 46px;
  object-fit: contain;
}

.home-hero__convention-logo--generali img {
  height: 52px;
}

@media (max-width: 767.98px) {
  .home-hero__conventions {
    margin-top: 1rem;
    margin-bottom: 1.15rem;
  }

  .home-hero__conventions-logos {
    width: 100%;
    gap: 0.6rem;
  }

  .home-hero__convention-logo {
    min-height: 64px;
    padding: 0.58rem 0.75rem;
  }

  .home-hero__convention-logo--unisalute {
    width: min(58%, 170px);
  }

  .home-hero__convention-logo--generali {
    width: min(38%, 124px);
  }

  .home-hero__convention-logo img {
    height: 39px;
  }

  .home-hero__convention-logo--generali img {
    height: 45px;
  }
}

@media (max-width: 399.98px) {
  .home-hero__conventions-logos {
    flex-wrap: nowrap;
  }

  .home-hero__convention-logo--unisalute {
    width: 57%;
  }

  .home-hero__convention-logo--generali {
    width: 39%;
  }
}
