@charset "UTF-8";
/* ----------------- Base / Desktop ------------------- */

.other-sites {
  padding: 2rem 3rem 4rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  color: #A6A6A6;
  background: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight:300;
}

.gold-hr {
  border: none;
  border-bottom: 2px solid #cbb990;
  width: 150px;
  margin-left: 0;
  margin-bottom: 2rem;
}

.sites-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-left: 0;
  padding-right: 0;
}

.site-block {
  flex: 1 1 32%;/* Chaque bloc occupe environ 32% largeur */
  border-radius: 8px;
  /* padding: 0.5rem;*/
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;/* Pour fixer la hauteur identique entre blocs malgré contenus différents */
  min-height: 420px;/* hauteur à ajuster selon contenu maximum si besoin */
  justify-content: space-between;/* Permet de pousser le contenu pour les boutons en bas si besoin */
}

.site-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.site-block h3 {
  margin: 0.5rem 0;
  font-weight: 300;
  font-size: 1.5rem;
  overflow-wrap: break-word;/* assure que le texte long casse sur plusieurs lignes */
  font-family: 'Domaine', Arial, sans-serif;
  font-weight:300;
}

.site-block p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #5E5A54;
  flex-grow: 1;/* pour occuper l'espace disponible */
}
/* ----------------- Tablette paysage (min-width: 768px and max-width: 1024px) ------------------- */
@media (min-width: 768px) and (max-width: 1024px) {
  .site-block {
    min-height: 380px;/* ajustement pour écrans plus petits */
  }
  .site-block h3 {
    font-size: 1.3rem;
  }
}
/* ----------------- Tablette portrait (max-width: 767px) ------------------- */

@media (max-width: 767px) {
  .other-sites {
    padding: 1rem;
    max-width: 100%;
  }
  .sites-container {
    flex-direction: column;
    gap: 2rem;
  }
  .site-block {
    width: 100%;
    min-height: auto;/* hauteur dynamique en colonne */
  }
  .site-block h3 {
    font-size: 1.2rem;
  }
}
/* ----------------- Mobile (max-width: 480px) ------------------- */

@media (max-width: 480px) {
  .sites-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  .site-block {
    width: 100%;
  }
  .site-block h3 {
    font-size: 1.1rem;
  }
}
