/* FranceActu.info - Bundle CSS */
/* Généré automatiquement - Ne pas modifier directement */

/* === nytimes-style.css === */
/* Style inspiré du New York Times */

/* Variables CSS */
:root {
    --font-serif: 'Georgia', 'Times New Roman', serif;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --color-primary: #121212;
    --color-secondary: #567b95;
    --color-muted: #666;
    --color-border: #e2e2e2;
    --color-light-bg: #f7f7f7;
}

/* Reset et base */
body {
    font-family: var(--font-sans);
    color: var(--color-primary);
    font-size: 16px;
    line-height: 1.6;
    background-color: #1a2332; /* Fond bleu foncé autour du contenu */
    margin: 0;
    padding: 0;
}

/* Container fluid avec max-width */
.container-fluid {
    max-width: 1400px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto; /* Centrer le contenu */
}

/* Conteneur principal avec fond blanc */
.main-container {
    background-color: #fff;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3); /* Ombre plus prononcée pour faire ressortir */
}

/* Assurer que le header et la nav ont un fond blanc */
.main-header {
    background-color: #fff;
}

.main-nav {
    background-color: #fff !important;
}

/* User dropdown styles */
.header-user-dropdown .btn-link {
    transition: opacity 0.2s;
}

.header-user-dropdown .btn-link:hover {
    opacity: 0.8;
}

.header-user-dropdown .dropdown-menu {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-user-dropdown .dropdown-item {
    padding: 8px 16px;
    font-size: 14px;
}

.header-user-dropdown .dropdown-item:hover {
    background-color: #f5f5f5;
}

.header-user-dropdown .dropdown-item i {
    width: 20px;
    text-align: center;
    color: #666;
}

.header-user-dropdown .dropdown-divider {
    margin: 4px 0;
}

.main-header .btn-outline-dark {
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.main-header .btn-outline-dark:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-1px);
}

/* Widget boursier */
.market-widget {
    font-size: 13px;
    overflow: hidden; /* Empêcher tout débordement */
}

.market-ticker {
    white-space: nowrap;
    overflow: hidden; /* Pas de scroll horizontal */
    display: flex;
    gap: 0.5rem;
}

.ticker-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 6px;
    min-width: 0; /* Permettre la réduction */
    flex-shrink: 1; /* Permettre la compression */
}

.ticker-label {
    font-weight: 600;
    color: var(--color-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.ticker-value {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 13px;
}

.ticker-change {
    font-weight: 500;
    font-size: 11px;
}

/* Adaptation pour très petits écrans */
@media (max-width: 480px) {
    .market-widget {
        font-size: 10px;
    }
    .market-ticker {
        gap: 0.125rem;
    }
    .ticker-item {
        padding: 0 2px;
    }
    .ticker-label {
        font-size: 7px;
    }
    .ticker-value {
        font-size: 9px;
    }
    .ticker-change {
        font-size: 8px;
    }
}

@media (max-width: 360px) {
    .ticker-label {
        font-size: 6px;
    }
    .ticker-value {
        font-size: 8px;
    }
    .ticker-change {
        font-size: 7px;
    }
}

.ticker-change.positive {
    color: #16a34a;
}

.ticker-change.negative {
    color: #dc2626;
}

/* Date dans le header */
.header-date {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-muted);
}

/* Header principal */
.main-header {
    background-color: #fff;
    border-bottom: 1px solid var(--color-primary);
}

.site-title {
    font-family: 'Merriweather', 'Times New Roman', Georgia, serif;
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--color-primary);
    letter-spacing: -0.03em;
    text-rendering: optimizeLegibility;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Drapeau français en fond du titre */
.site-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 120px;
    background: linear-gradient(90deg, 
        rgba(0, 85, 164, 0.15) 0%, 
        rgba(0, 85, 164, 0.15) 33.33%, 
        rgba(255, 255, 255, 0.3) 33.33%, 
        rgba(255, 255, 255, 0.3) 66.66%, 
        rgba(239, 65, 53, 0.15) 66.66%, 
        rgba(239, 65, 53, 0.15) 100%
    );
    z-index: -1;
    border-radius: 4px;
}

.site-tagline {
    font-size: 14px;
    font-style: italic;
    margin-top: 0.25rem;
}

/* Navigation principale */
.main-nav {
    border-bottom: 1px solid var(--color-border);
    background-color: #fff;
    z-index: 1000;
}

.nav-main {
    padding: 0;
    margin: 0;
    flex-wrap: nowrap;
}

.nav-main .nav-item {
    margin: 0;
    position: relative;
}

.nav-main .nav-link {
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 500;
    padding: 0.75rem 0.8rem;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* Couleurs personnalisées pour chaque catégorie */
.category-dropdown[data-category-color="1"] .nav-link:hover { 
    color: #d62728; /* Rouge */
    border-bottom-color: #d62728;
}
.category-dropdown[data-category-color="2"] .nav-link:hover { 
    color: #2ca02c; /* Vert */
    border-bottom-color: #2ca02c;
}
.category-dropdown[data-category-color="3"] .nav-link:hover { 
    color: #ff7f0e; /* Orange */
    border-bottom-color: #ff7f0e;
}
.category-dropdown[data-category-color="4"] .nav-link:hover { 
    color: #1f77b4; /* Bleu */
    border-bottom-color: #1f77b4;
}
.category-dropdown[data-category-color="5"] .nav-link:hover { 
    color: #9467bd; /* Violet */
    border-bottom-color: #9467bd;
}
.category-dropdown[data-category-color="6"] .nav-link:hover { 
    color: #8c564b; /* Marron */
    border-bottom-color: #8c564b;
}
.category-dropdown[data-category-color="7"] .nav-link:hover { 
    color: #e377c2; /* Rose */
    border-bottom-color: #e377c2;
}
.category-dropdown[data-category-color="8"] .nav-link:hover { 
    color: #17becf; /* Cyan */
    border-bottom-color: #17becf;
}
.category-dropdown[data-category-color="9"] .nav-link:hover { 
    color: #bcbd22; /* Vert olive */
    border-bottom-color: #bcbd22;
}
.category-dropdown[data-category-color="10"] .nav-link:hover { 
    color: #7f7f7f; /* Gris */
    border-bottom-color: #7f7f7f;
}

/* Menu déroulant des catégories */
.category-dropdown .dropdown-menu {
    border-radius: 0;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 350px;
    padding: 0;
}

.category-dropdown .dropdown-header {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--color-muted);
    padding: 0.75rem 1rem;
}

.category-menu .dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 14px;
    line-height: 1.4;
    white-space: normal;
    border-bottom: 1px solid var(--color-light-bg);
}

.category-menu .dropdown-item:last-child {
    border-bottom: none;
}

.category-menu .dropdown-item:hover {
    background-color: var(--color-light-bg);
}

.category-menu .dropdown-item.text-center {
    background-color: var(--color-light-bg);
    border-top: 1px solid var(--color-border);
}

/* Sur très grand écran (xl), réduire l'espacement pour tout faire tenir */
@media (min-width: 1200px) {
    .nav-main .nav-link {
        font-size: 12px;
        padding: 0.75rem 0.7rem;
    }
}

/* Sur écran encore plus grand, augmenter légèrement */
@media (min-width: 1400px) {
    .nav-main .nav-link {
        font-size: 13px;
        padding: 0.75rem 0.9rem;
    }
}

.nav-main .nav-link:hover {
    background-color: transparent;
    font-weight: 600;
    /* Suppression du changement de font-size */
    transform: translateY(-1px);
}

.nav-main .nav-link.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
    font-weight: 600;
}

/* Les couleurs par catégorie sont maintenant générées dynamiquement depuis la base de données */
/* Voir le tag <style> dans base.html */

/* Breaking News Bar */
.breaking-news-bar {
    background-color: var(--color-light-bg);
    font-size: 14px;
}

.breaking-news-scroll {
    overflow: hidden;
    white-space: nowrap;
}

.breaking-news-item {
    display: inline-block;
}

/* Titres d'articles - Layout 3 colonnes */
.hero-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-primary);
}

.secondary-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
}

.list-title {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

.special-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Colonne Live */
.section-title-live {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.live-article-title {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-primary);
}

.live-article-title:hover {
    color: var(--color-secondary);
}

/* Colonne Sidebar */
.section-title-sidebar {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5rem;
}

.popular-title,
.opinion-item-title {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.grid-title {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Résumés d'articles - Layout 3 colonnes */
.hero-summary {
    font-size: 17px;
    line-height: 1.5;
    color: var(--color-muted);
    margin-bottom: 1rem;
}

.secondary-summary {
    font-size: 14px;
    line-height: 1.4;
    color: var(--color-muted);
    margin-bottom: 0.5rem;
}

.list-summary {
    font-size: 14px;
    line-height: 1.4;
    color: var(--color-muted);
    margin-bottom: 0.5rem;
}

.special-summary {
    font-size: 15px;
    line-height: 1.4;
    color: var(--color-muted);
    margin-bottom: 0.5rem;
}

.live-article-summary {
    font-size: 13px;
    line-height: 1.4;
    color: var(--color-muted);
    margin-bottom: 0.5rem;
}

/* Métadonnées */
.article-meta {
    font-size: 13px;
    color: var(--color-muted);
    font-weight: 400;
}

/* Images */
.article-image img {
    transition: opacity 0.3s ease;
}

.article-image:hover img {
    opacity: 0.9;
}

/* Sections */
.section-title {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.section-title-category {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5rem;
}

/* Séparateur de section */
.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-border) 20%, var(--color-border) 80%, transparent);
    margin: 3rem 0;
}

/* Opinion Section */
.opinion-section {
    background-color: var(--color-light-bg);
    padding: 1.5rem;
    border-left: 3px solid var(--color-primary);
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--color-light-bg);
    border-top: 1px solid var(--color-border);
}

/* Footer */
.site-footer {
    background-color: #fff;
    border-top: 2px solid var(--color-primary);
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
}

/* Boutons personnalisés */
.btn-dark {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 0.5rem 1.5rem;
}

.btn-dark:hover {
    background-color: #333;
    border-color: #333;
}

/* Modal de recherche */
.modal-content {
    border: none;
    border-radius: 0;
}

.modal-body .form-control {
    font-size: 1.5rem;
    padding: 1rem 0;
    border-radius: 0;
}

/* Layout 3 colonnes spécifique */
.live-feed-section {
    background-color: #fff;
}

.live-feed {
    max-height: 800px;
    overflow-y: auto;
}

.live-feed::-webkit-scrollbar {
    width: 4px;
}

.live-feed::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.live-feed::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 2px;
}

.special-article {
    background-color: var(--color-light-bg);
}

/* Navigation actions à droite */
.nav-actions {
    margin-left: auto;
}

/* Responsive */
@media (max-width: 991.98px) {
    .site-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .secondary-title {
        font-size: 1.2rem;
    }
    
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Ordre des colonnes sur mobile */
    .order-lg-1 { order: 2; }
    .order-lg-2 { order: 1; }
    .order-lg-3 { order: 3; }
    
    /* Widget boursier sur tablette */
    .market-widget {
        font-size: 11px;
    }
    
    .ticker-value {
        font-size: 12px;
    }
}

@media (max-width: 767.98px) {
    /* Header responsive */
    .header-date {
        font-size: 12px;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .site-tagline {
        font-size: 11px;
    }
    
    /* Masquer le widget boursier sur mobile */
    .market-widget {
        display: none;
    }
    
    /* Ajuster les colonnes du header */
    .main-header .col-3 {
        flex: 0 0 auto;
        width: auto;
    }
    
    .main-header .col-6 {
        flex: 1;
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .site-title {
        font-size: 1.3rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .nav-main .nav-link {
        font-size: 12px;
        padding: 0.5rem 0.5rem;
    }
}

/* Animations subtiles */
a {
    transition: color 0.2s ease;
}

.hero-title a:hover,
.secondary-title a:hover,
.list-title a:hover,
.special-title a:hover,
.live-article-title:hover,
.popular-title a:hover,
.opinion-item-title a:hover,
.grid-title a:hover {
    color: var(--color-secondary) !important;
}

/* Dropdown personnalisé */
.dropdown-menu {
    border-radius: 0;
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.dropdown-item {
    font-size: 14px;
    padding: 0.5rem 1rem;
}

.dropdown-item:hover {
    background-color: var(--color-light-bg);
}

/* Badge personnalisé */
.badge {
    font-weight: 600;
    font-size: 11px;
    padding: 0.35em 0.65em;
    border-radius: 2px;
}

/* Bordures et espacements fins */
.border-bottom {
    border-bottom: 1px solid var(--color-border) !important;
}

.border-top {
    border-top: 1px solid var(--color-border) !important;
}

/* Focus et accessibilité */
:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .top-bar, 
    .main-nav, 
    .newsletter-section, 
    .site-footer,
    .btn,
    .breaking-news-bar {
        display: none !important;
    }
    
    .site-title {
        font-size: 2rem;
    }
    
    body {
        font-size: 12pt;
    }
}

/* Modal d'authentification */
.auth-tabs {
    border-bottom: 2px solid var(--color-primary);
}

.auth-tabs .nav-link {
    color: var(--color-muted);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border: none;
    border-radius: 0;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.auth-tabs .nav-link:hover {
    color: var(--color-primary);
    border-color: transparent;
}

.auth-tabs .nav-link.active {
    color: var(--color-primary);
    background: transparent;
    border-bottom-color: var(--color-primary);
}

.auth-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.auth-input {
    border-radius: 0;
    border: 1px solid var(--color-border);
    padding: 0.75rem 1rem;  /* Ajout de padding horizontal pour éviter le texte collé */
    font-size: 15px;
    font-family: var(--font-sans);  /* Police harmonisée avec le reste du site */
    line-height: 1.5;
    transition: border-color 0.2s;
    background-color: #fff;
    color: var(--color-primary);
}

.auth-input:focus {
    border-color: var(--color-primary);
    box-shadow: none;
    outline: none;
    background-color: #fff;
}

.auth-submit {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem;
    border-radius: 0;
    font-family: var(--font-sans);
}

/* Fix pour tous les inputs de formulaire dans les modals */
.modal-body input[type="text"],
.modal-body input[type="password"],
.modal-body input[type="email"],
.modal-body .form-control {
    padding: 0.75rem 1rem !important;  /* Force le padding pour éviter le texte collé */
    font-family: var(--font-sans) !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    color: var(--color-primary) !important;
}

.modal-content {
    border-radius: 0;
}

#authModal .alert-info {
    background-color: var(--color-light-bg);
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    border-radius: 0;
}

#authModal .form-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

#authModal .form-text {
    color: var(--color-muted);
    font-style: italic;
}

/* Classement des contributeurs */
.leaderboard-section {
    background-color: #fff;
}

.leaderboard-list {
    font-family: var(--font-sans);
}

.leaderboard-item {
    padding: 0.5rem 0;
}

.leaderboard-item .rank-badge .badge {
    font-size: 12px;
    font-weight: 700;
    min-width: 32px;
    padding: 0.35em 0.5em;
}

.leaderboard-item a {
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.leaderboard-item a:hover {
    color: var(--color-secondary) !important;
}

.leaderboard-section .btn-outline-dark {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 0;
}


/* === notifications.css === */
/* Styles pour le système de notifications */

#notification-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

/* Modal de confirmation */
.notification-modal-backdrop {
    background-color: rgba(0,0,0,0.5);
}

#notification-container .alert {
    min-width: 300px;
    animation: slideInRight 0.3s ease-out;
    border: none;
    border-radius: 10px;
}

#notification-container .btn-close {
    opacity: 0.8;
}

#notification-container .btn-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notification-slideout {
    animation: slideOutRight 0.3s ease-in;
}


/* === auth-forms.css === */
/* Styles dédiés aux formulaires d'authentification */
/* Séparé pour une meilleure organisation et maintenance */

/* Correction des champs de saisie */
.auth-input,
.modal .form-control,
#authModal input[type="text"],
#authModal input[type="password"],
#authModal input[type="email"] {
    /* Padding généreux pour éviter le texte coupé */
    padding: 12px 16px !important;
    
    /* Police cohérente avec le site */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    
    /* Couleurs */
    color: #121212 !important;
    background-color: #fff !important;
    
    /* Bordures */
    border: 1px solid #e2e2e2 !important;
    border-radius: 0 !important;
    
    /* Transitions */
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    
    /* Reset des styles par défaut */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* État focus des inputs */
.auth-input:focus,
.modal .form-control:focus,
#authModal input:focus {
    border-color: #121212 !important;
    box-shadow: 0 0 0 2px rgba(18, 18, 18, 0.1) !important;
    outline: none !important;
    background-color: #fff !important;
}

/* Placeholder style */
.auth-input::placeholder,
.modal .form-control::placeholder {
    color: #999 !important;
    opacity: 1 !important;
}

/* Labels des formulaires */
.modal-body .form-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #666 !important;
    margin-bottom: 6px !important;
}

/* Texte d'aide sous les champs */
.modal-body .form-text {
    font-size: 13px !important;
    color: #999 !important;
    margin-top: 4px !important;
}

/* Boutons de soumission */
.auth-submit {
    padding: 12px 24px !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    transition: background-color 0.2s ease, transform 0.1s ease !important;
}

.auth-submit:hover {
    background-color: #333 !important;
    transform: translateY(-1px);
}

.auth-submit:active {
    transform: translateY(0);
}

/* Tabs de navigation login/register */
.auth-tabs .nav-link {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #666 !important;
    border-radius: 0 !important;
    padding: 10px 20px !important;
}

.auth-tabs .nav-link.active {
    color: #121212 !important;
    background-color: #fff !important;
    border-color: #e2e2e2 #e2e2e2 #fff !important;
}

/* Messages d'erreur */
.alert-danger {
    font-size: 14px !important;
    padding: 10px 12px !important;
    border-radius: 0 !important;
}

/* Fix pour Safari/iOS */
@supports (-webkit-touch-callout: none) {
    .auth-input,
    .modal .form-control {
        font-size: 16px !important; /* Évite le zoom sur iOS */
    }
}


/* === category-menu-clean.css === */
/* Styles propres pour les dropdowns de catégories */

/* Styles de base pour tous les liens nav (Accueil + catégories) */
.main-nav .nav-main .nav-link {
    border-bottom: 3px solid transparent;
    transition: color 0.2s ease, border-bottom-color 0.2s ease;
    font-size: 15px; /* Augmenter la taille de base */
    font-weight: 600;
    transform: none !important; /* Supprimer l'effet grossissant */
}

.main-nav .nav-main .nav-link:hover {
    transform: none !important; /* Empêcher l'effet translateY(-1px) */
    border-bottom: 3px solid currentColor;
}

/* Hover dropdown avec spécificité haute pour override Bootstrap */
.main-nav .nav-main .dropdown:hover .dropdown-menu {
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 1050 !important;
    background: white !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    min-width: 250px !important;
    max-width: 400px !important;
    padding: 0.5rem 0 !important;
    margin-top: 0.125rem !important;
    color: #212529 !important;
}

/* Styles pour les items du dropdown */
.main-nav .dropdown-menu .dropdown-item {
    padding: 0.5rem 1rem !important;
    font-size: 0.9rem !important;
    color: #212529 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.main-nav .dropdown-menu .dropdown-item:hover {
    background-color: #f8f9fa !important;
    color: #1e2125 !important;
}

.main-nav .dropdown-menu .dropdown-item.fw-bold {
    font-weight: 600 !important;
    color: #0d6efd !important;
    border-bottom: 1px solid #dee2e6 !important;
    margin-bottom: 0.25rem !important;
}

.main-nav .dropdown-menu .dropdown-divider {
    margin: 0.25rem 0 !important;
}

/* Enhanced category dropdowns avec images */
.category-enhanced-menu {
    min-width: 420px !important;
    max-width: 480px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    padding: 0 !important;
}

.category-article-card {
    border-bottom: 1px solid #f0f0f0;
}

.category-article-card:last-child {
    border-bottom: none;
}

.category-article-card .dropdown-item {
    border: none !important;
    padding: 14px 18px !important;
    transition: background-color 0.2s ease !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
}

.category-article-card .dropdown-item:hover {
    background-color: #f8f9fa !important;
}

/* Article images spécifiques aux dropdowns catégories */
.category-enhanced-menu .article-image {
    width: 65px;
    height: 48px;
    overflow: hidden;
    flex-shrink: 0;
}

.category-enhanced-menu .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    min-width: 0; /* Pour permettre la troncature */
}

.article-title {
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: #333 !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-height: 2.8em !important; /* 2 lignes */
}

.category-article-card .dropdown-item:hover .article-title {
    color: #0066cc !important;
}


/* === category-menu.css === */
/* Styles pour le menu déroulant des catégories avec cartes d'articles */


/* Limiter la largeur dans le conteneur du site */
@media (min-width: 1400px) {
    .category-menu.mega-menu {
        max-width: min(900px, calc(1400px - 200px)); /* Respecter le conteneur max-width */
    }
}

/* Grille pour les cartes d'articles */
.category-articles-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    padding: 0.5rem;
}

/* Responsive : adapter le nombre de colonnes */
@media (max-width: 1200px) {
    .category-menu.mega-menu {
        width: 750px !important;
    }
    .category-articles-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .category-menu.mega-menu {
        width: 600px !important;
    }
    .category-articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Carte d'article individuelle */
.menu-article-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e2e2;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.menu-article-card:hover {
    border-color: #121212;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

/* Image de la carte */
.menu-article-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    background-color: #f7f7f7;
}

/* Placeholder pour articles sans image */
.menu-article-placeholder {
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 2rem;
}

/* Contenu de la carte */
.menu-article-content {
    padding: 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Titre de l'article */
.menu-article-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    color: #121212;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Méta-informations */
.menu-article-meta {
    font-size: 11px;
    color: #666;
    margin-top: auto;
}

/* Animation de chargement */
.category-articles-loading {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Positionnement du dropdown */
.category-dropdown {
    position: relative;
}

.nav-item.dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: -2px; /* Overlap négatif pour éliminer COMPLÈTEMENT le gap */
    border-top: 2px solid transparent; /* Zone de tolérance invisible */
    padding-top: 2px; /* Compenser le border pour éviter décalage visuel */
}

/* Conteneur principal pour éviter le débordement */
.navbar-nav {
    position: relative;
}

/* Transition douce pour l'apparition */
.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Suppression du CSS hover pour éviter conflit avec JavaScript */
/* Le JavaScript gère maintenant entièrement l'ouverture/fermeture */

/* Maintenir l'effet hover tant que le dropdown est visible */
.nav-item.dropdown:hover .nav-link,
.nav-item.dropdown.dropdown-active .nav-link {
    background-color: transparent;
    font-weight: 600;
    font-size: 14px;
    transform: translateY(-1px);
}

/* Créer une zone de continuité COMPLÈTE sans aucun gap */
.nav-item.dropdown {
    position: relative;
}

.nav-item.dropdown:hover::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -5px;
    right: -5px;
    height: 5px; /* Zone de tolérance plus large */
    background: transparent;
    z-index: 1049; /* Juste sous le dropdown mais au-dessus du reste */
}


/* === category-nav.css === */
/* Navigation des catégories avec effets hover colorés */

.category-nav {
    background-color: #fff;
    border-top: 1px solid #e2e2e2;
    border-bottom: 3px double #e2e2e2;
    padding: 0;
}

.category-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 10px 0;
    margin: 0;
    list-style: none;
}

.category-nav a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 5px 0;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    position: relative;
}

.category-nav a:hover,
.category-nav a.active {
    font-weight: 600;
    transform: translateY(-1px);
}

/* Accueil */
.category-nav a.active[href="/"] {
    color: #000;
    border-bottom-color: #000;
}

/* Couleurs par catégorie */
.category-nav a[href*="politique"]:hover {
    color: #8B0000;
    border-bottom-color: #8B0000;
}

.category-nav a[href*="economie"]:hover {
    color: #004080;
    border-bottom-color: #004080;
}

.category-nav a[href*="societe"]:hover {
    color: #2E8B57;
    border-bottom-color: #2E8B57;
}

.category-nav a[href*="environnement"]:hover {
    color: #228B22;
    border-bottom-color: #228B22;
}

.category-nav a[href*="culture"]:hover {
    color: #8B4513;
    border-bottom-color: #8B4513;
}

.category-nav a[href*="sport"]:hover {
    color: #FF6B35;
    border-bottom-color: #FF6B35;
}

.category-nav a[href*="international"]:hover {
    color: #4B0082;
    border-bottom-color: #4B0082;
}

.category-nav a[href*="tech"]:hover,
.category-nav a[href*="technologie"]:hover {
    color: #1E90FF;
    border-bottom-color: #1E90FF;
}

.category-nav a[href*="sante"]:hover {
    color: #DC143C;
    border-bottom-color: #DC143C;
}

.category-nav a[href*="education"]:hover {
    color: #4169E1;
    border-bottom-color: #4169E1;
}

/* Effets supplémentaires au hover */
.category-nav a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: currentColor;
    transition: width 0.3s ease;
}

.category-nav a:hover::after,
.category-nav a.active::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 991px) {
    .category-nav ul {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .category-nav a {
        font-size: 13px;
    }
}

@media (max-width: 575px) {
    .category-nav ul {
        gap: 15px;
        padding: 8px 10px;
    }
    
    .category-nav a {
        font-size: 12px;
        padding: 3px 0;
    }
}


/* === nav-dropdown-fix.css === */
/* Fix pour le menu déroulant Catégories */

/* S'assurer que la navigation principale a le bon z-index */
.main-nav {
    z-index: 1020 !important;
    position: relative;
}

/* Menu déroulant Catégories avec z-index élevé pour passer au-dessus du direct */
.main-nav .nav-main .dropdown-menu {
    z-index: 1100 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    margin-top: 0 !important;
    transform: none !important;
    transition: none !important;
}

/* Spécifiquement pour le dropdown Catégories au survol */
.main-nav .nav-main .dropdown:hover > .dropdown-menu,
.main-nav .nav-main .dropdown.show > .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    top: 100% !important;
    z-index: 1100 !important;
}

/* S'assurer que le dropdown ne bouge pas */
.main-nav .nav-main .dropdown {
    position: relative !important;
}

/* Éviter tout mouvement ou animation du menu */
.main-nav .nav-main .dropdown-menu.show {
    animation: none !important;
    transition: none !important;
    transform: translateY(0) !important;
}

/* S'assurer que le contenu du Direct passe en dessous */
.breaking-news-bar,
.direct-news-scroll {
    z-index: 1010 !important;
    position: relative;
}

/* Supprimer toute transition pour éviter les mouvements */
@media (min-width: 1200px) {
    .main-nav .nav-main .dropdown-menu {
        transition: none !important;
        transform: none !important;
    }
}


/* === category-hover-fix.css === */
/* Fix simple pour empêcher le changement de taille au hover */

/* Forcer la taille de police à rester constante sur TOUS les liens de navigation */
.nav-main .nav-link:hover {
    font-size: 13px !important;
}

/* Assurer que les media queries gardent aussi la taille constante */
@media (min-width: 1200px) {
    .nav-main .nav-link:hover {
        font-size: 12px !important;
    }
}

@media (min-width: 1400px) {
    .nav-main .nav-link:hover {
        font-size: 13px !important;
    }
}

/* Enlever complètement le changement de taille sur hover pour tous les nav-link */
.main-nav .nav-link:hover {
    font-size: inherit !important;
}


/* === voting.css === */
/* Styles pour la section de vote */
.voting-section {
    background: #fff;
    border-radius: 0;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.voting-articles {
    /* Pas de scroll, affichage complet des 3 articles */
    max-height: none;
    overflow-y: visible;
}

/* Boutons d'action pour les articles proposés */
.voting-actions-buttons {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #f0f0f0;
}

.voting-actions-buttons .btn {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
    border-radius: 0;
    transition: all 0.3s ease;
}

.voting-actions-buttons .btn-primary {
    background-color: #0066cc;
    border-color: #0066cc;
}

.voting-actions-buttons .btn-primary:hover {
    background-color: #0052a3;
    border-color: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}

.voting-actions-buttons .btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.voting-actions-buttons .btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.voting-actions-buttons .btn i {
    margin-right: 0.3rem;
}

.voting-item {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.voting-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0;
    margin-bottom: 0;
}

.voting-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.voting-title a {
    color: #212529;
    transition: color 0.2s;
}

.voting-title a:hover {
    color: #0056b3;
}

.voting-summary {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.voting-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
    border-radius: 0;
    transition: all 0.2s;
    cursor: pointer;
}

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

.vote-btn.active {
    font-weight: 600;
}

.vote-btn.btn-outline-success.active {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

.vote-btn.btn-outline-danger.active {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

.vote-count {
    font-weight: 600;
}

.voting-item .article-meta {
    font-size: 0.75rem;
    color: #8c8c8c;
    margin-top: 0.5rem;
}

/* Animation pour le feedback de vote */
@keyframes votePulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.vote-btn.voting {
    animation: votePulse 0.3s ease;
}

/* Scrollbar personnalisée pour la liste des articles */
.voting-articles::-webkit-scrollbar {
    width: 6px;
}

.voting-articles::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0;
}

.voting-articles::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 0;
}

.voting-articles::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Badge de score */
.voting-actions .text-muted strong {
    color: #333;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .voting-section {
        margin-bottom: 1.5rem;
    }
    
    .voting-articles {
        max-height: 400px;
    }
    
    .voting-actions {
        flex-wrap: wrap;
    }
}


/* === voting-block.css === */
/* Styles pour le bloc Votez pour les meilleurs articles */

.voting-block {
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.voting-block:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 37, 41, 0.15);
}

/* En-tête avec fond noir */
.voting-header {
    background: linear-gradient(135deg, #212529 0%, #000000 100%);
    padding: 12px 20px;
    text-align: center;
}

.voting-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
    text-transform: uppercase;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Contenu du bloc de vote */
.voting-content {
    padding: 20px;
    background: white;
}

/* Articles proposés */
.voting-articles {
    max-height: none;
    overflow-y: visible;
}

.voting-article-item {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.voting-article-item:last-child {
    border-bottom: none;
}

.voting-article-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

.voting-article-title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.2s ease;
}

.voting-article-title a:hover {
    color: #212529;
    text-decoration: underline;
}

/* Méta-informations */
.voting-article-meta {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 8px;
}

/* Boutons de vote */
.voting-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.voting-buttons .btn {
    padding: 4px 12px;
    font-size: 13px;
}

.voting-buttons .btn-sm {
    border: 1px solid #dee2e6;
    background: white;
    color: #495057;
    transition: all 0.2s ease;
}

.voting-buttons .btn-sm:hover {
    background: #f8f9fa;
    border-color: #212529;
    color: #212529;
}

.voting-buttons .btn-success {
    background: #28a745;
    border-color: #28a745;
}

.voting-buttons .btn-danger {
    background: #dc3545;
    border-color: #dc3545;
}

/* Score de vote */
.vote-score {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    margin: 0 8px;
}

/* Boutons d'action */
.voting-actions-buttons {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.voting-actions-buttons .btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 991px) {
    .voting-block {
        margin-top: 20px;
    }
    
    .voting-title {
        font-size: 16px;
    }
}


/* === unlock.css === */
/* Styles pour la page de déverrouillage */

.unlock-gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.unlock-logo {
    max-width: 200px;
    height: auto;
}

.unlock-title-france {
    color: #002395;
    font-weight: bold;
}

.unlock-title-actu {
    color: #ED2939;
    font-weight: bold;
}

.unlock-title-info {
    color: #002395;
    font-weight: bold;
}

.unlock-lead {
    color: #6c757d;
    font-style: italic;
}

.unlock-input {
    border-radius: 0.5rem;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}

.unlock-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Amélioration de la carte */
.unlock-gradient-bg .card {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.unlock-gradient-bg .card-footer {
    background-color: rgba(248, 249, 250, 0.9) !important;
}

/* Animation du bouton */
.unlock-gradient-bg .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.unlock-gradient-bg .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Responsive */
@media (max-width: 576px) {
    .unlock-logo {
        max-width: 150px;
    }
    
    .unlock-gradient-bg .card-body {
        padding: 2rem !important;
    }
}


/* === sober-style.css === */
/* Styles sobres pour FranceActu */

/* Article à la une - Liseré noir fin */
.featured-article {
    position: relative;
    border: 1px solid #333 !important;
    padding: 20px;
    margin: 10px 0;
    border-radius: 0;
    background: white;
}

/* Structure spécifique pour À la une */
.featured-article .hero-media img,
.featured-article .hero-media video {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.featured-label {
    position: absolute;
    top: -9px;
    left: 20px;
    background: white;
    color: #666;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 0 10px;
    text-transform: uppercase;
}

/* Édito simple - Liseré rouge fin */
.edito-block-simple {
    position: relative;
    border: 1px solid #dc2626;
    padding: 20px;
    margin: 10px 0;
    border-radius: 0;
    background: white;
}

.edito-title-simple {
    position: absolute;
    top: -9px;
    left: 20px;
    background: white;
    color: #333;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    padding: 0 10px;
    text-transform: uppercase;
}

.edito-content-simple {
    padding-top: 10px;
}

.edito-author-simple {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.edito-avatar-simple {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #000;
    font-size: 16px;
    font-weight: bold;
}

.edito-author-info-simple {
    flex: 1;
}

.edito-author-info-simple strong {
    font-size: 14px;
    color: #000;
    display: block;
    font-weight: 600;
}

.edito-author-info-simple small {
    font-size: 12px;
    color: #666;
}

.edito-article-title-simple {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #000;
}

.edito-article-title-simple a {
    color: #000 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.edito-article-title-simple a:hover {
    color: #333 !important;
}

.edito-excerpt-simple {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
    text-align: justify;
}

.edito-read-more-simple {
    color: #000;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.edito-read-more-simple:hover {
    color: #333;
    text-decoration: underline;
}

/* Bloc TV simple - Liseré fin complet */
.tv-block-simple {
    position: relative;
    border: 1px solid #333;
    border-radius: 0;
    background: white;
    margin: 10px 0;
    padding: 20px;
}

.tv-title-simple {
    position: absolute;
    top: -9px;
    left: 20px;
    background: white;
    color: #333;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    padding: 0 10px;
    text-transform: uppercase;
}

.tv-content-simple {
    margin-top: 0;
}

/* Modal TV plein écran */
.tv-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.tv-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 90%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tv-modal-header {
    background: #333;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #555;
}

.tv-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.tv-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tv-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.tv-modal-body {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
}

.tv-modal-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.tv-modal-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 15px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
}

.volume-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.volume-slider {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* Responsivité modal TV */
@media (max-width: 768px) {
    .tv-modal-content {
        width: 95%;
        height: 95%;
    }

    .tv-modal-header {
        padding: 10px 15px;
    }

    .tv-modal-title {
        font-size: 16px;
    }

    .tv-modal-controls {
        bottom: 10px;
        right: 10px;
        padding: 8px 12px;
    }

    .volume-slider {
        width: 60px;
    }
}

/* Bloc voting simple - Liseré fin complet */
.voting-block-simple {
    position: relative;
    border: 1px solid #333;
    border-radius: 0;
    background: white;
    margin: 10px 0;
    padding: 20px;
}

.voting-title-simple {
    position: absolute;
    top: -9px;
    left: 20px;
    background: white;
    color: #333;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    padding: 0 10px;
    text-transform: none;
}

.voting-content-simple {
    padding-bottom: 15px;
}

/* Boutons simples à l'intérieur du cadre */
.voting-actions-buttons-simple {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
}

.voting-actions-buttons-simple .btn {
    flex: 1;
}

/* Bloc événements simple - Liseré fin complet */
.events-block-simple {
    position: relative;
    border: 1px solid #333;
    border-radius: 0;
    background: white;
    margin: 10px 0;
    padding: 20px;
}

.events-title-simple {
    position: absolute;
    top: -9px;
    left: 20px;
    background: white;
    color: #333;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    padding: 0 10px;
    text-transform: none;
}

.events-content-simple {
    padding-bottom: 15px;
}

.event-item {
    margin-bottom: 15px;
}

.event-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.event-name a {
    color: #333;
    transition: color 0.2s ease;
}

.event-name a:hover {
    color: #000;
}

.event-details {
    font-size: 12px;
    line-height: 1.4;
}

.event-details div {
    margin-bottom: 2px;
}

.event-details i {
    width: 12px;
    margin-right: 6px;
}

.events-actions-buttons-simple {
    margin-top: 15px;
}

.events-actions-buttons-simple .btn {
    width: 100%;
}

/* Suppression de couleurs excessives - uniquement pour les articles */
article .badge.bg-warning,
.hero-badge .badge.bg-warning,
.special-article .badge.bg-danger {
    display: none !important;
}

/* Responsivité */
@media (max-width: 991px) {
    .featured-article,
    .edito-block-simple,
    .tv-block-simple,
    .voting-block-simple,
    .events-block-simple {
        margin: 15px 0;
    }

    .featured-label,
    .edito-title-simple,
    .tv-title-simple,
    .voting-title-simple,
    .events-title-simple {
        font-size: 12px;
        padding: 0 8px;
    }
    
    .voting-actions-buttons-simple {
        flex-direction: column;
        gap: 8px;
    }
    
    .voting-actions-buttons-simple .btn {
        width: 100%;
    }
}

/* Blocs profile avec liserés sobres */
.profile-header-block,
.badges-block,
.stats-block,
.activity-block,
.recent-activity-block,
.recent-viewed-block,
.social-networks-block,
.interests-block,
.privacy-info-block {
    position: relative;
    border: 1px solid #333;
    border-radius: 0;
    background: white;
    margin: 10px 0;
    padding: 20px;
}

.profile-header-title,
.badges-title,
.stats-title,
.activity-title,
.recent-activity-title,
.recent-viewed-title,
.social-networks-title,
.interests-title,
.privacy-info-title {
    position: absolute;
    top: -9px;
    left: 20px;
    background: white;
    color: #333;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    padding: 0 10px;
    text-transform: none;
}

.profile-header-content,
.badges-content,
.stats-content,
.activity-content,
.recent-activity-content,
.recent-viewed-content,
.social-networks-content,
.interests-content,
.privacy-info-content {
    padding-top: 10px;
}

/* Responsivité pour les blocs profile */
@media (max-width: 991px) {
    .profile-header-block,
    .badges-block,
    .stats-block,
    .activity-block,
    .recent-activity-block,
    .recent-viewed-block,
    .social-networks-block,
    .interests-block,
    .privacy-info-block {
        margin: 15px 0;
    }

    .profile-header-title,
    .badges-title,
    .stats-title,
    .activity-title,
    .recent-activity-title,
    .recent-viewed-title,
    .social-networks-title,
    .interests-title,
    .privacy-info-title,
    .edit-profile-header-title,
    .public-info-title,
    .personal-info-title,
    .social-networks-edit-title {
        font-size: 12px;
        padding: 0 8px;
    }
}

/* Blocs edit-profile avec liserés sobres */
.edit-profile-header-block,
.public-info-block,
.personal-info-block,
.social-networks-edit-block,
.actions-block {
    position: relative;
    border: 1px solid #333;
    border-radius: 0;
    background: white;
    margin: 10px 0;
    padding: 20px;
}

.edit-profile-header-title,
.public-info-title,
.personal-info-title,
.social-networks-edit-title {
    position: absolute;
    top: -9px;
    left: 20px;
    background: white;
    color: #333;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    padding: 0 10px;
    text-transform: none;
}

.edit-profile-header-content,
.public-info-content,
.personal-info-content,
.social-networks-edit-content,
.actions-content {
    padding-top: 10px;
}

/* Actions block sans titre (pas de padding-top) */
.actions-block {
    border: none;
    background: transparent;
    padding: 20px 0;
}

/* Responsivité pour les blocs edit-profile */
@media (max-width: 991px) {
    .edit-profile-header-block,
    .public-info-block,
    .personal-info-block,
    .social-networks-edit-block {
        margin: 15px 0;
    }

    .edit-profile-header-title,
    .profile-photo-title,
    .personal-info-title,
    .security-title,
    .social-networks-edit-title,
    .interests-edit-title {
        font-size: 12px;
        padding: 0 8px;
    }
}


/* === press-typography.css === */
/* Polices de presse professionnelles pour FranceActu */

:root {
    /* Hiérarchie typographique professionnelle */
    --font-serif-display: 'Playfair Display', 'Times New Roman', 'Times', Georgia, serif;
    --font-serif-text: 'Lora', 'Times New Roman', 'Times', Georgia, serif;
    --font-serif-headlines: 'Merriweather', 'Times New Roman', 'Times', Georgia, serif;
    --font-sans-headlines: 'Merriweather', 'Times New Roman', 'Times', Georgia, serif;
}

/* === TITRES ET HEADERS === */

/* Titre principal du site */
.site-title {
    font-family: var(--font-serif-display) !important;
    font-weight: 900;
    letter-spacing: -0.02em;
}

/* Tous les titres d'articles */
.hero-title,
.secondary-title,
.list-title,
.special-title,
.grid-title,
.popular-title,
.live-article-title,
.opinion-item-title {
    font-family: var(--font-serif-headlines) !important;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

/* Titres de sections et blocs */
.section-title,
.section-title-sidebar,
.section-title-live,
.section-title-category {
    font-family: var(--font-serif-headlines) !important;
    font-weight: 700;
    text-transform: none;
    letter-spacing: normal;
}

/* === TITRES DES LISERÉS (notre style sobre uniforme) === */
.featured-label,
.edito-title-simple,
.tv-title-simple,
.voting-title-simple {
    font-family: var(--font-serif-headlines) !important;
    font-weight: 700;
    font-size: 15px !important;
    color: #333 !important;
    text-transform: none !important;
    letter-spacing: 0.5px;
}

/* === TITRES DE SECTIONS STANDARDS === */
.section-title,
.section-title-sidebar {
    font-family: var(--font-serif-headlines) !important;
    font-weight: 700;
    font-size: 15px !important;
    color: #333 !important;
    text-transform: none !important;
    letter-spacing: 0.5px;
}

/* === NAVIGATION === */
.nav-main .nav-link {
    font-family: var(--font-sans-headlines) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* === CONTENUS D'ARTICLES === */

/* Corps de texte des articles */
.hero-summary,
.secondary-summary,
.list-summary,
.special-summary,
.live-article-summary,
.edito-excerpt-simple {
    font-family: var(--font-serif-text) !important;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

/* Contenu principal des articles (dans les pages d'article) */
.article-content,
.article-content p,
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    font-family: var(--font-serif-text) !important;
}

.article-content {
    font-size: 18px;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Justification et alignement du contenu */
.article-content p {
    text-align: justify;
    margin-bottom: 1rem;
}

.article-content video {
    display: block;
    margin: 1.5rem auto;
    max-width: 100%;
    width: 600px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.article-content .video-container {
    text-align: center;
    margin: 1.5rem 0;
}

.article-content img {
    display: block;
    margin: 1.5rem auto;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.article-content h1,
.article-content h2,
.article-content h3 {
    font-family: var(--font-serif-headlines) !important;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-content h1 { font-size: 2.2rem; }
.article-content h2 { font-size: 1.8rem; }
.article-content h3 { font-size: 1.5rem; }
.article-content h4 { font-size: 1.3rem; }
.article-content h5 { font-size: 1.1rem; }
.article-content h6 { font-size: 1rem; }

/* === MÉTADONNÉES ET TEXTES SECONDAIRES === */
.article-meta,
.header-date,
.edito-author-info-simple,
.footer-brand {
    font-family: var(--font-serif-text) !important;
    font-weight: 400;
}

/* === BOUTONS ET ÉLÉMENTS UI === */
.btn {
    font-family: var(--font-serif-headlines) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* === OVERRIDE GÉNÉRAL === */

/* Corps du document */
body {
    font-family: var(--font-serif-text) !important;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

/* Tous les titres h1-h6 par défaut */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-serif-headlines) !important;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

/* Textes en gras */
strong, b {
    font-weight: 700;
}

/* Textes italiques */
em, i {
    font-style: italic;
}

/* === LISTES ET BADGES === */
.badge {
    font-family: var(--font-serif-headlines) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* === FORMULAIRES === */
.form-control,
.form-select,
input,
textarea {
    font-family: var(--font-serif-text) !important;
}

/* === THUMBNAILS ADMIN === */
.table-thumbnail {
    width: 50px !important;
    height: 50px !important;
    object-fit: cover;
}

.table-thumbnail-placeholder {
    width: 50px;
    height: 50px;
}

/* === RESPONSIVE === */
@media (max-width: 767px) {
    .article-content {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .article-content h1 { font-size: 1.8rem; }
    .article-content h2 { font-size: 1.5rem; }
    .article-content h3 { font-size: 1.3rem; }
}

/* === SPÉCIFIQUES À CERTAINS ÉLÉMENTS === */

/* Dropdown items */
.dropdown-item {
    font-family: var(--font-serif-text) !important;
}

/* Leaderboard */
.leaderboard-list,
.leaderboard-item a {
    font-family: var(--font-serif-text) !important;
}

/* Modal de connexion */
.auth-title {
    font-family: var(--font-serif-display) !important;
    font-weight: 700;
}

.auth-input,
.modal-body input,
.modal-body .form-control {
    font-family: var(--font-serif-text) !important;
}

/* Footer */
.site-footer {
    font-family: var(--font-serif-text) !important;
}


/* === title-limits.css === */
/* Limiter les titres à 2 lignes maximum avec taille de police adaptative */
.title-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
    height: calc(2 * 1.2em); /* Exactement 2 lignes */
}

/* Tailles spécifiques selon le contexte */
h1.title-2-lines {
    font-size: clamp(1.5rem, 4vw, 2.5rem); /* Article à la une */
}

h5.title-2-lines, h6.title-2-lines, .voting-title.title-2-lines {
    font-size: clamp(0.9rem, 2vw, 1.1rem); /* Articles secondaires + voting */
}

.title-2-lines a {
    display: block;
    height: 100%;
}

/* Pour les titres plus longs, réduire la taille */
@media (max-width: 768px) {
    .title-2-lines {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
    }
}

/* Styles pour autres tailles de titres si besoin */
.title-1-line {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
    height: 1.2em;
}

.title-3-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
    height: calc(3 * 1.2em);
}

/* Forcer la justification pour tous les textes d'articles */
.hero-summary.text-justify,
.secondary-summary.text-justify,
.list-summary.text-justify,
.voting-summary.text-justify {
    text-align: justify !important;
    text-align-last: left;
}


/* === custom.css === */
/* Reset et base */
body {
    background-color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Header principal */
header {
    background-color: #ffffff;
}

header .container-xxl {
    max-width: 1320px;
}

/* Navigation avec underline */
.nav-underline .nav-link {
    color: #495057;
    font-weight: 500;
    padding: 0.5rem 0;
    margin: 0 0.5rem;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.nav-underline .nav-link:hover {
    color: #212529;
    border-bottom-color: #dee2e6;
}

.nav-underline .nav-link.active {
    color: #212529;
    border-bottom-color: #212529;
}

/* Bandeau Breaking News */
.badge.text-bg-danger {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35em 0.65em;
}

/* Cards modernes */
.card {
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Ratio pour images */
.ratio {
    background-color: #f8f9fa;
}

.object-fit-cover {
    object-fit: cover;
}

/* Carousel personnalisé */
.carousel-caption {
    bottom: 1rem;
    left: 1rem;
    right: auto;
    padding: 1rem;
    max-width: 60%;
}

.carousel-caption h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

.carousel-caption p {
    font-size: 0.875rem;
}

/* Colonnes responsive */
@media (max-width: 991.98px) {
    .order-lg-1 { order: 1 !important; }
    .order-lg-2 { order: 2 !important; }
    .order-lg-3 { order: 3 !important; }
}

/* Badges de catégories */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

/* Titres */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #212529;
}

.h6 {
    font-size: 0.95rem;
}

/* Liens dans les articles */
.link-dark {
    color: #212529 !important;
}

.link-dark:hover {
    color: #495057 !important;
}

/* Footer */
footer {
    background-color: #ffffff;
}

footer .nav-link {
    color: #6c757d;
    font-size: 0.875rem;
}

footer .nav-link:hover {
    color: #212529;
}

/* Offcanvas mobile */
.offcanvas-body .link-dark {
    padding: 0.5rem 0;
    display: block;
}

/* Boutons personnalisés */
.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
}

.btn-success {
    background-color: #198754;
    border-color: #198754;
}

.btn-outline-secondary {
    color: #6c757d;
    border-color: #dee2e6;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
}

/* Vstack avec bordures */
.vstack article {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.vstack article:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none !important;
}

/* Typographie small */
.small {
    font-size: 0.875rem;
}

/* Container xxl */
.container-xxl {
    padding-right: 1rem;
    padding-left: 1rem;
}

@media (min-width: 1400px) {
    .container-xxl {
        max-width: 1320px;
    }
}

/* Dropdown amélioré */
.dropdown-menu {
    border: 1px solid #dee2e6;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    padding: 0.5rem 1rem;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

/* Modal de recherche */
.modal-content {
    border-radius: 0.5rem;
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
}

/* Formulaires */
.form-control {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Articles avec images */
.article img {
    border-radius: 0.375rem;
}

/* Live badge */
.badge.text-bg-danger {
    background-color: #dc3545 !important;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

/* Responsive text truncate */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Accessibility - Focus visible */
:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    header, footer, aside, .btn, .badge {
        display: none !important;
    }
    
    main {
        max-width: 100% !important;
    }
}


/* === article.css === */
.social-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    color: white;
    border: none;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    color: white;
}

.social-btn.facebook { background-color: #1877f2; }
.social-btn.twitter { background-color: #000000; }
.social-btn.linkedin { background-color: #0077b5; }
.social-btn.whatsapp { background-color: #25d366; }
.social-btn.telegram { background-color: #0088cc; }
.social-btn.email { background-color: #ea4335; }
.social-btn.copy { background-color: #6c757d; }

.article-thumbnail-small {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.article-placeholder-small {
    width: 60px;
    height: 60px;
}

.article-content {
    text-align: justify;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 600;
}

.article-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.5rem;
}

.article-content blockquote {
    border-left: 4px solid var(--bs-primary);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6c757d;
}


/* === video-ui.css === */
/* Styles pour l'interface vidéo sans code inline */

/* Boutons play vidéo de différentes tailles */
.video-play-btn {
    padding: 0 !important;
    border: none !important;
}

.video-play-btn-thumbnail {
    width: 24px !important;
    height: 24px !important;
}

.video-play-btn-small {
    width: 24px !important;
    height: 24px !important;
}

.video-play-btn-medium {
    width: 32px !important;
    height: 32px !important;
}

.video-play-btn-large {
    width: 40px !important;
    height: 40px !important;
}

/* Hover effect pour les boutons play */
.video-play-btn:hover {
    background-color: rgba(0, 0, 0, 0.9) !important;
    transform: scale(1.1);
    transition: all 0.2s ease;
}

/* Styles pour les différentes tailles d'images/vidéos */
.media-thumbnail-size {
    height: 50px;
    width: 50px;
    object-fit: cover;
}

.media-small-size {
    height: 80px;
    width: 80px;
    object-fit: cover;
}

.media-medium-size {
    height: 150px;
    width: 100%;
    object-fit: cover;
}

.media-large-size {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

/* Styles pour les placeholders médias */
.media-placeholder-thumbnail {
    height: 50px;
    width: 50px;
}

.media-placeholder-small {
    height: 80px;
    width: 80px;
}

.media-placeholder-medium {
    height: 150px;
    width: 100%;
}

.media-placeholder-large {
    height: 200px;
    width: 100%;
}

/* Styles pour l'illustration dans la sidebar */
.illustration-preview-img {
    max-height: 120px;
}

/* Animation pour les boutons play */
/* Tailles uniformes pour la galerie des médias */
.gallery-item img {
    height: 100px !important;
    width: 100% !important;
    object-fit: cover !important;
}

.gallery-item .bg-secondary {
    height: 100px !important;
    width: 100% !important;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .gallery-item img,
    .gallery-item .bg-secondary {
        height: 80px !important;
    }
}

@keyframes play-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.video-play-btn:active {
    animation: play-pulse 0.2s ease;
}


/* === edito-block.css === */
/* Styles pour le bloc Édito */

.edito-block {
    border: 1px solid #dc3545;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.edito-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.25);
}

/* En-tête avec fond rouge */
.edito-header {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    padding: 12px 20px;
    text-align: center;
}

.edito-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
    text-transform: uppercase;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Contenu de l'édito */
.edito-content {
    padding: 25px;
    background: white;
}

/* Auteur avec avatar */
.edito-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.edito-avatar {
    width: 48px;
    height: 48px;
    border-radius: 0;
    object-fit: cover;
    border: 1px solid #dc3545;
    font-size: 20px;
    font-weight: bold;
}

.edito-author-info {
    flex: 1;
}

.edito-author-info strong {
    font-size: 14px;
    color: #212529;
    display: block;
}

.edito-author-info small {
    font-size: 12px;
}

/* Titre de l'article */
.edito-article-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}

.edito-article-title a {
    transition: color 0.2s ease;
}

.edito-article-title a:hover {
    color: #dc3545 !important;
}

/* Extrait */
.edito-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 20px;
    text-align: justify;
    min-height: 150px;
}

/* Lien lire plus */
.edito-read-more {
    display: inline-block;
    color: #dc3545;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.edito-read-more:hover {
    color: #c82333;
    text-decoration: underline;
    transform: translateX(3px);
}

/* Animation pulse pour attirer l'attention */
@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

.edito-block {
    animation: pulse-border 3s infinite;
}

/* Responsive */
@media (max-width: 991px) {
    .edito-block {
        margin-top: 20px;
    }
    
    .edito-title {
        font-size: 20px;
    }
    
    .edito-article-title {
        font-size: 16px;
    }
}

/* Avatar par défaut si pas d'image */
.edito-avatar[src*="default-avatar"] {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #dc3545;
}


/* === proposed-articles.css === */
.table td {
    vertical-align: middle;
}

.btn-group-sm .btn {
    margin: 0 2px;
}

.filter-card {
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.filter-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.filter-card.active {
    border-color: #0d6efd;
    background-color: #e7f3ff;
}

.article-row:hover .clickable-area {
    background-color: #f8f9fa;
}

.actions-cell {
    width: 150px;
}

.clickable-area {
    transition: background-color 0.2s ease;
}


/* === home-redesign.css === */
/* Nouveau design 2 colonnes pour la page d'accueil */

/* Container principal */
.main-content-area {
    padding-right: 15px;
}

/* Section À la une et Édito */
.hero-section {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-article {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.edito-article {
    position: relative;
    min-height: 400px;
}

/* Style carte avec liseré coloré */
.edito-article .card {
    border: 1px solid #dee2e6 !important;
    border-top: 3px solid #dc3545 !important;
}

.tv-block .card {
    border: 1px solid #dee2e6 !important;
    border-top: 3px solid #28a745 !important;
}

.events-block .card {
    border: 1px solid #dee2e6 !important;
    border-top: 3px solid #17a2b8 !important;
}

.voting-block .card {
    border: 1px solid #dee2e6 !important;
    border-top: 3px solid #ffc107 !important;
}

.most-read-block .card {
    border: 1px solid #dee2e6 !important;
    border-top: 3px solid #6f42c1 !important;
}

.leaderboard-section .card {
    border: 1px solid #dee2e6 !important;
    border-top: 3px solid #fd7e14 !important;
}

.categories-widget .card {
    border: 1px solid #dee2e6 !important;
    border-top: 3px solid #6c757d !important;
}

/* Uniformisation des badges */
.badge {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    border-radius: 0 !important;
}

/* Forcer les coins carrés sur tous les éléments */
.card,
.btn,
img:not(.rounded-circle),
video,
.article-card,
.article-overlay,
.article-overlay-white {
    border-radius: 0 !important;
}

/* Articles avec overlay */
.article-card {
    position: relative;
    overflow: hidden;
    background: #000;
}

.article-card img,
.article-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover img,
.article-card:hover video {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Overlay sur les images */
.article-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.7) 60%, transparent 100%);
    padding: 20px;
    color: white;
}

.article-overlay-white {
    background: rgba(255,255,255,0.95);
    color: #333;
    margin: 20px;
    padding: 15px;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
}

.article-overlay h2,
.article-overlay h3,
.article-overlay h4 {
    color: white;
    margin-bottom: 8px;
    font-weight: bold;
    line-height: 1.2;
}

.article-overlay-white h2,
.article-overlay-white h3,
.article-overlay-white h4 {
    color: #333;
}

.article-meta-overlay {
    font-size: 0.85rem;
    opacity: 0.9;
}

.article-meta-overlay .badge {
    font-size: 0.75rem;
    padding: 3px 8px;
    margin-right: 8px;
}

/* Layout en quinconce pour les articles */
.articles-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.articles-row {
    display: flex;
    gap: 20px;
}

/* Ligne avec 2/3 - 1/3 */
.article-large {
    flex: 2;
    height: 300px;
}

.article-small {
    flex: 1;
    height: 300px;
}

/* Ligne avec 1/3 - 2/3 (inversé) */
.articles-row-reverse {
    flex-direction: row-reverse;
}

/* Ligne avec 3 articles égaux */
.articles-row-triple .article-card {
    flex: 1;
    height: 250px;
}

/* Ligne avec 2 articles égaux */
.articles-row-double .article-card {
    flex: 1;
    height: 280px;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section {
        flex-direction: column;
    }

    .articles-row {
        flex-direction: column;
    }

    .article-large,
    .article-small {
        width: 100%;
        height: 250px;
    }
}

/* Animations */
.article-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Badge de catégorie sur image */
.category-badge-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Titre de section */
.section-title-main {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #007bff;
}

