.blog-template-container {
    padding: 2rem 0;


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

    .page-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        color: var(--dark);
    }

    .page-description {
        font-size: 1.1rem;
        color: #666;
        line-height: 1.6;
        max-width: 800px;
        margin: 0 auto;
    }

    /* Section des filtres - Layout en ligne */
    .blog-filters-section {
        margin-bottom: 2rem;
    }

    .filters-and-search-row {
        display: flex;
        align-items: start;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .filters-dropdowns {
        display: flex;
        gap: 1rem;
        flex: 1;
        flex-wrap: wrap;
    }

    /* Dropdowns - Largeur augmentée */
    .dropdown-filter {
        position: relative;
    }

    .dropdown-header {
        border: 1.5px solid var(--blue);
        color: var(--blue);
        padding: 0.75rem 1rem;
        border-radius: 8px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        transition: all 0.2s ease;
        font-size: 0.9rem;
        font-weight: 500;
        width: 100%;
        text-align: left;
        background: transparent;
        min-width: 167px;
    }

    .dropdown-header:hover {
        background: rgba(80, 120, 240, 0.05);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(80, 120, 240, 0.15);
    }

    .dropdown-header.active {
        background: var(--blue);
        color: var(--white);
    }

    .dropdown-header.has-selection {
        background: var(--blue);
        color: var(--white);
    }

    .dropdown-text {
        flex: 1;
    }

    .selection-count {
        margin-left: 0.5rem;
        opacity: 0.8;
    }

    .dropdown-icon {
        width: 16px;
        height: 16px;
        transition: transform 0.2s ease;
        flex-shrink: 0;
    }

    .dropdown-header.active .dropdown-icon {
        transform: rotate(180deg);
    }

    .dropdown-content {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border: 2px solid var(--blue);
        border-top: none;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 8px 25px rgba(80, 120, 240, 0.15);
        z-index: 1000;
        max-height: 250px;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        width: 100%;
    }

    .dropdown-content.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        padding: 0 0 10px;
    }

    /* Correction des checkboxes - tout sur une ligne */
    .checkbox-container {
        padding: 10px 5px 0px 15px;
        transition: background-color 0.2s ease;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .checkbox-container:last-child {
        border-bottom: none;
    }

    .checkbox-container:hover {
        background: rgba(80, 120, 240, 0.05);
    }

    .checkbox-container input[type="checkbox"] {
        margin: 0;
        accent-color: var(--red);
        flex-shrink: 0;
        cursor: pointer;
    }

    .term-label {
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        font-size: 12px;
        color: var(--dark);
        flex: 1;
        margin: 0;
    }

    .term-count {
        color: #999;
        font-size: 0.8rem;
        margin-left: 0.5rem;
        flex-shrink: 0;
    }

    .search-input-container {
        position: relative;
        display: flex;
        align-items: center;
        background: transparent;
        border: 1.5px solid var(--blue);
        border-radius: 8px;
        overflow: hidden;
        transition: all 0.2s ease;
        max-width: 167px;
        color: var(--blue);
    }

    .search-input-container:focus-within {
        border-color: var(--blue);
        box-shadow: 0 0 0 3px rgba(80, 120, 240, 0.1);
    }

    .search-input {
        flex: 1;
        border: none;
        outline: none;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        background: transparent;
    }

    .search-input::placeholder {
        color: #999;
    }

    .search-button {
        background: none;
        border: none;
        padding: 0.5rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #999;
        transition: color 0.2s ease;
    }

    .search-button:hover {
        color: var(--blue);
    }

    .search-icon {
        width: 20px;
        height: 20px;
    }

    /* Bouton principal */
    .btn {
        border: none;
        border-radius: 25px;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

    .btn-reset {
        background: var(--grey);
        color: var(--dark);
    }

    .btn-reset:hover {
        background: #dee2e6;
    }

    /* Lien de réinitialisation */
    .reset-link-container {
        margin-top: 1rem;
        text-align: center;
    }

    .reset-link {
        color: var(--red);
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        transition: all 0.2s ease;
        cursor: pointer;
    }

    .reset-link:hover {
        color: #c8093a;
        text-decoration: underline;
    }

    /* Section des résultats */
    .results-header {
        margin-bottom: 2rem;
    }

    .results-count {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        color: var(--dark);
    }

    /* Recherche et filtres actifs */
    .active-search,
    .active-filters {
        margin-bottom: 1rem;
    }

    .active-search-tag,
    .active-filter-tag {
        background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
        color: var(--white);
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.875rem;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
        margin-right: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .active-filters {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .active-filters-label {
        font-weight: 600;
        color: var(--dark);
        white-space: nowrap;
    }

    .active-filters-tags {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .active-filter-tag {
        background: linear-gradient(135deg, var(--blue) 0%, #4066d6 100%);
        color: var(--white);
    }

    .tag-taxonomy {
        opacity: 0.8;
        font-size: 0.8rem;
    }

    .remove-filter,
    .remove-search {
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: var(--white);
        cursor: pointer;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        line-height: 1;
        transition: background-color 0.2s ease;
    }

    .remove-filter:hover,
    .remove-search:hover {
        background: rgba(255, 255, 255, 0.3);
    }

    /* Grille des articles */
    .blog-posts-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
        place-items: center;
        align-items: stretch;
    }

    /* Aucun résultat */
    .no-posts-found {
        grid-column: 1 / -1;
        text-align: center;
        padding: 3rem;
        color: #666;
        background: var(--white);
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }

    .no-posts-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .no-posts-found h3 {
        margin-bottom: 1rem;
        color: var(--dark);
    }

    .no-posts-found p {
        margin-bottom: 2rem;
        font-size: 1.1rem;
        line-height: 1.6;
    }

    /* Pagination */
    .blog-pagination {
        display: flex;
        justify-content: center;
        margin-top: 3rem;
    }

    .blog-pagination .page-numbers {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;

        @media (max-width: 992px) {
            flex-wrap: wrap;
        }
    }

    .blog-pagination .page-numbers li:not(:has(.prev, .next)):hover,
    .blog-pagination .page-numbers li:has(.current) {
        background: var(--blue);
        color: var(--white);
        border-color: var(--blue);

        a {
            color: var(--white) !important;
        }
    }

    .blog-pagination .page-numbers.prev,
    .blog-pagination .page-numbers.next {
        width: auto;
        padding: 0 1rem;
                border: 2px solid var(--blue);
        padding: 13px 17px;
        border-radius: 100px;
        transition: var(--transition);

        &:hover {
            background: var(--blue);
            color: var(--white);
        }
    }

    .blog-pagination {
        .page-numbers {
            position: relative;
            width: 100%;

            li {
                list-style: none;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                background: transparent;
                text-decoration: none;
                color: var(--blue);
                font-weight: var(--semibold);
                transition: all 0.2s ease;

                &:has(.prev),
                &:has(.next) {
                    border: 0px;
                    width: fit-content;
                    height: fit-content;
                    margin-bottom: 0px;
                }

                &:not(:has(.prev, .next)) {
                    width: 32px;
                    height: 32px;
                    margin: 0 0.25rem;
                    border: 1.5px solid var(--blue);
                    border-radius: 50px;
                }
            }

            li:has(.next, .previous) {
                width: fit-content;
                padding: 20px 5px;

                @media (min-width: 992px) {
                    position: absolute;
                }

                a {
                    color: var(--dark);
                }

                &:hover {
                    a {
                        color: var(--white);
                    }
                }
            }

            li:has(.next) {
                right: 0;
            }

            li:has(.previous) {
                left: 0;
            }
        }
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
        .filters-and-search-row {
            flex-direction: column;
            align-items: center;
            margin-bottom: 30px;
            gap: 1.5rem;
        }

        .filters-dropdowns {
            justify-content: center;
        }

        .search-input-wrapper {
            min-width: auto;
            width: fit-content;
        }

        .btn {
            width: 100%;
        }
    }

    @media (max-width: 768px) {
        .blog-template-container {
            padding: 1rem 0;
        }

        .page-title {
            font-size: 2rem;
        }

        .filters-dropdowns {
            flex-direction: column;
            gap: 1rem;
        }

        .dropdown-filter {
            min-width: auto;
        }

        .dropdown-content {
            min-width: auto;
        }

        .blog-posts-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .blog-filters-section {
            margin: 0 1rem 2rem;
            padding: 1.5rem;
        }

        .active-filters {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.75rem;
        }
    }

    @media (max-width: 480px) {
        .filters-and-search-row {
            gap: 1rem;
        }

        .dropdown-header {
            font-size: 0.85rem;
            padding: 0.625rem 0.875rem;
        }

        .search-input {
            padding: 0.625rem 0.875rem;
            font-size: 0.85rem;
        }

        .btn {
            padding: 0.625rem 1.25rem;
            font-size: 0.85rem;
        }

        .page-title {
            font-size: 1.75rem;
        }

        .checkbox-container {
            padding: 0.625rem 0.875rem;
            gap: 0.5rem;
        }

        .term-count {
            font-size: 0.75rem;
        }
    }

    /* Animations */
    @keyframes slideInScale {
        0% {
            opacity: 0;
            transform: scale(0.8) translateX(-10px);
        }

        100% {
            opacity: 1;
            transform: scale(1) translateX(0);
        }
    }

    .active-filter-tag,
    .active-search-tag {
        animation: slideInScale 0.3s ease-out;
    }

    /* Accessibility */
    .dropdown-header:focus,
    .btn:focus {
        outline: 3px solid rgba(80, 120, 240, 0.3);
        outline-offset: 2px;
    }

    /* Support pour les utilisateurs qui préfèrent les animations réduites */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }

        .btn:hover,
        .dropdown-header:hover {
            transform: none;
        }
    }

    /* Amélioration du contraste pour l'accessibilité */
    @media (prefers-contrast: high) {
        .dropdown-header {
            border-width: 3px;
        }

        .btn {
            border: 2px solid transparent;
        }

        .btn-primary {
            border-color: #a8072f;
        }

        .search-input-container {
            border-width: 3px;
        }
    }
}