    /* Style inline pour forcer l'alignement et compacter la section (contourne le cache) */

    /* Réduire le padding du hero block */
    .hero-block {
        padding-top: 140px !important;
        /* Espace pour le header fixe */
        padding-bottom: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* Titre plus compact */
    .hero-title {
        font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.15 !important;
    }

    /* Sous-titre plus compact */
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 0.75rem !important;
    }

    /* Réduire les espaces dans le contenu */
    .hero-content {
        gap: 0.75rem !important;
    }

    /* Boutons CTA plus compacts */
    .hero-cta {
        gap: 0.75rem !important;
        margin-top: 0.5rem !important;
    }

    .hero-cta .btn {
        padding: 0.65rem 1.25rem !important;
        font-size: 0.9rem !important;
    }

    /* Barre de recherche plus compacte */
    .search-form {
        margin-bottom: 0.5rem !important;
    }

    .search-form input[type="search"] {
        padding: 0.6rem 1rem !important;
    }

    @media (min-width: 768px) {
        .hero-grid {
            display: grid !important;
            grid-template-columns: 1fr 1fr !important;
            align-items: stretch !important;
            gap: 1.5rem !important;
            /* Gap réduit */
        }

        .hero-content {
            display: flex !important;
            flex-direction: column !important;
            padding-top: 0 !important;
            margin-top: 0 !important;
        }

        .hero-image {
            display: flex !important;
            margin-top: 0 !important;
            padding-top: 0 !important;
        }

        .hero-image-wrapper {
            margin-top: 0 !important;
            flex: 1 !important;
            height: 100% !important;
            min-height: 280px !important;
            /* Hauteur réduite */
        }

        .hero-image-wrapper .hero-image-link {
            display: block !important;
            height: 100% !important;
        }

        .hero-image-wrapper .hero-featured-image {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
        }

        /* Barre de recherche et boutons alignés */
        .hero-content .search-form {
            width: 100% !important;
            max-width: 100% !important;
        }

        .hero-cta {
            display: flex !important;
            width: 100% !important;
            justify-content: flex-start !important;
        }

        .hero-cta .btn {
            flex: 1 !important;
            text-align: center !important;
        }
    }

    /* ===== CATEGORY CARDS V2 - Background Images ===== */
    .categories-grid-v2 {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem !important;
    }

    @media (min-width: 992px) {
        .categories-grid-v2 {
            grid-template-columns: repeat(4, 1fr) !important;
        }
    }

    .category-card-v2 {
        position: relative !important;
        display: block !important;
        height: 220px !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        text-decoration: none !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    }

    .category-card-v2:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2) !important;
    }

    .category-card-bg {
        position: absolute !important;
        inset: 0 !important;
        background-size: cover !important;
        background-position: center !important;
        background-color: #1e3a5f !important;
        transition: transform 0.4s ease !important;
    }

    .category-card-v2:hover .category-card-bg {
        transform: scale(1.08) !important;
    }

    .category-card-overlay {
        position: absolute !important;
        inset: 0 !important;
        background: linear-gradient(to top,
                rgba(10, 37, 64, 0.95) 0%,
                rgba(10, 37, 64, 0.6) 50%,
                rgba(10, 37, 64, 0.3) 100%) !important;
        transition: background 0.3s ease !important;
    }

    .category-card-v2:hover .category-card-overlay {
        background: linear-gradient(to top,
                rgba(10, 37, 64, 0.98) 0%,
                rgba(10, 37, 64, 0.5) 50%,
                rgba(10, 37, 64, 0.2) 100%) !important;
    }

    .category-card-content {
        position: absolute !important;
        inset: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        padding: 1.25rem !important;
        color: #fff !important;
        z-index: 2 !important;
    }

    .category-count-badge {
        position: absolute !important;
        top: 1rem !important;
        left: 1rem !important;
        background: rgba(255, 255, 255, 0.2) !important;
        backdrop-filter: blur(8px) !important;
        padding: 0.35rem 0.75rem !important;
        border-radius: 20px !important;
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        color: #fff !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }

    .category-card-title {
        font-size: 1.25rem !important;
        font-weight: 700 !important;
        margin: 0 0 0.5rem 0 !important;
        color: #fff !important;
        line-height: 1.2 !important;
    }

    .category-card-desc {
        font-size: 0.85rem !important;
        color: rgba(255, 255, 255, 0.8) !important;
        margin: 0 !important;
        line-height: 1.4 !important;
    }

    /* Section spacing */
    .featured-categories {
        padding: 2rem 0 !important;
        margin-bottom: 0 !important;
    }

    /* ===== À LA UNE SECTION OPTIMIZATION ===== */
    .latest-posts-grid {
        padding: 1.5rem 0 2rem !important;
        margin-top: 0 !important;
    }

    .latest-posts-grid .section-title {
        margin-bottom: 1rem !important;
    }

    /* Filter tabs - scrollable on mobile */
    .posts-filter-tabs {
        display: flex !important;
        gap: 0.5rem !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        padding: 0.5rem 0 1rem !important;
        margin-bottom: 1rem !important;
        justify-content: flex-start !important;
    }

    .posts-filter-tabs::-webkit-scrollbar {
        display: none !important;
    }

    @media (min-width: 768px) {
        .posts-filter-tabs {
            justify-content: center !important;
            flex-wrap: wrap !important;
            overflow-x: visible !important;
        }
    }

    .filter-tab {
        flex-shrink: 0 !important;
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
        font-weight: 500 !important;
        border: 1px solid #e0e0e0 !important;
        background: #fff !important;
        color: #555 !important;
        border-radius: 25px !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        white-space: nowrap !important;
    }

    .filter-tab:hover {
        border-color: #0a2540 !important;
        color: #0a2540 !important;
    }

    .filter-tab.active {
        background: #0a2540 !important;
        color: #fff !important;
        border-color: #0a2540 !important;
    }

    /* Posts grid - equal heights */
    .posts-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    @media (min-width: 768px) {
        .posts-grid {
            grid-template-columns: repeat(2, 1fr) !important;
        }
    }

    @media (min-width: 992px) {
        .posts-grid {
            grid-template-columns: repeat(3, 1fr) !important;
        }
    }

    /* Post cards - equal heights with flexbox */
    .post-card {
        display: flex !important;
        flex-direction: column !important;
        background: #fff !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    }

    .post-card:hover {
        transform: translateY(-4px) !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
    }

    /* Post thumbnail */
    .post-thumbnail {
        position: relative !important;
        overflow: hidden !important;
        aspect-ratio: 16/10 !important;
    }

    .post-thumbnail img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        transition: transform 0.4s ease !important;
    }

    .post-card:hover .post-thumbnail img {
        transform: scale(1.05) !important;
    }

    /* Post content - flex grow for equal heights */
    .post-content {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 !important;
        padding: 1rem !important;
    }

    .post-categories-list {
        display: flex !important;
        gap: 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }

    .post-category {
        display: inline-block !important;
        padding: 0.25rem 0.6rem !important;
        font-size: 0.7rem !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        background: #ff6b6b !important;
        color: #fff !important;
        border-radius: 4px !important;
        text-decoration: none !important;
    }

    .post-title {
        font-size: 1rem !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        margin: 0 0 0.5rem 0 !important;
    }

    .post-title a {
        color: #0a2540 !important;
        text-decoration: none !important;
        transition: color 0.2s ease !important;
    }

    .post-title a:hover {
        color: #ff6b6b !important;
    }

    .post-meta {
        font-size: 0.75rem !important;
        color: #888 !important;
        margin-bottom: 0.5rem !important;
    }

    .post-excerpt {
        font-size: 0.85rem !important;
        color: #666 !important;
        line-height: 1.5 !important;
        flex: 1 !important;
        margin: 0 0 0.75rem 0 !important;
    }

    .post-link {
        display: inline-block !important;
        font-size: 0.85rem !important;
        font-weight: 600 !important;
        color: #ff6b6b !important;
        text-decoration: none !important;
        margin-top: auto !important;
        transition: all 0.2s ease !important;
    }

    .post-link:hover {
        color: #0a2540 !important;
        transform: translateX(3px) !important;
    }

    /* ===== HERO CAROUSEL ===== */
    .hero-carousel {
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
        border-radius: 16px !important;
        overflow: hidden !important;
    }

    /* Progress bars - Instagram style */
    .carousel-progress {
        position: absolute !important;
        top: 12px !important;
        left: 12px !important;
        right: 12px !important;
        display: flex !important;
        gap: 6px !important;
        z-index: 10 !important;
    }

    .progress-bar {
        flex: 1 !important;
        height: 3px !important;
        background: rgba(255, 255, 255, 0.35) !important;
        border-radius: 2px !important;
        overflow: hidden !important;
        cursor: pointer !important;
    }

    .progress-bar::after {
        content: '' !important;
        display: block !important;
        width: 0% !important;
        height: 100% !important;
        background: #fff !important;
        border-radius: 2px !important;
        transition: width 0.1s linear !important;
    }

    .progress-bar.active::after {
        width: 100% !important;
        animation: progressFill 5s linear forwards !important;
    }

    .progress-bar.completed::after {
        width: 100% !important;
        animation: none !important;
    }

    @keyframes progressFill {
        from {
            width: 0%;
        }

        to {
            width: 100%;
        }
    }

    /* Slides container */
    .carousel-slides {
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
    }

    .carousel-slide {
        position: absolute !important;
        inset: 0 !important;
        opacity: 0 !important;
        transition: opacity 0.5s ease-in-out !important;
        pointer-events: none !important;
    }

    .carousel-slide.active {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .carousel-slide .hero-image-link {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
    }

    .carousel-slide .hero-featured-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* Pause on hover */
    .hero-carousel:hover .progress-bar.active::after {
        animation-play-state: paused !important;
    }

    /* Animation pour le filtrage */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(15px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeOutDown {
        from {
            opacity: 1;
            transform: translateY(0);
        }

        to {
            opacity: 0;
            transform: translateY(15px);
        }
    }

    /* Carte masquée - utilise display:none pour que la grille se réorganise */
    .post-card.hidden {
        display: none !important;
    }
