/*
Theme Name: What to Serve
Theme URI: https://whattoserve.com
Author: What to Serve
Description: A professional, elegant culinary theme with Midnight Blue and Gold accents.
Version: 3.0
License: GPL v2 or later
Text Domain: whattoserve
*/

/* ===================================
   GOOGLE FONTS IMPORT (Mise à jour pour Playfair & Lato)
   =================================== */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,400&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ===================================
   CSS VARIABLES
   =================================== */
:root {
    /* --- PALETTE WHAT TO SERVE (Midnight & Gold) --- */
    
    /* On remplace les anciennes valeurs pastel par les nouvelles couleurs Luxe */
    /* --coral-soft devient le DORE PRINCIPAL */
    --coral-soft: #C5A059; 
    
    /* --coral-light devient le DORE CLAIR (Au survol) */
    --coral-light: #D4AF37;
    
    /* --yellow-pale devient un BLANC CASSÉ CHAUD (Fonds images) */
    --yellow-pale: #FDFBF7;
    
    /* --yellow-light devient GRIS PERLE TRES CLAIR */
    --yellow-light: #F4F6F6;
    
    /* --grey-pearl devient GRIS ARDOISE CLAIR (Bordures) */
    --grey-pearl: #D5D8DC;
    
    /* --grey-light devient le FOND DE PAGE (Blanc cassé élégant) */
    --grey-light: #FAFAFA;
    
    /* --white reste BLANC PUR */
    --white: #FFFFFF;
    
    /* --text-dark devient BLEU NUIT PROFOND (Titres) */
    --text-dark: #1B2631;
    
    /* --text-grey devient GRIS ANTHRACITE (Textes) */
    --text-grey: #4A5568;
    
    /* --text-light devient GRIS MOYEN (Meta données) */
    --text-light: #718096;
    
    /* Variables de compatibilité Header */
    --primary-coral: #C5A059; /* Doré */
    --text-primary: #1B2631;  /* Bleu Nuit */
    --text-secondary: #4A5568;
    
    /* --- NOUVELLES FONTS --- */
    /* On mappe les anciennes variables sur les nouvelles polices */
    --font-handlee: 'Lato', sans-serif; /* Corps du texte (lisible) */
    --font-poppins: 'Playfair Display', serif; /* Titres (élégant) */
    --font-primary: 'Playfair Display', serif;
    
    /* Spacing & Effects */
    --container-width: 1200px;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
    --spacing-xxl: 80px;
    
    --shadow: 0 4px 20px rgba(27, 38, 49, 0.08); /* Ombre légèrement bleutée */
    --shadow-hover: 0 10px 25px rgba(27, 38, 49, 0.12);
    
    /* Dégradé Bleu Nuit vers Gris pour le logo et accents */
    --gradient: linear-gradient(135deg, #1B2631 0%, #34495E 100%);
}

/* ===================================
   RESET & BASE STYLES + FIX SCROLL HORIZONTAL
   =================================== */
html, body {
    overflow-x: hidden !important; /* CRUCIAL: Empêche le scroll horizontal */
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-handlee); /* Lato */
    font-size: 17px; /* Légèrement réduit pour plus d'élégance (était 18px) */
    line-height: 1.7;
    color: var(--text-grey); /* Texte gris foncé au lieu de noir pur */
    background-color: var(--grey-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Empêcher le scroll quand menu ouvert */
body.no-scroll, body.menu-open {
    overflow: hidden !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-poppins); /* Playfair Display */
    font-weight: 700; /* Plus gras pour le serif */
    line-height: 1.3;
    color: var(--text-dark); /* Bleu nuit */
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em; /* Approche serrée pour le style magazine */
}

h1 { font-size: 46px; }
h2 { font-size: 38px; }
h3 { font-size: 30px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 18px; }

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--coral-soft);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--coral-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   WELCOME BAR (TOP HEADER)
   =================================== */
.welcome-bar {
    background: #1B2631; /* Fond Bleu Nuit pour la barre top */
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 8px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

.welcome-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.welcome-left a {
    margin-right: 15px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-family: var(--font-handlee);
}

.welcome-message {
    font-family: var(--font-handlee);
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    text-align: center;
    flex: 1;
    letter-spacing: 0.5px;
}

.welcome-message .heart { color: var(--coral-soft); margin: 0 3px; }

.social-links { display: flex; gap: 12px; }
.social-links a { color: rgba(255,255,255,0.7); transition: 0.3s; padding: 5px; }
.social-links a:hover { color: var(--coral-soft); background: transparent; transform: scale(1.1); }

/* ===================================
   HEADER PRINCIPAL (RESPONSIVE & STICKY)
   =================================== */
.main-header {
    background: var(--white);
    padding: 20px 0; /* Un peu plus d'air */
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    z-index: 1000;
    position: relative;
    width: 100%;
}

.main-header.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    animation: slideDown 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Branding (Logo + Text) */
.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient); /* Bleu nuit */
    border-radius: 4px; /* Carré arrondi plus sérieux */
    color: var(--coral-soft); /* Icone Dorée */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 24px;
    font-family: var(--font-poppins);
    border: 1px solid var(--coral-soft);
}

.brand-info h1 { margin: 0; line-height: 1; }
.brand-info h1 a {
    font-family: var(--font-poppins);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    background: none; /* Pas de gradient sur le texte, plus propre */
    -webkit-text-fill-color: initial;
    letter-spacing: -0.5px;
}

.site-tagline {
    font-family: var(--font-handlee);
    font-size: 13px;
    color: var(--text-light);
    margin: 4px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation Desktop */
.main-navigation {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-menu {
    display: flex;
    gap: 35px; /* Espacement augmenté */
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    font-family: var(--font-handlee); /* Lato */
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dark);
    letter-spacing: 1px;
    padding: 5px 0;
    position: relative;
}

.nav-menu a:hover { color: var(--coral-soft); }
.nav-menu a::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px;
    background: var(--coral-soft); transition: 0.3s;
}
.nav-menu a:hover::after { width: 100%; }

/* Sous-menus Desktop */
.nav-menu .menu-item-has-children { position: relative; }
.nav-menu .sub-menu {
    position: absolute; top: 100%; left: 0; background: white;
    list-style: none; padding: 15px 0; min-width: 220px;
    border-radius: 0; /* Bords droits */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: 0.3s; z-index: 1001;
    border-top: 3px solid var(--coral-soft);
}
.nav-menu .menu-item-has-children:hover .sub-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-menu .sub-menu a {
    display: block; padding: 10px 25px; text-transform: none;
    font-family: var(--font-poppins); font-weight: 500; font-size: 15px; letter-spacing: 0;
}
.nav-menu .sub-menu a:hover { background: var(--grey-light); color: var(--coral-soft); transform: translateX(5px); }
.nav-menu .sub-menu a::after { display: none; }

/* Actions (Search & Burger) */
.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-trigger, .menu-toggle {
    background: none;
    border: 1px solid var(--grey-pearl);
    color: var(--text-dark);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: 0.3s;
}

.search-trigger:hover, .menu-toggle:hover {
    background: var(--text-dark);
    border-color: var(--text-dark);
    color: var(--coral-soft);
}

.menu-toggle { display: none; } /* Caché sur desktop */

/* ===================================
   RESPONSIVE (MOBILE)
   =================================== */
@media (max-width: 991px) {
    .main-navigation { display: none; } /* Cache le menu desktop */
    .menu-toggle { display: flex; } /* Affiche le burger */
    .welcome-message { display: none; } /* Cache le message long */
}

@media (max-width: 768px) {
    .welcome-bar { display: none; } /* Cache la barre du haut */
    .site-tagline { display: none; } /* Cache la tagline pour éviter le chevauchement */
    
    .header-content {
        justify-content: space-between;
        gap: 10px;
    }
    
    .brand-info h1 a { font-size: 22px; }
    .logo-icon { width: 40px; height: 40px; font-size: 18px; }
    
    .search-trigger, .menu-toggle {
        width: 40px; height: 40px; font-size: 16px;
    }
}

/* ===================================
   OVERLAYS (SEARCH & MOBILE MENU)
   =================================== */
.search-overlay, .mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(27, 38, 49, 0.95); /* Fond bleu nuit très opaque */
    z-index: 9999;
    opacity: 0; visibility: hidden; transition: 0.3s;
    display: flex; justify-content: center; align-items: center;
}

.search-overlay.active, .mobile-menu-overlay.active {
    opacity: 1; visibility: visible;
}

.search-box {
    background: white; padding: 40px; border-radius: 4px; width: 90%; max-width: 700px; position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* Mobile Menu Drawer */
.mobile-menu-content {
    background: white; width: 85%; max-width: 350px; height: 100%;
    position: absolute; top: 0; right: 0; padding: 30px;
    transform: translateX(100%); transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto; display: block;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-logo { margin-bottom: 30px; text-align: center; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.mobile-site-logo { font-size: 26px; font-weight: 700; color: var(--text-dark); font-family: var(--font-poppins); }

.mobile-nav-menu { list-style: none; padding: 0; margin: 0; }
.mobile-nav-menu li { border-bottom: 1px solid #f5f5f5; }
.mobile-nav-menu a {
    display: block; padding: 15px 0; color: var(--text-dark);
    font-family: var(--font-poppins); font-weight: 500; font-size: 18px;
    text-transform: none; /* Pas de majuscules forcé sur mobile */
}
.mobile-nav-menu a:hover { color: var(--coral-soft); padding-left: 10px; }

/* Sous-menus mobile */
.mobile-nav-menu .menu-item-has-children > a::after {
    content: '\f078'; font-family: 'Font Awesome 5 Free'; font-weight: 900;
    float: right; transition: 0.3s; font-size: 12px; color: var(--grey-pearl);
}
.mobile-nav-menu .menu-item-has-children.open > a::after { transform: rotate(180deg); color: var(--coral-soft); }
.mobile-nav-menu .sub-menu { display: none; padding-left: 20px; background: #fff; }
.mobile-nav-menu .menu-item-has-children.open > .sub-menu { display: block; }

.search-close, .mobile-menu-close {
    position: absolute; top: 20px; right: 20px;
    background: none; border: none; font-size: 28px; color: var(--text-light); cursor: pointer;
    transition: 0.3s;
}
.search-close:hover, .mobile-menu-close:hover { color: var(--coral-soft); transform: rotate(90deg); }

/* Styles formulaires search */
.search-form { display: flex; gap: 0; border-bottom: 2px solid var(--text-dark); }
.search-field { flex: 1; padding: 15px 0; border: none; background: transparent; font-family: var(--font-poppins); font-size: 24px; color: var(--text-dark); }
.search-field:focus { outline: none; }
.search-field::placeholder { color: var(--grey-pearl); }
.search-submit { background: transparent; color: var(--text-dark); border: none; padding: 0 15px; cursor: pointer; font-size: 20px; }
.search-submit:hover { color: var(--coral-soft); }

/* ===================================
   FEATURED RECIPE SECTION (Restauré)
   =================================== */
.featured-section {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.featured-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.featured-image {
    border-radius: 4px; /* Rayon réduit */
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    height: 550px; /* Un peu plus grand */
    background: var(--yellow-pale);
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.featured-image:hover img {
    transform: scale(1.03); /* Zoom plus subtil */
}

.featured-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    background: var(--white); /* Badge blanc */
    color: var(--text-dark);
    padding: 10px 25px;
    border-radius: 2px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-handlee); /* Lato */
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.featured-content {
    padding: var(--spacing-lg);
}

.featured-label {
    color: var(--coral-soft);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-handlee);
    border-left: 3px solid var(--coral-soft);
    padding-left: 15px;
}

.featured-title {
    font-size: 52px; /* Titre plus imposant */
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    font-family: var(--font-poppins);
}

.featured-description {
    color: var(--text-grey);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    font-style: normal; /* Retrait de l'italique */
    font-family: var(--font-handlee);
    font-weight: 300;
}

.featured-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    border-top: 1px solid var(--grey-pearl);
    padding-top: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-size: 14px;
    font-family: var(--font-handlee);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.meta-item i {
    color: var(--coral-soft);
    font-size: 18px;
}

.featured-button {
    display: inline-block;
    background: var(--text-dark); /* Bouton noir/bleu */
    color: var(--white);
    padding: 18px 45px;
    border-radius: 2px; /* Carré */
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: var(--font-handlee);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    border: 1px solid var(--text-dark);
}

.featured-button:hover {
    background: transparent;
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ===================================
   LATEST RECIPES SECTION (Restauré)
   =================================== */
.latest-section {
    padding: var(--spacing-xxl) 0;
    background: var(--grey-light);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: 42px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: var(--font-poppins);
}

.section-subtitle {
    color: var(--text-light);
    font-style: normal;
    font-size: 16px;
    font-family: var(--font-handlee);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===================================
   MAGAZINE GRID (Restauré)
   =================================== */
.magazine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px; /* Plus d'espace */
}

.magazine-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03); /* Ombre très légère */
    border: 1px solid rgba(0,0,0,0.03);
}

.magazine-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.magazine-image {
    height: 280px;
    position: relative;
    overflow: hidden;
    background: var(--yellow-pale);
}

.magazine-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.magazine-card:hover .magazine-image img {
    transform: scale(1.05);
}

.magazine-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--white);
    color: var(--text-dark);
    padding: 6px 15px;
    border-radius: 2px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-handlee);
    font-weight: 700;
}

.magazine-content {
    padding: 35px;
}

.magazine-title {
    font-size: 26px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
    font-family: var(--font-poppins);
    transition: color 0.3s ease;
}

.magazine-card:hover .magazine-title {
    color: var(--coral-soft);
}

.magazine-excerpt {
    color: var(--text-grey);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: normal;
}

.magazine-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--grey-pearl);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-handlee);
}

/* ===================================
   CATEGORIES STRIP (Restauré)
   =================================== */
.categories-strip {
    background: var(--white);
    padding: var(--spacing-xl) 0;
    border-top: 1px solid var(--grey-pearl);
    border-bottom: 1px solid var(--grey-pearl);
}

.categories-flex {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.category-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: scale(1.05);
}

.category-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 4px solid var(--white);
}

.category-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-circle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 38, 49, 0.3); /* Overlay sombre au lieu de coral */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-item:hover .category-circle::after {
    opacity: 1;
}

.category-item:hover .category-circle {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: var(--coral-soft);
}

/* Nouvelles Couleurs de fallback Élégantes pour les catégories */
.category-item:nth-child(1) .category-circle { background: #C5A059; } /* Or */
.category-item:nth-child(2) .category-circle { background: #1B2631; } /* Bleu Nuit */
.category-item:nth-child(3) .category-circle { background: #AAB7B8; } /* Argent */
.category-item:nth-child(4) .category-circle { background: #D35400; } /* Citrouille brulée */
.category-item:nth-child(5) .category-circle { background: #16A085; } /* Vert Mer */
.category-item:nth-child(6) .category-circle { background: #5D6D7E; } /* Gris Bleu */

.category-name {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 5px;
    font-family: var(--font-handlee); /* Lato */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-count {
    font-size: 12px;
    color: var(--text-light);
    font-style: normal;
}

/* ===================================
   NEWSLETTER SECTION (Restauré)
   =================================== */
.newsletter-section {
    background: #1B2631; /* Fond Bleu Nuit */
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.newsletter-section::before {
    content: ''; position: absolute; top: 10px; left: 10px; right: 10px; bottom: 10px;
    border: 1px solid rgba(197, 160, 89, 0.3); /* Cadre doré fin */
    pointer-events: none;
}

.newsletter-title {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 15px;
    font-family: var(--font-poppins);
    color: var(--white);
}

.newsletter-text {
    color: #AAB7B8;
    margin-bottom: 40px;
    font-style: normal;
    font-size: 16px;
    font-family: var(--font-handlee);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 0; /* Collé */
}

.newsletter-input {
    flex: 1;
    padding: 18px 25px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: var(--white);
    font-size: 15px;
    font-family: var(--font-handlee);
    border-radius: 4px 0 0 4px; /* Coins carrés à gauche */
}

.newsletter-input::placeholder {
    color: rgba(255,255,255,0.4);
    font-style: normal;
}

.newsletter-button {
    background: var(--coral-soft);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 0 4px 4px 0; /* Coins carrés à droite */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    font-family: var(--font-handlee);
}

.newsletter-button:hover {
    background: var(--white);
    color: var(--text-dark);
    transform: translateX(0); /* Désactivation de l'animation latérale */
}

/* ===================================
   FOOTER (Restauré)
   =================================== */
.site-footer {
    background: #151e26; /* Encore plus foncé que le bleu nuit */
    color: var(--white);
    padding: 80px 0 30px;
    font-family: var(--font-handlee);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-column h4 {
    color: var(--coral-soft);
    font-size: 16px;
    margin-bottom: 25px;
    font-family: var(--font-handlee); /* Lato */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column a {
    color: #808B96;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #566573;
    font-size: 13px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: var(--spacing-md);
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    color: var(--white);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--coral-soft);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===================================
   RESPONSIVE DESIGN GÉNÉRAL (Restauré)
   =================================== */
@media (max-width: 768px) {
    .featured-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .featured-image {
        height: 350px;
    }
    
    .featured-title {
        font-size: 36px;
    }
    
    .magazine-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .magazine-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .categories-flex {
        gap: 20px;
        justify-content: center;
    }
    
    .category-circle {
        width: 90px;
        height: 90px;
    }
    
    .category-name {
        font-size: 14px;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .newsletter-input {
        border-radius: 4px;
    }
    .newsletter-button {
        border-radius: 4px;
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .magazine-content {
        padding: 25px;
    }
    
    .magazine-title {
        font-size: 22px;
    }
    
    .featured-content {
        padding: var(--spacing-md);
    }
    
    .categories-flex {
        gap: 15px;
    }
}

/* ===================================
   WORDPRESS SPECIFIC (Restauré)
   =================================== */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    position: absolute;
    left: 6px;
    top: 7px;
    z-index: 999999;
    padding: 8px 16px;
    background: var(--coral-soft);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.alignleft {
    float: left;
    margin-right: var(--spacing-md);
}

.alignright {
    float: right;
    margin-left: var(--spacing-md);
}

/* ===================================
   STYLES ARTICLES (Restauré)
   =================================== */
.article-container {
    max-width: 800px; /* Plus étroit pour une meilleure lecture */
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.article-breadcrumb {
    background: transparent;
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--grey-pearl);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-light);
    flex-wrap: wrap;
    font-family: var(--font-handlee);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumb-nav a {
    color: var(--text-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--coral-soft);
}

.breadcrumb-separator {
    color: var(--grey-pearl);
}

.breadcrumb-current {
    color: var(--coral-soft);
    font-weight: 700;
}

/* Article Header */
.article-header {
    text-align: center;
    margin-bottom: 50px;
    padding-top: 20px;
}

.article-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.1;
    font-family: var(--font-poppins);
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 30px;
    font-family: var(--font-handlee);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-meta a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
}

.article-meta a:hover {
    color: var(--coral-soft);
}

/* Featured Image */
.article-featured-image {
    margin-bottom: 50px;
    text-align: center;
}

.article-featured-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 650px;
    border-radius: 4px;
    box-shadow: var(--shadow);
    object-fit: cover;
    display: inline-block;
}

/* Article Content */
.article-content {
    font-family: var(--font-handlee); /* Lato */
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-grey);
    margin-bottom: 50px;
}

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

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

.article-content h2 {
    font-size: 30px;
    font-weight: 600;
    border-bottom: 2px solid var(--coral-soft);
    padding-bottom: 10px;
    display: inline-block;
}

.article-content h3 {
    font-size: 24px;
    font-weight: 500;
}

.article-content img {
    width: auto;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 30px auto;
    display: block;
    object-fit: contain;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.article-content ul,
.article-content ol {
    margin-left: 20px;
    margin-bottom: 25px;
}

.article-content li {
    margin-bottom: 12px;
    padding-left: 10px;
}

.article-content blockquote {
    border-left: 4px solid var(--coral-soft);
    padding: 10px 30px;
    margin: 40px 0;
    font-style: italic;
    color: var(--text-dark);
    font-family: var(--font-poppins);
    font-size: 22px;
    background: var(--yellow-light);
}

/* Article Footer */
.article-footer {
    border-top: 1px solid var(--grey-pearl);
    padding-top: 40px;
    margin-bottom: 50px;
}

.article-tags {
    margin-bottom: 30px;
    text-align: center;
}

.article-tags-title {
    font-family: var(--font-handlee);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 15px;
    display: block;
}

.article-tags a {
    display: inline-block;
    background: var(--white);
    color: var(--text-grey);
    padding: 8px 20px;
    border-radius: 2px;
    margin: 0 5px 10px 5px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    border: 1px solid var(--grey-pearl);
    font-family: var(--font-handlee);
}

.article-tags a:hover {
    background: var(--text-dark);
    color: var(--white);
    border-color: var(--text-dark);
}

/* Social Share */
.article-social-share {
    text-align: center;
    padding: 30px 0;
    background: var(--yellow-light);
    border-radius: 4px;
}

.social-share-title {
    font-family: var(--font-poppins);
    font-size: 16px;
    font-weight: 600;
    text-transform: none;
    color: var(--text-dark);
    margin-bottom: 20px;
}

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

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.social-btn.facebook { background: #3b5998; }
.social-btn.twitter { background: #1da1f2; }
.social-btn.pinterest { background: #bd081c; }
.social-btn.linkedin { background: #0077b5; }

/* Post Navigation */
.article-navigation {
    background: var(--white);
    padding: 60px 0;
    margin: 0;
    border-top: 1px solid var(--grey-pearl);
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-item {
    background: var(--white);
    padding: 0;
    border-radius: 0;
    transition: all 0.3s ease;
}

.nav-item:hover {
    transform: none;
    box-shadow: none;
}

.nav-label {
    font-family: var(--font-handlee);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 10px;
    display: block;
}

.nav-item a {
    color: var(--text-dark);
    text-decoration: none;
    font-family: var(--font-poppins);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.3;
}

.nav-item a:hover {
    color: var(--coral-soft);
}

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

/* Related Posts */
.related-posts-section {
    padding: 80px 0;
    background: var(--grey-light); /* Fond contrasté */
}

.related-posts-title {
    font-family: var(--font-poppins);
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.related-post-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}

.related-post-thumbnail {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--grey-pearl);
}

.related-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.related-post-card:hover .related-post-thumbnail img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 25px;
}

.related-post-title {
    font-family: var(--font-poppins);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}

.related-post-card:hover .related-post-title {
    color: var(--coral-soft);
}

/* Comments Section */
.comments-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

/* Responsive Articles (Restauré) */
@media (max-width: 768px) {
    .article-title { font-size: 2.2rem; }
    .article-meta { font-size: 11px; gap: 15px; }
    .article-featured-image img { max-height: 400px; }
    .article-content { font-size: 17px; }
    .nav-links { grid-template-columns: 1fr; gap: 30px; }
    .nav-next { text-align: left; }
    .related-posts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .article-header { padding-top: 10px; }
    .article-featured-image img { max-height: 250px; }
    .social-share-buttons { gap: 10px; }
    .social-btn { width: 40px; height: 40px; font-size: 16px; }
}

/* ===================================
   ANIMATIONS & UTILITIES (Restauré)
   =================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeIn 0.6s ease-out; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }