/* ═══════════════════════════════════════════════════════════════════════════
   ACTIONS & TERRITOIRES — Feuille de styles complète
   Inspiré : People's Daily (http://french.peopledaily.com.cn/)
   Charte : Bleu GEDYS (#001968)
═══════════════════════════════════════════════════════════════════════════ */

/* ─── BANNIÈRE PRINCIPALE ─────────────────────────────────────────────────── */
.pd-banner {
    background: #001968;
    color: #fff;
    padding: 20px 0;
}
.pd-banner-inner {
    display: flex;
    align-items: center;
    gap: 28px;
}
.pd-logo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.pd-logo-area img {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.pd-slogan {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.80;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}
.pd-divider {
    width: 2px;
    height: 56px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    flex-shrink: 0;
}
.pd-title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.5px;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
}

/* ─── BARRE DE NAVIGATION (sous-nav sticky) ──────────────────────────────── */
.pd-nav-bar {
    background: #fff;
    border-bottom: 2px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.pd-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    gap: 0;
}
.pd-nav-list li a {
    display: block;
    padding: 14px 28px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 3px solid transparent;
    transition: all 0.25s;
}
.pd-nav-list li a:hover,
.pd-nav-list li.active a {
    color: #001968;
    border-bottom-color: #001968;
}

/* ─── ACCUEIL : CAROUSEL + SIDEBAR ───────────────────────────────────────── */
.accueil-section {
    background: #f5f6f8;
    padding: 36px 0 0;
}
.accueil-split-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    align-items: stretch;
}
.accueil-left { position: relative; min-height: 420px; }
.accueil-right { display: flex; flex-direction: column; }

/* Swiper Carousel */
.swiper-container {
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    min-height: 420px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.swiper-slide { position: relative; }
.swiper-slide-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}
.swiper-slide-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 30px 24px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.78));
    color: #fff;
}
.slide-badge {
    display: inline-block;
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.slide-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}
.slide-title a { color: #fff; text-decoration: none; }
.slide-title a:hover { text-decoration: underline; }

/* Sidebar Récits */
.sidebar-recits-card {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #eef0f4;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0,25,104,0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
}
.recits-sidebar-title {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #001968;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.recits-sidebar-divider {
    height: 2px;
    background: #001968;
    margin: 12px 0 16px;
    opacity: 0.15;
}
.recits-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
}
.swiper-button-next,
.swiper-button-prev {
    display: none !important;
}

.recit-sidebar-item {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none !important;
    transition: transform 0.2s, background-color 0.2s;
    padding: 6px 4px;
    border-radius: 8px;
}
.recit-sidebar-item:hover { 
    transform: translateX(4px); 
}
.recit-sidebar-thumb {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f0f0;
}
.recit-sidebar-thumb img {
    width: 100%; 
    height: 100%; 
    object-fit: cover;
    display: block;
}
.recit-sidebar-content { 
    display: flex; 
    flex-direction: column; 
    gap: 4px;
    flex-grow: 1;
    min-width: 0;
}
.recit-item-title {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.3;
    transition: color 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.recit-sidebar-item:hover .recit-item-title { 
    color: #001f5c; 
}
.recit-item-date { 
    font-size: 13px; 
    color: #8c8c8c;
    font-weight: 400;
    margin: 0;
    line-height: 1.2;
}
.recits-sidebar-footer {
    margin-top: auto;
    padding-top: 14px;
    text-align: right;
    border-top: 1px solid #eef0f4;
}
.recits-all-link {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #001968;
    text-decoration: none !important;
}
.recits-all-link:hover { text-decoration: underline !important; }

/* ─── BLOC 3 COLONNES (People's Daily style) ──────────────────────────────── */
.three-col-section {
    background: #f5f6f8;
    padding: 36px 0;
}
.three-col-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #001968;
}
.three-col-header-title {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #001968;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.three-col-header-title .col-arrow {
    color: #001968;
    font-size: 13px;
}
.three-col-header-more {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #001968;
    text-decoration: none;
    opacity: 0.7;
}
.three-col-header-more:hover { opacity: 1; text-decoration: underline; }

.three-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    margin-bottom: 0;
}
.three-col-block {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    border: 1px solid #eef0f4;
}

/* Article list item inside a column */
.col-article-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.col-article-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none !important;
    transition: background 0.2s;
}
.col-article-item:last-child { border-bottom: none; }
.col-article-item:hover .col-article-title { color: #001968; }
.col-article-thumb {
    width: 80px;
    height: 60px;
    border-radius: 5px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f0f2f5;
}
.col-article-body { flex: 1; }
.col-article-title {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.35;
    margin: 0 0 5px;
    transition: color 0.2s;
}
.col-article-meta {
    font-size: 11px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 6px;
}
.col-article-cat {
    display: inline-block;
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ─── BANDE PHOTOS ────────────────────────────────────────────────────────── */
.photos-section {
    background: #f5f6f8;
    padding: 0 0 40px;
}
.photos-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #001968;
}
.photos-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #001968;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.photos-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.photo-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none !important;
}
.photo-item:hover .photo-item-title { color: #001968; }
.photo-item-img-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 5px;
    background: #e8eaee;
}
.photo-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.photo-item:hover .photo-item-img { transform: scale(1.06); }
.photo-item-title {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    line-height: 1.35;
    margin: 0;
    transition: color 0.2s;
}

/* ─── ONGLETS CATÉGORIE : liste d'articles ────────────────────────────────── */
.action-cards-section { padding: 36px 0; background: #f5f6f8; }
.action-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.action-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0,0,0,0.07);
    border: 1px solid #f0f0f0;
    position: relative;
    transition: box-shadow 0.3s, transform 0.3s;
    text-decoration: none !important;
}
.action-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}
.action-card-img {
    width: 260px;
    min-height: 190px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
    background: #e8eaee center/cover no-repeat;
}
.action-card-body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    flex: 1;
}
.action-card-category {
    display: inline-block;
    background: #001968;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}
.action-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.35;
    transition: color 0.2s ease;
}
.action-card-title a {
    color: #1e293b !important;
    text-decoration: none !important;
}
.action-card:hover .action-card-title a,
.action-card-title a:hover {
    color: #001968 !important;
    text-decoration: none !important;
}
.action-card-excerpt {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ─── SIGNATURE AUTEUR (style Banque Mondiale) ────────────────────────────── */
.author-signature {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
    position: relative;
    z-index: 3;
}
.author-sig-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #e8eaee;
}
.author-sig-avatar-placeholder {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e8eaee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #001968;
    flex-shrink: 0;
}
.author-sig-info { display: flex; flex-direction: column; gap: 2px; }
.author-sig-name {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #001968;
    text-decoration: none;
    margin: 0;
    transition: opacity 0.2s;
}
.author-sig-name:hover { opacity: 0.75; text-decoration: underline; }
.author-sig-role {
    font-size: 12px;
    color: #888;
    margin: 0;
}

/* ─── PAGE DÉTAIL ─────────────────────────────────────────────────────────── */
.detail-hero {
    width: 100%;
    max-height: 480px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 28px;
}
.detail-hero img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}
.detail-meta-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.detail-cat-badge {
    display: inline-block;
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.detail-date {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #999;
}
.detail-title {
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: #001968;
    line-height: 1.25;
    margin: 0 0 18px;
}
.detail-excerpt {
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: #444;
    line-height: 1.7;
    border-left: 4px solid #001968;
    padding-left: 18px;
    margin-bottom: 28px;
}
.detail-body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.85;
}
.detail-body h2, .detail-body h3 {
    font-family: 'Poppins', sans-serif;
    color: #001968;
    margin-top: 32px;
}
.detail-body img { max-width: 100%; border-radius: 6px; margin: 16px 0; }

/* Mentions artisans */
.mentions-section {
    margin: 36px 0;
    padding: 24px;
    background: #f0f3fa;
    border-radius: 10px;
    border-left: 5px solid #001968;
}
.mentions-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #001968;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mention-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mention-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 2px 8px rgba(0,25,104,0.06);
    text-decoration: none !important;
    transition: transform 0.2s, box-shadow 0.2s;
}
.mention-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0,25,104,0.12);
}
.mention-thumb {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #e8eaee;
}
.mention-info { flex: 1; }
.mention-name {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #001968;
    margin: 0 0 3px;
}
.mention-desc {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}
.mention-cta {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: #001968;
    padding: 6px 12px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Bloc signature auteur complet (bas d'article) */
.author-signature-block {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #f5f7fc;
    border: 1px solid #dde3f0;
    border-radius: 10px;
    padding: 24px 28px;
    margin: 40px 0;
}
.author-sig-block-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: 0 4px 14px rgba(0,25,104,0.15);
}
.author-sig-block-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #dde3f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #001968;
    flex-shrink: 0;
}
.author-sig-block-info { flex: 1; }
.author-sig-block-name {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #001968;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    transition: opacity 0.2s;
}
.author-sig-block-name:hover { opacity: 0.75; text-decoration: underline; }
.author-sig-block-role {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #555;
    margin: 0 0 14px;
}
.author-sig-block-btn {
    display: inline-block;
    background: #001968;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background 0.2s;
}
.author-sig-block-btn:hover { background: #0022aa; color: #fff; }

/* Autres articles auteur */
.author-more-section {
    margin: 40px 0;
    padding: 0;
    border-top: 2px solid #001968;
}
.author-more-title {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #001968;
    padding: 16px 0 12px;
    margin: 0;
}
.author-more-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.author-more-item {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none !important;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}
.author-more-item:last-child { border-bottom: none; padding-bottom: 0; }
.author-more-thumb {
    width: 90px;
    height: 66px;
    border-radius: 5px;
    object-fit: cover;
    flex-shrink: 0;
    background: #e8eaee;
}
.author-more-info { flex: 1; }
.author-more-title-text {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 5px;
    line-height: 1.35;
    transition: color 0.2s;
}
.author-more-item:hover .author-more-title-text { color: #001968; }
.author-more-date { font-size: 12px; color: #999; margin: 0; }

/* Sidebar détail */
.detail-sidebar { display: flex; flex-direction: column; gap: 28px; }
.detail-sidebar-block {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #eef0f4;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.detail-sidebar-title {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #001968;
    border-bottom: 2px solid #001968;
    padding-bottom: 8px;
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.detail-recent-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none !important;
}
.detail-recent-item:last-child { border-bottom: none; padding-bottom: 0; }
.detail-recent-thumb {
    width: 65px;
    height: 50px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
    background: #e8eaee;
}
.detail-recent-title {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.35;
    transition: color 0.2s;
}
.detail-recent-item:hover .detail-recent-title { color: #001968; }
.detail-recent-date { font-size: 11px; color: #aaa; margin: 3px 0 0; }

/* Pagination */
.pd-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}
.pd-pagination a {
    color: #001968;
    font-weight: 700;
    text-decoration: none;
    padding: 8px 18px;
    border: 1.5px solid #001968;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    transition: all 0.2s;
}
.pd-pagination a:hover { background: #001968; color: #fff; }
.pd-pagination span {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #666;
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .three-col-grid { grid-template-columns: 1fr 1fr; }
    .photos-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
    .accueil-split-layout { grid-template-columns: 1fr; }
    .three-col-grid { grid-template-columns: 1fr; }
    .photos-strip { grid-template-columns: repeat(2, 1fr); }
    .action-card { flex-direction: column; }
    .action-card-img { width: 100%; height: 220px; }
}
@media (max-width: 600px) {
    .pd-title { font-size: 15px; }
    .pd-nav-list li a { padding: 11px 14px; font-size: 12px; }
    .swiper-slide-img { height: 240px; }
    .swiper-container { min-height: 240px; }
    .photos-strip { grid-template-columns: 1fr 1fr; }
    .author-signature-block { flex-direction: column; text-align: center; }
    .detail-title { font-size: 22px; }
}

/* ─── BANQUE MONDIALE AUTHOR SIGNATURE BLOCK ──────────────────────────────── */
.author-signature-block {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 40px;
    padding: 28px 32px;
    background: #fafbfc;
    border: 1px solid #eef0f4;
    border-radius: 8px;
}
.author-sig-block-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.author-sig-block-placeholder {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #001968;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.author-sig-block-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.author-sig-block-name {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0056b3;
    text-decoration: none !important;
    line-height: 1.3;
}
.author-sig-block-name:hover {
    color: #001968;
    text-decoration: underline !important;
}
.author-sig-block-role {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #555;
    margin: 6px 0 16px;
    line-height: 1.4;
}
.author-sig-block-btn {
    display: inline-block;
    background: #c84228;
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: 3px;
    text-decoration: none !important;
    transition: background 0.2s;
}
.author-sig-block-btn:hover {
    background: #a8321c;
    color: #ffffff !important;
}

/* ─── MENTIONS ARTISANS ─────────────────────────────────────────────────── */
.mentions-section {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #eef0f4;
}
.mentions-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #001968;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mention-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mention-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.2s;
}
.mention-item:hover {
    background: #fff;
    border-color: #001968;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.mention-thumb {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.mention-info { flex: 1; }
.mention-name {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #001968;
    margin: 0 0 2px;
}
.mention-desc {
    font-size: 12px;
    color: #666;
    margin: 0;
}
.mention-cta {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #c84228;
    flex-shrink: 0;
}

/* ─── ESPACE COMMENTAIRES / TÉMOIGNAGES (SLIDER HORIZONTAL PREMIUM) ─────── */
.detail-comments-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #eef2f6;
    position: relative;
}

.comments-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 14px;
}

.comments-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comments-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #001968 0%, #1e40af 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 25, 104, 0.2);
    flex-shrink: 0;
}

.comments-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px 0;
    letter-spacing: -0.2px;
}

.comments-section-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
}

.comments-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comments-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #f0f4ff;
    color: #001968;
    border: 1px solid #d0deff;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
}

.pulse-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Boutons de navigation du Slider */
.comments-slider-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.slider-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #001968;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.slider-nav-btn:hover {
    background: #001968;
    color: #ffffff;
    border-color: #001968;
    transform: scale(1.06);
    box-shadow: 0 4px 10px rgba(0, 25, 104, 0.25);
}

/* Notification / Statut */
.comment-status-alert {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 3px 10px rgba(22, 101, 52, 0.05);
    transition: opacity 0.3s ease;
}

.status-alert-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #22c55e;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.status-alert-content strong {
    display: block;
    color: #15803d;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
}

.status-alert-content span {
    color: #166534;
    font-size: 12px;
}

/* ─── SLIDER HORIZONTAL DE TÉMOIGNAGES ─────────────────────────────────── */
.comments-slider-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.comments-slider-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 6px 4px 14px 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}

.comments-slider-track::-webkit-scrollbar {
    height: 6px;
}

.comments-slider-track::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.comments-slider-track::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.comments-slider-track::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Carte Témoignage Compacte */
.comment-testimonial-card {
    flex: 0 0 280px;
    width: 280px;
    min-height: 190px;
    background: #ffffff;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 4px 14px rgba(0, 25, 104, 0.04);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.comment-testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 25, 104, 0.09);
    border-color: #cbd5e1;
}

.new-comment-highlight {
    animation: slideInFromLeft 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    border-top: 3px solid #10b981;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: scale(0.95) translateX(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateX(0);
    }
}

.testimonial-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.testimonial-rating {
    color: #f59e0b;
    font-size: 13px;
    letter-spacing: 1px;
}

.testimonial-verified-badge {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    font-size: 10.5px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.testimonial-content {
    position: relative;
    flex: 1;
    margin: 6px 0 12px;
}

.quote-watermark {
    position: absolute;
    right: -2px;
    top: -4px;
    font-size: 26px;
    color: #001968;
    opacity: 0.06;
    pointer-events: none;
}

.testimonial-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 12.5px;
    line-height: 1.55;
    color: #334155;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.testimonial-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #001968 0%, #2563eb 100%);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 25, 104, 0.18);
    flex-shrink: 0;
}

.testimonial-author-meta {
    min-width: 0;
}

.testimonial-author-name {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-date {
    font-size: 11px;
    color: #94a3b8;
    display: block;
}

.testimonial-like-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 3px 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.testimonial-like-btn:hover {
    color: #e11d48;
    border-color: #fecdd3;
    background: #fff1f2;
}

.testimonial-like-btn.liked {
    color: #e11d48;
    background: #fff1f2;
    border-color: #fda4af;
}

.slider-scroll-hint {
    display: none;
    font-size: 11.5px;
    color: #94a3b8;
    text-align: center;
    margin-top: 6px;
    gap: 6px;
    align-items: center;
    justify-content: center;
}

/* État vide */
.comments-empty-state {
    width: 100%;
    min-width: 280px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
}

.empty-state-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eef2ff;
    color: #001968;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.comments-empty-state h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}

.comments-empty-state p {
    font-family: 'Open Sans', sans-serif;
    font-size: 12.5px;
    color: #64748b;
    margin: 0 auto;
}

/* Formulaire moderne compact */
.comment-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0, 25, 104, 0.04);
}

.form-user-banner {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 8px;
}

.form-user-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar-mini {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #001968;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 13px;
}

.user-role-label {
    font-size: 10.5px;
    color: #64748b;
    display: block;
    text-transform: uppercase;
    font-weight: 600;
}

.user-name-title {
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    color: #001968;
}

.user-status-pill {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
}

.form-textarea-wrapper {
    margin-bottom: 12px;
}

.comment-modern-textarea {
    width: 100%;
    min-height: 85px;
    padding: 12px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13.5px;
    color: #1e293b;
    line-height: 1.5;
    resize: vertical;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fcfdfe;
    box-sizing: border-box;
}

.comment-modern-textarea:focus {
    outline: none;
    border-color: #001968;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 25, 104, 0.08);
}

.form-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.form-hint-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: #15803d;
    font-weight: 600;
}

.comment-modern-submit {
    background: linear-gradient(135deg, #001968 0%, #1e40af 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(0, 25, 104, 0.2);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.comment-modern-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(0, 25, 104, 0.28);
}

.comment-modern-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Carte Connexion Requise */
.comment-login-card {
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    margin-top: 20px;
}

.login-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #e0e7ff;
    color: #001968;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: 0 3px 10px rgba(0, 25, 104, 0.08);
}

.login-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #001968;
    margin: 0 0 6px;
}

.login-card-desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #64748b;
    max-width: 440px;
    margin: 0 auto 16px;
    line-height: 1.5;
}

.login-cta-btn {
    background: linear-gradient(135deg, #001968 0%, #1e40af 100%);
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(0, 25, 104, 0.2);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.login-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(0, 25, 104, 0.28);
}

/* ─── OPTIMISATIONS MOBILES POUR SMARTPHONE ──────────────────────────────── */
@media (max-width: 768px) {
    .detail-comments-section {
        margin-top: 28px;
        padding-top: 20px;
    }
    .comments-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .comments-header-right {
        width: 100%;
        justify-content: space-between;
    }
    .comment-testimonial-card {
        flex: 0 0 80vw;
        width: 80vw;
        max-width: 300px;
        padding: 14px 16px;
    }
    .slider-scroll-hint {
        display: flex;
    }
    .comment-modern-submit {
        width: 100%;
        justify-content: center;
        padding: 12px;
        font-size: 13.5px;
    }
    .form-bottom-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .form-hint-info {
        justify-content: center;
        text-align: center;
    }
    .login-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }
}

