/*=================================================================================*/
/*------------------------------Page Bordeaux-Sète-------------------------------*/
/*=================================================================================*/

.white-section {
  background-color: var(--color-off-white);
  padding: 20px 20px;
}

.mainTwo-container {
  /* On s'assure qu'aucune hauteur fixe ne bloque le contenu */
  height: auto !important;
  min-height: min-content;
  margin-top: 100px;
}

.common-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px; /* Ajoute un peu de padding en haut/bas pour respirer */
  flex-wrap: wrap;
}

.texte1-container,
.image-container {
  /* flex: 1 1 400px;
  min-width: 300px; */
  flex: 1 1 400px;
  min-width: 400px;

  height: auto; /* Force les blocs à s'adapter à leur contenu */
}
.texte1-container p {
  padding-bottom: 15px;
}
.image-container {
  display: flex;
  justify-content: center;
  overflow: visible; /* Sécurité : empêche le masquage du contenu */
  width: 100%;
}

.image-container img {
  width: 100%;
  max-width: 600px;
  height: auto; /* Indispensable pour garder le bon ratio sans écraser */
  display: block; /* Supprime l'espace résiduel sous l'image */
}

/*-------------------- Responsive ----------------*/
@media (max-width: 950px) {
  .common-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0px;
  }

  .texte1-container,
  .image-container {
    flex: none;
    width: 100%;
    height: auto;
  }

  .texte1-container {
    text-align: start;
  }

  .image-container img {
    width: 100%;
    margin-bottom: 50px;
  }
}
@media (max-width: 460px) {
  .mainTwo-container {
    margin-top: 30px;
  }
}
/***********************  En 2025- partie spécifique - photos individuelles********************************/
.foto-bxsete {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 10px;
  width: 100%; /* Prend toute la largeur du parent */
  max-width: 1200px;
}
.foto-bxsete img {
  width: auto; /* Largeur fixe ou en % */
  height: 500px;
}

@media (max-width: 720px) {
  .foto-bxsete img {
    width: 400px;
    height: auto;
  }
}

@media (max-width: 470px) {
  .mainTwo-container {
    margin-top: 30px;
  }

  .texte1-container,
  .image-container {
    width: 100%;
    min-width: 0;
  }

  .image-container img {
    width: 100%;
    max-width: 370px;
    margin-bottom: 30px;
  }

  .foto-bxsete img {
    width: 100%;
    max-width: 4000px;
    height: auto;
  }
}
