/*
Theme Name: JeuxVideoGeek 
Theme URI: https://jeuxvideogeek.com
Author: JeuxVideoGeek
Author URI: https://jeuxvideogeek.com
Description: Thème WordPress moderne pour site de jeux vidéo, entièrement compatible avec Elementor
Version: 1.4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jeuxvideogeek
Tags: gaming, blog, elementor, responsive, modern
*/

/* Reset général - Appliquer uniquement sur les archives et pages de base */
body.archive *,
body.blog * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Reset spécifique pour la page 404 */
body.error404 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Reset spécifique pour la page de recherche */
body.search * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Box-sizing pour toutes les pages */
* {
    box-sizing: border-box;
}

html {
    margin: 0 !important;
    padding: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    overflow-y: scroll;
    overflow-x: hidden;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

/* Empêcher le scroll horizontal - cacher la scrollbar */
body::-webkit-scrollbar-track:horizontal {
    display: none;
}

body::-webkit-scrollbar:horizontal {
    display: none;
}

html::-webkit-scrollbar-track:horizontal {
    display: none;
}

html::-webkit-scrollbar:horizontal {
    display: none;
}

/* Pour Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #442127 transparent;
}

/* Empêcher les débordements horizontaux */
body > *:not(.jvg-single-featured-image) {
    max-width: 100vw;
}

.jvg-single-featured-image {
    overflow: hidden;
}

#wpadminbar {
    position: fixed !important;
    top: 0 !important;
}

body.admin-bar {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#page {
    margin: 0 !important;
    padding: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Correction du margin-top d'Elementor */
.elementor-section,
.elementor-top-section,
body.elementor-page .elementor-section:first-child {
    margin-top: 16px !important;
}

.elementor-page #page,
.elementor-page .site-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Protection pour Elementor - Ne pas appliquer flex sur les pages Elementor */
body:not(.elementor-page) #page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Pages Elementor - Layout normal */
body.elementor-page #page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

body:not(.elementor-page) .site-content {
    flex: 1;
    padding-top: 0;
    margin-top: 0;
    background: #ffffff;
    background-color: #ffffff;
}

body.elementor-page .site-content {
    padding-top: 0;
    margin-top: 0;
    background: #ffffff;
    background-color: #ffffff;
}

.site-footer,
#colophon {
    margin: 0 !important;
    padding: 0 !important;
}

:root {
    --jvg-primary: #ff0080;
    --jvg-secondary: #00d4ff;
    --jvg-dark: #442127;
    --jvg-light: #f5f5f5;
    --jvg-text: #333333;
    --jvg-text-light: #666666;
    --jvg-border: #e0e0e0;
    --jvg-gradient: linear-gradient(135deg, #ff0080 0%, #ff8c00 100%);
    --jvg-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --jvg-shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.15);
    --jvg-transition: all 0.3s ease;
}

/* Dark Mode Styles */
html.dark-mode,
html.dark-mode body,
body.dark-mode,
html.dark-mode body.dark-mode {
    background: #442127 !important;
    background-color: #442127 !important;
    color: #e2e8f0 !important;
}

html.dark-mode .site-content,
body.dark-mode .site-content,
html.dark-mode body .site-content {
    background: #442127 !important;
    background-color: #442127 !important;
}

body.dark-mode .jvg-modern-header,
html.dark-mode .jvg-modern-header {
    background: #fd895a !important;
    background-color: #fd895a !important;
}

body.dark-mode .jvg-modern-footer,
html.dark-mode .jvg-modern-footer {
    background: #fd895a !important;
    background-color: #fd895a !important;
}

body.dark-mode .jvg-modern-footer a,
html.dark-mode .jvg-modern-footer a {
    color: #ffffff !important;
}

body.dark-mode .jvg-modern-footer a:hover,
html.dark-mode .jvg-modern-footer a:hover {
    color: #442127 !important;
}

/* Menu et navigation en dark mode - restent orange comme le header */
body.dark-mode .jvg-nav,
html.dark-mode .jvg-nav,
body.dark-mode .jvg-nav-menu,
html.dark-mode .jvg-nav-menu,
body.dark-mode .jvg-header-left,
html.dark-mode .jvg-header-left,
body.dark-mode .jvg-header-right,
html.dark-mode .jvg-header-right,
body.dark-mode .jvg-header-container,
html.dark-mode .jvg-header-container,
body.dark-mode .jvg-brand,
html.dark-mode .jvg-brand,
body.dark-mode .jvg-brand-link,
html.dark-mode .jvg-brand-link,
body.dark-mode .jvg-brand a,
html.dark-mode .jvg-brand a {
    background: transparent !important;
    background-color: transparent !important;
}

body.dark-mode .jvg-nav-menu > li,
html.dark-mode .jvg-nav-menu > li {
    background: transparent !important;
    background-color: transparent !important;
}

/* Garder les styles normaux pour les boutons et icônes du header */
body.dark-mode .jvg-header-right *,
html.dark-mode .jvg-header-right *,
body.dark-mode .jvg-search-toggle,
html.dark-mode .jvg-search-toggle,
body.dark-mode .jvg-notifications-toggle,
html.dark-mode .jvg-notifications-toggle,
body.dark-mode .jvg-dark-mode-toggle,
html.dark-mode .jvg-dark-mode-toggle,
body.dark-mode .jvg-user-avatar-btn,
html.dark-mode .jvg-user-avatar-btn,
body.dark-mode .jvg-login-link,
html.dark-mode .jvg-login-link,
body.dark-mode .jvg-register-link,
html.dark-mode .jvg-register-link {
    /* Laisser les styles normaux s'appliquer */
}

/* Dropdown menu reste exactement comme en mode clair */
body.dark-mode .jvg-nav-menu .sub-menu,
html.dark-mode .jvg-nav-menu .sub-menu {
    background: #fd895a !important;
    background-color: #fd895a !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
    border-radius: 8px !important;
}

body.dark-mode .jvg-nav-menu .sub-menu li,
html.dark-mode .jvg-nav-menu .sub-menu li {
    background: transparent !important;
}

body.dark-mode .jvg-nav-menu .sub-menu li a,
html.dark-mode .jvg-nav-menu .sub-menu li a {
    color: #442127 !important;
    background: transparent !important;
}

body.dark-mode .jvg-nav-menu .sub-menu li a:hover,
html.dark-mode .jvg-nav-menu .sub-menu li a:hover {
    background: rgba(68, 33, 39, 0.3) !important;
    color: #2a1318 !important;
}

/* Forcer le menu mobile en dark mode */
@media (max-width: 768px) {
    body.dark-mode .jvg-nav,
    html.dark-mode .jvg-nav {
        background: #fd895a !important;
        background-color: #fd895a !important;
    }
}

/* Container principal */
.jvg-article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.jvg-article {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--jvg-shadow);
}

/* En-tête de l'article */
.jvg-article-header {
    padding: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), #ffffff);
}

.jvg-article-meta-top {
    margin-bottom: 20px;
}

.jvg-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.jvg-category-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--jvg-gradient);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    transition: var(--jvg-transition);
}

.jvg-category-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--jvg-shadow);
}

.jvg-article-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--jvg-dark);
    margin: 0 0 30px 0;
    background: var(--jvg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Méta-informations */
.jvg-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    padding-top: 20px;
    border-top: 2px solid var(--jvg-border);
}

.jvg-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--jvg-text-light);
    font-size: 14px;
}

.jvg-meta-item svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.jvg-author {
    font-weight: 600;
    color: var(--jvg-text);
}

.jvg-author-avatar {
    border-radius: 50%;
    border: 2px solid var(--jvg-primary);
}

.jvg-author-name {
    font-weight: 700;
}

/* Image mise en avant */
.jvg-featured-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--jvg-dark);
}

.jvg-featured-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

.jvg-img-responsive {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--jvg-transition);
}

.jvg-featured-image:hover .jvg-img-responsive {
    transform: scale(1.05);
}

/* Contenu de l'article */
.jvg-article-content {
    padding: 60px 40px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--jvg-text);
}

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

.jvg-article-content h2,
.jvg-article-content h3,
.jvg-article-content h4 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--jvg-dark);
}

.jvg-article-content h2 {
    font-size: 36px;
    padding-left: 20px;
    border-left: 5px solid var(--jvg-primary);
}

.jvg-article-content h3 {
    font-size: 28px;
}

.jvg-article-content h4 {
    font-size: 22px;
}

.jvg-article-content a {
    color: var(--jvg-primary);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: var(--jvg-transition);
}

.jvg-article-content a:hover {
    border-bottom-color: var(--jvg-primary);
}

.jvg-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: var(--jvg-shadow);
}

.jvg-article-content blockquote {
    margin: 30px 0;
    padding: 20px 30px;
    background: var(--jvg-light);
    border-left: 5px solid var(--jvg-secondary);
    font-style: italic;
    font-size: 20px;
    color: var(--jvg-text);
}

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

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

.jvg-article-content code {
    background: var(--jvg-dark);
    color: var(--jvg-secondary);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
}

.jvg-article-content pre {
    background: var(--jvg-dark);
    color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 30px 0;
}

.jvg-article-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* Footer de l'article (tags) */
.jvg-article-footer {
    padding: 30px 40px;
    background: var(--jvg-light);
    border-top: 1px solid var(--jvg-border);
}

.jvg-tags {
    display: flex;
    align-items: center;
    gap: 15px;
}

.jvg-tags svg {
    flex-shrink: 0;
    color: var(--jvg-primary);
}

.jvg-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.jvg-tag-list a {
    display: inline-block;
    padding: 8px 16px;
    background: #ffffff;
    color: var(--jvg-text);
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: var(--jvg-transition);
    border: 1px solid var(--jvg-border);
}

.jvg-tag-list a:hover {
    background: var(--jvg-primary);
    color: #ffffff;
    border-color: var(--jvg-primary);
    transform: translateY(-2px);
}

/* Partage social */
.jvg-social-share {
    padding: 40px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-top: 1px solid var(--jvg-border);
}

.jvg-share-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.jvg-share-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--jvg-dark);
    margin: 0;
}

.jvg-share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.jvg-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #ffffff;
    transition: var(--jvg-transition);
    text-decoration: none;
}

.jvg-share-facebook {
    background: #1877f2;
}

.jvg-share-twitter {
    background: #1da1f2;
}

.jvg-share-linkedin {
    background: #0a66c2;
}

.jvg-share-whatsapp {
    background: #25d366;
}

.jvg-share-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--jvg-shadow-hover);
}

/* Navigation entre articles */
.jvg-post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 40px;
    border-top: 1px solid var(--jvg-border);
}

.jvg-nav-previous,
.jvg-nav-next {
    min-height: 100px;
}

.jvg-nav-link {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: var(--jvg-light);
    border-radius: 8px;
    text-decoration: none;
    transition: var(--jvg-transition);
    height: 100%;
}

.jvg-nav-link:hover {
    background: var(--jvg-gradient);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: var(--jvg-shadow-hover);
}

.jvg-nav-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--jvg-text-light);
    margin-bottom: 10px;
}

.jvg-nav-link:hover .jvg-nav-label {
    color: rgba(255, 255, 255, 0.8);
}

.jvg-nav-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--jvg-dark);
}

.jvg-nav-link:hover .jvg-nav-title {
    color: #ffffff;
}

.jvg-nav-next .jvg-nav-link {
    text-align: right;
}

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

    .jvg-article-header {
        padding: 30px 20px;
    }

    .jvg-article-title {
        font-size: 32px;
    }

    .jvg-article-meta {
        gap: 15px;
    }

    .jvg-article-content {
        padding: 40px 20px;
        font-size: 16px;
    }

    .jvg-article-content h2 {
        font-size: 28px;
    }

    .jvg-article-content h3 {
        font-size: 22px;
    }

    .jvg-article-footer,
    .jvg-social-share {
        padding: 20px;
    }

    .jvg-post-navigation {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }

    .jvg-nav-next .jvg-nav-link {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .jvg-article-title {
        font-size: 24px;
    }

    .jvg-article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .jvg-share-buttons {
        gap: 10px;
    }

    .jvg-share-btn {
        width: 45px;
        height: 45px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.jvg-article {
    animation: fadeInUp 0.6s ease-out;
}

/* ==========================================================================
   STYLES POUR SINGLE ARTICLE (PAGE ARTICLE UNIQUE)
   ========================================================================== */

/* Article unique */
.jvg-single-article {
    background: #fff;
}

/* Masquer les boutons de partage automatiques des plugins sur les articles */
.jvg-single-article .sharedaddy,
.jvg-single-article .addtoany_share_save_container,
.jvg-single-article .social-share,
.jvg-single-article .sharethis-inline-share-buttons,
.jvg-single-article .jp-relatedposts,
.jvg-single-article .sharing-hidden,
.jvg-single-article #jp-post-flair,
.entry-content > .sharedaddy,
.entry-content > .addtoany_share_save_container {
    display: none !important;
}

/* Wrapper principal article */
.jvg-single-article {
    max-width: none;
    margin: 0;
    width: 100%;
    overflow: visible;
}

/* Barre de progression de lecture */
.jvg-reading-progress-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 4px;
    background: #442127;
    width: 0%;
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 -2px 8px rgba(68, 33, 39, 0.3);
}

/* Image de mise en avant pleine largeur avec titre superposé */
.jvg-single-featured-image {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    max-height: 600px;
    overflow: hidden;
    background: #000;
    position: relative;
}

.jvg-single-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Overlay sur l'image */
.jvg-single-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.3) 70%, transparent 100%);
    padding: 80px 40px 50px;
    z-index: 2;
    pointer-events: none;
}

.jvg-single-overlay-content {
    max-width: 1200px;
    margin: 0 auto;
}

.jvg-single-title-overlay {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.15;
    color: #ffffff !important;
    margin: 0;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.9);
    letter-spacing: -0.5px;
}

/* Container du contenu */
.jvg-single-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.jvg-single-content-wrapper {
    min-width: 0;
}

/* ============================================
   SIDEBAR COMPLÈTE À DROITE (DESKTOP)
   ============================================ */
.jvg-single-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Style commun pour toutes les boîtes de la sidebar */
.jvg-sidebar-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.jvg-sidebar-box:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.jvg-sidebar-box-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    padding: 18px 24px;
    margin: 0;
    border-bottom: 2px solid #e5e7eb;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    gap: 10px;
}

.jvg-sidebar-box-title i {
    color: #fd895a;
    font-size: 18px;
}

/* Boîte Auteur */
.jvg-author-box-content {
    padding: 24px 20px;
}

.jvg-author-box-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    margin-bottom: 16px;
}

.jvg-author-box-info img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #fd895a;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(47, 124, 255, 0.2);
}

.jvg-author-box-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.jvg-author-box-name {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.jvg-author-box-date {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.jvg-author-box-date i {
    color: #9ca3af;
}

.jvg-author-geekcoins {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 8px;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.jvg-author-geekcoins i {
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Boîte Partager */
.jvg-share-box-content {
    padding: 20px 24px 24px;
}

.jvg-share-buttons-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.jvg-sidebar-share-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.jvg-sidebar-share-btn i {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.jvg-share-facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0e5fc7 100%);
}

.jvg-share-facebook:hover {
    background: linear-gradient(135deg, #145dbf 0%, #0a4a9e 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.jvg-share-twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
}

.jvg-share-twitter:hover {
    background: linear-gradient(135deg, #0c85d0 0%, #0a6fb3 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4);
}

.jvg-share-linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #005f8f 100%);
}

.jvg-share-linkedin:hover {
    background: linear-gradient(135deg, #005885 0%, #00456b 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.4);
}

.jvg-sidebar-copy-link {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    position: relative;
}

.jvg-sidebar-copy-link:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.jvg-sidebar-copy-link i {
    font-size: 18px;
}

.jvg-sidebar-copy-link span {
    font-weight: 700;
}

.jvg-copy-badge {
    margin-left: auto;
    font-size: 20px;
    opacity: 0.9;
}

.jvg-copy-highlight {
    animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 4px 16px rgba(16, 185, 129, 0.6);
    }
}

/* Boîte Réactions */
.jvg-reactions-box-content {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.jvg-sidebar-like-btn,
.jvg-sidebar-dislike-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-radius: 10px;
    border: 2px solid;
    background: #ffffff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    gap: 12px;
}

.jvg-sidebar-like-btn i,
.jvg-sidebar-dislike-btn i {
    font-size: 20px;
}

.jvg-sidebar-like-btn {
    color: #10b981;
    border-color: #d1fae5;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.jvg-sidebar-like-btn:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border-color: #10b981;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.jvg-sidebar-dislike-btn {
    color: #ef4444;
    border-color: #fee2e2;
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.jvg-sidebar-dislike-btn:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    border-color: #ef4444;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.jvg-sidebar-like-count,
.jvg-sidebar-dislike-count {
    background: #f3f4f6;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 700;
    min-width: 35px;
    text-align: center;
}

.jvg-sidebar-like-btn:hover .jvg-sidebar-like-count,
.jvg-sidebar-dislike-btn:hover .jvg-sidebar-dislike-count {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* ============================================
   VERSION MOBILE PROFESSIONNELLE
   ============================================ */
.jvg-article-mobile-header {
    display: none;
}

/* ============================================
   MÉTADONNÉES DESKTOP
   ============================================ */
/* Wrapper pour métadonnées et boutons sociaux */
.jvg-single-meta-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 30px;
    gap: 30px;
    flex-wrap: wrap;
}

/* Métadonnées : Avatar + Pseudo + Date */
.jvg-single-meta {
    flex: 1;
}

.jvg-single-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.jvg-single-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fd895a;
}

.jvg-single-author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.jvg-single-author-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.jvg-single-date {
    font-size: 13px;
    color: #999;
}

/* Boutons de partage et interactions */
.jvg-single-social-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Boutons de partage social */
.jvg-social-share-buttons {
    display: flex;
    gap: 10px;
}

.jvg-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    color: white;
    border: none;
    cursor: pointer;
    position: relative;
}

/* Bouton copier */
.jvg-share-btn.jvg-share-copy {
    background: #28a745 !important;
    border: 2px solid #28a745 !important;
}

.jvg-share-btn.jvg-share-copy:hover {
    background: #218838 !important;
    border-color: #1e7e34 !important;
}

.jvg-share-facebook {
    background: #1877f2;
}

.jvg-share-facebook:hover {
    background: #145dbf;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.jvg-share-twitter {
    background: #1da1f2;
}

.jvg-share-twitter:hover {
    background: #0c85d0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4);
}

.jvg-share-linkedin {
    background: #0077b5;
}

.jvg-share-linkedin:hover {
    background: #005885;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.4);
}

/* Boutons Like/Dislike */
.jvg-like-dislike-buttons {
    display: flex;
    gap: 10px;
    padding-left: 20px;
    border-left: 1px solid #e5e5e5;
}

.jvg-like-btn,
.jvg-dislike-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
}

.jvg-like-btn:hover {
    border-color: #4CAF50;
    color: #4CAF50;
}

.jvg-dislike-btn:hover {
    border-color: #f44336;
    color: #f44336;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    /* Layout mobile en colonne simple */
    .jvg-single-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 15px;
    }
    
    /* Masquer la sidebar desktop */
    .jvg-single-sidebar {
        display: none !important;
    }
    
    /* Afficher le header mobile professionnel */
    .jvg-article-mobile-header {
        display: flex;
        flex-direction: column;
        gap: 12px;
        background: #ffffff;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 16px;
        margin-bottom: 20px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }
    
    .jvg-mobile-author-info {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .jvg-mobile-author-info img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 2px solid #fd895a;
        flex-shrink: 0;
    }
    
    .jvg-mobile-author-details {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    
    .jvg-mobile-author-name {
        font-size: 14px;
        font-weight: 700;
        color: #1a1a1a;
        line-height: 1.2;
    }
    
    .jvg-mobile-date {
        font-size: 12px;
        color: #666;
        line-height: 1.2;
    }
    
    .jvg-mobile-actions {
        display: flex;
        align-items: center;
        gap: 12px;
        position: relative;
    }
    
    .jvg-mobile-geekcoins {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 8px 12px;
        background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
        border-radius: 20px;
        color: #ffffff;
        font-weight: 700;
        font-size: 13px;
        flex: 1;
    }
    
    .jvg-mobile-geekcoins i {
        font-size: 14px;
    }
    
    .jvg-mobile-share-dropdown-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #fd895a;
        border: none;
        color: #ffffff;
        cursor: pointer;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }
    
    .jvg-mobile-share-dropdown-btn:active {
        background: #1a5fd9;
        transform: scale(0.95);
    }
    
    .jvg-mobile-share-dropdown-btn i {
        font-size: 16px;
    }
    
    /* Menu dropdown mobile */
    .jvg-mobile-share-dropdown-menu {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        background: #ffffff;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
        min-width: 200px;
        z-index: 1000;
        overflow: hidden;
    }
    
    .jvg-mobile-share-dropdown-menu.active {
        display: block;
    }
    
    .jvg-mobile-dropdown-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        color: #1a1a1a;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        border-bottom: 1px solid #f0f0f0;
        transition: all 0.2s ease;
        background: none;
        border-left: none;
        border-right: none;
        border-top: none;
        cursor: pointer;
        width: 100%;
        text-align: left;
    }
    
    .jvg-mobile-dropdown-item:last-child {
        border-bottom: none;
    }
    
    .jvg-mobile-dropdown-item:active {
        background: #f8f9fa;
    }
    
    .jvg-mobile-dropdown-item i {
        width: 20px;
        text-align: center;
        font-size: 16px;
    }
    
    .jvg-mobile-dropdown-item:nth-child(1) i {
        color: #1877f2;
    }
    
    .jvg-mobile-dropdown-item:nth-child(2) i {
        color: #1da1f2;
    }
    
    .jvg-mobile-dropdown-item:nth-child(3) i {
        color: #0077b5;
    }
    
    .jvg-mobile-dropdown-item:nth-child(4) i {
        color: #28a745;
    }
}

/* ============================================
   ANCIENS STYLES (conservés pour compatibilité)
   ============================================ */

/* Métadonnées : Avatar + Pseudo + Date */
.jvg-single-meta {
    flex: 1;
}

.jvg-single-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.jvg-single-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fd895a;
}

.jvg-single-author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.jvg-single-author-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.jvg-single-date {
    font-size: 13px;
    color: #999;
}

/* Boutons de partage et interactions */
.jvg-single-social-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Boutons de partage social */
.jvg-social-share-buttons {
    display: flex;
    gap: 10px;
}

.jvg-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    color: white;
}

/* Bouton copier - surcharge pour être vert */
.jvg-share-btn.jvg-share-copy {
    background: #28a745 !important;
    border: 2px solid #28a745 !important;
    width: 40px !important;
    height: 40px !important;
}

.jvg-share-btn.jvg-share-copy:hover {
    background: #007bff !important;
    border-color: #0056b3 !important;
}

.jvg-share-btn.jvg-share-copy svg {
    fill: #ffffff !important;
    width: 20px !important;
    height: 20px !important;
}

.jvg-share-facebook {
    background: #1877f2;
}

.jvg-share-facebook:hover {
    background: #145dbf;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.jvg-share-twitter {
    background: #1da1f2;
}

.jvg-share-twitter:hover {
    background: #0c85d0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4);
}

.jvg-share-linkedin {
    background: #0077b5;
}

.jvg-share-linkedin:hover {
    background: #005885;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.4);
}

/* Boutons Like/Dislike */
.jvg-like-dislike-buttons {
    display: flex;
    gap: 10px;
    padding-left: 20px;
    border-left: 1px solid #e5e5e5;
}

.jvg-like-btn,
.jvg-dislike-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    background: white;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
}

.jvg-like-btn:hover {
    background: #e8f5e9;
    border-color: #4caf50;
    color: #4caf50;
    transform: translateY(-2px);
}

.jvg-like-btn.active {
    background: #4caf50;
    border-color: #4caf50;
    color: white;
}

.jvg-like-btn.active svg {
    fill: white;
}

.jvg-dislike-btn:hover {
    background: #ffebee;
    border-color: #f44336;
    color: #f44336;
    transform: translateY(-2px);
}

.jvg-dislike-btn.active {
    background: #f44336;
    border-color: #f44336;
    color: white;
}

.jvg-dislike-btn.active svg {
    fill: white;
}

.jvg-like-count,
.jvg-dislike-count {
    font-size: 13px;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .jvg-single-title-overlay {
        font-size: 32px;
    }
    
    .jvg-single-meta-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .jvg-single-social-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .jvg-like-dislike-buttons {
        padding-left: 0;
        border-left: none;
    }
}

/* Contenu de l'article */
.jvg-single-article-content {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

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

.jvg-single-article-content h2,
.jvg-single-article-content h3,
.jvg-single-article-content h4 {
    margin-top: 35px;
    margin-bottom: 18px;
    font-weight: 800;
    color: #1a1a1a;
}

.jvg-single-article-content h2 {
    font-size: 32px;
    padding-left: 15px;
    border-left: 4px solid #fd895a;
}

.jvg-single-article-content h3 {
    font-size: 26px;
}

.jvg-single-article-content h4 {
    font-size: 20px;
}

.jvg-single-article-content a {
    color: #fd895a;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.jvg-single-article-content a:hover {
    color: #1a5acc;
}

.jvg-single-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Vidéos et iframes en pleine largeur */
.jvg-single-article-content iframe,
.jvg-single-article-content video,
.jvg-single-article-content embed,
.jvg-single-article-content object {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 30px 0;
    border-radius: 8px;
}

.jvg-single-article-content iframe {
    aspect-ratio: 16 / 9;
    min-height: 500px;
}

/* Container responsive pour vidéos embed */
.jvg-single-article-content .wp-block-embed,
.jvg-single-article-content .wp-embed-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    margin: 30px 0;
}

.jvg-single-article-content .wp-block-embed iframe,
.jvg-single-article-content .wp-embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

.jvg-single-article-content blockquote {
    margin: 30px 0;
    padding: 20px 25px;
    background: #f8f8f8;
    border-left: 4px solid #fd895a;
    font-style: italic;
    font-size: 18px;
    color: #555;
}

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

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

.jvg-single-article-content code {
    background: #f4f4f4;
    color: #e83e8c;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 15px;
}

.jvg-single-article-content pre {
    background: #2d2d2d;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 30px 0;
}

.jvg-single-article-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* Tags */
.jvg-single-tags {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
}

.jvg-single-tags .tag-label {
    font-weight: 700;
    margin-right: 10px;
    color: #666;
}

.jvg-single-tags a {
    display: inline-block;
    padding: 5px 12px;
    background: #fd895a;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: background 0.2s ease;
}

.jvg-single-tags a:hover {
    background: #1a5acc;
}

/* Navigation entre articles */
.jvg-single-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.jvg-nav-previous,
.jvg-nav-next {
    font-size: 14px;
}

.jvg-nav-next {
    text-align: right;
}

.jvg-single-navigation a {
    color: #fd895a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.jvg-single-navigation a:hover {
    color: #1a5acc;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .jvg-single-title {
        font-size: 28px;
    }
    
    .jvg-single-article-content {
        font-size: 16px;
    }
    
    .jvg-single-article-content h2 {
        font-size: 24px;
    }
    
    .jvg-single-article-content h3 {
        font-size: 20px;
    }
    
    .jvg-single-navigation {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .jvg-nav-next {
        text-align: left;
    }
    
    /* Fix vidéos YouTube sur mobile */
    .jvg-single-article-content iframe {
        min-height: 250px;
        max-width: 100%;
        margin: 20px 0;
    }
    
    .jvg-single-article-content .wp-block-embed,
    .jvg-single-article-content .wp-embed-responsive {
        margin: 20px 0;
        width: 100%;
        overflow: hidden;
    }
    
    .jvg-single-article-content iframe,
    .jvg-single-article-content video,
    .jvg-single-article-content embed {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ==========================================================================
   COMMENTAIRES - Design moderne et épuré
   ========================================================================== */

.comments-area {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 2px solid #e8e8e8;
}

.comments-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 35px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: none;
}

/* Enlever la numérotation des commentaires */
.comment-list > li::before,
.children > li::before {
    display: none !important;
    content: none !important;
}

/* Commentaire individuel */
.comment {
    padding: 30px 0;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    list-style: none;
}

.comment:last-child {
    border-bottom: none;
}

.comment-body {
    display: flex;
    gap: 20px;
}

/* Avatar */
.comment-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: block;
    border: 2px solid #f0f0f0;
}

/* Zone de contenu */
.comment-content-wrapper {
    flex: 1;
    min-width: 0;
}

/* Header du commentaire */
.comment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comment-author .fn {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.comment-author .fn:hover {
    color: #fd895a;
}

.comment-author .says {
    display: none;
}

/* Métadonnées */
.comment-metadata {
    font-size: 13px;
    color: #999;
}

.comment-metadata a {
    color: #999;
    text-decoration: none;
}

.comment-metadata a:hover {
    color: #666;
}

/* Contenu du commentaire */
.comment-content {
    font-size: 15px;
    line-height: 1.6;
    color: #2a2e2e;
    margin-bottom: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    word-wrap: break-word;
}

.comment-content p {
    margin: 0 0 12px 0;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

/* Actions du commentaire */
.reply {
    margin-top: 12px;
}

.comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #fd895a;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.2s ease;
    border: 1px solid #e5e5e5;
    background: #fff;
}

.comment-reply-link:hover {
    background: #fd895a;
    color: white;
    border-color: #fd895a;
}

.comment-reply-link::before {
    content: "↩";
    margin-right: 5px;
}

/* Commentaires enfants */
.children {
    list-style: none;
    margin-left: 64px;
    margin-top: 20px;
    padding: 0;
}

.children .comment {
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Formulaire de réponse */
.comment-respond {
    margin-top: 50px;
    padding: 35px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.comment-reply-title {
    font-size: 18px;
    font-weight: 700;
    color: #2a2e2e;
    margin-bottom: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.comment-reply-title small {
    font-size: 14px;
    font-weight: 400;
    margin-left: 10px;
}

.comment-reply-title small a {
    color: #fd895a;
    text-decoration: none;
}

.comment-reply-title small a:hover {
    text-decoration: underline;
}

/* Formulaire */
.comment-form {
    display: grid;
    gap: 16px;
}

.comment-form p {
    margin: 0;
}

.comment-form label {
    display: block;
    font-weight: 600;
    color: #2a2e2e;
    margin-bottom: 8px;
    font-size: 13px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.comment-form .required {
    color: #ef4444;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #c5d0d8;
    border-radius: 4px;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transition: all 0.2s ease;
    background: #fff;
    color: #2a2e2e;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #fd895a;
    box-shadow: 0 0 0 1px #fd895a;
}

.comment-form textarea {
    min-height: 100px;
    resize: ve2px 28px;
    background: #fd895a;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.comment-form .submit:hover {
    background: #1a5acc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(47, 124, 255, 0.3);
}

/* Modération */
.comment-awaiting-moderation {
    display: inline-block;
    padding: 6px 12px;
    background: #fff3cd;
    color: #856404;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 8px;
    border: 1px solid #ffeaa7;
}

/* Aucun commentaire */
.no-comments {
    padding: 40px;
    text-align: center;
    color: #687a86;
    font-size: 15px;
    background: #f9fafb;
    border-radius: 4px;
}

/* ==========================================================================
   STYLES POUR LA PAGE D'ARCHIVE
   ========================================================================== */

/* Container principal de l'archive */
.jvg-archive-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    overflow: visible;
    width: 100%;
}

.jvg-archive-content {
    display: grid !important;
    grid-template-columns: 1fr 380px !important;
    gap: 40px;
    align-items: start;
    width: 100%;
    min-width: 0;
}

.jvg-archive-main {
    min-width: 0;
    width: 100%;
}

/* En-tête de l'archive */
.jvg-archive-header {
    margin-bottom: 40px;
}

.jvg-archive-title {
    font-size: 36px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--jvg-dark);
    margin: 0;
    padding-bottom: 15px;
    border-bottom: 4px solid #fd895a;
    position: relative;
}

/* Liste des articles */
.jvg-articles-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
    width: 100%;
}

/* Article item - Carte blanche */
.jvg-article-item {
    display: grid !important;
    grid-template-columns: 270px 1fr !important;
    gap: 0 !important;
    background: #ffffff !important;
    border: 1px solid #ddd !important;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    transition: box-shadow 0.3s ease;
    width: 100%;
}

.jvg-article-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
}

/* Image de l'article */
.jvg-article-image {
    width: 270px;
    height: auto;
    position: relative;
    overflow: hidden;
}

.jvg-article-image a {
    display: block;
    height: 100%;
}

.jvg-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 180px;
}

/* Corps de l'article */
.jvg-article-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Compteur de commentaires avec emoji */
.jvg-comment-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 10px;
    color: #999;
}

/* Ligne de métadonnées */
.jvg-article-meta-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.jvg-category-badge {
    background: #007bff;
    color: white;
    padding: 4px 10px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.jvg-post-date {
    color: #888;
    font-size: 12px;
}

/* Titre de l'article */
.jvg-post-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 12px 0;
    color: #222;
    padding-right: 35px;
}

.jvg-post-title a {
    color: #222;
    text-decoration: none;
}

.jvg-post-title a:hover {
    color: #007bff;
}

/* Extrait */
.jvg-post-excerpt {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 12px;
}

/* Lien 'Lire la suite' */
.jvg-read-more-link {
    color: #007bff;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}

.jvg-read-more-link:hover {
    text-decoration: underline;
}

/* Responsive pour archives */
@media (max-width: 1024px) {
    .jvg-archive-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .jvg-article-item {
        grid-template-columns: 1fr;
    }
    
    .jvg-article-image {
        width: 100%;
        height: 200px;
    }
    
    .jvg-post-title {
        padding-right: 0;
    }
}

.jvg-read-more-link:hover {
    text-decoration: underline;
}

/* Sidebar */
.jvg-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.jvg-widget {
    background: #1E3A5F;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    color: white;
}

.jvg-widget .widget-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 20px 0;
    color: white;
}

/* Widget Partenaires */
.jvg-partners-widget {
    background: #1E3A5F;
}

.partners-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Widget Les + Aimés / Hypés */
.jvg-popular-widget,
.jvg-hyped-widget {
    background: transparent;
    padding: 0;
}

.jvg-popular-widget .widget-title,
.jvg-hyped-widget .widget-title {
    color: var(--jvg-dark);
    padding: 15px 20px;
    background: linear-gradient(90deg, #FF0080 0%, #FF00F5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
}

.jvg-popular-item,
.jvg-hyped-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    height: 120px;
}

.jvg-popular-item .popular-thumbnail,
.jvg-hyped-item .hyped-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.jvg-popular-item img,
.jvg-hyped-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jvg-popular-item::before,
.jvg-hyped-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.jvg-popular-item .popular-content,
.jvg-hyped-item .hyped-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    z-index: 2;
}

.jvg-popular-item h4,
.jvg-hyped-item h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.jvg-popular-item h4 a,
.jvg-hyped-item h4 a {
    color: white;
    text-decoration: none;
}

.jvg-popular-item h4 a:hover,
.jvg-hyped-item h4 a:hover {
    color: #fd895a;
}

.popular-likes,
.hyped-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: white;
}

/* Pagination */
.jvg-pagination {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.jvg-pagination-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.jvg-pagination-list li {
    margin: 0;
}

.jvg-pagination a,
.jvg-pagination span {
    display: inline-block;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 40px;
    text-align: center;
}

.jvg-pagination a:hover {
    background: #fd895a;
    color: white;
    border-color: #fd895a;
}

.jvg-pagination .current {
    background: #fd895a;
    color: white;
    border-color: #fd895a;
    font-weight: 700;
}

.jvg-pagination .dots {
    border: none;
    background: transparent;
    cursor: default;
}

/* ============================================
   HEADER MODERNE
   ============================================ */

.jvg-modern-header {
    background: #fd895a;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: all 0.3s ease;
}

.jvg-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

/* Left Section */
.jvg-header-left {
    display: flex;
    align-items: center;
    gap: 50px;
    flex: 1;
}

/* Brand / Logo */
.jvg-brand {
    flex-shrink: 0;
}

.jvg-brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.jvg-brand-link:hover {
    transform: translateY(-2px);
}

.jvg-brand-link i {
    font-size: 32px;
    background: linear-gradient(135deg, #4a90e2 0%, #7b68ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jvg-brand-text {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}

.jvg-brand img {
    max-height: 70px;
    width: auto;
}

/* Navigation */
.jvg-nav {
    flex: 1;
}

.jvg-nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.jvg-nav-menu li {
    margin: 0;
    position: relative;
}

.jvg-nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 22px 18px;
    color: #442127;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.jvg-nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #442127;
    transition: width 0.3s ease;
}

.jvg-nav-menu > li > a:hover {
    color: #2a1318;
}

.jvg-nav-menu > li > a:hover::after,
.jvg-nav-menu > li.current-menu-item > a::after {
    width: 100%;
}

.jvg-nav-menu > li.current-menu-item > a {
    color: #2a1318;
}

/* Sous-menus */
.jvg-nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fd895a;
    min-width: 240px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 12px 0;
    margin-top: 8px;
}

.jvg-nav-menu li:hover > .sub-menu {
    display: block;
    animation: fadeInDown 0.3s ease;
}

.jvg-nav-menu .sub-menu a {
    padding: 12px 24px;
    color: #442127;
    display: block;
}

.jvg-nav-menu .sub-menu a:hover {
    background: rgba(68, 33, 39, 0.3);
    color: #2a1318;
}

/* Right Section */
.jvg-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.jvg-search-toggle,
.jvg-mobile-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jvg-search-toggle:hover {
    background: rgba(74, 144, 226, 0.3);
    transform: scale(1.1);
}

.jvg-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.jvg-mobile-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* User Area */
.jvg-user-avatar {
    display: block;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.jvg-user-avatar:hover {
    border-color: #4a90e2;
    transform: scale(1.05);
}

.jvg-user-avatar img {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.jvg-login-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #442127;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.jvg-login-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(68, 33, 39, 0.4);
}

/* Search Overlay */
.jvg-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 37, 64, 0.98);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jvg-search-container {
    position: relative;
    width: 90%;
    max-width: 700px;
}

.jvg-search-form {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.jvg-search-input {
    flex: 1;
    border: none;
    padding: 20px 30px;
    font-size: 18px;
    outline: none;
}

.jvg-search-submit {
    background: linear-gradient(135deg, #4a90e2 0%, #7b68ee 100%);
    border: none;
    color: #fff;
    padding: 20px 35px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.jvg-search-submit:hover {
    transform: scale(1.05);
}

.jvg-search-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
}

.jvg-search-close:hover {
    background: #fff;
    color: #1a2540;
    transform: rotate(90deg);
}

/* Animation */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .jvg-header-left {
        gap: 30px;
    }
    
    .jvg-nav-menu > li > a {
        padding: 22px 14px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .jvg-header-container {
        padding: 0 20px;
        height: 60px;
    }
    
    .jvg-nav {
        display: none;
    }
    
    .jvg-mobile-toggle {
        display: flex;
    }
    
    .jvg-login-link span {
        display: none;
    }
    
    .jvg-brand-text {
        font-size: 20px;
    }
}

/* Header et Footer par défaut */
.site-header {
    background: var(--jvg-dark);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: 900;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.main-navigation a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.main-navigation a:hover {
    color: #fd895a;
}

.site-footer {
    background: var(--jvg-dark);
    color: white;
    padding: 30px 0;
    margin-top: 60px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Responsive */
@media (max-width: 1200px) {
    .jvg-archive-content {
        grid-template-columns: 1fr 300px !important;
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .jvg-archive-content {
        grid-template-columns: 1fr !important;
    }
    
    .jvg-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .jvg-article-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .jvg-article-image img {
        width: 100%;
    }
    
    .jvg-archive-title {
        font-size: 28px;
    }
    
    .header-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Bouton partage - Copier le lien */
.jvg-share-copy {
    position: relative;
    background: #28a745 !important;
    border: 2px solid #28a745 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 50px !important;
    height: 50px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.jvg-share-copy svg {
    fill: #ffffff !important;
    width: 20px !important;
    height: 20px !important;
    opacity: 1 !important;
}

.jvg-share-copy:hover {
    background: #007bff !important;
    border-color: #0056b3 !important;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.4) !important;
}

.jvg-copy-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    background: #28a745;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

.jvg-copy-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #28a745;
}

.jvg-copy-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
}

/* =====================================
   STYLES POUR LES PAGES CLASSIQUES
   ===================================== */

body.page .jvg-page-wrapper,
.page-template-default .jvg-page-wrapper {
    padding: 40px 20px;
    background: var(--jvg-bg-light, #f5f5f5);
    min-height: calc(100vh - 200px);
}

body.page .jvg-page-container,
.page-template-default .jvg-page-container {
    max-width: 900px;
    margin: 0 auto;
}

body.page .jvg-page-content,
.page-template-default .jvg-page-content {
    background: white !important;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

body.page .jvg-page-featured-image,
.page-template-default .jvg-page-featured-image {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
}

body.page .jvg-page-featured-image img,
.page-template-default .jvg-page-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page .jvg-page-header,
.page-template-default .jvg-page-header {
    padding: 40px 60px 30px !important;
    background: linear-gradient(135deg, var(--jvg-primary, #ff0080), var(--jvg-secondary, #00d4ff)) !important;
    text-align: center;
}

body.page .jvg-page-title,
.page-template-default .jvg-page-title {
    font-size: 42px !important;
    font-weight: 800 !important;
    color: white !important;
    margin: 0 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

body.page .jvg-page-article-content,
.page-template-default .jvg-page-article-content,
body.page .entry-content,
.page-template-default .entry-content {
    padding: 60px !important;
    font-size: 17px !important;
    line-height: 1.8 !important;
    color: #333 !important;
}

body.page .jvg-page-article-content h1,
body.page .jvg-page-article-content h2,
body.page .jvg-page-article-content h3,
body.page .jvg-page-article-content h4,
body.page .jvg-page-article-content h5,
body.page .jvg-page-article-content h6,
body.page .entry-content h1,
body.page .entry-content h2,
body.page .entry-content h3,
body.page .entry-content h4,
body.page .entry-content h5,
body.page .entry-content h6 {
    font-weight: 700 !important;
    margin: 30px 0 20px !important;
    color: var(--jvg-dark, #1a1a2e) !important;
}

body.page .jvg-page-article-content h1,
body.page .entry-content h1 {
    font-size: 36px !important;
    border-bottom: 3px solid var(--jvg-primary, #ff0080);
    padding-bottom: 15px;
    margin-top: 40px !important;
}

body.page .jvg-page-article-content h2,
body.page .entry-content h2 {
    font-size: 30px !important;
    color: var(--jvg-primary, #ff0080) !important;
}

body.page .jvg-page-article-content h3,
body.page .entry-content h3 {
    font-size: 24px !important;
}

body.page .jvg-page-article-content h4,
body.page .entry-content h4 {
    font-size: 20px !important;
}

body.page .jvg-page-article-content p,
body.page .entry-content p {
    margin: 15px 0 !important;
    text-align: justify;
}

body.page .jvg-page-article-content ul,
body.page .jvg-page-article-content ol,
body.page .entry-content ul,
body.page .entry-content ol {
    margin: 20px 0 !important;
    padding-left: 40px !important;
}

body.page .jvg-page-article-content li,
body.page .entry-content li {
    margin: 10px 0 !important;
    line-height: 1.8 !important;
}

body.page .jvg-page-article-content ul li,
body.page .entry-content ul li {
    list-style: disc !important;
}

body.page .jvg-page-article-content ol li,
body.page .entry-content ol li {
    list-style: decimal !important;
}

body.page .jvg-page-article-content a,
body.page .entry-content a {
    color: var(--jvg-primary, #ff0080) !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

body.page .jvg-page-article-content a:hover,
body.page .entry-content a:hover {
    color: var(--jvg-secondary, #00d4ff) !important;
    text-decoration: underline;
}

body.page .jvg-page-article-content strong,
body.page .entry-content strong {
    font-weight: 700 !important;
    color: var(--jvg-dark, #1a1a2e) !important;
}

body.page .jvg-page-article-content blockquote,
body.page .entry-content blockquote {
    margin: 25px 0 !important;
    padding: 20px 30px !important;
    background: rgba(255, 0, 128, 0.05) !important;
    border-left: 5px solid var(--jvg-primary, #ff0080) !important;
    font-style: italic;
    color: #555 !important;
}

body.page .jvg-page-article-content img,
body.page .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

body.page .jvg-page-article-content table,
body.page .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

body.page .jvg-page-article-content table th,
body.page .jvg-page-article-content table td,
body.page .entry-content table th,
body.page .entry-content table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

body.page .jvg-page-article-content table th,
body.page .entry-content table th {
    background: var(--jvg-primary, #ff0080);
    color: white;
    font-weight: 700;
}

body.page .jvg-page-article-content table tr:nth-child(even),
body.page .entry-content table tr:nth-child(even) {
    background: #f9f9f9;
}

.jvg-page-links {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #eee;
    text-align: center;
}

.jvg-page-links a {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 5px;
    background: var(--jvg-primary, #ff0080);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.jvg-page-links a:hover {
    background: var(--jvg-secondary, #00d4ff);
    transform: translateY(-2px);
}

.jvg-page-comments {
    padding: 40px 60px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

/* Responsive */
@media (max-width: 768px) {
    .jvg-page-wrapper {
        padding: 20px 10px;
    }
    
    .jvg-page-header {
        padding: 30px 30px 20px;
    }
    
    .jvg-page-title {
        font-size: 28px;
    }
    
    .jvg-page-article-content {
        padding: 30px 25px;
        font-size: 16px;
    }
    
    .jvg-page-article-content h1 {
        font-size: 28px;
    }
    
    .jvg-page-article-content h2 {
        font-size: 24px;
    }
    
    .jvg-page-article-content h3 {
        font-size: 20px;
    }
    
    .jvg-page-comments {
        padding: 30px 25px;
    }
}
/* =====================================
   APERÇU GIF DANS LES COMPOSEURS
   ===================================== */
.jvg-gif-preview-container {
    margin: 12px 0;
    padding: 12px;
    background: #f8f9fa;
    border: 1px dashed #dee2e6;
    border-radius: 8px;
    display: none;
}

.jvg-gif-preview-item {
    position: relative;
    display: inline-block;
    margin: 0 8px 8px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.jvg-gif-preview-item img {
    display: block;
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
    border-radius: 8px;
}

.jvg-remove-gif {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    padding: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    opacity: 0;
}

.jvg-gif-preview-item:hover .jvg-remove-gif {
    opacity: 1;
}

.jvg-remove-gif:hover {
    background: #dc3545;
    transform: scale(1.1);
}

.jvg-remove-gif svg {
    width: 16px;
    height: 16px;
}

/* Style pour les GIFs intégrés dans le contenu */
.jvg-gif-embed {
    margin: 20px 0;
    text-align: center;
}

.jvg-gif-embed img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
/* ============================================
   SINGLE ARTICLE - SIDEBAR ET MOBILE
   ============================================ */

/* Wrapper principal article */
.jvg-single-article {
    max-width: 1400px;
    margin: 0 auto;
}

/* Container principal */
.jvg-single-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Sidebar gauche (desktop) */
.jvg-single-sidebar-left {
    position: sticky;
    position: -webkit-sticky;
    top: 100px;
    align-self: flex-start;
    height: auto;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Scrollbar pour la sidebar si nécessaire */
.jvg-single-sidebar-left::-webkit-scrollbar {
    width: 6px;
}

.jvg-single-sidebar-left::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.jvg-single-sidebar-left::-webkit-scrollbar-thumb {
    background: #fd895a;
    border-radius: 10px;
}

.jvg-single-sidebar-left::-webkit-scrollbar-thumb:hover {
    background: #442127;
}

/* Auteur dans sidebar */
.jvg-sidebar-author {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.jvg-sidebar-author img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 12px;
    border: 3px solid #fd895a;
    display: block;
}

.jvg-sidebar-author-name {
    font-size: 15px;
    font-weight: 700;
    color: #442127;
    display: block;
    margin: 0;
}

/* Date et heure dans sidebar */
.jvg-sidebar-date,
.jvg-sidebar-time {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #555;
    font-size: 13px;
}

.jvg-sidebar-date i,
.jvg-sidebar-time i {
    color: #fd895a;
    font-size: 15px;
    width: 20px;
    text-align: center;
}

/* Statistiques (likes, dislikes, temps de lecture) */
.jvg-sidebar-stats {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 5px;
    justify-content: space-around;
}

.jvg-sidebar-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
}

.jvg-sidebar-stat i {
    font-size: 18px;
    color: #999;
}

.jvg-stat-likes i {
    color: #fd895a;
}

.jvg-stat-dislikes i {
    color: #442127;
}

.jvg-stat-reading i {
    color: #6c757d;
}

.jvg-stat-count {
    font-weight: 700;
    font-size: 16px;
    color: #442127;
}

/* Partage dans sidebar */
.jvg-sidebar-share {
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.jvg-sidebar-share-title {
    font-size: 12px;
    font-weight: 700;
    color: #442127;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.jvg-sidebar-share-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    justify-items: center;
}

/* Commentaires dans sidebar */
.jvg-sidebar-comments {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 0;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.jvg-sidebar-comments:hover {
    background: #fff5f0;
    color: #fd895a;
    border-radius: 8px;
}

.jvg-sidebar-comments i {
    color: #fd895a;
    font-size: 20px;
    transition: all 0.3s ease;
}

.jvg-sidebar-comments:hover i {
    transform: scale(1.1);
}

.jvg-comments-count {
    color: #442127;
}

.jvg-sidebar-comments:hover .jvg-comments-count {
    color: #fd895a;
}

.jvg-share-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
}

.jvg-share-facebook {
    background: #1877f2;
}

.jvg-share-twitter {
    background: #1da1f2;
}

.jvg-share-linkedin {
    background: #0077b5;
}

.jvg-share-whatsapp {
    background: #25d366;
}

.jvg-share-reddit {
    background: #ff4500;
}

.jvg-share-pinterest {
    background: #e60023;
}

.jvg-share-email {
    background: #7f8c8d;
}

.jvg-share-copy {
    background: #666;
}

.jvg-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Vote dans sidebar */
.jvg-sidebar-vote {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.jvg-vote-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: stretch;
}

.jvg-vote-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 12px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 13px;
    color: #666;
    position: relative;
    overflow: hidden;
}

.jvg-vote-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.jvg-vote-btn:hover::before {
    opacity: 1;
}

.jvg-vote-btn i {
    font-size: 28px;
    transition: all 0.3s ease;
}

.jvg-vote-like {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8dc 100%);
    border-color: #fed7c3;
}

.jvg-vote-dislike {
    background: linear-gradient(135deg, #f8f4f5 0%, #ede8ea 100%);
    border-color: #d9cfd2;
}

.jvg-vote-like:hover {
    background: linear-gradient(135deg, #fd895a 0%, #fc6d3a 100%);
    border-color: #fd895a;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(253, 137, 90, 0.35);
}

.jvg-vote-like:hover i {
    transform: scale(1.15) rotateZ(-10deg);
}

.jvg-vote-dislike:hover {
    background: linear-gradient(135deg, #442127 0%, #2d1519 100%);
    border-color: #442127;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(68, 33, 39, 0.35);
}

.jvg-vote-dislike:hover i {
    transform: scale(1.15) rotateZ(10deg);
}

.jvg-vote-btn:active {
    transform: translateY(-1px);
}

.jvg-vote-btn.voted {
    pointer-events: none;
    animation: voteSuccess 0.6s ease;
}

@keyframes voteSuccess {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.jvg-vote-btn.voted.jvg-vote-like {
    background: linear-gradient(135deg, #fd895a 0%, #fc6d3a 100%);
    border-color: #fd895a;
    color: #fff;
    box-shadow: 0 4px 16px rgba(253, 137, 90, 0.3);
}

.jvg-vote-btn.voted.jvg-vote-like i {
    animation: thumbsUp 0.5s ease;
}

.jvg-vote-btn.voted.jvg-vote-dislike {
    background: linear-gradient(135deg, #442127 0%, #2d1519 100%);
    border-color: #442127;
    color: #fff;
    box-shadow: 0 4px 16px rgba(68, 33, 39, 0.3);
}

.jvg-vote-btn.voted.jvg-vote-dislike i {
    animation: thumbsDown 0.5s ease;
}

@keyframes thumbsUp {
    0%, 100% { transform: rotateZ(0deg); }
    25% { transform: rotateZ(-15deg); }
    75% { transform: rotateZ(15deg); }
}

@keyframes thumbsDown {
    0%, 100% { transform: rotateZ(0deg); }
    25% { transform: rotateZ(15deg); }
    75% { transform: rotateZ(-15deg); }
}

.jvg-vote-count {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.5px;
}

/* Info mobile (mobile uniquement) */
.jvg-mobile-info {
    display: none;
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin: 20px auto;
    max-width: calc(100% - 40px);
    align-items: center;
    justify-content: space-between;
}

.jvg-mobile-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.jvg-mobile-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fd895a;
}

.jvg-mobile-author-details {
    display: flex;
    flex-direction: column;
}

.jvg-mobile-author-name {
    font-size: 14px;
    font-weight: 700;
    color: #442127;
}

.jvg-mobile-author-details time {
    font-size: 12px;
    color: #666;
}

.jvg-mobile-share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fd895a;
    border: none;
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jvg-mobile-share-btn:hover {
    background: #442127;
}

/* Notification de copie */
.jvg-copy-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #442127;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
}

.jvg-copy-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Modal de partage mobile */
.jvg-share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.jvg-share-modal.show {
    opacity: 1;
    visibility: visible;
}

.jvg-share-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.jvg-share-modal-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 30px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.jvg-share-modal.show .jvg-share-modal-content {
    transform: translateY(0);
}

.jvg-share-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    color: #442127;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.jvg-share-modal-close:hover {
    background: #442127;
    color: #fff;
}

.jvg-share-modal-content h3 {
    font-size: 20px;
    color: #442127;
    margin-bottom: 20px;
    font-weight: 700;
}

.jvg-share-modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Responsive */
@media (min-width: 969px) {
    .jvg-mobile-info {
        display: none !important;
    }
}

@media (max-width: 968px) {
    .jvg-single-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 15px;
    }
    
    .jvg-single-sidebar-left {
        display: none !important;
    }
    
    .jvg-mobile-info {
        display: flex !important;
    }
}

/* Dark mode */
body.dark-mode .jvg-single-sidebar-left,
body.dark-mode .jvg-mobile-info {
    background: #2d1519;
    color: #e2e8f0;
    border-color: #442127;
}

body.dark-mode .jvg-sidebar-author {
    border-bottom-color: #442127;
}

body.dark-mode .jvg-sidebar-author-name,
body.dark-mode .jvg-mobile-author-name,
body.dark-mode .jvg-sidebar-share-title {
    color: #fff;
}

body.dark-mode .jvg-single-article {
    background: #1a1a1a !important;
    color: #e2e8f0;
}

body.dark-mode .jvg-single-container {
    background: transparent;
}

body.dark-mode .jvg-single-content-wrapper {
    background: transparent;
    color: #e2e8f0;
}

body.dark-mode .jvg-single-article-content {
    background: transparent;
    color: #e2e8f0;
}

body.dark-mode .jvg-single-article-content p,
body.dark-mode .jvg-single-article-content h1,
body.dark-mode .jvg-single-article-content h2,
body.dark-mode .jvg-single-article-content h3,
body.dark-mode .jvg-single-article-content h4,
body.dark-mode .jvg-single-article-content h5,
body.dark-mode .jvg-single-article-content h6 {
    color: #f0f0f0;
}

body.dark-mode .jvg-single-article-content a {
    color: #fd895a;
}

body.dark-mode .jvg-single-article-content a:hover {
    color: #ffb088;
}

body.dark-mode .jvg-sidebar-date,
body.dark-mode .jvg-sidebar-time {
    color: #cbd5e1;
}

body.dark-mode .jvg-sidebar-date i,
body.dark-mode .jvg-sidebar-time i {
    color: #fd895a;
}

body.dark-mode .jvg-sidebar-stats {
    border-bottom-color: #442127;
}

body.dark-mode .jvg-sidebar-stat {
    color: #cbd5e1;
}

body.dark-mode .jvg-stat-count {
    color: #f0f0f0;
}

body.dark-mode .jvg-sidebar-share {
    border-top-color: #442127;
    border-bottom-color: #442127;
}

body.dark-mode .jvg-sidebar-comments {
    color: #cbd5e1;
    border-bottom-color: #553238;
}

body.dark-mode .jvg-sidebar-comments:hover {
    background: #553238;
    color: #fd895a;
}

body.dark-mode .jvg-comments-count {
    color: #e2e8f0;
}

body.dark-mode .jvg-sidebar-comments:hover .jvg-comments-count {
    color: #fd895a;
}

body.dark-mode .jvg-vote-btn {
    background: linear-gradient(135deg, #553238 0%, #442127 100%);
    border-color: #6b3d45;
    color: #e2e8f0;
}

body.dark-mode .jvg-vote-like {
    background: linear-gradient(135deg, #5d3832 0%, #4a2e2a 100%);
    border-color: #7d5850;
}

body.dark-mode .jvg-vote-dislike {
    background: linear-gradient(135deg, #3d2529 0%, #2d1519 100%);
    border-color: #5d3d42;
}

body.dark-mode .jvg-vote-like:hover {
    background: linear-gradient(135deg, #fd895a 0%, #fc6d3a 100%);
    border-color: #fd895a;
    color: #fff;
}

body.dark-mode .jvg-vote-dislike:hover {
    background: linear-gradient(135deg, #2d1519 0%, #1a0d0f 100%);
    border-color: #2d1519;
    color: #fff;
}

body.dark-mode .jvg-vote-btn.voted.jvg-vote-like {
    background: linear-gradient(135deg, #fd895a 0%, #fc6d3a 100%);
    border-color: #fd895a;
}

body.dark-mode .jvg-vote-btn.voted.jvg-vote-dislike {
    background: linear-gradient(135deg, #2d1519 0%, #1a0d0f 100%);
    border-color: #2d1519;
}

body.dark-mode .jvg-share-modal-content {
    background: #553238;
}

body.dark-mode .jvg-share-modal-content h3 {
    color: #fff;
}

body.dark-mode .jvg-share-modal-close {
    background: #442127;
    color: #fff;
}

body.dark-mode .jvg-share-modal-close:hover {
    background: #fd895a;
}

body.dark-mode .jvg-reading-progress-bar {
    background: #fd895a;
    box-shadow: 0 -2px 8px rgba(253, 137, 90, 0.4);
}

body.dark-mode .jvg-single-navigation {
    background: transparent;
    border-top-color: #553238;
}

body.dark-mode .jvg-single-navigation a {
    color: #fd895a;
}

body.dark-mode .jvg-single-navigation a:hover {
    color: #fff;
}

body.dark-mode .jvg-single-tags {
    background: transparent;
}

body.dark-mode .jvg-single-tags a {
    background: #553238;
    color: #e2e8f0;
    border-color: #6b3d45;
}

body.dark-mode .jvg-single-tags a:hover {
    background: #fd895a;
    border-color: #fd895a;
    color: #fff;
}