        /* Désactiver le hero sticky sur cette page */
        .hero-banner {
            position: relative !important;
            top: auto !important;
            z-index: 1 !important;
        }

        /* Styles spécifiques aux actualités */
        main {
            width: 100%;
            margin: 0;
            padding: 0 2rem;
        }

        /* Breadcrumbs */
        .breadcrumbs {
            max-width: 1200px;
            margin: 1rem auto 2rem;
            padding: 0 2rem;
        }

        .breadcrumb-list {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            list-style: none;
            padding: 0;
            margin: 0;
            font-size: 0.9rem;
        }

        .breadcrumb-item {
            display: flex;
            align-items: center;
        }

        .breadcrumb-item a {
            color: #004e92;
            text-decoration: none;
            transition: color 0.2s;
        }

        .breadcrumb-item a:hover {
            color: #0066cc;
            text-decoration: underline;
        }

        .breadcrumb-separator {
            margin: 0 0.5rem;
            color: #666;
        }

        .breadcrumb-current {
            color: #333;
            font-weight: 600;
        }

        .container-content {
            max-width: 1400px;
            margin: 0 auto;
        }


        .section {
            color: #004e92;
            font-size: 2.2rem;
            margin-bottom: 2rem;
            text-align: center;
            font-weight: 700;
            position: relative;
        }

        .section::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: linear-gradient(135deg, #004e92, #0066cc);
            border-radius: 2px;
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
            margin-bottom: 3rem;
        }

        @media (max-width: 1200px) {
            .grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 900px) {
            .grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 600px) {
            .grid {
                grid-template-columns: 1fr;
            }
        }

        .card {
            background: #fff;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            transition: all 0.4s ease;
            border: 1px solid rgba(0, 78, 146, 0.1);
            position: relative;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
            background: var(--category-color, linear-gradient(135deg, #004e92, #0066cc));
        }

        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
        }

        .card-cover {
            width: 100%;
            height: 180px;
            overflow: hidden;
            position: relative;
            background: #f8fafc;
        }

        .card-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .card-cover--empty {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .card-cover-placeholder {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.35rem;
            color: #475569;
            font-size: 0.9rem;
        }

        .card-cover-placeholder i {
            font-size: 1.5rem;
            color: #94a3b8;
        }

        .card-header {
            padding: 1.5rem 1.5rem 0.5rem;
            position: relative;
        }

        .badges-container {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }

        .badge {
            padding: 0.4rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .badge.general {
            background: linear-gradient(135deg, #004e92, #0066cc);
            color: white;
        }

        .badge.evenement {
            background: linear-gradient(135deg, #2e7d32, #4caf50);
            color: white;
        }

        .badge.pedagogique {
            background: linear-gradient(135deg, #f57c00, #ff9800);
            color: white;
        }

        .badge.reussite {
            background: linear-gradient(135deg, #7b1fa2, #9c27b0);
            color: white;
        }

        /* Nouvelles catégories normalisées par generateSlug() */
        .badge.formation {
            background: linear-gradient(135deg, #f57c00, #ff9800);
            color: white;
        }

        .badge.partenariat {
            background: linear-gradient(135deg, #00695c, #26a69a);
            color: white;
        }

        .badge.actualite {
            background: linear-gradient(135deg, #283593, #3f51b5);
            color: white;
        }

        .card-title {
            font-size: 17px;
            font-weight: 700;
            color: #333;
            margin-bottom: 0.5rem;
            line-height: 1.4;
        }

        .card-date {
            color: #666;
            font-size: 0.9rem;
            margin-bottom: 0;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid #e0e0e0;
        }

        .date-modified {
            color: #999;
            font-size: 0.85rem;
            font-style: italic;
            margin-left: 0.25rem;
        }

        .card-body {
            padding: 0.5rem 1.5rem 1.5rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .card-excerpt {
            color: #666;
            line-height: 1.7;
            margin-bottom: 1.5rem;
            margin-top: 0;
            flex-grow: 1;
            display: -webkit-box;
            -webkit-line-clamp: 7;
            line-clamp: 7;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            word-wrap: break-word;
            max-height: calc(1.7em * 7);
        }

        .card-footer {
            margin-top: auto;
            padding: 0 1.5rem 1.5rem;
        }

        .btn-actualite {
            background: linear-gradient(135deg, #004e92, #0066cc);
            color: white;
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 25px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            text-decoration: none;
            font-size: 0.9rem;
        }

        .btn-actualite:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 78, 146, 0.3);
        }

        .featured-news {
            background: #fff;
            border-radius: 20px;
            padding: 2rem;
            margin-bottom: 3rem;
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(0, 78, 146, 0.1);
        }

        .featured-news::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
            background: linear-gradient(135deg, #f57c00, #ff9800);
        }

        .featured-news-content {
            display: flex;
            gap: 2rem;
            align-items: flex-start;
        }

        .featured-news-image {
            flex: 0 0 25%;
            min-width: 0;
            align-self: stretch;
        }

        .featured-cover {
            margin: 0;
            border-radius: 18px;
            overflow: hidden;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .featured-cover img {
            width: 100%;
            height: 100%;
            min-height: 350px;
            object-fit: cover;
            object-position: center;
            display: block;
            flex: 1;
        }

        .featured-cover figcaption {
            font-size: 0.9rem;
            margin-top: 0.5rem;
            color: #475569;
            text-align: center;
            padding: 0.5rem;
        }

        .featured-news-text {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
        }

        .featured-news-text .btn-actualite {
            margin-top: auto;
            align-self: flex-start;
        }

        @media (max-width: 768px) {
            .featured-news-content {
                flex-direction: column;
                gap: 1.5rem;
            }

            .featured-news-image {
                flex: 0 0 auto;
                width: 100%;
            }

            .featured-cover img {
                min-height: 220px;
                height: 220px;
            }
        }

        .featured-header {
            margin-bottom: 0.75rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid #e0e0e0;
            flex-shrink: 0;
        }

        .featured-title-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }

        .featured-title {
            color: #333;
            font-size: 1.65rem;
            font-weight: 700;
            margin: 0;
            line-height: 1.3;
            flex: 1;
            min-width: 200px;
        }

        .featured-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: linear-gradient(135deg, #f57c00, #ff9800);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 25px;
            font-size: 0.8rem;
            font-weight: 500;
            box-shadow: 0 4px 12px rgba(245, 124, 0, 0.3);
            flex-shrink: 0;
        }

        .featured-date-row {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .featured-date {
            font-size: 0.9rem;
            color: #666;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin: 0;
        }

        .featured-date .date-modified {
            color: #999;
            font-size: 0.85rem;
            font-style: italic;
            margin-left: 0.25rem;
        }

        .featured-excerpt {
            font-size: 1rem;
            line-height: 1.65;
            color: #444;
            margin-bottom: 1.2rem;
            padding: 0.5rem 0 0 0;
            max-height: calc(1.65em * 20);
            overflow: hidden;
            text-align: justify;
            text-justify: inter-word;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            flex-grow: 1;
        }


        .featured-excerpt p {
            margin: 0 0 0.6rem 0;
            text-indent: 0;
            orphans: 3;
            widows: 3;
        }

        .featured-excerpt p:empty {
            display: none;
        }

        .featured-excerpt p:has(> br:only-child) {
            display: none;
        }

        .featured-excerpt p:first-of-type {
            margin-top: 0;
        }

        .featured-excerpt p:last-child {
            margin-bottom: 0;
        }

        .featured-excerpt strong {
            font-weight: 700;
            color: #004e92;
        }

        .featured-excerpt em {
            font-style: italic;
            color: #555;
        }

        .featured-excerpt sup {
            font-size: 0.75em;
            vertical-align: super;
            line-height: 0;
        }

        .featured-excerpt a {
            color: #0066cc;
            text-decoration: underline;
            text-decoration-color: rgba(0, 102, 204, 0.3);
            transition: text-decoration-color 0.2s ease;
        }

        .featured-excerpt a:hover {
            text-decoration-color: #0066cc;
        }

        .featured-excerpt ul,
        .featured-excerpt ol {
            display: block !important;
            margin: 0.6em 0 !important;
            padding-left: 1.4em !important;
            list-style-position: outside !important;
            list-style-type: disc !important;
        }

        .featured-excerpt ul {
            list-style-type: disc !important;
        }

        .featured-excerpt ol {
            list-style-type: decimal !important;
        }

        .featured-excerpt li {
            display: list-item !important;
            margin: 0.3em 0 !important;
            line-height: 1.5 !important;
            padding-left: 0.5em !important;
            list-style: inherit !important;
        }

        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            margin-top: 3rem;
        }

        .pagination a,
        .pagination span {
            padding: 0.75rem 1rem;
            border: 1px solid #ddd;
            color: #333;
            text-decoration: none;
            border-radius: 6px;
            transition: all 0.3s ease;
        }

        .pagination a:hover {
            background: #004e92;
            color: white;
            border-color: #004e92;
        }

        .pagination .current {
            background: #004e92;
            color: white;
            border-color: #004e92;
        }

        .pagination .disabled {
            color: #ccc;
            cursor: not-allowed;
        }

        .no-news {
            text-align: center;
            padding: 3rem;
            color: #666;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 400px;
            grid-column: 1 / -1;
        }

        .no-news i {
            font-size: 3rem;
            color: #ddd;
            margin-bottom: 1rem;
        }

        /* Styles pour les modales */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
        }

        .modal-content {
            background-color: #fff;
            margin: 5% auto;
            padding: 0;
            border-radius: 20px;
            width: 60%;
            max-width: none;
            max-height: 80vh;
            overflow-y: auto;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        }

        .modal-header {
            padding: 2rem 2rem 1rem;
            border-bottom: 1px solid #e0e0e0;
            position: relative;
        }

        .modal-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: none;
            border: none;
            font-size: 2rem;
            cursor: pointer;
            color: #666;
            transition: color 0.3s ease;
        }

        .modal-close:hover {
            color: #004e92;
        }

        .modal-badges {
            margin-bottom: 1rem;
        }

        .modal-badges .badge {
            display: inline-block;
            padding: 0.4rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-right: 0.5rem;
            margin-bottom: 0.5rem;
        }

        .modal-date {
            color: #666;
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }

        .modal-date .date-modified {
            color: #999;
            font-size: 0.85rem;
            font-style: italic;
            margin-left: 0.25rem;
        }

        .modal-body {
            padding: 2rem;
        }

        .modal-section {
            margin-bottom: 2rem;
        }

        .modal-section h3 {
            color: #004e92;
            font-size: 1.2rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .modal-section p {
            line-height: 1.6;
            color: #333;
        }

        .modal-section ul {
            padding-left: 1.5rem;
        }

        .modal-section li {
            margin-bottom: 0.5rem;
            line-height: 1.5;
        }

        @media (max-width: 768px) {
            main {
                padding: 0 1rem;
            }

            .featured-title {
                font-size: 1.5rem;
            }

            .featured-title-row {
                flex-direction: column;
                align-items: flex-start;
            }

            .featured-title {
                width: 100%;
            }

            .featured-badge {
                align-self: flex-end;
            }

            .featured-date {
                white-space: normal;
            }

            .featured-excerpt {
                max-height: calc(1.65em * 12);
            }

            .pagination {
                flex-wrap: wrap;
            }

            .modal-content {
                width: 100%;
                margin: 5% auto;
                border-radius: 0;
            }

            .modal-header,
            .modal-body {
                padding: 1.5rem;
            }
        }

        /* Styles pour le rendu EditorJS côté public */
        .editorjs-header {
            font-weight: 700;
            color: #2d3748;
            margin-bottom: 1rem;
            line-height: 1.3;
        }

        .editorjs-header-1 {
            font-size: 2rem;
            color: #004e92;
        }

        .editorjs-header-2 {
            font-size: 1.75rem;
            color: #004e92;
        }

        .editorjs-header-3 {
            font-size: 1.5rem;
            color: #004e92;
        }

        .editorjs-header-4 {
            font-size: 1.25rem;
            color: #004e92;
        }

        .editorjs-header-5 {
            font-size: 1.1rem;
            color: #004e92;
        }

        .editorjs-header-6 {
            font-size: 1rem;
            color: #004e92;
        }

        .editorjs-paragraph {
            margin-bottom: 1rem;
            line-height: 1.6;
            color: #333;
        }

        .editorjs-list {
            margin-bottom: 1rem;
            padding-left: 1.5rem;
        }

        .editorjs-list-item {
            margin-bottom: 0.5rem;
            line-height: 1.5;
        }

        .editorjs-quote {
            border-left: 4px solid #667eea;
            padding-left: 1.5rem;
            margin: 1.5rem 0;
            font-style: italic;
            color: #4a5568;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 1rem 1.5rem;
            border-radius: 8px;
        }

        .editorjs-quote .quote-text {
            margin-bottom: 0.5rem;
        }

        .editorjs-quote .quote-caption {
            font-size: 0.9rem;
            color: #666;
            font-style: normal;
        }

        .editorjs-image {
            margin: 1.5rem 0;
            text-align: center;
        }

        .editorjs-image .image-picture {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .editorjs-image .image-caption {
            margin-top: 0.5rem;
            font-size: 0.9rem;
            color: #666;
            font-style: italic;
        }

        .editorjs-delimiter {
            margin: 2rem 0;
            text-align: center;
        }

        .editorjs-delimiter hr {
            border: none;
            height: 2px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 1px;
        }

        .editorjs-code {
            background: #f8f9fa;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            padding: 1rem;
            margin: 1.5rem 0;
            font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
            font-size: 0.9rem;
            overflow-x: auto;
        }

        .editorjs-warning {
            margin: 1.5rem 0;
            padding: 1rem 1.5rem;
            border-radius: 8px;
            border-left: 4px solid #ff9800;
            background: linear-gradient(135deg, #fff4e6 0%, #ffe0b2 100%);
        }

        .editorjs-warning .warning-title {
            font-weight: 600;
            color: #e65100;
            margin-bottom: 0.5rem;
        }

        .editorjs-warning .warning-message {
            color: #bf360c;
            line-height: 1.5;
        }

        /* Responsive pour EditorJS */
        @media (max-width: 768px) {
            .editorjs-header-1 {
                font-size: 1.75rem;
            }

            .editorjs-header-2 {
                font-size: 1.5rem;
            }

            .editorjs-header-3 {
                font-size: 1.25rem;
            }
        }

        /* Styles pour la page individuelle d'actualité */
        .article-single {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .article-header {
            margin-bottom: 2rem;
            padding-bottom: 1.5rem;
            border-bottom: 2px solid #e9ecef;
        }

        .article-title-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }

        .article-title {
            font-size: 2rem;
            font-weight: 700;
            color: #004e92;
            margin: 0;
            line-height: 1.3;
            flex: 1;
            min-width: 200px;
        }

        .article-category.badge {
            display: inline-block;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.875rem;
            font-weight: 600;
            text-transform: uppercase;
            background: linear-gradient(135deg, #004e92, #0066cc);
            color: #fff;
            flex-shrink: 0;
        }

        .article-date-row {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .article-date {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: #666;
            font-size: 0.9rem;
        }

        .article-date i {
            color: #004e92;
        }

        .article-modified {
            color: #999;
            font-size: 0.85rem;
            font-style: italic;
        }

        .article-image {
            margin: 2rem 0;
            text-align: center;
        }

        .article-image img {
            max-width: 100%;
            height: auto;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .article-content {
            margin: 2rem 0;
            line-height: 1.8;
            color: #333;
        }

        .article-content.quill-content {
            font-size: 1.1rem;
            line-height: 1.6;
        }

        .article-content.quill-content p {
            margin: 0 0 1rem;
        }

        .article-content.quill-content p:last-child {
            margin-bottom: 0;
        }

        /* Conserver les paragraphes vides (sauts de ligne intentionnels) */
        .article-content.quill-content p:empty {
            display: block;
            height: 0.25rem;
            margin: 0.1rem 0;
        }

        .article-content.quill-content p:has(> br:only-child) {
            display: block;
            height: 0.25rem;
            margin: 0.1rem 0;
        }

        /* Réduit aussi l'espacement des extraits dans les cartes */
        .card-excerpt {
            line-height: 1.4;
        }

        .card-excerpt p {
            margin: 0.3rem 0;
        }

        .card-excerpt p:empty {
            display: none;
        }

        .card-excerpt p:has(> br:only-child) {
            display: none;
        }

        .article-content.quill-content strong {
            font-weight: 700;
            color: #004e92;
        }

        .article-content.quill-content ul,
        .article-content.quill-content ol {
            margin: 0.6rem 0;
            padding-left: 1.5rem;
        }

        .article-content.quill-content li {
            margin-bottom: 0.25rem;
        }

        .article-content.quill-content h2,
        .article-content.quill-content h3,
        .article-content.quill-content h4 {
            margin-top: 1rem;
            margin-bottom: 0.5rem;
            color: #004e92;
            font-weight: 700;
        }

        .article-content.quill-content h2:has(> br:only-child),
        .article-content.quill-content h3:has(> br:only-child),
        .article-content.quill-content h4:has(> br:only-child) {
            height: 0.25rem;
            margin: 0.1rem 0;
            padding: 0;
            border: 0;
        }

        .article-content.quill-content h2 {
            font-size: 2rem;
        }

        .article-content.quill-content h3 {
            font-size: 1.5rem;
        }

        .article-content.quill-content h4 {
            font-size: 1.25rem;
        }

        .article-back {
            margin-bottom: 2rem;
        }

        /* Lien de retour discret (au-dessus et en bas de l'article) */
        .back-link-wrap {
            margin: 0 0 0.75rem;
        }

        .back-link-bottom {
            margin-top: 1.25rem;
        }

        .back-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: #4b5563;
            /* gris sobre */
            font-size: 0.95rem;
            text-decoration: none;
        }

        .back-link i {
            font-size: 0.9rem;
        }

        .back-link:hover {
            text-decoration: underline;
            color: #374151;
        }

        .article-back .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            color: #fff;
            text-decoration: none;
            border-radius: 8px;
            font-weight: 600;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .article-back .btn:hover {
            transform: translateX(-3px);
            box-shadow: 0 4px 12px rgba(0, 78, 146, 0.3);
        }

        .article-back .btn-secondary {
            background: linear-gradient(135deg, #6c757d, #5a6268);
        }

        /* Responsive pour article-single */
        @media (max-width: 768px) {
            .article-single {
                padding: 1.5rem;
                margin: 1rem;
            }

            .article-title-row {
                flex-direction: column;
                align-items: flex-start;
            }

            .article-title {
                font-size: 1.5rem;
                width: 100%;
            }

            .article-category.badge {
                align-self: flex-end;
            }

            .article-content.quill-content {
                font-size: 1rem;
            }

            .article-content.quill-content h2 {
                font-size: 1.5rem;
            }

            .article-content.quill-content h3 {
                font-size: 1.25rem;
            }

            .article-meta {
                flex-direction: column;
                align-items: flex-start;
            }

            .article-back {
                margin-bottom: 1.5rem;
            }

            .article-back .btn {
                padding: 0.6rem 1.2rem;
                font-size: 0.9rem;
            }
        }

        .article-cover {
            margin: 2rem 0 2.5rem;
        }

        .article-cover figure {
            margin: 0;
            border-radius: 24px;
            overflow: hidden;
            background: #f1f5f9;
            display: flex;
            flex-direction: column;
            min-height: 200px;
            max-height: 420px;
            height: 420px;
        }

        .article-cover figure>img {
            width: 100%;
            height: 100%;
            max-height: 420px;
            object-fit: cover;
            object-position: center;
            display: block;
            margin: auto 0;
            flex-shrink: 0;
        }

        .article-cover figcaption {
            padding: 0.75rem 1.25rem;
            font-size: 0.95rem;
            color: #475569;
            background: #fff;
        }

        @media (max-width: 768px) {
            .article-cover figure {
                max-height: 240px;
                height: 240px;
            }

            .article-cover img {
                max-height: 240px;
                height: 100%;
                object-fit: cover;
            }
        }

        .article-gallery {
            margin: 3rem 0;
            padding: 2rem;
            background: #fff;
            border-radius: 24px;
            box-shadow: 0 25px 80px rgba(15, 23, 42, 0.08);
        }

        .article-gallery-header {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .article-gallery-header h2 {
            margin: 0;
            font-size: 1.5rem;
            color: #0f172a;
        }

        .article-gallery-header p {
            margin: 0;
            color: #64748b;
        }

        .news-gallery-swiper {
            width: 100%;
        }

        .news-gallery-swiper .swiper-slide figure {
            margin: 0;
            border-radius: 18px;
            overflow: hidden;
            background: #0f172a;
        }

        .news-gallery-zoomable {
            border: none;
            background: transparent;
            padding: 0;
            width: 100%;
            cursor: zoom-in;
            display: block;
        }

        .news-gallery-zoomable img {
            width: 100%;
            height: 504px;
            object-fit: cover;
            display: block;
        }

        .news-gallery-swiper img {
            width: 100%;
            height: 504px;
            object-fit: cover;
            display: block;
        }

        .news-gallery-swiper figcaption {
            padding: 0.9rem 1.25rem;
            color: #f8fafc;
            font-size: 0.95rem;
        }

        .news-gallery-next,
        .news-gallery-prev {
            color: #1d4ed8;
        }

        .news-gallery-pagination .swiper-pagination-bullet {
            width: 10px;
            height: 10px;
            background: #cbd5f5;
            opacity: 1;
        }

        .news-gallery-pagination .swiper-pagination-bullet-active {
            background: #1d4ed8;
        }

        .news-gallery-modal {
            position: fixed;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            z-index: 2000;
        }

        .news-gallery-modal--visible {
            display: flex;
        }

        .news-gallery-modal-overlay {
            position: absolute;
            inset: 0;
            background: rgba(15, 23, 42, 0.7);
            backdrop-filter: blur(2px);
        }

        .news-gallery-modal-content {
            position: relative;
            max-width: min(960px, 90vw);
            max-height: 90vh;
            background: #0f172a;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 30px 100px rgba(15, 23, 42, 0.45);
        }

        .news-gallery-modal-content img {
            display: block;
            width: 100%;
            height: auto;
            max-height: 80vh;
            object-fit: contain;
            background: #000;
        }

        .news-gallery-modal-caption {
            margin: 0;
            padding: 1rem 1.5rem;
            color: #f8fafc;
            font-size: 1rem;
        }

        .news-gallery-modal-close {
            position: absolute;
            top: 0.75rem;
            right: 0.75rem;
            border: none;
            background: rgba(15, 23, 42, 0.7);
            color: #fff;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.2s ease;
        }

        .news-gallery-modal-close:hover {
            background: rgba(37, 99, 235, 0.9);
        }

        @media (max-width: 768px) {
            .article-gallery {
                padding: 1.5rem;
            }

            .news-gallery-swiper img,
            .news-gallery-zoomable img {
                height: 312px;
            }
        }

        /* Styles pour les boutons de partage */
        .article-share {
            margin: 2.5rem 0;
            padding: 1.5rem 0;
            border-top: 2px solid #e0e0e0;
        }

        .article-share-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: #004e92;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .article-share-title i {
            font-size: 1.1rem;
            color: #004e92;
        }

        .article-share-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            align-items: center;
        }

        .share-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0;
            padding: 0.5rem;
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.85rem;
            color: #fff;
            transition: all 0.3s ease;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        }

        .share-button i {
            font-size: 0.95rem;
        }

        .share-icon-x {
            font-size: 0.95rem;
            font-weight: 900;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            line-height: 1;
            display: inline-block;
            -webkit-text-stroke: 0.5px currentColor;
            text-stroke: 0.5px currentColor;
            letter-spacing: -0.05em;
        }

        .share-button:hover,
        .share-button:focus {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
            text-decoration: none;
            color: #fff;
        }

        .share-button:active {
            transform: translateY(0);
        }

        .share-facebook {
            background-color: #1877f2;
        }

        .share-facebook:hover,
        .share-facebook:focus {
            background-color: #166fe5;
        }

        .share-twitter {
            background-color: #1da1f2;
        }

        .share-twitter:hover,
        .share-twitter:focus {
            background-color: #1a91da;
        }

        .share-linkedin {
            background-color: #0077b5;
        }

        .share-linkedin:hover,
        .share-linkedin:focus {
            background-color: #006699;
        }

        .share-whatsapp {
            background-color: #25d366;
        }

        .share-whatsapp:hover,
        .share-whatsapp:focus {
            background-color: #20ba5a;
        }

        @media (max-width: 768px) {
            .article-share {
                margin: 2rem 0;
                padding: 1rem 0;
            }

            .article-share-title {
                font-size: 1.1rem;
                margin-bottom: 1rem;
            }

            .article-share-buttons {
                flex-direction: row;
                gap: 0.75rem;
                justify-content: center;
            }

            .share-button {
                width: 2.5rem;
                height: 2.5rem;
                padding: 0.5rem;
            }
        }

        /* Styles pour les pièces jointes dans l'article */
        .article-attachments {
            margin: 2rem 0;
            padding: 1.5rem 0;
            border-top: 2px solid #e0e0e0;
        }

        .attachments-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: #004e92;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .attachments-title i {
            font-size: 1.1rem;
        }

        .attachments-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        @media (max-width: 768px) {
            .article-attachments {
                margin: 1.5rem 0;
                padding: 1rem 0;
            }

            .attachments-title {
                font-size: 1.1rem;
                margin-bottom: 1rem;
            }
        }