/* body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background-color: #f4f6f9;
    color: #2c3e50;
} */

.container_elu {
    max-width: 900px;
    margin: auto;
    padding: 40px 20px;
}

 h2.grand-titre-elu {
    margin: 30px 0 20px;
    border-left: 4px solid #3498db;
    padding-left: 10px;
    color: #2c3e50;
    font-weight: bold;
    font-size: 28px;
}

h3 {
    color: #3498db;
    font-weight: 800;
    font-size: 16px;
}

/* MAIRE EN AVANT */
.maire-section {
    margin-bottom: 40px;
}

.maire-card {
    display: flex;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.maire-card img {
    width: 300px;
    height: 300px;
    object-fit: cover;
}

.maire-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.maire-content h2 {
    margin: 0 0 10px;
    border: none;
    padding: 0;
}

.maire-content p {
    font-size: 16px;
    color: #555;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* CARTES */
.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #ddd;
}

.card hr {
    margin: 10px 0px;
    padding; 0px;
}


.card-content {
    padding: 15px;
    text-align: center;
}

.card-content h3 {
    margin: 10px 0 5px;
}

/* LISTES SIMPLES */
.grid.small {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.mini-card {
    background: white;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .maire-card {
        flex-direction: column;
    }

    .maire-card img {
        width: 100%;
        height: 250px;
    }
}