.rounded {
  border-radius: 1rem !important;
}

body{
  line-height: 1.9rem !important;
  font-size: 0.99rem !important;
}

.text-light{
  font-size: 0.90rem !important;
}

.testo-bianco{
  color: #fff !important;
}

.custom-img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  .card-body {
    text-align: center;
  }
  .custom-btn {
    background-color: #ffffff;
    color: #004e8a;
    border: 1px solid #004e8a;
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease-in-out;
  }
  
  .custom-btn:hover {
    color: #e92223;
    border-color: #e92223;
    fill: #e92223;
  }

.fascia-rossa {
  background-color: #e92223; /* Rosso */
  color: #ffffff; /* Testo bianco */
  padding: 80px 0; /* Spazio sopra e sotto */
  position: relative;
  clip-path: polygon(0% 5%, 100% 0%, 100% 95%, 0% 100%);
}

.fascia-blu {
  background-color: #004e8a; /* Blu */
  color: #ffffff; /* Testo bianco */
  padding: 80px 0;
  position: relative;
  clip-path: polygon(0% 5%, 100% 0%, 100% 95%, 0% 100%);
}

.fascia .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.fascia-rossa img {
    max-width: 100%; /* Non supera la sua dimensione originale */
    height: auto; /* Mantiene le proporzioni */
    width: auto; /* Evita ridimensionamenti forzati */
    display: block; /* Rimuove eventuali spazi indesiderati */
    margin: 0 auto; /* Centra l'immagine orizzontalmente (opzionale) */
  }

  .placeholder-banner {
    width: 100%;
    height: 600px; /* Altezza fissa per evitare CLS */
    background-image: url('../images/banner1.webp'); /* Immagine di sfondo */
    background-size: cover; /* Copre l'intero div */
    background-position: center; /* Centra l'immagine */
    background-repeat: no-repeat; /* Evita la ripetizione */
  }

  .sfondo-card{
    /*background-color: #f8f8f8;*/
  }
  
  .bg-image {
    background-image: url('../images/banner1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
  }

  .bg-image-banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
  }

  h1 {
    font-size: 2.2rem !important;
    color: #cf1919 !important;
    font-weight: bold;
  }

  h2, h3 {
    color: #303030 !important;
    font-weight: 600;
  }

  .continua{
    color: #d35202 !important;
  }

    /*========================================================================================================*/

  /* Stile per smartphone (max 768px) */
  @media screen and (max-width: 768px) {
    .placeholder-banner {
      height: 601px; /* Altezza leggermente diversa per evitare CLS */
      background-image: url('../images/banner-smartphone.webp'); /* Immagine ottimizzata per mobile */
    }
  }