/* Styles pour les pages de villes */
.ville-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.ville-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ville-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.ville-content {
    display: block;
}

/* Style for ville entrance image */
.ville-entrance-image,
.ville-content img:first-of-type {
    float: right !important;
    margin: 0 0 1rem 1rem !important;
    max-width: 300px !important;
    position: relative;
    clear: right;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Hide entry title with CSS */
.entry-title,
h1.entry-title {
    display: none !important;
}

/* Ensure text wraps around image */
.ville-content p {
    margin: 0 0 1rem 0;
}

/* Remove grid layout */
@media (min-width: 768px) {
    .ville-content {
        display: block;
    }
}

.info-box,
.services-box,
.quartiers-box,
.contact-box {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.info-box h2,
.services-box h2,
.quartiers-box h2,
.contact-box h2 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.services-box ul {
    list-style: none;
    padding: 0;
}

.services-box li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.services-box li:last-child {
    border-bottom: none;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #0056b3;
}

/* Styles pour la page d'archive */
.villes-archive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.archive-header {
    text-align: center;
    margin-bottom: 3rem;
}

.villes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.ville-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.ville-card h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.ville-card .code-postal {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.ville-excerpt {
    margin-bottom: 1.5rem;
}

/* Pagination */
.pagination {
    margin-top: 3rem;
    text-align: center;
}

.pagination .page-numbers {
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
}

.pagination .current {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}
