/* Styles pour les pages de détail des actualités */

.news-content {
    line-height: 1.8;
    font-size: 16px;
}

.news-content h1,
.news-content h2,
.news-content h3,
.news-content h4,
.news-content h5,
.news-content h6 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.news-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.news-content ul,
.news-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.news-content li {
    margin-bottom: 0.5rem;
}

.news-content blockquote {
    border-left: 4px solid #28a745;
    padding-left: 1rem;
    margin: 2rem 0;
    font-style: italic;
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0 4px 4px 0;
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.news-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    overflow-x: auto;
    display: block;
}

.news-content table th,
.news-content table td {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    text-align: left;
}

.news-content table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Styles pour les pièces jointes */
.document-card {
    transition: all 0.3s ease;
    background: #fff;
}

.document-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.document-card h6 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.document-card .btn {
    font-size: 14px;
    padding: 0.5rem 1rem;
}

/* Navigation entre actualités */
.navigation-news {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.navigation-news .btn-outline-base-color {
    border-color: white;
    color: white;
}

.navigation-news .btn-outline-base-color:hover {
    background-color: white;
    color: #28a745;
}

/* Responsive design */
@media (max-width: 768px) {
    .news-content {
        font-size: 15px;
    }
    
    .news-content h1,
    .news-content h2,
    .news-content h3,
    .news-content h4,
    .news-content h5,
    .news-content h6 {
        font-size: 1.2em;
    }
    
    .document-card {
        margin-bottom: 1rem;
    }
    
    .navigation-news .d-flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    .navigation-news .btn {
        width: 100%;
        text-align: center;
    }
}

/* Animation pour les éléments */
.news-content img,
.document-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styles pour les tags */
.tag-cloud a {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    background-color: #f8f9fa;
    color: #6c757d;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.tag-cloud a:hover {
    background-color: #28a745;
    color: white;
    transform: translateY(-2px);
}

/* Styles pour la section auteur */
.author-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
}

.author-section img {
    border: 3px solid #28a745;
}

/* Styles pour les réseaux sociaux */
.social-icon-style-04 ul li a {
    transition: all 0.3s ease;
}

.social-icon-style-04 ul li a:hover {
    transform: translateY(-3px);
}

/* Styles pour les boutons */
.btn-base-color {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

.btn-base-color:hover {
    background-color: #218838;
    border-color: #1e7e34;
    color: white;
}

.btn-outline-base-color {
    color: #28a745;
    border-color: #28a745;
}

.btn-outline-base-color:hover {
    background-color: #28a745;
    color: white;
}
