body {
    font-family: Arial, sans-serif;
    padding: 20px;
    background-color: #f0f0f0;
}

.container {
    max-width: 800px;
    margin: auto;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.jour {
    border-top: 4px solid transparent; /* Réserve l'espace pour la décoration */
    background-image: linear-gradient(to right, #ccc, #333, #ccc);
    background-size: 100% 4px;
    background-repeat: no-repeat;
    background-position: top;
    margin-top: 20px;
    padding-top: 20px;
}

.lieu {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.lieu h3 {
    margin: 10px 0 5px;
    color: #333;
    text-align: center;
}

.lieu p {
    margin: 0;
    font-size: 0.9em;
    color: #666;
    text-align: center;
}

.lieu-image-block {
    text-align: center;
    margin: 20px 0;
}

.lieu-image {
    max-width: 80%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.lieu-commentaire {
    margin-top: 10px;
    font-size: 1rem;
    color: #333;
}

.trajet-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto; /* Centrer l'image horizontalement */
    border-radius: 5px;
    max-height: 600px; /* Ajustez la hauteur maximale selon vos besoins */
}

.jour h2 {
    color: #0275d8;
    margin-top: 0;
}

.jour p {
    text-align: justify;
    line-height: 1.6;
}

.trajet-detail p, .trajet-global-details p {
    margin: 5px 0;
    font-weight: bold;
}

.trajet-detail ul, .trajet-global-details ul {
    margin: 0;
    padding-left: 20px;
}

.trajet-detail li, .trajet-global-details li {
    font-size: 0.9em;
    color: #666;
}

.trajet-global {
    text-align: center;
    margin-bottom: 40px;
}

.trajet-detail + .lieu {
    margin-top: 20px; /* Ajoute un espace au-dessus du premier lieu suivant directement un détail de trajet */
}

.commentaire {
    margin: 15px 0;
}

.commentaire h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.commentaire p {
    line-height: 1.5;
}

@media screen and (max-width: 600px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 10px;
    }
}


