/*
Theme Name: Dido
Theme URI: https://easycasserole.net
Author: Easy Casserole
Author URI: https://easycasserole.net
Description: A modern, elegant magazine-style theme for Easy Casserole recipes website with pastel colors and Handlee font
Version: 1.5
License: GPL v2 or later
Text Domain: dido
*/

/* ===================================
   GOOGLE FONTS IMPORT
   =================================== */
@import url('https://fonts.googleapis.com/css2?family=Handlee&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ===================================
   CSS VARIABLES
   =================================== */
:root {
    /* Couleurs Pastel */
    --coral-soft: #FF7F50;
    --coral-light: #FFA07A;
    --yellow-pale: #FFFACD;
    --yellow-light: #FAFAD2;
    --grey-pearl: #E5E5E5;
    --grey-light: #F5F5F5;
    --white: #FFFFFF;
    --text-dark: #2C2C2C;
    --text-grey: #666666;
    --text-light: #999999;
    
    /* Variables de compatibilité Header */
    --primary-coral: #FF7F50;
    --text-primary: #2C2C2C;
    --text-secondary: #666666;
    
    /* Fonts */
    --font-handlee: 'Handlee', cursive;
    --font-poppins: 'Poppins', sans-serif;
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing & Effects */
    --container-width: 1200px;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
    --spacing-xxl: 80px;
    
    --shadow: 0 4px 15px rgba(0,0,0,0.08);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
    --gradient: linear-gradient(135deg, var(--coral-soft) 0%, var(--coral-light) 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);
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-dark);
    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);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 { font-size: 42px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
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: var(--grey-light);
    border-bottom: 1px solid var(--grey-pearl);
    padding: 10px 0;
    font-size: 14px;
}

.welcome-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.welcome-left a {
    margin-right: 15px;
    color: var(--text-grey);
    font-weight: 500;
}

.welcome-message {
    font-family: var(--font-handlee);
    color: var(--text-dark);
    font-size: 15px;
    text-align: center;
    flex: 1;
}

.welcome-message .heart { color: var(--coral-soft); margin: 0 3px; }

.social-links { display: flex; gap: 12px; }
.social-links a { color: var(--text-grey); transition: 0.3s; padding: 5px; }
.social-links a:hover { color: var(--white); background: var(--gradient); border-radius: 4px; transform: scale(1.1); }

/* ===================================
   HEADER PRINCIPAL (RESPONSIVE & STICKY)
   =================================== */
.main-header {
    background: var(--white);
    padding: 15px 0;
    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(5px);
    animation: slideDown 0.3s ease;
}

@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: 45px;
    height: 45px;
    background: var(--gradient);
    border-radius: 12px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    font-family: var(--font-poppins);
}

.brand-info h1 { margin: 0; line-height: 1; }
.brand-info h1 a {
    font-family: var(--font-poppins);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-tagline {
    font-family: var(--font-handlee);
    font-size: 12px;
    color: var(--text-grey);
    margin: 0;
}

/* Navigation Desktop */
.main-navigation {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-menu {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    font-family: var(--font-poppins);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    padding: 5px 0;
    position: relative;
}

.nav-menu a:hover { color: var(--coral-soft); }
.nav-menu a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    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: 10px 0; min-width: 220px;
    border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: 0.3s; z-index: 1001;
}
.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 20px; text-transform: none;
}
.nav-menu .sub-menu a:hover { background: var(--grey-light); transform: translateX(5px); }
.nav-menu .sub-menu a::after { display: none; }

/* Actions (Search & Burger) */
.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-trigger, .menu-toggle {
    background: none;
    border: 2px solid var(--coral-soft);
    color: var(--coral-soft);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: 0.3s;
}

.search-trigger:hover, .menu-toggle:hover {
    background: var(--coral-soft);
    color: white;
}

.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: 20px; }
    .logo-icon { width: 35px; height: 35px; font-size: 16px; }
    
    .search-trigger, .menu-toggle {
        width: 35px; height: 35px; font-size: 14px;
    }
}

/* ===================================
   OVERLAYS (SEARCH & MOBILE MENU)
   =================================== */
.search-overlay, .mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9); 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: 30px; border-radius: 20px; width: 90%; max-width: 600px; position: relative;
}

/* Mobile Menu Drawer */
.mobile-menu-content {
    background: white; width: 85%; max-width: 350px; height: 100%;
    position: absolute; top: 0; right: 0; padding: 20px;
    transform: translateX(100%); transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto; display: block;
}

.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: 24px; font-weight: 700; color: var(--coral-soft); 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: 16px;
    text-transform: uppercase;
}
.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;
}
.mobile-nav-menu .menu-item-has-children.open > a::after { transform: rotate(180deg); }
.mobile-nav-menu .sub-menu { display: none; padding-left: 20px; background: #fafafa; }
.mobile-nav-menu .menu-item-has-children.open > .sub-menu { display: block; }

.search-close, .mobile-menu-close {
    position: absolute; top: 15px; right: 15px;
    background: none; border: none; font-size: 24px; color: var(--text-grey); cursor: pointer;
}

/* Styles formulaires search */
.search-form { display: flex; gap: 10px; }
.search-field { flex: 1; padding: 12px; border: 1px solid #ddd; border-radius: 8px; }
.search-submit { background: var(--coral-soft); color: white; border: none; padding: 12px 20px; border-radius: 8px; cursor: pointer; }

/* ===================================
   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: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    height: 500px;
    background: var(--yellow-pale);
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-image:hover img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    background: var(--coral-soft);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-poppins);
    font-weight: 600;
}

.featured-content {
    padding: var(--spacing-lg);
}

.featured-label {
    color: var(--coral-soft);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-poppins);
}

.featured-title {
    font-size: 42px;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    font-family: var(--font-poppins);
}

.featured-description {
    color: var(--text-grey);
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.featured-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 16px;
    font-family: var(--font-handlee);
}

.meta-item i {
    color: var(--coral-soft);
    font-size: 18px;
}

.featured-button {
    display: inline-block;
    background: var(--coral-soft);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: var(--font-poppins);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255, 127, 80, 0.3);
}

.featured-button:hover {
    background: var(--coral-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 127, 80, 0.4);
    color: var(--white);
}

/* ===================================
   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: 36px;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-family: var(--font-poppins);
}

.section-subtitle {
    color: var(--text-light);
    font-style: italic;
    font-size: 18px;
}

/* ===================================
   MAGAZINE GRID (Restauré)
   =================================== */
.magazine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.magazine-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.magazine-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.magazine-image {
    height: 250px;
    position: relative;
    overflow: hidden;
    background: var(--yellow-pale);
}

.magazine-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.magazine-card:hover .magazine-image img {
    transform: scale(1.1);
}

.magazine-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--coral-soft);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-poppins);
    font-weight: 500;
}

.magazine-content {
    padding: 30px;
}

.magazine-title {
    font-size: 24px;
    font-weight: 400;
    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.6;
    margin-bottom: 20px;
    font-style: italic;
}

.magazine-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--grey-pearl);
}

/* ===================================
   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.1);
}

.category-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.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(255, 127, 80, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-item:hover .category-circle::after {
    opacity: 1;
}

.category-item:hover .category-circle {
    box-shadow: 0 8px 25px rgba(255, 127, 80, 0.3);
}

/* Couleurs de fallback pour les catégories */
.category-item:nth-child(1) .category-circle { background: #FFE4B5; }
.category-item:nth-child(2) .category-circle { background: #FFDEAD; }
.category-item:nth-child(3) .category-circle { background: #FFB6C1; }
.category-item:nth-child(4) .category-circle { background: #FFFACD; }
.category-item:nth-child(5) .category-circle { background: #E0E0E0; }
.category-item:nth-child(6) .category-circle { background: #F0E68C; }

.category-name {
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 5px;
    font-family: var(--font-poppins);
}

.category-count {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

/* ===================================
   NEWSLETTER SECTION (Restauré)
   =================================== */
.newsletter-section {
    background: var(--text-dark);
    color: var(--white);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.newsletter-title {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 15px;
    font-family: var(--font-poppins);
}

.newsletter-text {
    color: #CCC;
    margin-bottom: 30px;
    font-style: italic;
    font-size: 18px;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #555;
    background: transparent;
    color: var(--white);
    font-size: 16px;
    font-family: var(--font-handlee);
    border-radius: 30px;
}

.newsletter-input::placeholder {
    color: #999;
    font-style: italic;
}

.newsletter-button {
    background: var(--coral-soft);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    font-family: var(--font-poppins);
}

.newsletter-button:hover {
    background: var(--coral-light);
    transform: translateX(5px);
}

/* ===================================
   FOOTER (Restauré)
   =================================== */
.site-footer {
    background: #1a1a1a;
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-column h4 {
    color: var(--coral-soft);
    font-size: 18px;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-poppins);
    font-weight: 500;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-column a {
    color: #CCC;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--coral-soft);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid #333;
    color: #999;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: var(--spacing-md);
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: var(--coral-soft);
    color: var(--white);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--coral-light);
    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: 300px;
    }
    
    .featured-title {
        font-size: 32px;
    }
    
    .magazine-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .magazine-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .categories-flex {
        gap: var(--spacing-md);
        justify-content: center;
    }
    
    .category-circle {
        width: 80px;
        height: 80px;
    }
    
    .category-name {
        font-size: 16px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .magazine-content {
        padding: 20px;
    }
    
    .magazine-title {
        font-size: 20px;
    }
    
    .featured-content {
        padding: var(--spacing-md);
    }
    
    .categories-flex {
        gap: var(--spacing-sm);
    }
}

/* ===================================
   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: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.article-breadcrumb {
    background: var(--grey-light);
    padding: 15px 0;
    margin-bottom: 30px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
    flex-wrap: wrap;
}

.breadcrumb-nav a {
    color: var(--coral-soft);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--coral-light);
}

.breadcrumb-separator {
    color: var(--text-light);
}

.breadcrumb-current {
    color: var(--text-dark);
}

/* Article Header */
.article-header {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.article-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: var(--font-poppins);
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 30px;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-meta a {
    color: var(--coral-soft);
    text-decoration: none;
}

.article-meta a:hover {
    color: var(--coral-light);
}

/* Featured Image */
.article-featured-image {
    margin-bottom: 40px;
    text-align: center;
}

.article-featured-image img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 600px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    object-fit: contain;
    display: inline-block;
}

/* Article Content */
.article-content {
    font-family: var(--font-handlee);
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    font-family: var(--font-poppins);
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.article-content h2 {
    font-size: 28px;
    font-weight: 600;
}

.article-content h3 {
    font-size: 24px;
    font-weight: 500;
}

.article-content img {
    width: auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px auto;
    display: block;
    object-fit: contain;
}

.article-content ul,
.article-content ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content blockquote {
    border-left: 4px solid var(--coral-soft);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-grey);
}

/* Article Footer */
.article-footer {
    border-top: 1px solid var(--grey-pearl);
    padding-top: 30px;
    margin-bottom: 40px;
}

.article-tags {
    margin-bottom: 30px;
}

.article-tags-title {
    font-family: var(--font-poppins);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-grey);
    margin-bottom: 10px;
}

.article-tags a {
    display: inline-block;
    background: var(--grey-light);
    color: var(--text-dark);
    padding: 5px 15px;
    border-radius: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.article-tags a:hover {
    background: var(--coral-soft);
    color: var(--white);
}

/* Social Share */
.article-social-share {
    text-align: center;
    padding: 20px 0;
}

.social-share-title {
    font-family: var(--font-poppins);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-grey);
    margin-bottom: 15px;
}

.social-share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-btn {
    width: 45px;
    height: 45px;
    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 5px 15px rgba(0,0,0,0.2);
}

.social-btn.facebook { background: #1877f2; }
.social-btn.twitter { background: #1da1f2; }
.social-btn.pinterest { background: #e60023; }
.social-btn.linkedin { background: #0077b5; }

/* Post Navigation */
.article-navigation {
    background: var(--grey-light);
    padding: 40px 0;
    margin: 40px 0;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-item {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.nav-label {
    font-family: var(--font-poppins);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--coral-soft);
    margin-bottom: 10px;
    display: block;
}

.nav-item a {
    color: var(--text-dark);
    text-decoration: none;
    font-family: var(--font-poppins);
    font-weight: 500;
    font-size: 16px;
}

.nav-item a:hover {
    color: var(--coral-soft);
}

.nav-next {
    text-align: right;
}

/* Related Posts */
.related-posts-section {
    padding: 60px 0;
    background: var(--white);
}

.related-posts-title {
    font-family: var(--font-poppins);
    font-size: 32px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.related-post-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.related-post-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--grey-light);
}

.related-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-post-card:hover .related-post-thumbnail img {
    transform: scale(1.1);
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-family: var(--font-poppins);
    font-size: 18px;
    font-weight: 500;
    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: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

/* Responsive Articles (Restauré) */
@media (max-width: 768px) {
    .article-title { font-size: 2rem; }
    .article-meta { font-size: 12px; gap: 15px; }
    .article-featured-image img { max-height: 400px; }
    .article-content { font-size: 16px; }
    .nav-links { grid-template-columns: 1fr; gap: 20px; }
    .nav-next { text-align: left; }
    .related-posts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .article-header { padding-top: 20px; }
    .article-featured-image img { max-height: 300px; }
    .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); }