/* ------------------- PAGE LISTE ACTUALITÉS ------------------------ */
.actualites-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 140px 40px 80px;
}

.actualites-header {
    text-align: center;
    margin-bottom: 60px;
}

.actualites-header h1 {
    font-family: "Google Sans Code", monospace;
    font-size: 3em;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.actualites-header p {
    font-size: 1.2em;
    color: #7f8c8d;
    font-weight: 300;
}

/* Filtres par catégorie */
.categories-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    border: 2px solid transparent;
    border-radius: 50px;
    color: #2c3e50;
    text-decoration: none;
    font-family: "Google Sans Code", monospace;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: #CC0303;
}

.filter-btn.active {
    background: linear-gradient(135deg, #CC0303, #ff4444);
    color: white;
    border-color: #CC0303;
    box-shadow: 0 6px 20px rgba(204, 3, 3, 0.3);
}

/* Grille des actualités */
.actualites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 35px;
    margin-bottom: 60px;
}

.actualite-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

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

.actualite-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.actualite-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.actualite-card:hover .actualite-image img {
    transform: scale(1.1);
}

.actualite-categorie {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #CC0303, #ff4444);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85em;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(204, 3, 3, 0.4);
}

.actualite-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.actualite-date {
    color: #7f8c8d;
    font-size: 0.9em;
    margin-bottom: 12px;
    font-weight: 500;
}

.actualite-titre {
    font-family: "Google Sans Code", monospace;
    font-size: 1.5em;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.actualite-resume {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.lire-plus {
    color: #CC0303;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.actualite-card:hover .lire-plus {
    transform: translateX(5px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 10px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.pagination-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.pagination-btn.active {
    background: linear-gradient(135deg, #CC0303, #ff4444);
    color: white;
    box-shadow: 0 6px 20px rgba(204, 3, 3, 0.3);
}

.no-actualites {
    text-align: center;
    font-size: 1.2em;
    color: #7f8c8d;
    padding: 60px 20px;
}

/* ------------------- PAGE DÉTAIL ACTUALITÉ ------------------------ */
.actualite-detail-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 140px 40px 80px;
}

.actualite-detail-header {
    margin-bottom: 40px;
}

.breadcrumb {
    font-size: 0.9em;
    color: #7f8c8d;
    margin-bottom: 25px;
}

.breadcrumb a {
    color: #CC0303;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #ff4444;
}

.actualite-detail-categorie {
    display: inline-block;
    background: linear-gradient(135deg, #CC0303, #ff4444);
    color: white;
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(204, 3, 3, 0.3);
}

.actualite-detail-titre {
    font-family: "Google Sans Code", monospace;
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 25px;
    line-height: 1.3;
    font-weight: 700;
}

.actualite-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    color: #7f8c8d;
    font-size: 0.95em;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item svg {
    opacity: 0.7;
}

.actualite-detail-image {
    margin-bottom: 50px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.actualite-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.actualite-detail-content {
    margin-bottom: 50px;
}

.actualite-resume-highlight {
    background: rgba(204, 3, 3, 0.05);
    border-left: 4px solid #CC0303;
    padding: 25px;
    margin-bottom: 40px;
    border-radius: 10px;
    font-size: 1.15em;
    line-height: 1.7;
    color: #2c3e50;
    font-style: italic;
}

.actualite-texte {
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
}

.actualite-texte p {
    margin-bottom: 25px;
}

.actualite-texte h2 {
    font-family: "Google Sans Code", monospace;
    font-size: 1.8em;
    color: #2c3e50;
    margin-top: 40px;
    margin-bottom: 20px;
}

.actualite-texte h3 {
    font-family: "Google Sans Code", monospace;
    font-size: 1.4em;
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
}

.actualite-texte ul, .actualite-texte ol {
    margin-bottom: 25px;
    padding-left: 30px;
}

.actualite-texte li {
    margin-bottom: 10px;
}

.actualite-texte img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Partage social */
.partage-social {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.partage-social h3 {
    font-family: "Google Sans Code", monospace;
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3em;
}

.partage-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.partage-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.partage-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.partage-btn.facebook {
    background: #1877f2;
    color: white;
}

.partage-btn.twitter {
    background: #1da1f2;
    color: white;
}

.partage-btn.linkedin {
    background: #0077b5;
    color: white;
}

.partage-btn.email {
    background: #ea4335;
    color: white;
}

/* Actualités similaires */
.actualites-similaires {
    margin-bottom: 50px;
}

.actualites-similaires h3 {
    font-family: "Google Sans Code", monospace;
    font-size: 1.8em;
    color: #2c3e50;
    margin-bottom: 30px;
}

.similaires-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.similaire-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

.similaire-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.similaire-content {
    padding: 20px;
}

.similaire-date {
    color: #7f8c8d;
    font-size: 0.85em;
    display: block;
    margin-bottom: 10px;
}

.similaire-card h4 {
    font-family: "Google Sans Code", monospace;
    color: #2c3e50;
    font-size: 1.1em;
    line-height: 1.4;
    font-weight: 600;
}

/* Bouton retour */
.retour-actualites {
    text-align: center;
}

.btn-retour {
    display: inline-block;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    color: #2c3e50;
    text-decoration: none;
    font-family: "Google Sans Code", monospace;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.btn-retour:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #CC0303, #ff4444);
    color: white;
    box-shadow: 0 8px 30px rgba(204, 3, 3, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .actualites-container,
    .actualite-detail-container {
        padding: 120px 20px 60px;
    }

    .actualites-header h1 {
        font-size: 2em;
    }

    .actualites-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .actualite-detail-titre {
        font-size: 1.8em;
    }

    .actualite-meta {
        gap: 15px;
    }

    .similaires-grid {
        grid-template-columns: 1fr;
    }

    .categories-filter {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}