/*
Theme Name: Le Sétois
Theme URI: https://sete-rassemblee.local/
Description: Thème enfant premium pour Sète Rassemblée - Campagne Municipales 2026
Author: Sète Rassemblée
Template: blankslate
Version: 2.0.0
*/

/* =========================================
   DESIGN SYSTEM PREMIUM 2025
   Corporate Identity - Sète Rassemblée
   ========================================= */

/* === VARIABLES CSS - DESIGN SYSTEM φ (NOMBRE D'OR) === */
:root {
    /* Nombre d'or - Constante fondamentale */
    --phi: 1.618;
    --phi-inverse: 0.618;
    --phi-sqrt: 1.272;

    /* Palette Rassemblement National (TEST) */
    --deep-blue: #10406A;
    --brand-blue: #164E7E;
    /* Cyan ajusté pour s'harmoniser */
    --electric-cyan: #009FE3;
    /* Rouge Vif RN */
    --accent-red: #E7000B;
    --pure-white: #ffffff;
    --off-white: #f8fafc;
    --light-grey: #e2e8f0;

    /* Dégradés Signature Campagne */
    --gradient-hero: linear-gradient(135deg, var(--deep-blue) 0%, var(--brand-blue) 50%, #0a4d8c 100%);
    --gradient-accent: linear-gradient(90deg, var(--deep-blue) 0%, var(--electric-cyan) 50%, var(--deep-blue) 100%);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 0.95) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);

    /* Typographie RN */
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --font-accent: 'Playfair Display', serif;

    /* Échelle Typographique φ STRICTE (base 16px × φ^n) */
    --text-2xs: 10px;
    /* 16 ÷ φ */
    --text-xs: 12px;
    /* Intermédiaire lisible */
    --text-sm: 14px;
    /* 16 ÷ 1.14 */
    --text-base: 16px;
    /* Base */
    --text-lg: 20px;
    /* 16 × 1.25 */
    --text-xl: 26px;
    /* 16 × φ */
    --text-2xl: 42px;
    /* 26 × φ */
    --text-3xl: 68px;
    /* 42 × φ */
    --text-4xl: 110px;
    /* 68 × φ */

    /* Espacements φ Harmonisés (progression × φ) */
    --space-2xs: 3px;
    /* Ultra petit */
    --space-xs: 5px;
    /* 8 ÷ φ */
    --space-sm: 8px;
    /* 13 ÷ φ */
    --space-md: 13px;
    /* Base Fibonacci */
    --space-lg: 21px;
    /* 13 × φ */
    --space-xl: 34px;
    /* 21 × φ */
    --space-2xl: 55px;
    /* 34 × φ */
    --space-3xl: 89px;
    /* 55 × φ */

    /* Interlignages φ */
    --leading-tight: 1.236;
    /* φ^0.5 - titres serrés */
    --leading-normal: 1.5;
    /* Compromis lisibilité */
    --leading-phi: 1.618;
    /* φ exactement */
    --leading-relaxed: 1.85;
    /* Aéré */

    /* Ombres Vibrantes Campagne */
    --shadow-sm: 0 2px 8px rgba(9, 29, 62, 0.12);
    --shadow-md: 0 8px 21px rgba(9, 29, 62, 0.18);
    --shadow-lg: 0 13px 34px rgba(9, 29, 62, 0.22);
    --shadow-glow: 0 0 21px rgba(0, 159, 227, 0.25);
    --shadow-glow-strong: 0 0 34px rgba(0, 159, 227, 0.4);

    /* Bordures */
    --border-subtle: 1px solid rgba(9, 29, 62, 0.08);
    --border-medium: 2px solid var(--deep-blue);
    --border-strong: 3px solid var(--electric-cyan);
    --border-accent: 3px solid var(--electric-cyan);

    /* Transitions */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 0.2s;
    --duration-normal: 0.3s;
    --duration-slow: 0.5s;

    /* Rayons φ (Fibonacci) */
    --radius-xs: 3px;
    --radius-sm: 5px;
    --radius-md: 8px;
    --radius-lg: 13px;
    --radius-xl: 21px;
    --radius-2xl: 34px;

    /* Proportions φ pour layouts */
    --ratio-golden: 61.8%;
    --ratio-golden-inverse: 38.2%;
}

/* === RESET & BASE === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-phi);
    color: var(--deep-blue);
    background: var(--off-white);
    overflow-x: hidden;
}

/* === LIENS & SÉLECTION === */
a {
    color: var(--electric-cyan);
    text-decoration: none;
    transition: all 0.3s var(--ease-smooth);
}

a:hover {
    color: var(--accent-red);
}

::selection {
    background: var(--electric-cyan);
    color: var(--pure-white);
}

/* =========================================
   LAYOUT PRINCIPAL - RATIO φ
   ========================================= */
.site-container {
    display: grid;
    grid-template-columns: 61.8fr 38.2fr;
    /* Ratio Nombre d'Or */
    gap: var(--space-lg);
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-md);
}

@media (max-width: 968px) {
    .site-container {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

/* =========================================
   TICKER - BANDEAU INFO CAMPAGNE
   ========================================= */
.ticker-wrap {
    background: var(--deep-blue);
    color: var(--pure-white);
    padding: var(--space-sm) 0;
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.5px;
    overflow: hidden;
    position: relative;
    border-bottom: 2px solid var(--electric-cyan);
    box-shadow: 0 4px 21px rgba(9, 29, 62, 0.3), inset 0 -1px 0 rgba(0, 159, 227, 0.2);
}

.ticker-wrap::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    background: linear-gradient(to right, var(--deep-blue), transparent);
    z-index: 2;
    pointer-events: none;
}

.ticker-wrap::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    background: linear-gradient(to left, var(--deep-blue), transparent);
    z-index: 2;
    pointer-events: none;
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: ticker-scroll 25s linear infinite;
    padding-left: 100%;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* =========================================
   MASTHEAD - MIX ÉDITORIAL + CAMPAGNE
   ========================================= */
header.masthead {
    background: radial-gradient(circle at top center, var(--brand-blue) 0%, var(--deep-blue) 100%);
    text-align: center;
    padding: 38px 21px 26px;
    position: relative;
    border-bottom: 2px solid rgba(0, 159, 227, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

header.masthead::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(rgba(9, 29, 62, 0) 0%, rgba(9, 29, 62, 0.6) 100%),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

header.masthead::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top, rgba(0, 102, 161, 0.12) 0%, transparent 61.8%);
    /* 61.8% = φ inverse */
    pointer-events: none;
}

/* =========================================
   MASTHEAD - HIÉRARCHIE TYPOGRAPHIQUE φ
   
   Progression Nombre d'Or (φ = 1.618) :
   - Logo:     68px (fibonacci - élément visuel dominant)
   - Titre:    42px (Fibonacci - text-2xl)
   - Baseline: 16px (base × 1 - fraction φ)
   - Meta:     10px (base ÷ φ - plus petit)
   
   Ratios des tailles texte :
   - Titre / Baseline = 42 / 16 = 2.625 ≈ φ × φ
   - Baseline / Meta = 16 / 10 = 1.6 ≈ φ
   ========================================= */

/* ===== LOGO - Élément visuel dominant ===== */
.header-logo {
    position: relative;
    z-index: 1;
    margin-bottom: 13px;
    /* Fibonacci */
}

.header-logo a {
    display: inline-block;
}

.site-logo {
    height: 68px;
    /* Fibonacci - ajusté pour harmonie */
    width: auto;
    filter: drop-shadow(0 3px 13px rgba(255, 255, 255, 0.15));
    transition: all 0.382s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.site-logo:hover {
    transform: scale(1.0618);
    /* 1 + φ/10 */
    filter: drop-shadow(0 5px 21px rgba(255, 255, 255, 0.25));
}

/* ===== META - Élections (PLUS LISIBLE !) ===== */
.journal-meta {
    font-family: var(--font-display);
    font-size: 10px;
    /* Base ÷ φ */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 5px;
    /* Fibonacci */
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.journal-meta .meta-label {
    color: rgba(255, 255, 255, 0.85);
    /* Beaucoup plus lisible ! */
    font-weight: 500;
}

.journal-meta .meta-date {
    color: var(--pure-white);
    /* Blanc pur pour les dates */
    font-weight: 700;
    background: linear-gradient(135deg, var(--electric-cyan), #00a6d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Séparateur décoratif entre label et date */
.journal-meta .meta-label::after {
    content: '•';
    margin-left: 8px;
    color: var(--electric-cyan);
    opacity: 0.7;
}

/* ===== TITRE PRINCIPAL - Dominance visuelle ===== */
h1.journal-logo,
.journal-logo {
    font-family: var(--font-display);
    font-size: 42px;
    /* Fibonacci - text-2xl */
    font-weight: 800;
    font-style: normal;
    text-transform: uppercase;
    color: var(--pure-white);
    letter-spacing: 8px;
    /* Fibonacci */
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 2px 13px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

h1.journal-logo a,
.journal-logo a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s var(--ease-smooth);
}

h1.journal-logo a:hover,
.journal-logo a:hover {
    text-shadow: 0 4px 21px rgba(0, 159, 227, 0.5);
    letter-spacing: 10px;
}

/* ===== BASELINE - Avec Sébastien Pacull ===== */
.journal-baseline {
    font-family: var(--font-display);
    font-size: 16px;
    /* Base - ratio φ avec titre */
    font-weight: 500;
    letter-spacing: 5px;
    /* Fibonacci */
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    display: block;
    margin-top: 8px;
    /* Fibonacci */
    position: relative;
    z-index: 1;
}

.journal-baseline::before,
.journal-baseline::after {
    content: '◆';
    margin: 0 10px;
    color: var(--electric-cyan);
    font-size: 6px;
    vertical-align: middle;
    opacity: 0.8;
}


/* =========================================
   NAVIGATION - STYLE NOBLE ET CENTRÉ
   ========================================= */
nav.main-nav {
    background: linear-gradient(180deg, #0a1e3f 0%, #091a35 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

/* Spacer gauche pour équilibrer les icônes droite */
.nav-spacer {
    width: 74px;
    /* Même largeur que nav-social */
    flex-shrink: 0;
}

/* Menu centré */
.menu-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Réseaux sociaux à droite */
.nav-social {
    width: 74px;
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    align-items: center;
}

.nav-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.nav-social a:hover {
    background: var(--electric-cyan);
    border-color: var(--electric-cyan);
    color: white;
    transform: scale(1.1);
}


.main-nav .menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}


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

.main-nav .menu a,
.nav-link {
    display: block;
    padding: 18px 22px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    white-space: nowrap;
}


.main-nav .menu a::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 22px;
    right: 22px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--electric-cyan) 20%, var(--electric-cyan) 80%, transparent 100%);
    transform: scaleX(0);
    transition: transform 0.3s var(--ease-smooth);
}


.main-nav .menu a:hover {
    color: var(--pure-white);
    text-shadow: 0 0 13px rgba(0, 159, 227, 0.5);
}

.main-nav .menu a:hover::after {
    transform: scaleX(1);
}

.main-nav .menu .current-menu-item a,
.main-nav .menu .current_page_item a,
.main-nav .menu .current-menu-ancestor>a,
.nav-link.active {
    color: var(--pure-white);
}

/* Soulignement uniquement au hover, pas en permanent */
.main-nav .menu .current-menu-item a::after,
.main-nav .menu .current_page_item a::after {
    transform: scaleX(0);
    background: var(--electric-cyan);
}

/* Le hover fonctionne toujours, même sur current-menu-item */
.main-nav .menu .current-menu-item a:hover::after,
.main-nav .menu .current_page_item a:hover::after {
    transform: scaleX(1);
}

/* Sous-menus */
.main-nav .menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--pure-white);
    min-width: 250px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 0px 0px;
    overflow: hidden;
    z-index: 101;
}

.main-nav .menu li:hover>.sub-menu {
    display: block;
    animation: slideDown 0.3s var(--ease-smooth);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-nav .menu .sub-menu a {
    color: var(--deep-blue);
    padding: 14px 24px;
    font-size: 0.8rem;
    border-bottom: 1px solid var(--light-grey);
}

.main-nav .menu .sub-menu a:hover {
    background: var(--off-white);
    color: var(--electric-cyan);
}

/* =========================================
   CONTAINER PRINCIPAL - LAYOUT MODERNE
   ========================================= */
.site-container {
    max-width: 1400px;
    margin: var(--space-xl) auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-xl);
}

.site-container.full-width {
    grid-template-columns: 1fr;
    max-width: 1000px;
}

/* =========================================
   ARTICLE À LA UNE - STYLE ÉDITORIAL
   ========================================= */
.lead-story {
    background: var(--pure-white);
    border: var(--border-subtle);
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.lead-story .lead-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.lead-content {
    padding: 1.5rem;
    border-top: var(--border-accent);
}

.badge-exclusive {
    display: inline-block;
    background: var(--accent-red);
    color: var(--pure-white);
    padding: var(--space-2xs) var(--space-sm);
    font-family: var(--font-body);
    font-size: var(--text-2xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-sm);
}

.lead-title {
    font-family: var(--font-accent);
    font-size: clamp(var(--text-xl), 3vw, var(--text-2xl));
    font-weight: 700;
    line-height: var(--leading-tight);
    color: var(--deep-blue);
    margin-bottom: var(--space-sm);
}

.lead-title a {
    color: inherit;
    text-decoration: none;
}

.lead-title a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

/* =========================================
   SECTION TITRE - MODERNE
   ========================================= */
.section-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--deep-blue);
    margin: var(--space-lg) 0 var(--space-md);
    padding-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--gradient-accent);
    border-radius: 0px;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, var(--light-grey), transparent);
    margin-left: var(--space-sm);
}

/* Message quand aucun article */
.no-articles-message {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    background: var(--gradient-glass);
    border: 2px dashed var(--light-grey);
    border-radius: 0px;
    color: var(--brand-blue);
}

.no-articles-message i {
    font-size: 4rem;
    color: var(--light-grey);
    margin-bottom: var(--space-md);
    display: block;
}

/* =========================================
   CARTES ACTUALITÉS - STYLE RN (PLAT & ÉPURÉ)
   ========================================= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    /* Augmenté de --space-lg (21px) à --space-xl (34px) */
    row-gap: var(--space-2xl);
    /* Espacement vertical encore plus grand (55px) */
    margin-bottom: var(--space-xl);
}

.news-card {
    background: var(--pure-white);
    border: 1px solid #E5E7EB;
    /* Bordure grise fine comme RN */
    border-radius: 0;
    /* Coins carrés */
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-shadow: none;
    /* Pas d'ombre par défaut */
}

.news-card::before {
    display: none;
}

.news-card:hover {
    transform: scale(1.025);
    /* Effet Pop comme RN */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.news-img {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 0;
    /* Coins carrés */
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-smooth);
    position: absolute;
    top: 0;
    left: 0;
}

.news-card:hover .news-img img {
    transform: scale(1.08);
}

.news-body {
    padding: var(--space-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Conteneur des badges */
.news-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

/* Badge PROGRAMME (rouge) */
.badge-programme {
    display: inline-block;
    background: var(--brand-blue);
    color: var(--pure-white);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    margin-bottom: 12px;
    border-radius: 0;
    /* Carré */
}

.news-cat {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--electric-cyan);
}

.news-cat a {
    color: inherit;
    transition: color 0.2s ease;
}

.news-cat a:hover {
    color: var(--accent-red);
}

.news-head {
    font-family: var(--font-accent);
    font-size: var(--text-lg);
    font-weight: 700;
    line-height: var(--leading-tight);
    margin-bottom: var(--space-xs);
}

.news-head a {
    color: var(--deep-blue);
    transition: color 0.3s var(--ease-smooth);
}

.news-head a:hover {
    color: var(--electric-cyan);
}

.news-excerpt {
    font-size: var(--text-sm);
    color: #64748b;
    line-height: var(--leading-phi);
    flex-grow: 1;
    margin-bottom: var(--space-sm);
}

/* BOUTON LIRE LA SUITE - STYLE RN "GHOST" */
.read-more {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--deep-blue);
    background: transparent;
    color: var(--deep-blue);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    width: fit-content;
    border-radius: 0;
    /* Carré */
}

.read-more:hover {
    background: var(--deep-blue);
    color: var(--pure-white);
}

.read-more::after {
    display: none;
    /* On supprime la flèche CSS pour un style bouton pur */
}

/* =========================================
   SIDEBAR - STYLE CAMPAGNE φ
   ========================================= */
.site-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.widget {
    background: var(--pure-white);
    padding: var(--space-md);
    border-radius: 0px;
    box-shadow: 0 4px 12px rgba(9, 29, 62, 0.08);
    border: 1px solid var(--deep-blue);
    margin-bottom: var(--space-lg);
    position: relative;
    overflow: hidden;
    color: var(--deep-blue);
}

.widget:hover {
    box-shadow: 0 8px 16px rgba(9, 29, 62, 0.12);
    transform: translateY(-2px);
}

.widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 0px 0px 0 0;
}

.widget h3,
.widget-title {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--deep-blue);
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid var(--light-grey);
}

/* Widget Profil Candidat - Style PRÉSIDENTIEL PREMIUM */
.profile-box {
    text-align: center;
    background: var(--pure-white);
    color: var(--deep-blue);
    border-radius: 0px;
    box-shadow: 0 8px 24px rgba(9, 29, 62, 0.1);
    border: 1px solid var(--deep-blue);
    overflow: hidden;
    padding: 0;
    position: relative;
    margin-bottom: var(--space-lg);
}

.profile-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--electric-cyan) 20%,
            var(--pure-white) 50%,
            var(--accent-red) 80%,
            transparent 100%);
    z-index: 10;
}

.profile-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* Photo portrait PREMIUM - Rectangle élégant */
.profile-img-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
}

.profile-img-wrapper::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top,
            rgba(10, 22, 40, 1) 0%,
            rgba(10, 22, 40, 0.8) 40%,
            transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.profile-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 3;
    pointer-events: none;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: contrast(1.05) brightness(0.95);
}

.profile-box:hover .profile-img {
    transform: scale(1.05);
    filter: contrast(1.1) brightness(1);
}

/* Contenu texte - Overlay élégant */
.profile-box h3 {
    position: relative;
    z-index: 5;
    color: var(--deep-blue);
    border: none;
    font-family: 'Playfair Display', var(--font-accent);
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: -40px 0 0 0;
    padding: var(--space-md) var(--space-lg) var(--space-xs);
    text-shadow: none;
    background: transparent;
}

.profile-box h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--electric-cyan), var(--accent-red));
    margin: var(--space-sm) auto 0;
    border-radius: 0px;
}

/* Citation élégante */
.profile-box p {
    position: relative;
    z-index: 5;
    font-family: 'Playfair Display', var(--font-accent);
    font-size: 1rem !important;
    font-style: italic !important;
    font-weight: 400 !important;
    color: var(--text-main) !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    padding: var(--space-xs) var(--space-lg) var(--space-md) !important;
    letter-spacing: 0.5px;
}

.profile-box p::before {
    content: '"';
    font-size: 2rem;
    color: var(--electric-cyan);
    opacity: 0.5;
    margin-right: 4px;
    vertical-align: -0.2em;
}

.profile-box p::after {
    content: '"';
    font-size: 2rem;
    color: var(--accent-red);
    opacity: 0.5;
    margin-left: 4px;
    vertical-align: -0.2em;
}

/* Conteneur du bouton */
.profile-box .btn-action {
    position: relative;
    z-index: 5;
    margin: 0 var(--space-lg) var(--space-lg);
    width: calc(100% - var(--space-lg) * 2);
    background: linear-gradient(135deg,
            rgba(225, 29, 72, 0.9) 0%,
            rgba(180, 20, 55, 0.95) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    letter-spacing: 3px;
    padding: var(--space-sm) var(--space-md);
}

.profile-box .btn-action:hover {
    background: linear-gradient(135deg,
            rgba(225, 29, 72, 1) 0%,
            rgba(200, 25, 60, 1) 100%);
    box-shadow:
        0 8px 25px rgba(225, 29, 72, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Boutons Action - Style Campagne IMPACTANT */
.btn-action {
    display: block;
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(135deg, var(--accent-red) 0%, #c11d3e 100%);
    color: var(--pure-white);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--text-base);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 0;
    /* Coins carrés */
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    box-shadow: 0 6px 21px rgba(225, 29, 72, 0.4);
    margin-top: var(--space-md);
}

.btn-action:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 34px rgba(225, 29, 72, 0.5);
    color: var(--pure-white);
}

.btn-action.btn-red {
    background: linear-gradient(135deg, var(--accent-red) 0%, #c11d3e 100%);
}

/* Bouton Ghost / Outline */
.btn-ghost {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--deep-blue);
    border: 2px solid var(--deep-blue);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--text-base);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    border-radius: 0;
}

.btn-ghost:hover {
    background: var(--deep-blue);
    color: var(--pure-white);
}

.btn-action.btn-cyan {
    background: var(--gradient-accent);
    box-shadow: 0 6px 21px rgba(0, 159, 227, 0.4);
}

/* =========================================
   WIDGET AFFICHE - EXACT RECTO FLYER
   ========================================= */
.flyer-widget {
    position: relative;
    aspect-ratio: 148/210;
    min-height: 480px;
    overflow: hidden;
    padding: 0 !important;
    border-radius: 0;
    /* Carré */
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
    background: var(--deep-blue);
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ... (skip unchanged lines if possible, but simplest to replace block or use specific context) */

/* =========================================
   WIDGET SONDAGE CTA
   ========================================= */
.survey-widget {
    background: var(--pure-white) !important;
    border: 2px solid var(--deep-blue);
    border-radius: 0;
    /* Carré */
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(9, 29, 62, 0.08);
    position: relative;
    overflow: hidden;
    color: var(--deep-blue);
}

.flyer-widget::before {
    display: none;
}

.flyer-widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.6);
}

/* Photo de fond */
.flyer-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.flyer-bg-img {
    width: 120%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    position: absolute;
    top: 0;
    left: -2%;
    transition: transform 0.8s ease;
}

.flyer-widget:hover .flyer-bg-img {
    transform: scale(1.03);
}

/* Gradient haut */
.flyer-gradient-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 25%;
    background: linear-gradient(to bottom, rgba(9, 29, 62, 0.7) 0%, transparent 100%);
    z-index: 2;
}

/* Gradient bas */
.flyer-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 53%;
    background: linear-gradient(to top,
            rgba(9, 29, 62, 1) 0%,
            rgba(9, 29, 62, 1) 22%,
            rgba(9, 29, 62, 0.95) 50%,
            rgba(9, 29, 62, 0.4) 85%,
            transparent 100%);
    z-index: 2;
}

/* Header : SÈTE RASSEMBLÉE */
.flyer-header {
    position: relative;
    z-index: 10;
    text-align: center;
    padding-top: 28px;
}

.flyer-slogan-sub {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.flyer-slogan-main {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 900;
    font-style: italic;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: -0.5px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
}

/* Footer */
.flyer-footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Identité candidat */
.flyer-identity {
    margin-bottom: 0;
}

.flyer-firstname {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 3px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: -2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.flyer-lastname {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 900;
    font-style: italic;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: -2px;
    text-shadow: 0 5px 30px rgba(0, 0, 0, 1);
}

/* Bouton CTA rouge */
.flyer-cta {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    text-decoration: none;
    border-radius: 0;
    /* Coins carrés */
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.5);
    border: none;
    transition: all 0.3s ease;
}

.flyer-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(225, 29, 72, 0.65);
    background: linear-gradient(135deg, #F43F5E 0%, #E11D48 100%);
    color: #ffffff;
}

/* Header compact - espacement réduit entre SÈTE et RASSEMBLÉE */
.flyer-header-compact .flyer-slogan-sub {
    margin-bottom: -6px;
}

.flyer-header-compact .flyer-slogan-main {
    margin-top: 0;
}

/* Conteneur flexible pour les slides */
.flyer-footer {
    min-height: 120px;
}


/* Conteneur des slides à hauteur fixe */
.flyer-slides-container {
    position: relative;
    height: 95px;
    width: 100%;
    margin-bottom: 18px;
    overflow: hidden;
}

/* Slides alternants - Animation cinématique verticale */
.flyer-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.flyer-slide-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Animation cascade pour les éléments internes */
.flyer-slide-active .flyer-firstname,
.flyer-slide-active .flyer-support-label {
    animation: slideUpFade 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s both;
}

.flyer-slide-active .flyer-lastname,
.flyer-slide-active .flyer-support-logos {
    animation: slideUpFade 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.flyer-support {
    text-align: center;
    margin-bottom: 18px;
}

.flyer-support-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.flyer-support-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.flyer-support-logos img {
    height: 50px;
    width: auto;
    filter: brightness(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.flyer-support-logos img:hover {
    transform: scale(1.1);
}


/* =========================================
   WIDGET SONDAGE CTA
   ========================================= */
.survey-widget {
    background: var(--pure-white) !important;
    border: 2px solid var(--deep-blue);
    border-radius: 0;
    /* Carré */
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 0 0 1px #e2e8f0;
    /* Simple border instead of shadow */
    position: relative;
    overflow: hidden;
    color: var(--deep-blue);
}

.survey-widget::before {
    display: none;
    /* Remove glow */
}

.survey-icon {
    font-size: 48px;
    margin-bottom: 12px;
    /* Removed drop-shadow */
}

.survey-widget h3 {
    color: var(--deep-blue);
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.survey-widget p {
    color: var(--text-main);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.survey-cta {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, #009FE3 0%, #0077B6 100%);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    border-radius: 0;
    /* Coins carrés */
    border: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.survey-cta:hover {
    transform: translateY(-3px) scale(1.02);
    /* Removed colored shadow */
    background: linear-gradient(135deg, #00B4FF 0%, #009FE3 100%);
    color: #ffffff;
}

/* Widget Programme */
.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget li {
    margin-bottom: var(--space-md);
    padding-left: var(--space-md);
    position: relative;
}

.widget li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--electric-cyan);
    border-radius: 50%;
}

.widget li strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 4px;
}

.widget li span {
    font-size: var(--text-sm);
    color: #64748b;
    line-height: var(--leading-normal);
}

/* Widget Newsletter */
/* Widget Newsletter - Dark Mode Harmonisé */
.widget-newsletter {
    border: none;
    /* Hérite du background .widget (sombre) */
}

.widget-newsletter::before {
    display: none;
}

.widget-newsletter h3 {
    color: var(--electric-cyan);
}

.widget-newsletter input[type="email"],
.widget-newsletter input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    background: var(--pure-white);
    border: 1px solid var(--deep-blue);
    border-radius: 0;
    /* Coins carrés */
    font-size: 0.95rem;
    margin-bottom: var(--space-sm);
    transition: all 0.3s var(--ease-smooth);
    font-family: var(--font-body);
    color: var(--deep-blue);
}

.widget-newsletter input::placeholder {
    color: rgba(9, 29, 62, 0.6);
}

.widget-newsletter input:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 0 4px rgba(231, 0, 11, 0.1);
}

/* =========================================
   ARTICLE SINGLE - PAGE PREMIUM
   ========================================= */
.single-article {
    background: var(--pure-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-xl);
}

.single-article .entry-header {
    margin-bottom: var(--space-xl);
    text-align: center;
}

.single-article .entry-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    /* Échelle φ : base × 2.058 */
    font-weight: 800;
    color: var(--deep-blue);
    line-height: 1.236;
    /* 1/φ^0.5 ≈ ligne serrée mais lisible */
    margin-bottom: 1.618rem;
    /* φ */
    letter-spacing: 0.5px;
}

.single-article .entry-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    font-size: 0.9rem;
    color: #64748b;
}

.single-article .entry-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.single-article .entry-meta i {
    color: var(--electric-cyan);
}

.single-article .featured-image {
    margin: 0 calc(-1 * var(--space-xl));
    margin-bottom: var(--space-xl);
}

.single-article .featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-article .entry-content {
    font-size: 1.17rem;
    /* 18.7px - base φ + 10% */
    line-height: 1.618;
    /* φ exact */
    color: #1e293b;
}

.single-article .entry-content p {
    margin-bottom: 1.618em;
    /* φ */
    text-align: justify;
    hyphens: auto;
}

/* Titres H2 - Échelle φ : base × 1.618 = 27.5px ≈ 1.72rem */
.single-article .entry-content h2 {
    font-family: var(--font-display);
    font-size: 1.72rem;
    /* base × φ */
    font-weight: 700;
    color: var(--deep-blue);
    margin-top: 2.618em;
    /* φ² */
    margin-bottom: 1em;
    /* φ/1.618 */
    padding-bottom: 0.382em;
    /* 1 - 0.618 */
    border-bottom: 2px solid var(--electric-cyan);
    position: relative;
}

.single-article .entry-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 55px;
    /* Fibonacci */
    height: 2px;
    background: var(--accent-red);
}

/* Titres H3 - Échelle φ : base × 1.414 (√2 ≈ φ^0.7) = 24px ≈ 1.42rem */
.single-article .entry-content h3 {
    font-family: var(--font-display);
    font-size: 1.42rem;
    /* base × √2 */
    font-weight: 600;
    color: var(--brand-blue);
    margin-top: 1.618em;
    /* φ */
    margin-bottom: 0.618em;
    /* 1/φ */
    padding-left: 0.875rem;
    /* 14px - Fibonacci */
    border-left: 3px solid var(--electric-cyan);
}

/* Titres H4 - Échelle φ : base × 1.272 (φ^0.5) = 21.6px ≈ 1.27rem */
.single-article .entry-content h4 {
    font-family: var(--font-display);
    font-size: 1.27rem;
    /* base × √φ */
    font-weight: 600;
    color: var(--deep-blue);
    margin-top: 1.618em;
    /* φ */
    margin-bottom: 0.618em;
    /* 1/φ */
}

/* Listes stylisées - Lisibles et impactantes */
.single-article .entry-content ul,
.single-article .entry-content ol {
    margin: 1.5em 0;
    padding-left: 0;
    list-style: none;
}

.single-article .entry-content ul li,
.single-article .entry-content ol li {
    position: relative;
    padding: 0.618em 1em 0.618em 2.25em;
    /* φ-based padding */
    margin-bottom: 0.382em;
    /* 1-φ inverse */
    font-size: 1rem;
    /* Même que corps */
    line-height: 1.618;
    /* φ */
    color: #1e293b;
    background: linear-gradient(135deg, rgba(9, 29, 62, 0.02) 0%, rgba(0, 159, 227, 0.04) 100%);
    border-radius: 5px;
    /* Fibonacci */
    border-left: 2px solid var(--electric-cyan);
    transition: all 0.382s ease;
    /* 1-φ inverse */
}

.single-article .entry-content ul li:hover,
.single-article .entry-content ol li:hover {
    background: linear-gradient(135deg, rgba(9, 29, 62, 0.05) 0%, rgba(0, 159, 227, 0.08) 100%);
    transform: translateX(4px);
}

.single-article .entry-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0.75em;
    top: 0.75em;
    color: var(--electric-cyan);
    font-weight: 700;
    font-size: 1rem;
}

.single-article .entry-content ol {
    counter-reset: article-counter;
}

.single-article .entry-content ol li::before {
    counter-increment: article-counter;
    content: counter(article-counter);
    position: absolute;
    left: 0.75em;
    top: 0.75em;
    width: 1.5em;
    height: 1.5em;
    background: var(--electric-cyan);
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mise en gras - Accent rouge */
.single-article .entry-content strong {
    color: #0f172a;
    font-weight: 700;
}

/* Chiffres clés encadrés */
.single-article .entry-content p strong:first-child {
    display: inline;
}

/* Liens */
.single-article .entry-content a {
    color: var(--electric-cyan);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid rgba(0, 159, 227, 0.3);
    transition: all 0.3s ease;
}

.single-article .entry-content a:hover {
    border-color: var(--electric-cyan);
    background: rgba(0, 159, 227, 0.1);
}

/* Citations - Premium */
.single-article .entry-content blockquote {
    position: relative;
    border-left: none;
    background: linear-gradient(135deg, var(--deep-blue) 0%, #0E2A52 100%);
    padding: 2rem 2.5rem;
    margin: 2.5em 0;
    font-style: normal;
    color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(9, 29, 62, 0.3);
}

.single-article .entry-content blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--electric-cyan);
    opacity: 0.5;
    line-height: 1;
}

.single-article .entry-content blockquote p {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.7;
    font-weight: 500;
    color: white;
}

.single-article .entry-content blockquote strong {
    color: white;
}

.single-article .entry-content blockquote em {
    color: rgba(255, 255, 255, 0.95);
}

.single-article .entry-content blockquote a {
    color: var(--electric-cyan);
}

/* Tableaux stylisés */
.single-article .entry-content table {
    width: 100%;
    margin: 2em 0;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.single-article .entry-content table thead {
    background: var(--deep-blue);
    color: white;
}

.single-article .entry-content table th {
    padding: 1rem;
    font-weight: 700;
    text-align: left;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.single-article .entry-content table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 1rem;
}

.single-article .entry-content table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.single-article .entry-content table tbody tr:hover {
    background: rgba(0, 159, 227, 0.08);
}

/* Séparateurs horizontaux */
.single-article .entry-content hr {
    border: none;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--electric-cyan) 50%, transparent 100%);
    margin: 3em 0;
}

/* =========================================
   PAGINATION - MODERNE
   ========================================= */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: var(--space-xl);
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: var(--pure-white);
    border: 2px solid var(--light-grey);
    border-radius: 0;
    /* Coins carrés */
    color: var(--deep-blue);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s var(--ease-smooth);
}

.pagination a:hover {
    background: var(--deep-blue);
    border-color: var(--deep-blue);
    color: var(--pure-white);
}

.pagination .current {
    background: var(--gradient-accent);
    border-color: transparent;
    color: var(--pure-white);
}

/* Navigation article */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 2px solid var(--light-grey);
}

.post-navigation a {
    display: block;
    padding: var(--space-md);
    background: var(--off-white);
    border-radius: 0;
    /* Coins carrés */
    text-decoration: none;
    transition: all 0.3s var(--ease-smooth);
}

.post-navigation a:hover {
    background: var(--pure-white);
    box-shadow: var(--shadow-sm);
}

.post-navigation .nav-previous a {
    text-align: left;
}

.post-navigation .nav-next a {
    text-align: right;
}

/* =========================================
   FOOTER - CAMPAGNE POLITIQUE IMPACTANT
   ========================================= */
footer.site-footer {
    background: var(--deep-blue);
    color: var(--pure-white);
    padding: var(--space-xl) var(--space-md);
    margin-top: var(--space-2xl);
    position: relative;
    overflow: hidden;
    border-top: 5px solid var(--electric-cyan);
}

footer.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(0, 159, 227, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(225, 29, 72, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.footer-main {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto var(--space-lg);
}

.footer-main h2 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 900;
    font-style: italic;
    color: var(--pure-white);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 4px 21px rgba(0, 159, 227, 0.4);
}

.footer-main p {
    max-width: 600px;
    margin: 0 auto;
    font-size: var(--text-lg);
    line-height: var(--leading-phi);
    color: rgba(255, 255, 255, 0.9);
}

/* Réseaux sociaux footer */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: var(--space-md);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--electric-cyan);
    border-color: var(--electric-cyan);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 102, 161, 0.4);
}


.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    margin: var(--space-xl) 0;
    position: relative;
    z-index: 1;
}

.footer-logos img {
    height: auto;
    /* Reset default height */
    opacity: 0.9;
    transition: all 0.4s var(--ease-smooth);
    filter: brightness(1) contrast(1);
}

.footer-logos .footer-logo-center {
    height: 130px;
    /* Plus grand pour RN */
    width: auto;
}

.footer-logos .footer-logo-side {
    height: 90px;
    /* ~30% plus petit */
    width: auto;
}

.footer-logos img:hover {
    opacity: 1;
    transform: scale(1.08);
}

/* Menus Footer - HORIZONTAL */
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
    position: relative;
    z-index: 1;
}

.footer-nav nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm) var(--space-md);
}

.footer-nav nav ul li {
    margin: 0;
}

.footer-nav nav a {
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 0;
    /* Coins carrés */
    transition: all 0.3s var(--ease-smooth);
}

.footer-nav nav a:hover {
    color: var(--pure-white);
    background: rgba(0, 159, 227, 0.2);
    text-shadow: 0 0 8px rgba(0, 159, 227, 0.5);
}

.footer-copyright {
    text-align: center;
    padding-top: var(--space-lg);
    margin-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

.footer-copyright a {
    color: var(--electric-cyan);
}

.footer-copyright a:hover {
    color: var(--pure-white);
}

/* =========================================
   COMMENTAIRES - MODERNE
   ========================================= */
.comments-area {
    background: var(--pure-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-top: var(--space-xl);
}

.comments-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--deep-blue);
    margin-bottom: var(--space-lg);
}

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

.comment {
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--light-grey);
}

.comment-author {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--deep-blue);
}

.comment-meta {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: var(--space-sm);
}

.comment-content {
    margin-top: var(--space-sm);
    line-height: var(--leading-phi);
}

.comment-reply-link {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--electric-cyan);
}

/* Formulaire commentaire */
.comment-form label {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--deep-blue);
    margin-bottom: 8px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
input[type="password"],
select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 0;
    /* Coins carrés */
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--pure-white);
    color: var(--text-main);
    margin-bottom: var(--space-md);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--electric-cyan);
    box-shadow: 0 0 0 4px rgba(0, 159, 227, 0.1);
}

.comment-form textarea {
    min-height: 160px;
    resize: vertical;
}

.comment-form .submit {
    background: var(--gradient-accent);
    color: var(--pure-white);
    padding: 16px 32px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
}

.comment-form .submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* =========================================
   FORMULAIRE RECHERCHE
   ========================================= */
.search-form {
    display: flex;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.search-form input[type="search"] {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid var(--light-grey);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font-body);
}

.search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--electric-cyan);
}

.search-form button {
    padding: 14px 20px;
    background: var(--gradient-hero);
    color: var(--pure-white);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
}

.search-form button:hover {
    background: var(--electric-cyan);
}

/* =========================================
   ARCHIVE HEADER
   ========================================= */
.archive-header {
    background: var(--pure-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.archive-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--deep-blue);
    margin-bottom: var(--space-sm);
}

.archive-description {
    color: #64748b;
    font-size: 1.1rem;
}

/* =========================================
   PAGE 404
   ========================================= */
.error-404 {
    text-align: center;
    padding: var(--space-2xl);
}

.error-404 h1 {
    font-family: var(--font-display);
    font-size: 8rem;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-md);
    line-height: 1;
}

.error-404 p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: var(--space-lg);
}

/* =========================================
   RESPONSIVE - MOBILE FIRST
   ========================================= */
@media (max-width: 1024px) {
    .site-container {
        grid-template-columns: 1fr;
    }

    .site-sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 2.5rem;
        --space-2xl: 3rem;
    }

    header.masthead {
        padding: 21px 13px 13px;
        /* Fibonacci mobile */
    }

    .site-logo {
        height: 55px;
        /* Fibonacci */
    }

    .journal-meta {
        font-size: 10px;
        margin-bottom: 8px;
        /* Fibonacci */
    }

    h1.journal-logo,
    .journal-logo {
        font-size: 26px;
        /* Fibonacci */
        letter-spacing: 2px;
    }

    .journal-baseline {
        font-size: 11px;
        /* Fibonacci */
        letter-spacing: 3px;
    }

    .lead-story .lead-image {
        height: 280px;

    }

    .lead-title {
        font-size: 1.6rem;
    }

    nav.main-nav {
        position: relative;
    }

    .main-nav .menu {
        flex-direction: column;
        width: 100%;
    }

    .main-nav .menu a {
        justify-content: center;
        padding: 14px 20px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .single-article {
        padding: var(--space-lg);
    }

    .single-article .featured-image {
        margin: 0 calc(-1 * var(--space-lg));
    }

    .post-navigation {
        grid-template-columns: 1fr;
    }

    .footer-logos {
        flex-direction: column;
        gap: var(--space-md);
    }

    .footer-logos img {
        height: 70px;
    }

    .footer-nav {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .footer-nav nav ul {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .footer-main h2 {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        letter-spacing: 1px;
    }

    .footer-main p {
        font-size: 1rem;
        padding: 0 var(--space-sm);
    }

    footer.site-footer {
        padding: var(--space-lg) var(--space-sm);
    }

    .footer-copyright {
        font-size: 0.75rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .site-container {
        padding: 0 var(--space-sm);
    }

    .widget {
        padding: var(--space-md);
    }

    .single-article .entry-title {
        font-size: 1.6rem;
    }

    .error-404 h1 {
        font-size: 5rem;
    }
}

/* =========================================
   NAVIGATION MOBILE - HAMBURGER MENU
   ========================================= */

/* Bouton Hamburger - Caché sur desktop, visible sur mobile */
.hamburger {
    display: none !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10000;
    /* Au-dessus du menu */
}


.hamburger-line {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--pure-white);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin: 2px 0;
}

/* Animation hamburger -> X */
.hamburger.is-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Menu Wrapper - Desktop */
.menu-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* =========================================
   BARRE CTA MOBILE FIXE
   ========================================= */
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--deep-blue);
    padding: 8px;
    gap: 8px;
    box-shadow: 0 -4px 21px rgba(0, 0, 0, 0.3);
    border-top: 2px solid var(--electric-cyan);
}

.mobile-cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 8px;
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.mobile-cta-primary {
    background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
    color: var(--pure-white);
}

.mobile-cta-secondary {
    background: linear-gradient(135deg, var(--electric-cyan) 0%, #005080 100%);
    color: var(--pure-white);
}

.mobile-cta-icon {
    font-size: 18px;
}

.mobile-cta-btn:hover {
    transform: scale(1.02);
    color: var(--pure-white);
}

/* =========================================
   STYLES MOBILE (< 768px)
   ========================================= */
@media (max-width: 768px) {

    /* Afficher le hamburger à DROITE */
    .hamburger {
        display: flex !important;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 100;
    }

    /* Réseaux sociaux à GAUCHE sur mobile - Plus grands et mieux cadrés */
    .nav-social {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: auto;
        z-index: 100;
        gap: 8px;
    }

    /* Boutons sociaux plus grands sur mobile */
    .nav-social a {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        border-width: 2px;
    }

    /* Masquer le spacer sur mobile */
    .nav-spacer {
        display: none;
    }

    /* Nav container plus grand pour mieux cadrer les boutons */
    .nav-container {
        position: relative;
        padding: 18px 0;
        min-height: 60px;
    }

    /* Menu fullscreen mobile - Fond opaque */
    .menu-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--deep-blue) !important;
        /* Fond opaque explicite */
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-100%);
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 9999 !important;
        /* Z-index très élevé */
        padding-top: 80px;
        /* Espace pour le bouton fermer */
    }

    .menu-wrapper.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Menu items style mobile */
    .menu-wrapper .menu {
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0;
        width: 100%;
        list-style: none;
        margin: 0;
    }

    .menu-wrapper .menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        list-style: none;
    }

    .menu-wrapper .menu a {
        display: block;
        padding: 21px 13px;
        font-size: 18px;
        letter-spacing: 2px;
    }


    /* Afficher la barre CTA mobile */
    .mobile-cta-bar {
        display: flex;
    }

    /* Ajouter du padding en bas du body pour la barre CTA */
    body {
        padding-bottom: 70px;
    }

    /* Footer padding ajusté */
    footer.site-footer {
        padding-bottom: 21px;
    }

    /* Bloquer le scroll quand le menu est ouvert */
    body.menu-open {
        overflow: hidden;
    }
}

/* =========================================
   WIDGETS MOBILES INTERCALÉS
   ========================================= */

/* Par défaut : masqués sur desktop */
.mobile-widget-insert {
    display: none;
}

/* Sur mobile : les widgets intercalés sont visibles */
@media (max-width: 1024px) {
    .mobile-widget-insert {
        display: block;
        margin: 1.5rem 0;
        width: 100%;
    }

    /* Masquer la sidebar sur mobile (éviter duplication) */
    .site-sidebar {
        display: none !important;
    }

    /* Style spécifique pour le widget candidat mobile */
    .mobile-widget-candidat .flyer-widget {
        max-width: 400px;
        margin: 0 auto;
    }

    /* Style spécifique pour le widget consultation mobile */
    .mobile-widget-consultation .survey-widget {
        max-width: 100%;
    }

    /* Animation d'entrée pour les widgets mobiles */
    .mobile-widget-insert .widget {
        animation: fadeInUp 0.5s ease;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* =========================================
   STYLE JOURNAL "NEWSPAPER" - HOMEPAGE
   ========================================= */

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.news-card {
    background: white;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 40px;
    /* Increased for box button */
    transition: all 0.3s ease;
}

/* ... existing hover ... */
/* ... existing hover ... */
.news-card:hover {
    /* transform: translateY(-5px); Removed per user request */
}

/* ... existing news-img rules ... */
.news-img {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 16/10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* transition: transform 0.6s; Removed transition */
}

.news-card:hover .news-img img {
    /* transform: scale(1.05); Removed per user request */
}

.news-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    display: flex;
    gap: 8px;
}

.badge-programme {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 12px;
    background: var(--brand-blue);
    /* Défaut */
    color: white;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.news-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 0 10px;
}

.news-head {
    font-family: 'Georgia', 'Times New Roman', serif;
    /* Classic Newspaper Serif */
    font-size: 1.5rem;
    /* Slightly reduced for cleaner look */
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--deep-blue);
    position: relative;
    letter-spacing: -0.5px;
    /* Tighter for professional headline feel */
}

.news-head a {
    text-decoration: none;
    color: inherit;
    background-image: linear-gradient(to right, var(--electric-cyan) 0%, var(--electric-cyan) 100%);
    background-position: 0% 95%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size 0.3s ease;
}

.news-head a:hover {
    background-size: 100% 2px;
}

/* APPLY NEWSPAPER STYLE TO BOTH GRID AND HERO EXCERPTS */
.lead-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.2rem;
    /* Larger for Hero */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--deep-blue);
    letter-spacing: -1px;
    /* Tighter for impact */
}

.lead-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.lead-title a:hover {
    color: var(--accent-red);
}

.news-excerpt,
.lead-content p {
    font-family: 'Georgia', serif;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #475569;
    text-align: justify;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Specific adjustment for Hero to ensure it matches */
.lead-content p {
    font-size: 1.15rem;
    /* Slightly larger for hero */
    color: #334155;
    margin-bottom: 30px;
}

.read-more {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-red) !important;
    /* Back to Red */
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    align-self: flex-start;
    padding: 12px 24px;
    /* Box padding */
    border: 2px solid var(--deep-blue) !important;
    /* Keep Blue Border */
    background: transparent !important;
    transition: all 0.3s ease;
}

.read-more::after {
    content: '→';
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    color: var(--accent-red);
}

.read-more:hover {
    background: var(--deep-blue) !important;
    color: white !important;
    text-shadow: none;
    box-shadow: 0 5px 15px rgba(9, 29, 62, 0.2);
}

.read-more:hover::after {
    transform: translateX(5px);
    color: white;
}

/* HERO IMAGE FIX */
/* HERO REDESIGN - STANDARD EDITORIAL (CONSISTENT) */
.lead-story {
    position: relative;
    display: block;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-top: 4px solid var(--deep-blue);
    /* Theme consistency */
    border-radius: 4px;
    /* Minimal roundness matching site */
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* Gentle shadow */
    height: auto;
    /* Let content grow */
}

/* Image Container - Always Landscape Ratio */
.lead-img-container {
    width: 100%;
    height: 380px;
    /* Compacted height */
    position: relative;
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

.lead-image {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center 30%;
    /* optimized for portraits in landscape */
    display: block;
    transition: transform 0.5s ease;
}

.lead-story:hover .lead-image {
    transform: scale(1.02);
    /* Slight movement */
}

/* Content - Clean & Separated */
.lead-content {
    position: relative;
    padding: 25px 30px;
    /* Compacted Padding */
    background: #fff;
    color: var(--text-dark);
    text-align: left;
    display: block;
    border: none;
}

/* Typography - Consistent with Site */
.lead-title {
    font-family: 'Georgia', serif;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--deep-blue) !important;
    /* Theme Blue */
    text-shadow: none;
}

.lead-title a {
    color: var(--deep-blue) !important;
    text-decoration: none;
}

.lead-content-p {
    font-size: 1.15rem;
    color: #444 !important;
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 400;
    text-shadow: none;
}

/* Standard Theme Button */
.lead-content .read-more {
    display: inline-block;
    background: var(--deep-blue) !important;
    color: white !important;
    padding: 12px 24px;
    border-radius: 4px;
    /* Consistent box radius */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: none;
    border: 2px solid var(--deep-blue) !important;
    margin-top: 10px;
}

.lead-content .read-more:hover {
    background: white !important;
    color: var(--deep-blue) !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* MOBILE STACK (Clean & Readable) */
@media (max-width: 900px) {
    .lead-story {
        height: auto;
        /* Let content dictate height */
        box-shadow: none;
        border-radius: 0;
        margin-bottom: 30px;
    }

    .lead-img-container {
        height: 350px;
        /* Proper mobile hero height */
        border-radius: 12px;
        margin-bottom: 15px;
        /* Tiny gap */
    }

    .lead-content {
        position: relative;
        /* Back to flow */
        background: transparent;
        padding: 20px 0 10px 0;
        /* More space above title */
        color: var(--text-dark);
        /* Back to dark text */
    }

    .lead-title {
        color: var(--deep-blue);
        text-shadow: none;
        font-size: 1.8rem;
    }

    .lead-title a {
        color: var(--deep-blue) !important;
    }

    .lead-content-p {
        color: #555;
        text-shadow: none;
        font-size: 1.1rem;
    }

    .lead-content .read-more {
        /* Keep solid button style on mobile */
        background: var(--deep-blue) !important;
        color: white !important;
        border: 2px solid var(--deep-blue) !important;
        padding: 10px 20px;
        margin-top: 15px;
        text-decoration: none;
        display: inline-block;
        border-radius: 4px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .lead-img-container {
        height: 250px;
        /* Smaller on mobile */
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .news-head {
        font-size: 1.8rem;
    }
}

/* =========================================
   HOMEPAGE POLISH - USER REQUEST
   ========================================= */

/* 1. Uniform Grid Buttons (Solid Blue) */
.news-card .read-more,
.read-more {
    background: var(--deep-blue) !important;
    color: white !important;
    border: 2px solid var(--deep-blue) !important;
    border-radius: 4px;
    padding: 10px 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    box-shadow: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 15px;
    text-decoration: none;
}

.news-card .read-more:hover,
.read-more:hover {
    background: white !important;
    color: var(--deep-blue) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 2. Alive Grid Cards (Hover Lift) */
.news-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: white;
    border: 1px solid #e5e7eb;
    /* Subtle gray border */
    border-radius: 4px;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(9, 19, 52, 0.1);
    /* Premium Lift */
    border-color: var(--deep-blue);
    /* Subtle highlight */
}

/* Zoom effect on image */
.news-card .news-img {
    overflow: hidden;
}

.news-card .news-img img {
    transition: transform 0.6s ease;
}

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

/* 3. Section Titles (Boost) */
.section-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--deep-blue);
    margin: 60px 0 30px;
    padding-bottom: 12px;
    border-bottom: 4px solid var(--accent-red);
    /* Stronger structuring line */
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
}

/* 4. Widget Typography (User Request: Match Hero Serif) */
.widget h3,
.widget-title,
.widget-newsletter h3,
.mobile-widget-newsletter h3 {
    font-family: 'Georgia', serif !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    font-size: 1.2rem;
}