.acces-container {
}

h1 {
}

.map-container {
  width: 100%;
  height: 400px;
  margin-bottom: 3rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}
.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.acces-block {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  align-items: flex-start;
  gap: 1rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1.5rem;
}

.acces-block h2 {
  width: 100%;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.acces-text {
  flex: 1 1 60%;
  order: 1;
}

.acces-text p {
  margin: 0;
  text-align: justify;
}

.acces-thumb {
  flex: 1 1 35%;
  order: 2;
  text-align: right;
  cursor:pointer;
}
.location-text{
margin-top: 12px;
font-size: 1.05rem;
line-height: 1.6;
}

@media screen and (max-width: 768px) {
  .acces-block {
    flex-direction: column;
  }

  .acces-text,
  .acces-thumb {
    flex: 1 1 100%;
    text-align:m center;
  }

  .acces-thumb {
    margin-top: 1rem;
    width:100%;
    text-align: center;
  }
  
  .acces-thumb img {
  	  width:90%;
  }
}

/* Modale */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  padding-top: 5%;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
}

.modal-content {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 80%;
  max-height: 80vh; /* 👈 Ajout pour limiter la hauteur à 80% de la fenêtre */
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.6);
  object-fit: contain; /* Pour éviter les débordements visuels */
  position: relative;
  top: 40%;
  transform: translateY(-50%);
}

.close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Container des deux blocs d'info */
.info-wrapper {
    display: flex;
    flex-wrap: wrap; /* Permet le passage à la ligne sur mobile */
    gap: 20px;
    margin-bottom: 30px;
}

/* Chaque bloc prend 50% sur PC moins l'espace du gap */
.info-card {
    flex: 1;
    min-width: 300px; /* Force l'empilement sur petits écrans */
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #YourColor; /* Optionnel : une bordure de couleur */
}

/* Centrage du bouton */
.cta-center {
    text-align: center;
    margin-bottom: 30px;
}

.btn-itineraire {
    display: inline-block;
    padding: 12px 25px;
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.2s;
}

.btn-itineraire:hover {
    transform: scale(1.05);
}

/* Carte */
.map-full {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.gps-link {
    color: #2c3e50;
    text-decoration: none;
    border-bottom: 1px dashed #2c3e50;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.gps-link:hover {
    color: #e67e22; /* Ou la couleur d'accent de votre site */
    border-bottom-style: solid;
}

.gps-link i {
    font-size: 0.8em;
    margin-left: 5px;
    vertical-align: middle;
}