/* ═══════════════════════════════════════════
   ARTICLE SINGLE PAGE — Ministère FP-RDC
═══════════════════════════════════════════ */

/* ── Carte article ── */
.art-single {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    overflow: hidden;
    margin-bottom: 40px;
}

/* ── Image couverture ── */
.art-cover {
    position: relative;
    width: 100%;
    max-height: 460px;
    overflow: hidden;
    background: #e9ecef;
}
.art-cover img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.art-cover:hover img { transform: scale(1.02); }

.art-cover-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #EF3340;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    padding: 4px 12px;
    border-radius: 3px;
}

/* ── Corps texte ── */
.art-body {
    padding: 30px 32px 8px;
}

/* ── Métadonnées ── */
.art-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    padding: 14px 32px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-size: 13px;
    color: #555;
}
.art-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.art-meta span i { color: #0085CA; font-size: 12px; }

/* ── Titre h2 ── */
.art-body h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
    line-height: 1.35;
}
.art-body h2 a { color: inherit; text-decoration: none; }
.art-body h2 a:hover { color: #0085CA; }

/* ── Résumé intro ── */
.art-resume {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    padding: 0 32px 20px;
    border-left: 4px solid #0085CA;
    margin: 0 32px 20px;
    background: #f0f7fc;
    border-radius: 0 4px 4px 0;
    font-style: italic;
}

/* ── Contenu principal ── */
.art-content {
    padding: 0 32px 24px;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}
.art-content p   { margin-bottom: 16px; }
.art-content h2,
.art-content h3,
.art-content h4  { color: #003366; margin: 24px 0 12px; font-weight: 700; }
.art-content img { max-width: 100%; height: auto; border-radius: 4px; margin: 16px 0; }
.art-content ul,
.art-content ol  { margin: 0 0 16px 24px; }
.art-content li  { margin-bottom: 6px; }
.art-content blockquote {
    border-left: 4px solid #EF3340;
    background: #fff5f5;
    padding: 12px 18px;
    margin: 20px 0;
    font-style: italic;
    color: #555;
}
.art-content a { color: #0085CA; }
.art-content a:hover { text-decoration: underline; }
.art-content table {
    width: 100%; border-collapse: collapse;
    margin: 16px 0; font-size: 14px;
}
.art-content th {
    background: #003366; color: #fff;
    padding: 10px 12px; text-align: left;
}
.art-content td {
    padding: 9px 12px;
    border-bottom: 1px solid #e9ecef;
}
.art-content tr:nth-child(even) { background: #f8f9fa; }

/* ── Image secondaire ── */
.art-img-sec {
    padding: 0 32px 24px;
}
.art-img-sec img {
    width: 100%; border-radius: 4px;
    height: 260px; object-fit: cover;
}

/* ── Séparateur ── */
.art-divider {
    margin: 0 32px;
    border: none;
    border-top: 1px solid #e9ecef;
}

/* ── Tags / Mots-clés ── */
.art-tags {
    padding: 18px 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.art-tags .label-tags {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #666;
    margin-right: 4px;
}
.art-tags .tag {
    display: inline-flex;
    align-items: center;
    background: #e8f4fd;
    color: #0085CA;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.art-tags .tag:hover {
    background: #0085CA;
    color: #fff;
}

/* ── Partage ── */
.art-share {
    padding: 18px 32px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    flex-wrap: wrap;
}
.art-share .share-label {
    font-size: 13px;
    font-weight: 700;
    color: #444;
    margin-right: 4px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: opacity .2s, transform .15s;
}
.share-btn:hover { opacity: .88; transform: translateY(-1px); color: #fff; text-decoration: none; }
.share-btn.fb   { background: #1877f2; }
.share-btn.tw   { background: #1da1f2; }
.share-btn.wa   { background: #25d366; }
.share-btn.li   { background: #0077b5; }
.share-btn.copy { background: #6c757d; cursor: pointer; border: none; font-family: inherit; }
.share-btn.copy.copied { background: #28a745; }

/* ── Navigation précédent/suivant ── */
.art-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 24px 32px;
    border-top: 1px solid #e9ecef;
}
.art-nav-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 4px;
    border: 1.5px solid #dee2e6;
    text-decoration: none;
    transition: border-color .2s, background .2s;
    background: #fff;
}
.art-nav-item:hover {
    border-color: #0085CA;
    background: #f0f7fc;
    text-decoration: none;
}
.art-nav-item.next { text-align: right; }
.art-nav-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0085CA;
    display: flex;
    align-items: center;
    gap: 5px;
}
.art-nav-item.next .art-nav-label { justify-content: flex-end; }
.art-nav-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.35;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.art-nav-placeholder {
    min-height: 60px;
    display: flex;
    align-items: center;
    color: #aaa;
    font-size: 13px;
    padding: 14px 16px;
}
.art-nav-placeholder.right { justify-content: flex-end; }

/* ── Page 404 article ── */
.art-404 {
    text-align: center;
    padding: 80px 20px;
}
.art-404 i { font-size: 60px; color: #dee2e6; display: block; margin-bottom: 20px; }
.art-404 h2 { font-size: 22px; color: #555; margin-bottom: 12px; }
.art-404 a { color: #0085CA; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .art-body  { padding: 20px 18px 8px; }
    .art-meta  { padding: 12px 18px; }
    .art-resume{ margin: 0 18px 16px; padding: 10px 16px; }
    .art-content { padding: 0 18px 20px; }
    .art-img-sec { padding: 0 18px 20px; }
    .art-divider { margin: 0 18px; }
    .art-tags    { padding: 14px 18px; }
    .art-share   { padding: 14px 18px; gap: 8px; }
    .art-nav     { padding: 16px 18px; grid-template-columns: 1fr; }
    .art-cover img { height: 220px; }
    .art-body h2 { font-size: 19px; }
    .art-content { font-size: 14px; }
    .share-btn   { padding: 6px 10px; font-size: 12px; }
}
