/**
 * CSS pour l'intégration des informations du site dans la fiche projet
 */

/* Alignement des deux colonnes : même espacement pour les titres de section */
.fichecenter .fichehalfleft,
.fichecenter .fichehalfright {
    padding-top: 0;
}

/* Premier titre (h3) de chaque colonne aligné au même niveau */
.fichecenter .fichehalfleft h3:first-of-type,
.fichecenter .fichehalfright h3:first-of-type {
    margin-top: 0;
    margin-bottom: 10px;
}

/* Titres de section suivants : même marge en haut pour les deux colonnes */
.fichecenter .fichehalfleft h3,
.fichecenter .fichehalfright h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Style pour les chantiers à venir */
.fichehalfright .chantier-item {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Assurer que les tableaux dans la colonne de droite sont bien affichés */
.fichehalfright table {
    width: 100%;
}

/* Style pour la carte */
.fichehalfright #sites2-project-map {
    width: 100%;
    height: 300px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Responsive : sur petits écrans, empiler les colonnes */
@media (max-width: 768px) {
    .fichecenter {
        flex-direction: column;
    }
    
    .fichehalfleft,
    .fichehalfright {
        width: 100% !important;
        max-width: 100% !important;
    }
}
