/* Blog : compléments au thème (custom-022026.min.css) */

/* Le template prévoit un curseur personnalisé, absent du site */
.post-featured-image a { cursor: pointer; }

/* Filtre par catégorie */
.blog-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}
.blog-categories a {
    display: inline-block;
    padding: 8px 18px;
    background: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
    transition: .3s ease-in-out;
}
.blog-categories a:hover,
.blog-categories a.active {
    background: var(--accent-color);
    color: var(--white-color);
}

/* Date et catégorie */
.blog-meta {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 10px !important;
}
.blog-meta a { color: var(--accent-color); }

.blog-vide {
    text-align: center;
    padding: 40px 0;
}

/* Contenu saisi dans l'éditeur du back-office */
.page-single-post .post-content > .blog-meta { margin-bottom: 25px !important; }
.post-entry h2 { font-size: 32px; margin-top: 1.2em; }
.post-entry h3 { font-size: 26px; margin-top: 1.1em; }
.post-entry h4 { font-size: 21px; margin-top: 1em; }
.post-entry img { max-width: 100%; height: auto; }
.post-entry figure.image { display: table; margin: 25px auto; }
.post-entry figure.image figcaption {
    display: table-caption;
    caption-side: bottom;
    font-size: 14px;
    color: var(--text-color);
    text-align: center;
    padding-top: 8px;
}
.post-entry table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}
.post-entry table td,
.post-entry table th {
    border: 1px solid var(--divider-color);
    padding: 10px;
}
.post-entry iframe { max-width: 100%; }

.post-image img { width: 100%; max-height: 560px; object-fit: cover; }

.blog-autres-articles { padding-top: 0; }

@media (max-width: 767px) {
    .post-entry h2 { font-size: 26px; }
    .post-entry h3 { font-size: 22px; }
    .post-social-sharing { text-align: left; margin-top: 15px; }
}
