/*
Theme Name: Gazette Charmont
Description: Thème personnalisé pour la gazette de Charmont-sous-Barbuise - Interface intuitive inspirée de votre design existant
Version: 1.0
Author: Votre nom
Text Domain: gazette-charmont
*/

/* =====================================
   POLICES MUSEO (reprises de votre code)
   ===================================== */

@font-face {
    font-family: 'Museo';
    src: url('fonts/Museo-300.woff2') format('woff2'),
         url('fonts/Museo-300.woff') format('woff'),
         url('fonts/Museo-300.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Museo';
    src: url('fonts/Museo-500.woff2') format('woff2'),
         url('fonts/Museo-500.woff') format('woff'),
         url('fonts/Museo-500.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Museo';
    src: url('fonts/Museo-700.woff2') format('woff2'),
         url('fonts/Museo-700.woff') format('woff'),
         url('fonts/Museo-700.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* =====================================
   RESET ET BASE (reprenant votre design)
   ===================================== */

* {
    font-family: 'Museo', sans-serif;
    box-sizing: border-box;
}

/* CORRECTION 1: PADDING TOP CORRIGÉ */
body { 
    padding-top: 85px !important; /* Corrigé de 80px à 85px */
    background-color: #f8f9fa;
    margin: 0;
    line-height: 1.6;
    color: #333;
}

body.admin-bar { 
    padding-top: 117px !important; /* Corrigé de 112px à 117px */
}

@media (max-width: 782px) {
    body.admin-bar { 
        padding-top: 131px !important; /* Corrigé de 116px à 131px */
    }
}

/* =====================================
   CORRECTION 2: NOUVEAU HEADER GAZETTE SIMPLE
   ===================================== */

/* MASQUER l'ancien header vert volumineux */
.gazette-header {
    display: none !important;
}

/* NOUVEAU header simple comme souhaité */
.gazette-header-simple {
    background: #f8f9fa !important; /* Fond gris clair */
    padding: 2rem 0 !important;
    margin-top: 0 !important;
    border-bottom: 1px solid #e9ecef !important;
}

.gazette-title-simple {
    font-family: 'Museo', serif !important;
    font-size: 3rem !important;
    font-weight: 400 !important;
    color: #1c8a43 !important; /* Vert signature */
    text-align: center !important;
    margin: 0 !important;
    font-style: italic !important;
    text-shadow: none !important;
    letter-spacing: 1px !important;
}

/* MASQUER l'ancien titre */
.gazette-title-custom {
    display: none !important;
}

/* =====================================
   CORRECTION 3: BOUTONS "LIRE LA SUITE" FONCTIONNELS
   ===================================== */

/* NOUVEAU bouton corrigé */
.btn-read-more-fixed {
    background: linear-gradient(135deg, #1c8a43 0%, #178a3e 100%) !important;
    color: white !important;
    border: none !important;
    padding: 10px 18px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    line-height: 1.2 !important;
    position: relative !important;
    overflow: hidden !important;
}

.btn-read-more-fixed:hover,
.btn-read-more-fixed:focus,
.btn-read-more-fixed:active {
    color: white !important;
    text-decoration: none !important;
    transform: translateX(5px) !important;
    box-shadow: 0 6px 15px rgba(28, 138, 67, 0.4) !important;
    background: linear-gradient(135deg, #178a3e 0%, #155d32 100%) !important;
}

.btn-read-more-fixed i {
    font-size: 0.85rem !important;
    transition: transform 0.3s ease !important;
    position: relative !important;
    z-index: 1 !important;
}

.btn-read-more-fixed:hover i {
    transform: translateX(3px) !important;
}

/* MASQUER les anciens boutons défaillants */
.btn-read-more {
    display: none !important;
}

/* =====================================
   CORRECTION 4: GRILLE D'ARTICLES 2x3
   ===================================== */

.articles-grid-compact {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 25px !important;
    margin: 2rem auto 3rem auto !important;
    max-width: 1200px !important;
    padding: 0 20px !important;
}

.article-card-compact {
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 420px !important;
}

.article-card-compact:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
}

.article-image-compact {
    position: relative !important;
    height: 180px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}

.article-image-compact img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.article-card-compact:hover .article-image-compact img {
    transform: scale(1.05) !important;
}

.article-content-compact {
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.article-footer-compact {
    margin-top: auto !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 15px !important;
    flex-shrink: 0 !important;
}

/* Image par défaut */
.article-no-image {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.no-image-placeholder {
    text-align: center !important;
    color: #6c757d !important;
}

.no-image-placeholder i {
    font-size: 3rem !important;
    margin-bottom: 10px !important;
    display: block !important;
}

.no-image-placeholder span {
    font-size: 1rem !important;
    font-weight: 600 !important;
}

/* Métadonnées des articles */
.article-meta-compact {
    margin-bottom: 12px !important;
    flex-shrink: 0 !important;
}

.author-info-compact {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
}

.author-name {
    font-weight: 600 !important;
    color: #1c8a43 !important;
    font-size: 0.85rem !important;
}

.article-date {
    color: #666 !important;
    font-size: 0.8rem !important;
}

.article-title-compact {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.3 !important;
    flex-shrink: 0 !important;
}

.article-title-compact a {
    color: #333 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.article-title-compact a:hover {
    color: #1c8a43 !important;
}

.article-excerpt-compact {
    color: #666 !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    margin-bottom: 15px !important;
    flex-grow: 1 !important;
}

/* Statistiques d'articles */
.article-stats-compact {
    display: flex !important;
    gap: 15px !important;
    font-size: 0.8rem !important;
    color: #999 !important;
}

.views-count, .likes-count {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.likes-count i {
    color: #e74c3c !important;
}

.views-count i {
    color: #3498db !important;
}

/* Badge article à la une */
.article-badge-featured {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%) !important;
    color: #212529 !important;
    padding: 5px 10px !important;
    border-radius: 12px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
    z-index: 2 !important;
}

/* =====================================
   CORRECTION 5: BLASON NAVBAR - FORCE ABSOLUE
   ===================================== */

.main-nav .navbar-brand {
    margin-right: 30px !important;
    display: flex !important;
    align-items: center !important;
}

.main-nav .navbar-brand img {
    height: 50px !important;
    width: auto !important;
    margin-right: 15px !important;
    display: block !important;
    max-width: none !important;
    object-fit: contain !important;
}

.main-nav .brand-text {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.main-nav .brand-text span {
    font-family: 'Museo', sans-serif !important;
    font-weight: 700 !important;
    color: white !important;
    font-size: 1.2rem !important;
    line-height: 1.2 !important;
    display: block !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
}

/* =====================================
   NOUVEAU: SECTION INFORMATIONS PRATIQUES
   ===================================== */

.infos-section {
    background: #f8f9fa !important;
    padding: 4rem 0 !important;
    margin-top: 3rem !important;
}

.infos-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #1c8a43 !important;
    text-align: center !important;
    margin-bottom: 3rem !important;
}

.info-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)) !important;
    gap: 40px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.info-card {
    background: white !important;
    border-radius: 15px !important;
    padding: 40px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.info-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.info-card h3 {
    color: #1c8a43 !important;
    font-size: 1.5rem !important;
    margin-bottom: 25px !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.info-card .icon {
    font-size: 2rem !important;
    color: #1c8a43 !important;
}

.horaires-list {
    list-style: none !important;
    padding: 0 !important;
}

.horaires-list li {
    display: flex !important;
    justify-content: space-between !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.horaires-list li:last-child {
    border-bottom: none !important;
}

.jour {
    font-weight: 700 !important;
    color: #333 !important;
}

.horaire {
    color: #1c8a43 !important;
    font-weight: 500 !important;
}

.ferme {
    color: #999 !important;
    font-style: italic !important;
}

.info-item {
    margin-bottom: 15px !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.info-item:last-child {
    border-bottom: none !important;
}

.info-label {
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 5px !important;
}

.info-value {
    color: #666 !important;
    font-size: 1.1rem !important;
}

.contact-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    margin-top: 20px !important;
}

.btn-contact {
    background: linear-gradient(135deg, #1c8a43 0%, #178a3e 100%) !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
}

.btn-contact:hover {
    color: white !important;
    text-decoration: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(28, 138, 67, 0.3) !important;
}

/* =====================================
   NOUVEAU: BOUTON "VOIR TOUS LES ARTICLES"
   ===================================== */

.all-articles-section {
    text-align: center !important;
    margin: 3rem 0 !important;
}

.btn-all-articles {
    background: linear-gradient(135deg, #1c8a43 0%, #178a3e 100%) !important;
    color: white !important;
    border: none !important;
    padding: 15px 30px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(28, 138, 67, 0.2) !important;
}

.btn-all-articles:hover {
    color: white !important;
    text-decoration: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(28, 138, 67, 0.3) !important;
}

/* =====================================
   NOUVEAU: STYLES POUR AUCUN ARTICLE
   ===================================== */

.no-posts-custom {
    text-align: center !important;
    padding: 4rem 2rem !important;
    background: white !important;
    border-radius: 15px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    margin: 2rem 0 !important;
}

.no-posts-icon {
    font-size: 4rem !important;
    color: #1c8a43 !important;
    margin-bottom: 1.5rem !important;
}

.no-posts-custom h3 {
    color: #333 !important;
    font-size: 1.8rem !important;
    margin-bottom: 1rem !important;
}

.no-posts-custom p {
    color: #666 !important;
    font-size: 1.1rem !important;
    margin-bottom: 2rem !important;
}

.btn-add-article {
    background: linear-gradient(135deg, #1c8a43 0%, #178a3e 100%) !important;
    color: white !important;
    border: none !important;
    padding: 12px 25px !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
}

.btn-add-article:hover {
    color: white !important;
    text-decoration: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(28, 138, 67, 0.3) !important;
}

/* =====================================
   EXISTANT: EN-TÊTE GAZETTE (votre design existant)
   ===================================== */

.gazette-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gazette-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.gazette-title i {
    font-size: 2rem;
    opacity: 0.9;
}

.gazette-subtitle {
    font-size: 1.2rem;
    margin: 10px 0 0 0;
    opacity: 0.9;
    font-weight: 300;
}

.gazette-date {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* =====================================
   EXISTANT: NAVIGATION (style admin adapté)
   ===================================== */

.gazette-nav {
    background: rgba(255,255,255,0.1);
    margin-top: 1rem;
    border-radius: 10px;
    padding: 10px 0;
}

.gazette-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.gazette-nav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.gazette-nav a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* =====================================
   EXISTANT: ARTICLES GRID (reprenant votre style)
   ===================================== */

.articles-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 2rem;
}

.article-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.article-image {
    position: relative;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 25px;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.article-meta i {
    color: #1c8a43;
    margin-right: 5px;
}

.article-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #2d3748;
}

.article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #1c8a43;
}

.article-excerpt {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.article-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =====================================
   EXISTANT: BOUTONS (style admin)
   ===================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, #1c8a43 0%, #178a3e 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(28, 138, 67, 0.3);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    color: white;
    text-decoration: none;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.85rem;
}

/* =====================================
   EXISTANT: SIDEBAR
   ===================================== */

.gazette-sidebar {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1c8a43;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget {
    margin-bottom: 30px;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f4;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget ul li a:hover {
    color: #1c8a43;
}

/* =====================================
   EXISTANT: PAGINATION (style votre admin)
   ===================================== */

.gazette-pagination {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    margin: 0 5px;
    background: white;
    color: #666;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background: linear-gradient(135deg, #1c8a43 0%, #178a3e 100%);
    color: white;
    border-color: #1c8a43;
    transform: translateY(-2px);
    text-decoration: none;
}

/* =====================================
   EXISTANT: STYLES PAGE D'ACCUEIL
   ===================================== */

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1c8a43;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 10px;
}

.featured-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 2rem;
}

.featured-article-card {
    background: linear-gradient(135deg, #1c8a43 0%, #178a3e 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(28, 138, 67, 0.3);
    transition: all 0.3s ease;
    color: white;
}

.featured-article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(28, 138, 67, 0.4);
}

.featured-article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.featured-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-article-card:hover .featured-article-image img {
    transform: scale(1.1);
}

.featured-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
}

.featured-badge {
    background: rgba(255,255,255,0.9);
    color: #1c8a43;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.featured-article-content {
    padding: 25px;
}

.featured-article-content .article-meta {
    color: rgba(255,255,255,0.8);
    margin-bottom: 15px;
}

.featured-article-title a {
    color: white;
    text-decoration: none;
}

.featured-article-title a:hover {
    color: #f0f0f0;
}

.article-badge-important {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-share {
    margin-left: auto;
}

.load-more-section {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
}

#load-more-btn {
    min-width: 250px;
    padding: 15px 30px;
    font-size: 1.1rem;
}

#load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* =====================================
   RESPONSIVE DESIGN - MISE À JOUR
   ===================================== */

@media (max-width: 992px) {
    .articles-grid-compact {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(3, 1fr) !important;
    }
    
    body {
        padding-top: 80px !important;
    }
    
    body.admin-bar {
        padding-top: 112px !important;
    }
    
    .gazette-title {
        font-size: 2rem;
    }
    
    .gazette-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-articles-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-article-content {
        padding: 20px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .article-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .gazette-title-simple {
        font-size: 2.5rem !important;
    }
    
    .articles-grid-compact {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        gap: 20px !important;
        padding: 0 15px !important;
    }
    
    .info-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .info-card {
        padding: 20px !important;
    }
    
    .contact-buttons {
        flex-direction: column !important;
    }
    
    .article-footer-compact {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }
    
    .btn-read-more-fixed {
        justify-content: center !important;
        text-align: center !important;
    }
    
    body {
        padding-top: 75px !important;
    }
    
    body.admin-bar {
        padding-top: 121px !important;
    }
    
    .main-nav .navbar-brand img {
        height: 40px !important;
        margin-right: 10px !important;
    }
    
    .main-nav .brand-text span {
        font-size: 1rem !important;
    }
}

@media (max-width: 576px) {
    .gazette-header-simple {
        padding: 1.5rem 0 !important;
    }
    
    .gazette-title-simple {
        font-size: 2rem !important;
    }
    
    body {
        padding-top: 70px !important;
    }
    
    body.admin-bar {
        padding-top: 116px !important;
    }
    
    .main-nav .navbar-brand img {
        height: 35px !important;
        margin-right: 8px !important;
    }
    
    .main-nav .brand-text span {
        font-size: 0.9rem !important;
    }
    
    .article-card-compact {
        min-height: 380px !important;
    }
}

/* =====================================
   EXISTANT: UTILITAIRES WORDPRESS
   ===================================== */

.wp-block-image {
    margin: 2rem 0;
}

.wp-block-quote {
    border-left: 4px solid #1c8a43;
    padding: 20px;
    margin: 2rem 0;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.alignleft {
    float: left;
    margin: 0 20px 15px 0;
}

.alignright {
    float: right;
    margin: 0 0 15px 20px;
}

.aligncenter {
    display: block;
    margin: 20px auto;
    text-align: center;
}

/* États de chargement */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Messages d'état */
.gazette-message {
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0;
    font-weight: 500;
}

.gazette-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.gazette-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* =====================================
   NOUVEAUX: FOCUS ET ACCESSIBILITÉ
   ===================================== */

.btn-read-more-fixed:focus,
.btn-all-articles:focus,
.btn-contact:focus {
    outline: 2px solid #1c8a43 !important;
    outline-offset: 2px !important;
}

/* =====================================
   NOUVEAU: ANIMATION LOADING
   ===================================== */

@keyframes loadingPulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading {
    animation: loadingPulse 1.5s ease-in-out infinite !important;
}

/* =====================================
   DEBUG (à supprimer en production)  
   ===================================== */

.debug-mode .btn-read-more-fixed {
    border: 2px solid red !important;
}

.debug-mode .article-card-compact {
    border: 1px solid blue !important;
}

.debug-mode .gazette-header-simple {
    border: 2px solid green !important;
}