/* ═══════════════════════════════════════════════════════════
   VISTROE BLOG — Design NewsHub
   Couleurs : #dc2626 rouge · #111827 dark · #f9fafb fond
═══════════════════════════════════════════════════════════ */

/* ── Reset / base ─────────────────────────────────────── */
body#vblog { background-color: #f9fafb; }
.vblog-wrap { min-height: 60vh; }
.news-wrap * { box-sizing: border-box; }

/* ── Nav catégories (barre de navigation compacte et scrollable) ──────────────── */
.news-cat-nav { background: transparent; padding: 15px 16px; border-bottom: 1px solid #f1f5f9; }
.news-cat-nav-inner { display: flex; max-width: 1100px; margin: 0 auto; }
.vblog-cat-links { display: flex; overflow-x: auto; white-space: nowrap; gap: 8px; -ms-overflow-style: none; scrollbar-width: none; align-items: center; }
.vblog-cat-links::-webkit-scrollbar { display: none; }
.news-cat-nav a { background: #f7f8fb; border-radius: 20px; color: #555; font-size: 13px; font-weight: 600; padding: 6px 14px; text-decoration: none; text-transform: none; letter-spacing: normal; transition: all 0.2s; flex-shrink: 0; }
.news-cat-nav a:hover, .news-cat-nav a.active { background: rgba(25, 59, 47, 0.1); color: #dc6f24; border-bottom: none; }

/* ── Container ────────────────────────────────────────── */
.news-container { max-width: 1100px; margin: 0 auto; padding: 24px 16px; }

/* ── Article Detail Hero (cover en fond pleine largeur) ── */
.vblog-hero { background-size: cover; background-position: center; background-color: #111827; position: relative; min-height: 440px; display: flex; align-items: flex-end; }
.vblog-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.90) 0%, rgba(0,0,0,.4) 55%, transparent 100%); display: flex; align-items: flex-end; width: 100%; }
.vblog-hero .news-container { padding-top: 32px; padding-bottom: 44px; width: 100%; max-width: 1100px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.vblog-hero-breadcrumb { color: rgba(255,255,255,.6) !important; margin-bottom: 14px; }
.vblog-hero-breadcrumb a { color: rgba(255,255,255,.65) !important; text-decoration: none; }
.vblog-hero-breadcrumb a:hover { color: #fca5a5 !important; }
.vblog-hero .news-badge { margin-bottom: 12px; display: inline-block; }
.vblog-hero-title { font-size: 2.5rem; font-weight: 900; color: #fff; line-height: 1.2; margin: 10px 0 18px; max-width: 780px; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.vblog-hero-excerpt { font-size: 1.05rem; color: rgba(255,255,255,.82); border-left: 4px solid #dc2626; padding-left: 16px; font-style: italic; line-height: 1.65; margin: 0 0 20px; max-width: 680px; }
.vblog-hero-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .84rem; color: rgba(255,255,255,.65); }
.vblog-hero-meta strong { color: #fff; font-weight: 700; }
@media (max-width: 640px) { .vblog-hero { min-height: 300px; } .vblog-hero-title { font-size: 1.65rem; } }

/* ── Layout grille principale (3/4 + sidebar 1/4) ──────── */
.news-main-layout { display: grid; grid-template-columns: 1fr 280px; gap: 32px; align-items: start; }
@media (max-width: 900px) { .news-main-layout { grid-template-columns: 1fr; } }

/* ── Titres de section ────────────────────────────────── */
.news-section-title { font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: #111; border-bottom: 2px solid #dc2626; padding-bottom: 8px; margin-bottom: 16px; }

/* ── Badge catégorie ──────────────────────────────────── */
.news-badge { display: inline-block; background: #dc2626; color: #fff; font-size: .63rem; font-weight: 800; padding: 3px 10px; border-radius: 4px; text-transform: uppercase; letter-spacing: .06em; }

/* ── Hero article à la une ────────────────────────────── */
.news-hero { position: relative; border-radius: 12px; overflow: hidden; margin-bottom: 28px; min-height: 420px; display: flex; align-items: flex-end; }
.news-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s; }
.news-hero:hover .news-hero-bg { transform: scale(1.03); }
.news-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.25) 55%, transparent 100%); }
.news-hero-body { position: relative; z-index: 1; padding: 28px 32px; color: #fff; }
.news-hero-body h2 { font-size: 1.9rem; font-weight: 900; margin: 8px 0 10px; line-height: 1.2; }
.news-hero-body h2 a { color: #fff; text-decoration: none; }
.news-hero-body h2 a:hover { color: #fca5a5; }
.news-hero-body p { color: rgba(255,255,255,.8); margin: 0 0 10px; }
.news-hero-meta { font-size: .78rem; color: rgba(255,255,255,.6); }

/* ── Grille 3 colonnes ────────────────────────────────── */
.news-cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 28px; }
@media (max-width: 992px) { .news-cards-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 768px) { .news-cards-grid { grid-template-columns: 1fr; } }

/* ── Card article ─────────────────────────────────────── */
.news-card { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #f3f4f6; box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: box-shadow .25s, transform .25s; }
.news-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.12); transform: translateY(-2px); }
.news-card-img-wrap { overflow: hidden; position: relative; }
.news-card-img { 
  width: 100%; aspect-ratio: 16/9; display: block; transition: transform .4s;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.news-card:hover .news-card-img { transform: scale(1.05); }
.news-card-body, .news-card-content { padding: 18px; }
.news-card-body h3, .news-card-title { font-size: 1.05rem; font-weight: 800; margin: 0 0 8px; line-height: 1.4; }
.news-card-body h3 a, .news-card-title a { color: #1e293b; text-decoration: none; transition: color 0.15s; }
.news-card-body h3 a:hover, .news-card-title a:hover { color: #dc2626; }
.news-card-meta { font-size: 0.8rem; color: #94a3b8; font-weight: 500; margin-top: 10px; display: flex; align-items: center; gap: 6px; }
.news-excerpt { font-size: .82rem; color: #6b7280; margin: 0 0 8px; line-height: 1.5; }

/* ── Liste derniers articles (2 colonnes) ─────────────── */
.news-list-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
@media (max-width: 768px) { .news-list-grid { grid-template-columns: 1fr; } }
.news-list-item { background: #fff; border-radius: 10px; border: 1px solid #f3f4f6; box-shadow: 0 1px 3px rgba(0,0,0,.05); overflow: hidden; display: flex; transition: box-shadow .2s; }
@media (max-width: 480px) { .news-list-item { flex-direction: column; } .news-list-img { width: 100% !important; height: 140px !important; } }
.news-list-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.news-list-img { width: 90px; flex-shrink: 0; object-fit: cover; }
.news-list-body { padding: 10px 12px; }
.news-list-body h4 { font-size: .86rem; font-weight: 700; margin: 4px 0 4px; line-height: 1.35; }
.news-list-body h4 a { color: #111; text-decoration: none; }
.news-list-body h4 a:hover { color: #dc2626; }

/* ── Meta ─────────────────────────────────────────────── */
.news-meta { font-size: .71rem; color: #9ca3af; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid #f3f4f6; }

/* ── Sidebar ──────────────────────────────────────────── */
.news-sidebar { display: flex; flex-direction: column; gap: 20px; }
.news-sidebar-box { background: #fff; border-radius: 12px; border: 1px solid #f3f4f6; box-shadow: 0 1px 3px rgba(0,0,0,.06); overflow: hidden; padding: 16px 18px; }

/* ── Newsletter (fond sombre comme NewsHub) ───────────── */
.news-nl {
  background:
    radial-gradient(circle at top left, rgba(52, 211, 153, .06), transparent 26%),
    radial-gradient(circle at top right, rgba(96, 165, 250, .08), transparent 34%),
    linear-gradient(145deg, #0b1120 0%, #11182c 46%, #0d1426 100%);
  color: #fff;
  border-radius: 18px;
  padding: 28px 30px 30px;
  border: 1px solid rgba(255,255,255,.05);
  box-shadow: 0 18px 42px rgba(5, 10, 24, .18);
}
.news-nl-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: #ff7b6b;
  font-size: .79rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.news-nl-kicker::before {
  content: '';
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7b6b' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.25' y='5.25' width='17.5' height='13.5' rx='2.25'/%3E%3Cpath d='M4.5 7l7.5 6 7.5-6'/%3E%3C/svg%3E");
}
.news-nl-title {
  margin: 0 0 14px;
  color: #fff;
  font-size: 2.15rem;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.035em;
}
.news-nl-text {
  margin: 0 0 24px;
  color: rgba(226, 232, 240, .84);
  font-size: 1.02rem;
  line-height: 1.72;
}
.news-nl form { display: grid; gap: 14px; }
.news-nl input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 9px;
  border: 1px solid rgba(148, 163, 184, .22);
  font-size: .99rem;
  margin: 0;
  background: rgba(35, 45, 69, .94);
  color: #e5e7eb;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}
.news-nl input::placeholder { color: rgba(156, 163, 175, .92); }
.news-nl input:focus {
  outline: none;
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 0 0 3px rgba(248, 250, 252, .06);
}
.news-nl button {
  width: 100%;
  min-height: 46px;
  background: #cf3f31;
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 9px;
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  letter-spacing: -.01em;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.news-nl button:hover { background: #ba3427; transform: translateY(-1px); box-shadow: 0 10px 20px rgba(207, 63, 49, .22); }
.news-success {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(34, 197, 94, .12);
  border: 1px solid rgba(74, 222, 128, .25);
  color: #bbf7d0;
  font-weight: 700;
  font-size: .92rem;
}
@media (max-width: 640px) {
  .news-nl { padding: 24px 22px; border-radius: 14px; }
  .news-nl-title { font-size: 1.78rem; }
  .news-nl-text { font-size: .96rem; }
}

/* ── Tendances sidebar ────────────────────────────────── */
.news-trending-list { list-style: none; padding: 0; margin: 0; }
.news-trending-item { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid #f9fafb; }
.news-trending-item:last-child { border-bottom: none; }
.news-trending-num { font-size: 1.5rem; font-weight: 900; color: #f3f4f6; line-height: 1; flex-shrink: 0; min-width: 32px; }
.news-trending-item a { font-size: .84rem; font-weight: 600; color: #374151; text-decoration: none; line-height: 1.4; }
.news-trending-item a:hover { color: #dc2626; }

/* ── Liste catégories sidebar ─────────────────────────── */
.news-catlist { list-style: none; padding: 0; margin: 0; }
.news-catlist li a { display: flex; justify-content: space-between; padding: 7px 8px; border-radius: 8px; font-size: .84rem; color: #374151; text-decoration: none; transition: all .15s; }
.news-catlist li a:hover { background: #fee2e2; color: #dc2626; }

/* ── Détail article ───────────────────────────────────── */
.news-detail-layout { display: grid; grid-template-columns: 1fr 280px; gap: 32px; align-items: start; }
@media (max-width: 900px) { .news-detail-layout { grid-template-columns: 1fr; } }
.news-breadcrumb { font-size: .82rem; color: #6b7280; margin-bottom: 18px; }
.news-breadcrumb a { color: #dc2626; text-decoration: none; }
.news-detail-cover img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 12px; margin-bottom: 24px; display: block; }
.news-detail-header h1 { font-size: 2rem; font-weight: 900; line-height: 1.25; margin: 10px 0 14px; color: #111; }
.news-detail-excerpt { font-size: 1.05rem; color: #4b5563; border-left: 4px solid #dc2626; padding-left: 16px; font-style: italic; margin: 0 0 18px; line-height: 1.65; }
.news-detail-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .82rem; color: #6b7280; padding: 12px 0; border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; margin-bottom: 28px; }
.news-detail-content { line-height: 1.85; font-size: 1.05rem; color: #374151; }
.news-detail-content h1,.news-detail-content h2,.news-detail-content h3 { font-weight: 800; margin: 1.5em 0 .5em; color: #111; }
.news-detail-content h2 { font-size: 1.4rem; }
.news-detail-content h3 { font-size: 1.15rem; }
.news-detail-content p { display: block !important; width: auto !important; margin-bottom: 1.15em; clear: none !important; }
.news-detail-content blockquote { border-left: 4px solid #dc2626; padding: 6px 18px; color: #6b7280; font-style: italic; margin: 1.2em 0; background: #fff9f9; border-radius: 0 6px 6px 0; }
#vblog .news-detail-content img { 
  float: left !important; 
  margin: 4px 24px 12px 0 !important; 
  max-width: 48% !important; 
  display: inline-block !important; 
  clear: left !important; 
  border-radius: 12px !important; 
  border: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
  height: auto !important; 
  transition: all 0.3s ease !important;
}
#vblog .news-detail-content img.sz-25 { max-width: 25% !important; }
#vblog .news-detail-content img.sz-33 { max-width: 33% !important; }
#vblog .news-detail-content img.sz-50 { max-width: 50% !important; }
#vblog .news-detail-content img.sz-66 { max-width: 66% !important; }
#vblog .news-detail-content img.sz-75 { max-width: 75% !important; }
#vblog .news-detail-content img.sz-100 { max-width: 100% !important; display: block !important; float: none !important; margin: 24px auto !important; }
#vblog .news-detail-content img:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1) !important;
}
#vblog .news-detail-content img.al { float: left !important; margin: 4px 24px 12px 0 !important; max-width: 48% !important; display: inline-block !important; clear: left !important; }
#vblog .news-detail-content img.ar { float: right !important; margin: 4px 0 12px 24px !important; max-width: 48% !important; display: inline-block !important; clear: right !important; }
#vblog .news-detail-content img.ac { float: none !important; display: block !important; margin: 24px auto !important; max-width: 100% !important; clear: both !important; }
#vblog .news-detail-content img.af { float: none !important; display: block !important; width: 100% !important; margin: 24px auto !important; clear: both !important; }
.news-detail-content a { color: #dc2626; text-decoration: underline; }

@media (max-width: 768px) {
  #vblog .news-detail-content img,
  #vblog .news-detail-content img.al, 
  #vblog .news-detail-content img.ar { float: none !important; max-width: 100% !important; margin: 20px auto !important; display: block !important; }
}

/* ── Premium Comments System ── */
.vblog-comments-section { margin-top: 60px; padding-top: 40px; border-top: 2px solid #f1f5f9; }
.vblog-comments-title { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 800; color: #0f172a; margin-bottom: 32px; display: flex; align-items: center; gap: 12px; }
.vblog-comments-title .count { font-size: 1rem; color: #94a3b8; background: #f8fafc; padding: 4px 12px; border-radius: 20px; font-weight: 600; font-family: 'Outfit', sans-serif; }

.vblog-comment-node { margin-bottom: 24px; }
.vblog-comment-card { background: #fff; border: 1px solid #f1f5f9; padding: 20px; border-radius: 16px; box-shadow: 0 4px 12px rgba(0,0,0,0.02); transition: transform 0.2s, box-shadow 0.2s; position: relative; }
.vblog-comment-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.05); }
.vblog-comment-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.vblog-comment-user { display: flex; align-items: center; gap: 12px; }
.vblog-comment-ava { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #1d4ed8, #3b82f6); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; flex-shrink: 0; box-shadow: 0 2px 6px rgba(59,130,246,0.3); }
.vblog-comment-info { display: flex; flex-direction: column; }
.vblog-comment-name { font-weight: 700; color: #1e293b; font-size: 0.95rem; line-height: 1.2; }
.vblog-comment-date { font-size: 0.78rem; color: #94a3b8; font-weight: 500; }
.vblog-comment-content { font-size: 1.05rem; color: #374151; line-height: 1.6; word-break: break-all; margin: 0; }

.vblog-comment-footer { display: flex; gap: 16px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed #f1f5f9; }
.vblog-comment-action { background: none; border: none; padding: 0; color: #64748b; font-size: 0.85rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: color 0.15s; }
.vblog-comment-action:hover { color: #3b82f6; }
.vblog-comment-action i { font-size: 0.95rem; }
.vblog-comment-action.liked { color: #dc2626 !important; }

/* Nested Replies & Threading Lines (Enhanced) */
.vblog-comment-replies { 
  margin-left: 56px; margin-top: 16px; position: relative; 
  border-left: 2px solid #eef2f6; padding-left: 24px;
}
.vblog-comment-reply-card { 
  background: #fff; border: 1px solid #edf2f7; padding: 18px 22px; 
  border-radius: 16px; margin-bottom: 12px; position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.vblog-comment-reply-card::before { 
  content: ''; position: absolute; left: -26px; top: 22px; 
  width: 22px; height: 18px; border-left: 3px solid #3b82f6; 
  border-bottom: 3px solid #3b82f6; border-bottom-left-radius: 14px;
  opacity: 0.8;
}

/* Reply Form (Inline) */
.vblog-reply-form-wrap { margin-left: 56px; margin-top: 12px; display: none; margin-bottom: 24px; }
.vblog-reply-form { background: #fff; border: 2px solid #eff6ff; padding: 16px; border-radius: 14px; box-shadow: 0 10px 30px rgba(59,130,246,0.08); }
.vblog-reply-form textarea { width: 100%; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px; font-family: inherit; font-size: 0.95rem; min-height: 80px; box-sizing: border-box; resize: none; outline: none; transition: border-color 0.2s; }
.vblog-reply-form textarea:focus { border-color: #3b82f6; }

@media (max-width: 768px) {
  .vblog-comment-replies { margin-left: 20px; }
  .vblog-reply-form-wrap { margin-left: 20px; }
}

/* ── Tags ─────────────────────────────────────────────── */
.news-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.news-tag { background: #f3f4f6; color: #374151; font-size: .8rem; font-weight: 600; padding: 5px 14px; border-radius: 20px; text-decoration: none; transition: all .2s; }
.news-tag:hover { background: #fee2e2; color: #dc2626; }

/* ── Commentaires ─────────────────────────────────────── */
.news-comments { margin-top: 40px; padding-top: 28px; border-top: 2px solid #e5e7eb; }
.news-comments > h3 { font-size: 1.1rem; font-weight: 900; color: #111; margin-bottom: 24px; }
.news-comment { display: flex; gap: 14px; margin-bottom: 22px; }
.news-comment-avatar { width: 38px; height: 38px; border-radius: 50%; background: #dc2626; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1rem; flex-shrink: 0; }
.news-comment-bubble { background: #fff; border: 1px solid #f3f4f6; border-radius: 12px; padding: 12px 16px; flex: 1; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.news-comment-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; font-size: .82rem; }
.news-comment-meta strong { color: #111; font-weight: 800; }
.news-comment-meta span { color: #9ca3af; }
.news-comment-bubble p { margin: 0; font-size: .92rem; color: #374151; line-height: 1.6; }
.news-comment-form { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; padding: 22px; margin-top: 28px; }
.news-comment-form h4 { font-weight: 900; color: #111; margin: 0 0 16px; font-size: 1rem; }
.news-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 600px) { .news-form-row { grid-template-columns: 1fr; } }
.news-comment-form input, .news-comment-form textarea { width: 100%; padding: 10px 14px; border: 1px solid #d1d5db; border-radius: 8px; font-size: .92rem; margin-bottom: 10px; background: #fff; transition: border-color .2s; box-sizing: border-box; }
.news-comment-form input:focus, .news-comment-form textarea:focus { outline: none; border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,.1); }
.news-comment-form textarea { min-height: 110px; resize: vertical; }
.news-comment-form button { background: #111827; color: #fff; border: none; padding: 11px 26px; border-radius: 8px; font-weight: 800; font-size: .9rem; cursor: pointer; transition: background .2s; }
.news-comment-form button:hover { background: #dc2626; }

/* ── Widget sidebar (related / footer) ────────────────── */
.news-widget-list { list-style: none; padding: 0; margin: 0; }
.news-widget-item { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f9fafb; }
.news-widget-item:last-child { border-bottom: none; }
.news-widget-thumb { width: 60px; height: 48px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.news-widget-item a { font-size: .84rem; font-weight: 700; color: #111; text-decoration: none; line-height: 1.35; }
.news-widget-item a:hover { color: #dc2626; }
.news-widget-more { display: inline-block; margin-top: 12px; font-size: .82rem; color: #dc2626; text-decoration: none; font-weight: 800; }
.news-widget-more:hover { text-decoration: underline; }
.news-widget { background: #fff; border: 1px solid #f3f4f6; border-radius: 12px; padding: 18px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.news-widget-title { font-weight: 900; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: #111; margin: 0 0 14px; border-bottom: 2px solid #dc2626; padding-bottom: 8px; }

/* ══ NEWS HOME SLIDER ══════════════════════════════════ */
.nhs-section, .nhs-section * { box-sizing: border-box; }
.nhs-section { background: #fff; padding: 40px 0; border-top: 3px solid #dc2626; }
.nhs-inner   { max-width: 1140px; margin: 0 auto; padding: 0 16px; }

/* Header barre */
.nhs-header  { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.nhs-title   { font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: #111; display: flex; align-items: center; gap: 7px; }
.nhs-nav     { display: flex; align-items: center; gap: 8px; }
.nhs-arrow   { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #e5e7eb; background: #fff; color: #374151; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; line-height: 1; }
.nhs-arrow:hover { background: #dc2626; border-color: #dc2626; color: #fff; }
.nhs-see-all { font-size: .82rem; font-weight: 800; color: #dc2626; text-decoration: none; white-space: nowrap; transition: opacity .2s; }
.nhs-see-all:hover { opacity: .75; }

/* Viewport (masque le débordement) */
.nhs-viewport { overflow: hidden; border-radius: 12px; }

/* Track défilant */
.nhs-track  { display: flex; gap: 18px; transition: transform .45s cubic-bezier(.4,0,.2,1); will-change: transform; box-sizing: border-box; }

/* Carte — largeur gérée par JS via .style.width pour éviter les % sur track infinie */
.nhs-card   { flex: none; box-sizing: border-box; background: #fff; border-radius: 12px; border: 1px solid #f0f0f0; box-shadow: 0 2px 8px rgba(0,0,0,.07); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.nhs-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.13); transform: translateY(-3px); }

/* Image */
.nhs-card-img-link { position: relative; display: block; overflow: hidden; aspect-ratio: 16/9; }
.nhs-card-img      { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s; }
.nhs-card:hover .nhs-card-img { transform: scale(1.06); }
.nhs-card-img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg,#f3f4f6,#e5e7eb); }
.nhs-cat-badge { position: absolute; top: 10px; left: 10px; background: #dc2626; color: #fff; font-size: .63rem; font-weight: 800; padding: 3px 9px; border-radius: 4px; text-transform: uppercase; letter-spacing: .05em; }

/* Body */
.nhs-card-body    { padding: 14px 16px 16px; }
.nhs-card-title   { font-size: .95rem; font-weight: 800; line-height: 1.4; margin: 0 0 8px; }
.nhs-card-title a { color: #111; text-decoration: none; }
.nhs-card-title a:hover { color: #dc2626; }
.nhs-card-excerpt { font-size: .8rem; color: #6b7280; line-height: 1.5; margin: 0 0 10px; }
.nhs-card-meta    { display: flex; flex-wrap: wrap; gap: 10px; font-size: .72rem; color: #9ca3af; padding-top: 10px; border-top: 1px solid #f3f4f6; }

/* Dots */
.nhs-dots  { display: flex; justify-content: center; gap: 7px; margin-top: 20px; }
.nhs-dot   { width: 24px; height: 24px; border-radius: 50%; background: #d1d5db; border: none; cursor: pointer; padding: 0; transition: all .25s; }
.nhs-dot.on { background: #dc2626; width: 28px; border-radius: 6px; }

/* ── Responsive global ────────────────────────────────── */
@media (max-width: 640px) {
  .news-hero { min-height: 260px; }
  .news-hero-body { padding: 16px; }
  .news-hero-body h2 { font-size: 1.3rem; }
  .news-detail-header h1 { font-size: 1.5rem; }
  .news-cards-grid { grid-template-columns: 1fr; }
}

/* ── Pro & Social Enhancements (Skeleton & Admin) ─────── */
@keyframes vblogShimmer {
  0% { background-position: -468px 0; }
  100% { background-position: 468px 0; }
}
.vblog-shimmer {
  background: #f6f7f8;
  background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
  background-repeat: no-repeat;
  background-size: 800px 104px; 
  animation: vblogShimmer 1.5s linear infinite forwards;
}
.vblog-skeleton { border-radius: 8px; }
.vblog-skeleton-article { height: 350px; margin-bottom: 24px; border: 1px solid #edf2f7; border-radius: 16px; padding: 20px; }
.vblog-skeleton-comment { height: 100px; margin-bottom: 16px; border-radius: 14px; border: 1px solid #f1f5f9; padding: 16px; }

/* Admin moderation (Locked by default) */
.vblog-admin-del {
  display: none; align-items: center; gap: 5px; cursor: pointer;
  color: #94a3b8; font-size: 0.8rem; font-weight: 600; padding: 5px 10px;
  border-radius: 6px; transition: all 0.2s; border: 1px solid transparent;
}
body.vblog-admin-active .vblog-admin-del { display: inline-flex; }
.vblog-admin-del:hover { color: #ef4444; background: #fef2f2; border-color: #fee2e2; }

/* Posting state */
#vblogCommentSkeleton { display: none; opacity: 0.7; transform: scale(0.98); transform-origin: top; }

/* ── ULTRA UPGRADE (Swiper, Emojis, Images) ────────── */
.vblog-wrap { overflow-x: hidden; position: relative; width: 100%; }
.vblog-related-swiper { padding: 10px 0 40px 0; overflow: hidden; position: relative; width: 0; min-width: 100%; max-width: 100%; }
.news-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; width: 100%; max-width: 100%; box-sizing: border-box; }
.news-detail-layout > article { min-width: 0; max-width: 100%; overflow: visible; }
@media (max-width: 1024px) { .news-detail-layout { grid-template-columns: minmax(0, 1fr); } }
.vblog-swiper-nav { display: flex; gap: 10px; justify-content: flex-end; margin-bottom: 20px; }
.vblog-swiper-btn {
  width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid #eef2f6;
  display: flex; align-items: center; justify-content: center; cursor: pointer; color: #475569;
  transition: all 0.2s; box-shadow: 0 4px 12px rgba(0,0,0,0.04); z-index: 10;
}
.vblog-swiper-btn:hover { background: #3b82f6; color: #fff; border-color: #3b82f6; transform: translateY(-2px); }
.vblog-swiper-btn.swiper-button-disabled { opacity: 0.3; cursor: default; }

.vblog-reactions-wrap { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.vblog-reaction-pill {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 20px;
  background: #f8fafc; border: 1px solid #eef2f6; font-size: 0.85rem; cursor: pointer;
  transition: all 0.2s; color: #64748b;
}
.vblog-reaction-pill:hover { background: #eff6ff; border-color: #3b82f6; }
.vblog-reaction-pill.active { background: #3b82f6; border-color: #3b82f6; color: #fff; }

.vblog-comment-img-hold { margin: 10px 0; max-width: 300px; border-radius: 12px; overflow: hidden; border: 1px solid #f1f5f9; cursor: zoom-in; }
.vblog-comment-img-hold img { width: 100%; height: auto; display: block; }

.vblog-image-picker-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border-radius: 50%; background: #f1f5f9; color: #64748b; cursor: pointer; transition: all 0.2s;
}
.vblog-image-picker-btn:hover { background: #e2e8f0; color: #0f172a; }
.vblog-image-preview { display: none; margin-top: 10px; position: relative; width: 80px; height: 80px; border-radius: 8px; overflow: hidden; border: 2px solid #3b82f6; }
.vblog-image-preview img { width: 100%; height: 100%; object-fit: cover; }
.vblog-image-preview .v-del { position: absolute; top: 2px; right: 2px; background: rgba(0,0,0,0.6); color: #fff; border-radius: 50%; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; font-size: 10px; cursor: pointer; }

/* Emoji Row for comments */
.vblog-emoji-row { display: flex; gap: 5px; margin-left: 10px; }
.vblog-emoji-btn { font-size: 1.2rem; cursor: pointer; transition: transform 0.2s; filter: grayscale(0.4); opacity: 0.7; padding: 2px 4px; border-radius: 6px; }
.vblog-emoji-btn:hover { transform: scale(1.3); filter: grayscale(0); opacity: 1; background: #f1f5f9; }

/* Export Buttons Styles */
.vblog-share-btn.pdf { background: #334155; }
.vblog-share-btn.pdf:hover { background: #0f172a; }
.vblog-share-btn.nt { background: #6366f1; }
.vblog-share-btn.nt:hover { background: #4f46e5; }

/* ── PRINT STYLES (Article to PDF) ───────────────────── */
@media print {
  body { background: #fff !important; color: #000 !important; }
  header, footer, .news-cat-nav, .vblog-presence-bar, .vblog-swiper-nav, 
  .vblog-share-card, .vblog-interaction-bar, .vblog-comments-section, 
  aside, .vblog-livechat-container, .vblog-related-swiper, .news-tags, 
  .nhs-section, .chat-overlay, #breadcrumbs { display: none !important; }
  
  .news-container { width: 100% !important; max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
  .news-detail-layout { display: block !important; }
  article { width: 100% !important; margin: 0 !important; padding: 0 !important; }
  .vblog-hero-overlay { background: none !important; min-height: auto !important; padding: 0 !important; display: block !important; }
  .vblog-hero { border-radius: 0 !important; background: none !important; min-height: auto !important; margin-bottom: 20px !important; }
  .vblog-hero-title { color: #000 !important; text-align: left !important; font-size: 2.5rem !important; text-shadow: none !important; }
  .vblog-hero-excerpt { color: #334155 !important; border-left: 4px solid #000 !important; }
  .vblog-hero-meta { color: #64748b !important; }
  
  #vblog .news-detail-content { font-size: 11pt !important; line-height: 1.6 !important; }
  #vblog .news-detail-content img { max-width: 100% !important; page-break-inside: avoid !important; }
  
  a { text-decoration: none !important; color: #000 !important; }
  a::after { content: " (" attr(href) ")"; font-size: 0.8rem; color: #666; }
}
