/* VESEMT.org - Styles pour les articles */

/* Article complet */
.article-full {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* En-tête d'article */
.article-header {
    margin-bottom: 40px;
}

.article-category {
    margin-bottom: 15px;
}

.article-category a {
    color: #F44336;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}

.article-title {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #333333;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #7E7777;
    margin-bottom: 20px;
}

.article-date,
.article-author {
    display: flex;
    align-items: center;
}

.article-date::before {
    content: "📅 ";
    margin-right: 5px;
}

.article-author::before {
    content: "✍️ ";
    margin-right: 5px;
}

/* Image d'article */
.article-image {
    margin: 30px 0;
}

.article-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Contenu de l'article */
.article-content {
    font-size: 18px;
    line-height: 1.8;
    color: #444444;
    overflow-wrap: break-word;
}

.article-content a {
    overflow-wrap: break-word;
}

.article-content img {
    max-width: 100%;
    height: auto;
}

.article-content h2 {
    font-size: 24px;
    font-weight: bold;
    margin: 30px 0 15px 0;
    color: #333333;
}

.article-content h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 25px 0 10px 0;
    color: #333333;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    background-color: #f5f5f5;
    border-left: 4px solid #F44336;
    font-style: italic;
}

.article-content a {
    color: #F44336;
    text-decoration: none;
}

.article-content a:hover {
    text-decoration: underline;
}

/* Pied d'article */
.article-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e4e4e7;
}

.article-tags {
    margin-bottom: 30px;
}

.tags-label {
    font-weight: bold;
    margin-right: 10px;
}

.article-tags a {
    display: inline-block;
    background-color: #f5f5f5;
    padding: 5px 12px;
    margin-right: 8px;
    margin-bottom: 8px;
    border-radius: 15px;
    font-size: 13px;
    color: #666666;
    text-decoration: none;
}

.article-tags a:hover {
    background-color: #e4e4e7;
}

/* Boutons de partage */
.article-share {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.article-share h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333333;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: transform 0.2s ease;
}

.share-button:hover {
    transform: translateY(-2px);
}

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

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

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

.share-email {
    background-color: #666666;
    color: white;
}

/* Appel à l'action */
.article-call-to-action {
    margin-bottom: 30px;
    padding: 25px;
    background-color: #FFF3E0;
    border-left: 4px solid #FF9800;
    border-radius: 8px;
}

.article-call-to-action h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #FF9800;
}

.article-call-to-action p {
    margin-bottom: 0;
    color: #666666;
}

/* Commentaires Facebook */
.article-comments {
    margin-top: 40px;
}

.article-comments h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333333;
}

/* Navigation entre articles */
.article-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e4e4e7;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-previous {
    text-align: left;
    padding-right: 20px;
}

.nav-next {
    text-align: right;
    padding-left: 20px;
}

.nav-previous a,
.nav-next a {
    display: block;
    text-decoration: none;
    color: #666666;
    transition: color 0.2s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    color: #F44336;
}

.nav-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #999999;
    margin-bottom: 5px;
}

.nav-title {
    font-size: 16px;
    font-weight: bold;
    color: #333333;
}

/* Responsive */
@media (max-width: 768px) {
    .article-full {
        padding: 20px 15px;
    }

    .article-title {
        font-size: 24px;
    }

    .article-content {
        font-size: 16px;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-button {
        width: 100%;
        justify-content: center;
    }

    .article-navigation {
        flex-direction: column;
        gap: 20px;
    }

    .nav-previous,
    .nav-next {
        padding: 0;
        text-align: center;
    }
}
