/*
Theme Name: Le Récap Premium Magazine Theme
Template: generatepress
Version: 3.0.0 - Magazine Edition
*/
:root {
    /* Le Récap Brand Colors */
    --accent-red: #E63946;
    --dark-bg: #0A0A0A;
    --card-dark: #0A0A0A;
    --border-dark: rgba(255, 255, 255, 0.08);
    --glow-color: rgba(230, 57, 70, 0.4);
    --dark-text: #E5E5E5;
    --white-soft: #E5E5E5;
    --warm-gray: #0A0A0A;
    --border-light: rgba(255, 255, 255, 0.08);
    --shadow-soft: 0 4px 24px rgba(230, 57, 70, 0.2);
    --shadow-hover: 0 8px 40px rgba(230, 57, 70, 0.25);
    --shadow-deep: 0 20px 60px rgba(0, 0, 0, 0.15);
    --gradient-hero: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(230, 57, 70, 0.4) 100%);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --border-radius: 20px;
    --border-radius-small: 12px;
}

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

body {
    background: #0A0A0A !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    color: var(--dark-text) !important;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--accent-red);
    color: white;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0A0A0A;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-red);
    border-radius: 4px;
}

/* === HIDE GENERATEPRESS ELEMENTS ON MAGAZINE PAGES === */
.bento-homepage .site-header,
.bento-homepage .site-footer,
.bento-homepage .site-content > .inside-article {
    display: none !important;
}

.bento-homepage .site-content {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

/* === MAGAZINE WRAPPER === */
.magazine-wrapper {
    min-height: 100vh;
    background: #0A0A0A;
}

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

/* === SECTION TITLES === */
.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #E5E5E5;
    margin-bottom: 3rem;
    position: relative !important;
    letter-spacing: -0.03em;
}

.section-title::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--accent-red);
    border-radius: 3px;
}

/* === SECTION 1: HERO BREAKING === */
.hero-breaking {
    height: 70vh;
    position: relative !important;
    overflow: hidden;
}

.hero-content {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative !important;
    display: flex;
    align-items: flex-end;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-inner {
    position: relative !important;
    z-index: 2;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.06);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-excerpt {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-meta {
    justify-content: flex-start;
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.hero-time, .hero-read-time {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-red);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    font-size: 1.1rem;
}

.hero-cta:hover {
    background: #d12733;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: white;
}

.section-bento {
    padding: 5rem 0;
    background: #0A0A0A;
}

/* === SECTION 4: ÉDITION DU JOUR === */
.section-edition {
    padding: 5rem 0;
    background: #0A0A0A;
}

.edition-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.edition-featured {
    background: #0A0A0A;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.edition-image {
    position: relative !important;
    height: 300px;
    overflow: hidden;
}

.edition-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.edition-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.edition-content {
    padding: 2rem;
}

.edition-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.edition-content h3 a {
    color: #E5E5E5;
    text-decoration: none;
}

.edition-content h3 a:hover {
    color: var(--accent-red);
}

.edition-content p {
    color: #999;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.edition-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.edition-sidebar h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #E5E5E5;
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--accent-red);
    padding-bottom: 0.5rem;
}

.edition-sidebar-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.edition-sidebar-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-item-image {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: var(--border-radius-small);
    overflow: hidden;
}

.sidebar-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-item-content h5 {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.sidebar-item-content h5 a {
    color: #E5E5E5;
    text-decoration: none;
}

.sidebar-item-content h5 a:hover {
    color: var(--accent-red);
}

.sidebar-item-time {
    font-size: 0.7rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* === SECTION 5: CATÉGORIES === */
.section-category {
    padding: 4rem 0;
}

.category-dark {
    background: #0A0A0A;
}

.category-dark .section-title,
.category-dark .category-card h4 {
    color: white;
}

.category-light {
    background: #0A0A0A;
}

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

.category-accent .section-title,
.category-accent .category-card h4 {
    color: white;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.category-light .category-card {
    background: #0A0A0A;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-soft);
}

.category-card:hover {
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.2), 0 8px 40px rgba(230, 57, 70, 0.15) !important;
}

.category-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-image {
    height: 200px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.category-content {
    padding: 1rem 1.5rem;
}

.category-content h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.category-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category-light .category-meta {
    color: #999;
}

/* === SECTION 6: ANALYSES === */
.section-analyses {
    padding: 5rem 0;
    background: #0A0A0A;
}

.analyses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.analysis-card {
    background: #0A0A0A;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.analysis-card:hover {
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.2), 0 8px 40px rgba(230, 57, 70, 0.15) !important;
}

.analysis-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.analysis-image {
    position: relative !important;
    height: 250px;
    overflow: hidden;
}

.analysis-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.analysis-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.analysis-content {
    padding: 2rem;
}

.analysis-content h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #E5E5E5;
}

.analysis-content p {
    color: #999;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.analysis-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #999;
}

.analysis-author {
    font-weight: 600;
}

.analysis-date {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* === SECTION 7: NEWSLETTER === */
.section-newsletter {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--accent-red) 0%, #d12733 100%);
    color: white;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.newsletter-text h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.newsletter-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.newsletter-form-inner {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
}

.newsletter-button {
    padding: 1rem 2rem;
    background: #0A0A0A;
    color: var(--accent-red);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.newsletter-privacy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    
    
    .edition-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .category-grid,
    .analyses-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .newsletter-form-inner {
        flex-direction: column;
    }
}
/* === MOBILE FIXES === */
@media (max-width: 480px) {
    .hero-breaking { height: 60vh; }
    .hero-title { font-size: 1.8rem !important; }
    .hero-excerpt { font-size: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .hero-inner { padding: 2rem 1rem; }
    .hero-meta {
    justify-content: flex-start; flex-direction: column; gap: 0.5rem; }
    .hero-cta { padding: 0.8rem 1.5rem; font-size: 0.95rem; }
    .section-title { font-size: 1.6rem; margin-bottom: 1.5rem; padding-left: 15px; }
    .section-title::before { left: -5px; width: 4px; }
    .section-bento, .section-edition, .section-analyses { padding: 2.5rem 0; }
    .edition-image { height: 200px; }
    .edition-content { padding: 1.2rem; }
    .edition-content h3 { font-size: 1.2rem; }
    .category-image { height: 160px; }
    .category-content { padding: 1rem; }
    .category-content h4 { font-size: 1rem; }
    .analysis-image { height: 180px; }
    .analysis-content { padding: 1.2rem; }
    .analysis-content h4 { font-size: 1.1rem; }
    .newsletter-text h2 { font-size: 1.8rem; }
    .newsletter-text p { font-size: 1rem; }
    .section-newsletter { padding: 3rem 0; }
}
@media (min-width: 481px) and (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .category-grid, .analyses-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .magazine-header .container { flex-wrap: wrap; gap: 0.5rem; }
    .header-nav { /* cleaned */ }
    .header-logo h1 { font-size: 1.4rem; }
    .header-right { display: none; }
    .footer-grid { grid-template-columns: 1fr !important; gap: 2rem; }
    .footer-bottom .container { flex-direction: column; text-align: center; gap: 1rem; }
    .inside-article { padding: 0 15px !important; }
    .entry-title { font-size: 1.6rem !important; line-height: 1.2 !important; }
    .entry-content img { border-radius: 12px; }
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, .magazine-wrapper { overflow-x: hidden; max-width: 100%; }
img { max-width: 100%; height: auto; }

/* === MAGAZINE HEADER === */
{0}
    position: relative;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 0.8rem 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header-logo {
    text-decoration: none;
}

.header-logo h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: #E5E5E5;
    margin: 0;
    line-height: 1;
}

.header-logo h1 span {
    color: var(--accent-red);
}

.header-nav {
    display: flex;
    gap: 1.5rem;
}

.header-nav a {
    color: #E5E5E5;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s;
}

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

.header-burger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #E5E5E5;
    padding: 0.5rem;
}

/* === LATEST ARTICLES GRID === */
.section-latest {
    padding: 4rem 0;
    background: #0A0A0A;
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.latest-card {
    background: #0A0A0A;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.latest-card:hover {
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.2), 0 8px 40px rgba(230, 57, 70, 0.15) !important;
}

.latest-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.latest-image {
    position: relative !important;
    height: 200px;
    overflow: hidden;
}

.latest-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.latest-badge {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    background: var(--accent-red);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.latest-content {
    padding: 1.5rem;
}

.latest-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    color: #E5E5E5;
}

.latest-content p {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.latest-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* === MAGAZINE FOOTER === */
.magazine-footer {
    background: #0A0A0A;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
}

.footer-brand h3 span {
    color: var(--accent-red);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links h4 {
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

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

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links ul li a:hover {
    color: var(--accent-red);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.bento-homepage .site-header,
.bento-homepage .site-footer,
.bento-homepage #page > .site-footer,
.bento-homepage .site-info,
.bento-homepage .footer-widgets-container {
    display: none !important;
}

/* Also hide GP header/footer when our template runs */
body.page-template-template-bento-home .site-header,
body.page-template-template-bento-home .site-footer,
body.page-template-template-bento-home .site-info,
body.page-template-template-bento-home .footer-widgets-container,
body.page-template-template-bento-home #page > footer {
    display: none !important;
}


/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
    .header-nav { 
        /* cleaned - see NAV FIX v2 at bottom */
    }
    /* .header-nav.nav-open - cleaned */
    .header-burger { display: block; }
    .header-logo h1 { font-size: 1.3rem; }
    
    .latest-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .latest-image { height: 160px; }
    .latest-content { padding: 1rem; }
    .latest-content h3 { font-size: 1rem; }
}

/* Force full-width articles - no sidebar */
.single .site-content { display: block !important; }
.single #primary { width: 100% !important; max-width: 800px; margin: 0 auto; float: none !important; }
.single #secondary, .single .widget-area { display: none !important; }
.single .inside-article { padding: 2rem 1rem; }
.site-info { display: none !important; }
.footer-widgets-container + .site-info { display: none !important; }
a[href*="generatepress"] { display: none !important; }
/* === FULL WIDTH FIX === */
.magazine-wrapper {
    width: 100%;
    max-width: 100% !important;
}

.magazine-wrapper .container {
    max-width: 1400px;
    width: 95%;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero always full width */
.hero-breaking {
    width: 100%;
    margin-left: 0;
    max-width: 100%;
}

/* Ticker full width */

/* Override GP container */
body.page-template-template-bento-home .site-content,
body.page-template-template-bento-home #page,
body.page-template-template-bento-home .inside-article {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.page-template-template-bento-home .grid-container {
    max-width: 100% !important;
}

/* Footer full width */
.magazine-footer {
    width: 100%;
    margin-left: 0;
}

/* Sections background full width */
.section-bento,
.section-latest,
.section-category {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
}

/* Header full width */
{0}
    width: 100%;
    margin-left: 0;
}

.magazine-header .header-container {
    max-width: 1400px;
    width: 95%;
    margin: 0 auto;
    padding: 0 2rem;
}

/* === PAGE STYLES === */
.page-hero {
    padding: 4rem 0 2rem;
    background: var(--warm-gray, #141414);
}

.page-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.page-content {
    padding: 3rem 0;
    background: #0A0A0A;
}

/* === SINGLE ARTICLE INLINE STYLES === */
.single-article-wrapper, .article-content, .related-articles, .article-tags { background: #0A0A0A; }

.article-hero {
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative !important;
    display: flex;
    align-items: flex-end;
}

.article-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.8) 100%);
}

.article-hero-content {
    position: relative !important;
    z-index: 2;
    width: 100%;
    padding: 3rem 0;
}

.article-container { max-width: 800px; margin: 0 auto; padding: 0 20px; }

.article-category-badge {
    display: inline-block;
    background: var(--accent-red, #E63946);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.article-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.article-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.author-info { display: flex; align-items: center; gap: 1rem; }
.author-avatar { border-radius: 50%; overflow: hidden; width: 50px; height: 50px; border: 3px solid white; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-details { display: flex; flex-direction: column; gap: 0.2rem; }
.author-name { color: white; font-weight: 600; }
.article-date, .reading-time, .publish-time { color: rgba(255,255,255,0.8); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.article-stats { display: flex; gap: 1.5rem; }
.article-content { padding: 4rem 0; }
.article-text { font-size: 1.1rem; line-height: 1.8; }
.article-text p { margin-bottom: 1.5rem; }
.article-text h2, .article-text h3 { font-family: 'Outfit', sans-serif; font-weight: 700; margin: 2rem 0 1rem; }
.article-text h2 { font-size: 1.8rem; }
.article-text h3 { font-size: 1.4rem; }
.article-text blockquote { border-left: 4px solid var(--accent-red, #E63946); margin: 2rem 0; padding: 1.5rem 2rem; background: var(--warm-gray, #141414); border-radius: 0 12px 12px 0; font-style: italic; }

.article-tags { padding: 2rem 0; background: var(--warm-gray, #141414); }
.article-tags h3 { font-family: 'Outfit', sans-serif; font-size: 1.2rem; margin-bottom: 1rem; }
.tags-list { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.tag-item { background: #0A0A0A; padding: 0.5rem 1rem; border-radius: 20px; text-decoration: none; font-size: 0.8rem; border: 1px solid rgba(0,0,0,0.08); transition: all 0.3s; }
.tag-item:hover { background: var(--accent-red, #E63946); color: white; }

.related-articles { padding: 4rem 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.related-card { border-radius: 20px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.06); transition: all 0.4s; }
.related-card:hover { transform: translateY(-4px); box-shadow: 0 8px 40px rgba(0,0,0,0.12); }
.related-link { display: block; text-decoration: none; color: inherit; }
.related-image { position: relative !important; height: 200px; overflow: hidden; }
.related-image img { width: 100%; height: 100%; object-fit: cover; }
.related-category { position: relative; display: inline-block; float: left; margin: 0.8rem 0 0 0.3rem; z-index: 2; background: var(--accent-red, #E63946); color: white; padding: 0.3rem 0.8rem; border-radius: 15px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; }
.related-content { padding: 1.5rem; }
.related-content h4 { font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.8rem; }
.related-meta { display: flex; gap: 1rem; font-size: 0.7rem; color: #999; text-transform: uppercase; }

@media (max-width: 768px) {
    .article-title { font-size: 2rem; }
    .article-meta { flex-direction: column; align-items: flex-start; }
    .related-grid { grid-template-columns: 1fr; }
    .page-title { font-size: 2rem; }
}

/* Hide GP chrome only — not parent containers */
#site-navigation, .main-navigation:not(.header-nav),
.site-footer, .site-info, .footer-widgets-container,
.secondary-navigation, .top-bar,
.inside-header > .site-branding,
.inside-header > .header-widget { display: none !important; }

/* Ensure magazine elements visible */
.magazine-header { display: block !important; }
.magazine-footer { display: block !important; }
.magazine-wrapper { display: block !important; min-height: 100vh; }
#page, .site-content, .inside-article, .entry-content { display: block !important; height: auto !important; min-height: auto !important; }
.site.grid-container { max-width: 100% !important; padding: 0 !important; }


/* Ticker aligned with container */

/* Ticker same alignment as section titles */

/* FINAL ticker alignment — match .container padding exactly */

/* Accessibility contrast fixes */
.logo-text { font-size: 28px; font-weight: 800; color: inherit; }
.logo-text span { color: var(--accent-red, #E63946); }
@media (max-width: 768px) {
    {0}
        padding: 0.6rem 0;
    }
    .magazine-header .header-container {
        justify-content: center;
    }
    .header-logo h1, .header-logo .logo-text {
        font-size: 1.6rem !important;
        text-align: center;
    }
    .header-burger {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    .magazine-header .container {
        position: relative !important;
    }
    
    /* Ticker full width on mobile */
}

@media (max-width: 480px) {
}

/* Fix header overlap on mobile */
@media (max-width: 768px) {
    
}
/* Fix section backgrounds for dark mode */
.section-bento { background: #0A0A0A !important; }
.section-edition { background: #0A0A0A !important; }
.section-category { background: #0A0A0A !important; }
.section-analyses { background: #0A0A0A !important; }
/* === GLASS & GLOW UPGRADE (inspired by actu-ia) === */

/* Cards: glass border + red glow on hover */
.latest-card {
    background: #0A0A0A !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.latest-card:hover {
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.2), 0 8px 40px rgba(230, 57, 70, 0.15) !important;
}

.edition-featured, .edition-card {
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.edition-featured:hover, .edition-card:hover {
    
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.15) !important;
}

.category-card {
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.category-card:hover {
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.2), 0 8px 40px rgba(230, 57, 70, 0.15) !important;
}

.analysis-card {
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.analysis-card:hover {
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.2), 0 8px 40px rgba(230, 57, 70, 0.15) !important;
}

/* Bento cards glow on hover */
/* Hero badge glow pulse (like actu-ia) */
.hero-badge {
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.4);
}

/* Category badges glow */
.latest-badge, .bento-badge, .edition-badge {
    box-shadow: 0 0 10px rgba(230, 57, 70, 0.4);
}

/* Section titles: subtle red glow on the bar */
.section-title::before {
    box-shadow: 0 0 10px rgba(230, 57, 70, 0.4);
}

/* CTA button glow */
.hero-cta {
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.3) !important;
}
.hero-cta:hover {
    box-shadow: 0 0 30px rgba(230, 57, 70, 0.5), 0 8px 24px rgba(230, 57, 70, 0.3) !important;
}

/* Header glass: darker, more blur */
.magazine-header {
    background: rgba(10, 10, 10, 0.85) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* Ticker glass effect enhanced */

/* === HEADER FIX: proper dark glass like actu-ia === */
.magazine-header {
    position: relative !important;
    top: 0 !important;
    z-index: 100 !important;
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 0.8rem 0 !important;
}
.header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 2rem !important;
}
.header-logo h1, .header-logo .logo-text {
    color: white !important;
    font-size: 1.6rem !important;
}
/* old .header-nav gap - cleaned */
@media (min-width: 769px) {
    .header-nav {
        display: flex !important;
    }
}
/* old mobile nav - cleaned */
.header-nav a {
    color: rgba(255, 255, 255, 0.8) !important;
}
.header-nav a:hover {
    color: var(--accent-red) !important;
}
.header-burger {
    color: white !important;
}
/* Glass gradient overlay on images */

/* Content overlay */

/* Badge glass effect */
.bento-badge {
    background: rgba(230, 57, 70, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Latest cards (Derniers articles) glass upgrade */
.latest-card {
    background: #0A0A0A !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: none !important;
}
.latest-card:hover {
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.2), 0 8px 40px rgba(230, 57, 70, 0.15) !important;
}
.latest-content h3 {
    color: #E5E5E5 !important;
}
.latest-content p {
    color: rgba(229, 229, 229, 0.6) !important;
}
.latest-meta {
    color: rgba(229, 229, 229, 0.5) !important;
}
.latest-badge {
    background: rgba(230, 57, 70, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 0 10px rgba(230, 57, 70, 0.3) !important;
}

/* Section titles white */
.section-title {
    color: #E5E5E5 !important;
}

/* Mobile: hero below sticky header */
@media (max-width: 768px) {
    .hero-breaking {
        
    }
}

/* Derniers articles section darker */
.section-latest, .latest-section {
    background: #0A0A0A !important;
}
.latest-grid {
    background: #0A0A0A !important;
}

.latest-card:hover .latest-content h3 { color: var(--accent-red) !important; }

.category-card:hover h4 { color: var(--accent-red) !important; }

.analysis-card:hover h4 { color: var(--accent-red) !important; }

/* === DARK MODE: Pages statiques + Archives/Catégories === */

/* Page hero (catégories + pages) */
.page-hero, .archive .page-hero {
    background: #0A0A0A !important;
}
.page-title, .archive .page-title {
    color: #E5E5E5 !important;
}
.archive-desc, .archive-description, .taxonomy-description {
    color: rgba(229, 229, 229, 0.6) !important;
}

/* Page content (Qui sommes-nous, Contact, Mentions légales) */
.page-content, .entry-content, .inside-article {
    background: #0A0A0A !important;
    color: #E5E5E5 !important;
}
.entry-content p, .entry-content li, .entry-content td, .entry-content th {
    color: rgba(229, 229, 229, 0.85) !important;
}
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 {
    color: #E5E5E5 !important;
}
.entry-content a {
    color: var(--accent-red) !important;
}
.entry-content blockquote {
    background: #111 !important;
    border-left-color: var(--accent-red) !important;
    color: rgba(229, 229, 229, 0.8) !important;
}

/* Archive/Category pages */
.archive .section-latest, .archive .latest-section {
    background: #0A0A0A !important;
}
.archive .latest-card {
    background: #0A0A0A !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.archive .latest-content h3 {
    color: #E5E5E5 !important;
}
.archive .latest-content p {
    color: rgba(229, 229, 229, 0.6) !important;
}
.archive .latest-meta {
    color: rgba(229, 229, 229, 0.5) !important;
}

/* GP default elements on static pages */
.site-content, #primary, #content, .content-area {
    background: #0A0A0A !important;
}
.entry-title {
    color: #E5E5E5 !important;
}
.entry-meta, .post-meta {
    color: rgba(229, 229, 229, 0.5) !important;
}

/* Pagination dark */
.pagination, .nav-links {
    background: #0A0A0A !important;
}
.pagination a, .nav-links a {
    color: #E5E5E5 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}
.pagination .current, .nav-links .current {
    background: var(--accent-red) !important;
    color: white !important;
}

/* Tag/category item dark on static pages */
.tag-item {
    background: #1a1a1a !important;
    color: #E5E5E5 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Force category-light to dark */
.category-light {
    background: #0A0A0A !important;
}
.category-light .category-card {
    background: #0A0A0A !important;
}

/* === CATEGORY SLIDER === */
.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.category-header .section-title {
    margin-bottom: 0 !important;
}
.category-controls {
    display: flex;
    gap: 0.5rem;
}
.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: #E5E5E5;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}
.slider-btn:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.3);
}
.category-slider {
    overflow: hidden;
    position: relative;
}
.category-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.category-track .category-card {
    min-width: calc(33.333% - 1rem);
    flex-shrink: 0;
}
.voir-tout-btn {
    display: inline-block;
    margin-top: 1.5rem;
    color: #E5E5E5;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 25px;
    transition: all 0.3s ease;
}
.voir-tout-btn:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.3);
    color: white;
}

/* Hide arrows when <= 3 cards */
.category-section-no-scroll .category-controls { display: none; }
.category-section-no-scroll .voir-tout-btn { display: none; }

@media (max-width: 768px) {
    .category-track .category-card {
        min-width: calc(50% - 0.75rem);
    }
    .slider-btn { width: 36px; height: 36px; font-size: 1.2rem; }
}
@media (max-width: 480px) {
    .category-track .category-card {
        min-width: calc(85%);
    }
    .category-header { flex-wrap: wrap; gap: 1rem; }
}

/* === NUCLEAR DARK: tout en #0A0A0A === */
.edition-featured, .edition-sidebar, .edition-sidebar-item,
.category-light .category-card, .category-dark .category-card,
.section-edition, .section-analyses, .section-category, .section-bento,
.section-latest, .section-newsletter, .article-content, .article-tags,
.single-article-wrapper, .related-articles, .page-content, .page-hero,
.inside-article, .entry-content, .site-content, #primary, #content, .content-area,
.archive .latest-card, .archive .section-latest, .archive .page-hero,
.tag-item, .newsletter-content, body {
    background: #0A0A0A !important;
}


/* Normalize ticker speed based on content width */

@media (max-width: 768px) {
}

/* Ticker mobile slower */
@media (max-width: 768px) {
}

/* === FIX MOBILE: bento overflow + header overlap + ticker padding === */

/* 1. Bento cards: height auto pour titres longs */
@media (max-width: 768px) {
}

/* 2. Safari iOS: header coupe le hero */
.magazine-header {
    position: relative !important;
    top: 0 !important;
    z-index: 1000 !important;
}
.hero-breaking {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
@supports (-webkit-touch-callout: none) {
    .magazine-header + .hero-breaking,
    .magazine-header ~ .hero-breaking,
}
@media (max-width: 768px) {
    .magazine-header {
        position: relative !important;
    }
    .hero-breaking {
        padding-top: 0 !important;
    }
}

/* 3. Padding sous la pastille ticker en mobile */
@media (max-width: 768px) {
}

@media (max-width: 768px) {
}

/* Ticker: espace entre label et texte */
@media (max-width: 768px) {
}

@media (max-width: 768px) {
}

/* === HEADER: never overlap content === */
.magazine-header {
    position: relative !important;
    top: auto !important;
    z-index: 1000 !important;
}
/* Ensure no negative margins pull content under */
.magazine-header + *,
.magazine-wrapper > *:nth-child(2) {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.hero-breaking {
    margin-top: 0 !important;
}

/* === SAFARI iOS: force no overlap === */
.magazine-header {
    position: relative !important;
    -webkit-position: relative !important;
    top: 0 !important;
    float: none !important;
    transform: none !important;
}
.site-header {
    position: relative !important;
    display: none !important;
}
/* Safe space between header and content */
.magazine-wrapper > .hero-breaking:first-of-type,
.magazine-header + .hero-breaking,
.magazine-header + section {
    margin-top: 0 !important;
    position: relative !important;
    top: 0 !important;
}
/* Kill any -webkit-sticky */

/* === GP header kill (targeted) === */
.site-header, #masthead, .inside-header, .top-bar {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* GP nav outside magazine-header */
body > #page > #site-navigation,
body > #page > .main-navigation,
#page > .site-header .main-navigation {
    display: none !important;
}

/* iOS safe area */
.magazine-header {
    padding-top: env(safe-area-inset-top) !important;
    position: relative !important;
}

/* Magazine wrapper starts clean */
.magazine-wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* === Fix header overlap mobile === */
@media (max-width: 768px) {
    .hero-badge {
        margin-top: 60px !important;
    }
}

/* === Hero: espace pour le header en mobile === */
@media (max-width: 768px) {
    .hero-breaking {
        
    }
    .hero-inner {
        padding-top: 2rem !important;
    }
}

/* === HERO MOBILE: more height + safe top space === */
@media (max-width: 768px) {
    .hero-breaking {
        height: auto !important;
        min-height: 85vh !important;
    }
    .hero-content {
        min-height: 85vh !important;
    }
    .hero-inner {
        padding-top: 80px !important;
    }
}

/* === HEADER + HERO FIXES === */
/* Remove hero padding-top */
.hero-breaking {
    padding-top: 0 !important;
    height: auto !important;
    min-height: 70vh !important;
}
.hero-content {
    height: auto !important;
    min-height: 70vh !important;
}

/* Header margin 15px top and bottom */
.magazine-header {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}

/* Logo left aligned everywhere */
.magazine-header .header-container,
.magazine-header .container {
    justify-content: space-between !important;
    text-align: left !important;
}
.header-logo {
    text-align: left !important;
    margin: 0 !important;
}
@media (max-width: 768px) {
    .magazine-header .header-container,
    .magazine-header .container {
        justify-content: space-between !important;
    }
    .header-logo {
        text-align: left !important;
    }
    .magazine-header .header-container {
        justify-content: flex-start !important;
    }
    .header-burger {
        margin-left: 50% !important;
    }
}

/* === HERO: stronger gradient for readability === */
.hero-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.85) 100%) !important;
}

/* Header: padding instead of margin */
.magazine-header {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

/* === COMMENTS DARK STYLE === */
.article-comments {
    padding: 3rem 0;
    background: #0A0A0A !important;
}
.comments-area {
    background: #0A0A0A !important;
    color: #E5E5E5 !important;
}
.comments-area .comments-title,
.comments-area .comment-reply-title {
    color: #E5E5E5 !important;
    font-family: 'Space Grotesk', sans-serif;
}
.comments-area .comment-body {
    background: #111 !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}
.comments-area .comment-author,
.comments-area .comment-content,
.comments-area .comment-content p {
    color: #E5E5E5 !important;
}
.comments-area .comment-metadata a {
    color: rgba(229,229,229,0.5) !important;
}
.comments-area .comment-form input,
.comments-area .comment-form textarea {
    background: #111 !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: #E5E5E5 !important;
    border-radius: 8px !important;
    padding: 0.8rem !important;
}
.comments-area .comment-form label {
    color: rgba(229,229,229,0.7) !important;
}
.comments-area .form-submit input[type="submit"] {
    background: var(--accent-red, var(--accent-blue, #2563EB)) !important;
    color: white !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 0.8rem 2rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

/* === COMMENTS PREMIUM REDESIGN === */
.article-comments {
    padding: 4rem 0 !important;
    background: #0A0A0A !important;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* Title */
.comment-reply-title,
.comments-title {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: #E5E5E5 !important;
    margin-bottom: 2rem !important;
    letter-spacing: -0.02em !important;
}
.comment-reply-title small a {
    font-size: 0.8rem !important;
    color: rgba(229,229,229,0.5) !important;
}

/* Form wrapper */
#respond {
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 20px !important;
    padding: 2.5rem !important;
    margin-top: 2rem !important;
}

/* Labels */
.comment-form label {
    color: rgba(229,229,229,0.7) !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    display: block !important;
    margin-bottom: 0.5rem !important;
}

/* Inputs */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 12px !important;
    color: #E5E5E5 !important;
    padding: 1rem 1.2rem !important;
    font-size: 0.95rem !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
    outline: none !important;
    box-sizing: border-box !important;
}
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    border-color: rgba(255,255,255,0.25) !important;
    background: rgba(255,255,255,0.06) !important;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.05) !important;
}
.comment-form textarea {
    min-height: 150px !important;
    resize: vertical !important;
}
.comment-form p {
    margin-bottom: 1.2rem !important;
}

/* Submit button */
.comment-form .form-submit input[type="submit"],
.comment-form .form-submit .submit {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: white !important;
    border-radius: 50px !important;
    padding: 1rem 2.5rem !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}
.comment-form .form-submit input[type="submit"]:hover {
    background: rgba(255,255,255,0.15) !important;
    border-color: rgba(255,255,255,0.3) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 20px rgba(255,255,255,0.1) !important;
}

/* Checkbox / consent */
.comment-form-cookies-consent {
    display: flex !important;
    align-items: center !important;
    gap: 0.8rem !important;
}
.comment-form-cookies-consent input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    accent-color: #E5E5E5 !important;
}
.comment-form-cookies-consent label {
    text-transform: none !important;
    font-size: 0.8rem !important;
    letter-spacing: 0 !important;
}

/* Comment list */
.comment-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 3rem 0 !important;
}
.comment-list .comment {
    list-style: none !important;
}
.comment-body {
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 16px !important;
    padding: 1.8rem !important;
    margin-bottom: 1.2rem !important;
    transition: all 0.3s ease !important;
}
.comment-body:hover {
    border-color: rgba(255,255,255,0.12) !important;
}
.comment-author {
    color: #E5E5E5 !important;
    font-weight: 600 !important;
    font-family: 'Space Grotesk', sans-serif !important;
}
.comment-author .fn {
    color: #E5E5E5 !important;
}
.comment-author .says {
    color: rgba(229,229,229,0.4) !important;
}
.comment-metadata {
    margin-bottom: 1rem !important;
}
.comment-metadata a {
    color: rgba(229,229,229,0.4) !important;
    font-size: 0.8rem !important;
    text-decoration: none !important;
}
.comment-content,
.comment-content p {
    color: rgba(229,229,229,0.85) !important;
    line-height: 1.7 !important;
}
.comment-reply-link {
    color: rgba(229,229,229,0.5) !important;
    font-size: 0.8rem !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-family: 'Space Grotesk', sans-serif !important;
    transition: color 0.2s !important;
}
.comment-reply-link:hover {
    color: #E5E5E5 !important;
}

/* Nested comments */
.comment-list .children {
    padding-left: 2rem !important;
    list-style: none !important;
}

/* Notes */
.comment-notes,
.logged-in-as {
    color: rgba(229,229,229,0.5) !important;
    font-size: 0.85rem !important;
    margin-bottom: 1.5rem !important;
}
.logged-in-as a {
    color: rgba(229,229,229,0.7) !important;
}

/* Required star */
.required {
    color: #E63946 !important;
}

/* Hide GP comment styling */
.separate-containers .comments-area {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

/* Avatar in comments */
.comment-author .avatar {
    border-radius: 50% !important;
    border: 2px solid rgba(255,255,255,0.1) !important;
}

/* Share buttons */
.article-share { padding: 0 0 2rem; }
.article-share h3 { font-size: 1.1rem; margin-bottom: 1rem; color: #fff; }
.share-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.share-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.share-btn:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); color: #fff; }
.share-btn.share-x:hover { background: rgba(255,255,255,0.15); }
.share-btn.share-fb:hover { background: rgba(24,119,242,0.2); }
.share-btn.share-wa:hover { background: rgba(37,211,102,0.2); }
.share-btn.share-copy {
    width: auto; padding: 0 1rem; font-size: 0.85rem;
}
.share-btn.share-copy .copy-label { font-size: 0.85rem; }
.share-btn.copied { background: rgba(37,211,102,0.2); border-color: rgba(37,211,102,0.3); }
@media (max-width: 768px) {
    .share-btn { width: 44px; height: 44px; }
    .share-btn.share-copy { width: auto; padding: 0 0.75rem; }
}

/* Multi-category badges */
.latest-badge + .latest-badge,
.article-category-badge + .article-category-badge,
.related-category:first-child { margin-left: 0.8rem; } .related-category + .related-category { margin-left: 0.3rem; }

/* === NAV UPGRADE — Desktop: scrollable, Mobile: fullscreen overlay === */

/* Desktop: horizontal scrollable nav */
.header-nav {
    display: flex !important;
    gap: 0.5rem;
    /* overflow-x: auto - removed */
    /* scrollbar-width - removed */
    /* ms-overflow - removed */
    flex-shrink: 1;
    min-width: 0;
}
.header-nav::-webkit-scrollbar { display: none; }
.header-nav a {
    white-space: nowrap;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.2s ease;
}
.header-nav a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.header-burger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #E5E5E5;
    padding: 0.5rem;
    z-index: 1001;
}

/* Mobile: fullscreen overlay menu */
@media (max-width: 768px) {
    .header-nav {
        display: none !important;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(10,10,10,0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 2rem;
        z-index: 1000;
        overflow-y: auto;
    }
    .header-nav.nav-open {
        display: flex !important;
    }
    .header-nav a {
        font-size: 1.25rem;
        padding: 0.75rem 1.5rem;
        border-radius: 12px;
        color: rgba(255,255,255,0.8);
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    .header-nav a:hover,
    .header-nav a:active {
        background: rgba(255,255,255,0.1);
        color: #fff;
    }
    .header-burger { display: block; }
}

/* === NAV FIX v2 === */
.magazine-header { overflow: visible !important; }
.header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    overflow: visible !important;
}

/* Desktop: wrap on two lines if needed */
@media (min-width: 769px) {
    .header-nav {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.4rem !important;
        overflow: visible !important;
        justify-content: flex-end;
    }
    .header-nav a {
        white-space: nowrap;
        padding: 0.35rem 0.7rem !important;
        border-radius: 8px;
        font-size: 0.82rem !important;
        font-weight: 600;
        color: rgba(255,255,255,0.7) !important;
        transition: all 0.2s ease;
    }
    .header-nav a:hover {
        background: rgba(255,255,255,0.08);
        color: #fff !important;
    }
}

/* Mobile: fullscreen overlay */
@media (max-width: 768px) {
    .header-nav {
        display: none !important;
        position: fixed !important;
        top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
        background: rgba(10,10,10,0.97) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.25rem !important;
        padding: 2rem !important;
        z-index: 10000 !important;
        overflow-y: auto !important;
        height: auto !important;
        max-height: none !important;
    }
    .header-nav.nav-open {
        display: flex !important;
    }
    .header-nav a {
        font-size: 1.3rem !important;
        padding: 0.85rem 2rem !important;
        border-radius: 12px;
        color: rgba(255,255,255,0.85) !important;
        width: 100%;
        max-width: 300px;
        text-align: center;
        white-space: nowrap;
    }
    .header-nav a:active {
        background: rgba(255,255,255,0.1);
        color: #fff !important;
    }
    .header-burger {
        display: block !important;
        z-index: 10001 !important;
        position: relative;
    }
}

/* Category/archive title spacing fix */
.page-hero, .archive .page-hero {
    padding: 1.5rem 0 1rem !important;
}
.section-latest { padding-top: 1rem !important; }

/* Category page title spacing v2 */
.page-hero, .archive .page-hero {
    padding: 2.5rem 0 1.5rem !important;
    margin-top: 0 !important;
}
.magazine-header + .page-hero {
    padding-top: 2rem !important;
}
.page-title {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

/* Related article tags */
.related-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.5rem; }
.related-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.08);
}

/* === FINAL NAV OVERRIDE === */
@media (max-width: 768px) {
    .page-hero, .archive .page-hero {
        padding: 3.5rem 1rem 1rem !important;
    }
    .header-nav,
    .header-nav:not(.nav-open) {
        display: none !important;
        position: fixed !important;
        top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
        background: rgba(10,10,10,0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.25rem !important;
        padding: 2rem !important;
        z-index: 10000 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        height: 100vh !important;
        width: 100vw !important;
    }
    .header-nav.nav-open {
        display: flex !important;
    }
    .header-nav a {
        font-size: 1.3rem !important;
        padding: 0.85rem 2rem !important;
        border-radius: 12px !important;
        color: rgba(255,255,255,0.85) !important;
        width: 100% !important;
        max-width: 300px !important;
        text-align: center !important;
        white-space: nowrap !important;
    }
    .header-burger {
        display: block !important;
        z-index: 10001 !important;
        position: relative !important;
    }
}

/* Tags fix - no overlap */
.latest-content .related-tags,
.related-content .related-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.15rem !important;
    margin-top: 0.5rem;
    overflow: visible !important;
}
.related-tag {
    display: inline-block !important;
    position: relative !important;
    font-size: 0.7rem !important;
}

/* Burger aligned with logo */
.header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}
.header-burger {
    margin-left: 50% !important;
    flex-shrink: 0 !important;
    padding: 0.5rem !important;
    font-size: 1.5rem !important;
    line-height: 1 !important;
}
@media (max-width: 768px) {
    .header-container {
        padding: 0.75rem 1rem !important;
    }
    .header-logo h1 {
        font-size: 1.3rem !important;
        line-height: 1 !important;
    }
    .header-burger {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
    }
}

/* Multi-badge fix: stack horizontally */
.latest-image {
    position: relative;
}
.latest-image .latest-badge {
    position: relative !important;
    display: inline-block !important;
    z-index: 2;
}
.latest-image {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 0.4rem;
    padding: 0;
}
.latest-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
    z-index: 0;
}
.latest-image .latest-badge {
    z-index: 2;
    margin: 0 0.8rem 0.8rem 0 !important;
}
/* Same fix for bento multi-categories */

/* Badges row - absolute positioned container with flex */
.badges-row {
    position: absolute !important;
    top: 0.8rem !important;
    left: 0.8rem !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.15rem !important;
    z-index: 2;
}
.badges-row .latest-badge {
    position: relative !important;
    top: auto !important;
    left: 50% !important;
}

/* === HEADER FINAL FIX === */
.magazine-header {
    margin: 0.75rem 0.75rem 0 !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
.magazine-header .header-container,
.header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.6rem 1.25rem !important;
    gap: 1rem !important;
}
.header-burger {
    display: none;
    background: none !important;
    border: none !important;
    color: #E5E5E5 !important;
    font-size: 1.4rem !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    cursor: pointer;
}
@media (max-width: 768px) {
    .magazine-header .header-container,
    .header-container {
        padding: 0.6rem 1rem !important;
    }
    .header-burger {
        display: block !important;
    }
    .header-nav:not(.nav-open) {
        display: none !important;
    }
}

/* Header burger + margin fix */
.header-burger {
    height: 14px !important;
    width: 20px !important;
}
.magazine-header {
    margin: 0 !important;
}

/* Sticky glass header */
.magazine-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 999 !important;
    background: rgba(255,255,255,0.05) !important;
    backdrop-filter: blur(20px) saturate(1.2) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.2) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 0 !important;
}

/* Sticky glass header v2 - floating over content */
.magazine-header {
    position: fixed !important;
    top: 0.75rem !important;
    left: 0.75rem !important;
    right: 0.75rem !important;
    z-index: 999 !important;
    margin: 0 !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,0.05) !important;
    backdrop-filter: blur(20px) saturate(1.2) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.2) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    width: auto !important;
}
/* Push content below fixed header */
.magazine-header + *,
.magazine-header + .hero-breaking {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.magazine-wrapper > *:nth-child(2) {
    padding-top: 0 !important;
}
/* Hero starts from top, header floats over it */
.hero-breaking {
    margin-top: -70px !important;
    padding-top: 0 !important;
}

/* Hero height responsive */
.hero-breaking, .hero-content {
    height: auto !important;
    min-height: 90vh !important;
}
@media (max-width: 1440px) {
    .hero-breaking, .hero-content {
        min-height: 84vh !important;
    }
}
@media (max-width: 1024px) {
    .hero-breaking, .hero-content {
        min-height: 80vh !important;
    }
}
@media (max-width: 768px) {
    .hero-breaking, .hero-content {
        min-height: 88vh !important;
    }
}

/* No box-shadow on hero badge */

/* Mobile menu glass effect */
@media (max-width: 768px) {
    .header-nav {
        background: rgba(255,255,255,0.04) !important;
        backdrop-filter: blur(40px) saturate(1.3) !important;
        -webkit-backdrop-filter: blur(40px) saturate(1.3) !important;
        border: 1px solid rgba(255,255,255,0.08) !important;
        border-radius: 20px !important;
        margin: 5rem 1rem 1rem !important;
        padding: 2rem 1.5rem !important;
        height: auto !important;
        width: auto !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        position: fixed !important;
        display: none !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.15rem !important;
    }
    .header-nav.nav-open {
        display: flex !important;
    }
    .header-nav a {
        font-size: 1.15rem !important;
        padding: 0.7rem 1.5rem !important;
        border-radius: 12px !important;
        color: rgba(255,255,255,0.75) !important;
        transition: all 0.2s ease !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 260px !important;
    }
    .header-nav a:active,
    .header-nav a:hover {
        background: rgba(230, 57, 70, 0.12) !important;
        color: #fff !important;
    }
}

/* Mobile menu full remaining height */
@media (max-width: 768px) {
    .header-nav {
        top: 0.75rem !important;
        bottom: 0.75rem !important;
        left: 0.75rem !important;
        right: 0.75rem !important;
        margin: 0 !important;
        padding-top: 4rem !important;
        border-radius: 16px !important;
    }
}

/* Mobile menu more blur */
@media (max-width: 768px) {
    .header-nav {
        backdrop-filter: blur(80px) saturate(1.5) !important;
        -webkit-backdrop-filter: blur(80px) saturate(1.5) !important;
        background: rgba(10,10,10,0.6) !important;
    }
}

/* Mobile nav: same glass as header, below it, fill rest of screen */
@media (max-width: 768px) {
    .header-nav {
        top: calc(0.75rem + 48px) !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        padding: 2rem 1.5rem !important;
        border-radius: 0 !important;
        background: rgba(255,255,255,0.05) !important;
        backdrop-filter: blur(20px) saturate(1.2) !important;
        -webkit-backdrop-filter: blur(20px) saturate(1.2) !important;
        border: none !important;
        border-top: 1px solid rgba(255,255,255,0.08) !important;
    }
}

/* ============================================
   MOBILE NAV — FINAL OVERRIDE (do not duplicate)
   ============================================ */
@media (max-width: 768px) {
    body .magazine-wrapper .magazine-header .header-nav,
    body .magazine-wrapper .magazine-header .header-nav:not(.nav-open) {
        display: none !important;
        position: fixed !important;
        top: 50px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        margin: 0 !important;
        padding: 2rem 1.5rem !important;
        border-radius: 0 !important;
        background: rgba(255,255,255,0.05) !important;
        backdrop-filter: blur(20px) saturate(1.2) !important;
        -webkit-backdrop-filter: blur(20px) saturate(1.2) !important;
        border: none !important;
        border-top: 1px solid rgba(255,255,255,0.08) !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.15rem !important;
        z-index: 10000 !important;
        height: auto !important;
        width: auto !important;
        overflow-y: auto !important;
    }
    body .magazine-wrapper .magazine-header .header-nav.nav-open {
        display: flex !important;
    }
    body .magazine-wrapper .magazine-header .header-nav a {
        font-size: 1.15rem !important;
        padding: 0.7rem 1.5rem !important;
        border-radius: 12px !important;
        color: rgba(255,255,255,0.75) !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 260px !important;
        white-space: nowrap !important;
    }
    body .magazine-wrapper .magazine-header .header-nav a:active {
        background: rgba(255,255,255,0.1) !important;
        color: #fff !important;
    }
    body .magazine-wrapper .magazine-header .header-burger {
        display: block !important;
        z-index: 10001 !important;
    }
}

/* Fixed header content offset */
.magazine-wrapper > *:nth-child(2) {
    padding-top: 140px !important;
}
@media (max-width: 768px) {
    .magazine-wrapper > *:nth-child(2) {
        padding-top: 120px !important;
    }
    .article-hero {
        min-height: 80vh !important;
    }
}
/* Hero doesn't need offset - it goes behind header */
.magazine-wrapper > .hero-breaking:nth-child(2),

/* Tablet grid 2 columns */
@media (min-width: 769px) and (max-width: 1024px) {
    .latest-grid,
    .category-grid,
    .related-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* No box-shadow on ticker label */

/* Hero height v2 */
.hero-breaking, .hero-content {
    height: auto !important;
    min-height: 75vh !important;
}
@media (max-width: 1440px) {
    .hero-breaking, .hero-content {
        min-height: 73vh !important;
    }
}
@media (max-width: 1024px) {
    .hero-breaking, .hero-content {
        min-height: 72vh !important;
    }
}
@media (max-width: 768px) {
    .hero-breaking, .hero-content {
        min-height: 70vh !important;
    }
}

/* Home sections spacing */
.section-latest,
.section-category {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* No box-shadow on card hover */
.latest-card:hover,
.category-card:hover,
.related-card:hover {
    box-shadow: none !important;
}

/* Mobile nav final position */
@media (max-width: 768px) {
    body .magazine-wrapper .magazine-header .header-nav,
    body .magazine-wrapper .magazine-header .header-nav:not(.nav-open) {
        top: 5.25rem !important;
        height: fit-content !important;
        border-radius: 16px !important;
        background: rgba(20,20,20,0.65) !important;
        backdrop-filter: blur(40px) saturate(1.4) !important;
        -webkit-backdrop-filter: blur(40px) saturate(1.4) !important;
        bottom: auto !important;
        left: 0.75rem !important;
        right: 0.75rem !important;
        padding: 1.5rem !important;
        border: 1px solid rgba(255,255,255,0.08) !important;
    }
}

/* Mobile nav: EXACT same glass as header */
@media (max-width: 768px) {
    body .magazine-wrapper .magazine-header .header-nav,
    body .magazine-wrapper .magazine-header .header-nav:not(.nav-open) {
        background: rgba(255,255,255,0.05) !important;
        backdrop-filter: blur(20px) saturate(1.2) !important;
        -webkit-backdrop-filter: blur(20px) saturate(1.2) !important;
    }
}

/* ============================================
   HEADER ULTIMATE — LAST WORD (do not duplicate)
   ============================================ */
html body .magazine-wrapper > .magazine-header {
    position: fixed !important;
    top: 0.75rem !important;
    left: 0.75rem !important;
    right: 0.75rem !important;
    z-index: 999 !important;
    margin: 0 !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,0.05) !important;
    backdrop-filter: blur(20px) saturate(1.2) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.2) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    width: auto !important;
    overflow: visible !important;
}
html body .magazine-wrapper > .magazine-header .header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.6rem 1.25rem !important;
    gap: 1rem !important;
}
html body .magazine-wrapper > .magazine-header .header-burger {
    height: 14px !important;
    width: 20px !important;
    background: none !important;
    border: none !important;
    color: #E5E5E5 !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
}

/* ============================================
   MOBILE NAV OUTSIDE HEADER — own backdrop-filter
   ============================================ */
.header-nav-mobile {
    display: none;
    position: fixed;
    top: 5.25rem;
    left: 0.75rem;
    right: 0.75rem;
    z-index: 998;
    background: rgba(255,255,255,0.05) !important;
    backdrop-filter: blur(20px) saturate(1.2) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.2) !important;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.5rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    height: fit-content;
}
.header-nav-mobile.nav-open {
    display: flex !important;
}
.header-nav-mobile a {
    font-size: 1.15rem;
    padding: 0.7rem 1.5rem;
    border-radius: 12px;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    text-align: center;
    width: 100%;
    max-width: 260px;
    white-space: nowrap;
    font-weight: 600;
    transition: all 0.2s ease;
}
.header-nav-mobile a:active,
.header-nav-mobile a:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* Hide mobile nav on desktop, hide desktop nav on mobile */
@media (min-width: 769px) {
    .header-nav-mobile { display: none !important; }
    .header-nav-desktop { display: flex !important; }
}
@media (max-width: 768px) {
    .header-nav-desktop { display: none !important; }
}

/* Kill old header-nav on mobile completely */
@media (max-width: 768px) {
    html body .magazine-wrapper .magazine-header .header-nav,
    html body .magazine-wrapper .magazine-header .header-nav.nav-open,
    html body .magazine-wrapper .magazine-header .header-nav-desktop,
    html body .magazine-wrapper .magazine-header .header-nav-desktop.nav-open,
    body .magazine-wrapper .magazine-header .header-nav,
    body .magazine-wrapper .magazine-header .header-nav.nav-open {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

.header-nav-mobile {
    top: 5.75rem !important;
    padding-top: 1.5rem !important;
}

/* Mobile nav is not nth-child - force padding */
.header-nav-mobile.nav-open {
    padding-top: 1.5rem !important;
}

/* Exclude mobile nav from nth-child offset */
.magazine-wrapper > .header-nav-mobile {
    padding-top: 1.5rem !important;
}

/* Fix: nth-child now targets nav-mobile, push to 3rd child */
.magazine-wrapper > *:nth-child(2):not(.header-nav-mobile) {
    padding-top: 140px !important;
}
.magazine-wrapper > *:nth-child(3) {
    padding-top: 140px !important;
}
@media (max-width: 768px) {
    .magazine-wrapper > *:nth-child(2):not(.header-nav-mobile) {
        padding-top: 120px !important;
    }
    .magazine-wrapper > *:nth-child(3) {
        padding-top: 120px !important;
    }
}
/* Hero never gets offset */
.magazine-wrapper > .hero-breaking:nth-child(3),

/* Homepage: no padding offset (hero goes behind header) */
.home .magazine-wrapper > *:nth-child(2),
.home .magazine-wrapper > *:nth-child(3) {
    padding-top: 0 !important;
}

/* Non-home pages: offset for fixed header */
body:not(.home) .magazine-wrapper > *:nth-child(3) {
    padding-top: 140px !important;
}
@media (max-width: 768px) {
    body:not(.home) .magazine-wrapper > *:nth-child(3) {
        padding-top: 120px !important;
    }
}

/* Hero height v3 */
.hero-breaking, .hero-content {
    height: auto !important;
    min-height: 90vh !important;
}
@media (max-width: 1440px) {
    .hero-breaking, .hero-content {
        min-height: 84vh !important;
    }
}
@media (max-width: 1024px) {
    .hero-breaking, .hero-content {
        min-height: 80vh !important;
    }
}
@media (max-width: 768px) {
    .hero-breaking, .hero-content {
        min-height: 88vh !important;
    }
}

/* Hero laptop 100vh */
@media (max-width: 1440px) {
    .hero-breaking, .hero-content {
        min-height: 100vh !important;
    }
}

/* Logo SVG icon alignment */
.header-logo h1 {
    display: flex !important;
    align-items: center !important;
}
.header-logo h1 svg {
    flex-shrink: 0;
}

/* Center SVG in badges and ticker */

.header-nav-mobile {
    top: 6.75rem !important;
}

/* Sharper hero images */
.article-hero {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
.hero-content {
    image-rendering: -webkit-optimize-contrast;
}

/* Bloc A lire aussi - Mini Bento */
.alire-aussi { margin: 36px 0; }
.alire-aussi h3.alire-title { font-size: 13px; font-weight: 700; color: #666; text-transform: uppercase; letter-spacing: 1.5px; margin: 0 0 14px 0; font-family: 'Outfit', sans-serif; }
.alire-aussi-cards { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 2px; scrollbar-width: none; }
.alire-aussi-cards::-webkit-scrollbar { display: none; }
.alire-aussi-card { flex: 0 0 240px; height: 160px; scroll-snap-align: start; border-radius: var(--border-radius, 20px); overflow: hidden; text-decoration: none !important; display: block; position: relative; background: #0A0A0A; border: 1px solid rgba(255,255,255,0.06); }
.alire-aussi-card .alire-img { position: absolute; inset: 0; width: 100%; height: 100%; background-size: cover; background-position: center; }
.alire-aussi-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 50%, transparent 100%); pointer-events: none; border-radius: var(--border-radius, 20px); }
.alire-aussi-card .alire-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px; z-index: 2; transition: transform 0.3s ease; }
.alire-aussi-card .alire-content span { font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 700; line-height: 1.35; color: #fff; display: block; }
.alire-aussi-card:hover .alire-content { transform: translateY(-4px); }

/* Alire gradient overlay */
.alire-aussi-card .alire-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 40%, transparent 100%); z-index: 1; border-radius: var(--border-radius, 20px); pointer-events: none; }

/* === FIX 17 FEV: Related cards category overlap === */
.related-image { display: flex; flex-wrap: wrap; gap: 0.3rem; padding: 0.8rem; align-content: flex-start; }
.related-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.related-category { position: relative !important; z-index: 1; top: auto !important; left: auto !important; display: inline-block !important; }

/* === FIX 17 FEV: A lire aussi mobile — truncate long titles === */
.alire-aussi-card .alire-content span {
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 768px) {
    .alire-aussi-cards { flex-wrap: nowrap; }
    .alire-aussi-card { flex: 0 0 75vw; min-width: 0; max-width: 80vw; }
    .alire-aussi-card .alire-content span {
        -webkit-line-clamp: 2;
        font-size: 0.9rem;
    }
}

/* === Complianz Glass Effect === */
.cmplz-cookiebanner.banner-1 {
    background: rgba(10, 10, 10, 0.75) !important;
    backdrop-filter: blur(30px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
}
.cmplz-btn.cmplz-manage-consent.manage-consent-1 {
    background: rgba(10, 10, 10, 0.65) !important;
    backdrop-filter: blur(20px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease !important;
}
.cmplz-btn.cmplz-manage-consent.manage-consent-1:hover {
    background: rgba(10, 10, 10, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
}

.cmplz-btn.cmplz-manage-consent.manage-consent-1:hover {
    background: rgba(10, 10, 10, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}

/* === Complianz banner buttons radius === */
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
    border-radius: 8px !important;
}

/* === Ticker hover rouge thème === */

.cmplz-btn.cmplz-manage-consent.manage-consent-1::before {
    content: "🍪" !important;
    font-size: 1.2rem !important;
    display: block !important;
}
.cmplz-btn.cmplz-manage-consent.manage-consent-1:hover {
    right: 0 !important;
    width: auto !important;
    padding: 0.4rem 0.75rem 0.4rem 0.5rem !important;
    font-size: 0.85rem !important;
    border-radius: 10px 0 0 10px !important;
}
.cmplz-btn.cmplz-manage-consent.manage-consent-1:hover::before {
    display: none !important;
}

.cmplz-btn.cmplz-manage-consent.manage-consent-1:active {
    width: auto !important;
    padding: 0.4rem 0.75rem 0.4rem 0.5rem !important;
    font-size: 0.85rem !important;
    opacity: 1 !important;
    right: 0 !important;
}

.cmplz-btn.cmplz-manage-consent.manage-consent-1::before {
    content: 🍪 !important;
    font-size: 1.3rem !important;
    color: white !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}
.cmplz-btn.cmplz-manage-consent.manage-consent-1:hover,
.cmplz-btn.cmplz-manage-consent.manage-consent-1:active {
    width: auto !important;
    height: auto !important;
    padding: 0.5rem 0.85rem !important;
    font-size: 0.85rem !important;
    color: rgba(255,255,255,0.8) !important;
    opacity: 1 !important;
    border-radius: 12px !important;
}
.cmplz-btn.cmplz-manage-consent.manage-consent-1:hover::before,
.cmplz-btn.cmplz-manage-consent.manage-consent-1:active::before {
    display: none !important;
}

/* === Complianz consent button — simple cookie emoji === */
.cmplz-btn.cmplz-manage-consent.manage-consent-1 {
    font-size: 0 !important;
    padding: 0.4rem 0.6rem !important;
    min-width: unset !important;
    width: auto !important;
    height: auto !important;
    position: fixed !important;
    bottom: 0.75rem !important;
    right: 0.75rem !important;
    border-radius: 8px !important;
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(30px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
    z-index: 9999 !important;
    overflow: visible !important;
    opacity: 1 !important;
}
.cmplz-btn.cmplz-manage-consent.manage-consent-1::before {
    content: 🍪 !important;
    font-size: 1.2rem !important;
    display: block !important;
    position: static !important;
    transform: none !important;
}
.cmplz-btn.cmplz-manage-consent.manage-consent-1:hover {
    background: rgba(10, 10, 10, 0.98) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    width: auto !important;
    font-size: 0 !important;
    padding: 0.4rem 0.6rem !important;
    opacity: 1 !important;
    right: 0.75rem !important;
}
.cmplz-btn.cmplz-manage-consent.manage-consent-1:hover::before {
    display: block !important;
}

/* === Complianz button — equal padding fix === */
.cmplz-btn.cmplz-manage-consent.manage-consent-1,
.cmplz-btn.cmplz-manage-consent.manage-consent-1:hover {
    padding: 0.5rem !important;
    line-height: 1 !important;
    bottom: 0.5rem !important;
    right: 0.5rem !important;
}

/* === Complianz button — 0.75rem from edges === */
.cmplz-btn.cmplz-manage-consent.manage-consent-1,
.cmplz-btn.cmplz-manage-consent.manage-consent-1:hover {
    bottom: 0.75rem !important;
    right: 0.75rem !important;
}

/* === Complianz button — bottom left === */
.cmplz-btn.cmplz-manage-consent.manage-consent-1,
.cmplz-btn.cmplz-manage-consent.manage-consent-1:hover {
    right: auto !important;
    left: 0.75rem !important;
}

/* === Mobile: remove 2rem padding on containers === */
@media (max-width: 768px) {
    .magazine-wrapper .container,
    .container,
    .section-category .container,
    .related-articles .container,
    .latest-section .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

/* === Mobile: hero-inner padding === */
@media (max-width: 768px) {
    .hero-inner { padding: 2rem 2rem !important; }
}

/* === Mobile: align container padding with hero === */
@media (max-width: 768px) {
    .magazine-wrapper .container,
    .container,
    .section-category .container,
    .related-articles .container,
    .latest-section .container {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

/* === Hide floating consent button — moved to footer === */
.cmplz-btn.cmplz-manage-consent.manage-consent-1 {
    display: none !important;
}

/* === Ensure footer manage-consent link is visible === */
.magazine-footer a.cmplz-manage-consent {
    display: inline !important;
    font-size: inherit !important;
    color: inherit !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    position: static !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
}

/* === Complianz button — in footer, not floating === */
.cmplz-btn.cmplz-manage-consent.manage-consent-1 {
    display: flex !important;
    position: static !important;
    margin: 1rem auto !important;
    float: none !important;
    bottom: auto !important;
    left: 50% !important;
    right: auto !important;
}
.magazine-footer {
    position: relative !important;
}

/* === Complianz button — bottom left of footer-grid === */
.footer-grid {
    position: relative !important;
}
.cmplz-btn.cmplz-manage-consent.manage-consent-1 {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: auto !important;
    margin: 0 !important;
}

/* === Complianz button — no hover effect, show text === */
.cmplz-btn.cmplz-manage-consent.manage-consent-1,
.cmplz-btn.cmplz-manage-consent.manage-consent-1:hover,
.cmplz-btn.cmplz-manage-consent.manage-consent-1:active {
    font-size: 0.75rem !important;
    color: rgba(255,255,255,0.5) !important;
    padding: 0.4rem 0.75rem !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    opacity: 1 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.cmplz-btn.cmplz-manage-consent.manage-consent-1::before {
    display: none !important;
}
.cmplz-btn.cmplz-manage-consent.manage-consent-1:hover {
    color: rgba(255,255,255,0.7) !important;
}

/* === Show default text, hide cookie emoji === */
.cmplz-btn.cmplz-manage-consent.manage-consent-1,
.cmplz-btn.cmplz-manage-consent.manage-consent-1:hover {
    font-size: 0.75rem !important;
}

/* === FINAL Complianz button override === */
.cmplz-btn.cmplz-manage-consent.manage-consent-1,
.cmplz-btn.cmplz-manage-consent.manage-consent-1:hover,
.cmplz-btn.cmplz-manage-consent.manage-consent-1:focus,
.cmplz-btn.cmplz-manage-consent.manage-consent-1:active,
.cmplz-btn.cmplz-manage-consent.manage-consent-1::before,
.cmplz-btn.cmplz-manage-consent.manage-consent-1:hover::before,
.cmplz-btn.cmplz-manage-consent.manage-consent-1:active::before {
    content: none !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0.75rem !important;
    color: rgba(255,255,255,0.5) !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: auto !important;
    display: inline !important;
    line-height: normal !important;
    min-width: unset !important;
    overflow: visible !important;
    border-radius: 0 !important;
    transition: none !important;
}
.cmplz-btn.cmplz-manage-consent.manage-consent-1:hover {
    color: rgba(255,255,255,0.7) !important;
}

/* === FINAL Complianz button — match footer links style === */
.cmplz-btn.cmplz-manage-consent.manage-consent-1,
.cmplz-btn.cmplz-manage-consent.manage-consent-1:focus,
.cmplz-btn.cmplz-manage-consent.manage-consent-1:active,
.cmplz-btn.cmplz-manage-consent.manage-consent-1::before,
.cmplz-btn.cmplz-manage-consent.manage-consent-1:hover::before {
    color: rgba(255,255,255,0.6) !important;
    font-size: 0.85rem !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}
.cmplz-btn.cmplz-manage-consent.manage-consent-1:hover {
    color: #E63946 !important;
}

/* === Complianz button hover — match existing footer hover === */
.cmplz-btn.cmplz-manage-consent.manage-consent-1:hover {
    color: rgba(255,255,255,0.7) !important;
}

/* === Complianz button — fix font-size on all states === */
.cmplz-btn.cmplz-manage-consent.manage-consent-1,
.cmplz-btn.cmplz-manage-consent.manage-consent-1:hover,
.cmplz-btn.cmplz-manage-consent.manage-consent-1:focus,
.cmplz-btn.cmplz-manage-consent.manage-consent-1:active {
    font-size: 0.85rem !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
}

/* === Footer last links column spacing === */
.footer-links:last-of-type {
    margin-bottom: 3rem !important;
}

/* === Footer last links — mobile only === */
.footer-links:last-of-type {
    margin-bottom: 0 !important;
}
@media (max-width: 768px) {
    .footer-links:last-of-type {
        margin-bottom: 3rem !important;
    }
}

/* === Pagination glass effect === */
.nav-links {
    display: flex !important;
    gap: 0.5rem !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 2rem 0 !important;
    flex-wrap: wrap !important;
}
.nav-links a,
.nav-links span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    height: 40px !important;
    padding: 0.4rem 0.75rem !important;
    background: rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(20px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-family: 'Outfit', 'Space Grotesk', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}
.nav-links a:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}
.nav-links span.current {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: #fff !important;
}
.nav-links a.prev,
.nav-links a.next {
    padding: 0.4rem 1rem !important;
}
@media (max-width: 480px) {
}

.cat-politique { background: #1a56db !important; }
.cat-faits-divers { background: #dc2626 !important; }
.cat-justice { background: #7c3aed !important; }
.cat-international { background: #0891b2 !important; }
.cat-environnement { background: #15803d !important; box-shadow: 0 0 10px rgba(21,128,61,0.4) !important; }
.cat-economie { background: #16a34a !important; }
.cat-sport { background: #e11d48 !important; }
.cat-sciences { background: #6366f1 !important; }
.cat-meteo { background: #0284c7 !important; }
.cat-sante { background: #059669 !important; }
.cat-divertissement { background: #d946ef !important; }
@media (max-width: 480px) {
}
@media (min-width: 481px) and (max-width: 768px) {
}
/* === FIX: Mobile menu padding-top === */
.header-nav-mobile,
.header-nav-mobile.nav-open {
    padding: 1.5rem !important;
}
/* === FIX: Bento cards mobile - content alignment === */
@media (max-width: 768px) {
}

.magazine-wrapper .header-nav-mobile.nav-open {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}
@media (max-width: 768px) {
}

@media (max-width: 768px) {
}

/* Tablet */
@media (min-width: 481px) and (max-width: 768px) {
}

/* Mobile */
@media (max-width: 480px) {
}

.article-hero {
    image-rendering: auto !important;
    height: 50vh !important;
    max-height: 500px !important;
    background-size: cover !important;
    background-position: center !important;
}
/* ===========================
   BENTO GRID — SINGLE SOURCE
   =========================== */
.section-bento { padding: 3rem 0; }

.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 220px 220px 220px;
    gap: 1rem;
    margin-top: 2rem;
}

.bento-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}

.bento-card:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.bento-card:nth-child(2) { grid-column: 2 / 4; grid-row: 1; }
.bento-card:nth-child(3) { grid-column: 2; grid-row: 2; }
.bento-card:nth-child(4) { grid-column: 3; grid-row: 2 / 4; }
.bento-card:nth-child(5) { grid-column: 1 / 3; grid-row: 3; }

.bento-large { }
.bento-medium { }
.bento-small { }

.bento-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    color: inherit;
}
.bento-link:hover .bento-content { transform: translateY(-3px); }

.bento-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
.bento-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(10,10,10,0.9) 100%);
}

.bento-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
    color: #f5f5f5;
    transition: transform 0.3s ease;
}

.bento-category {
    display: inline-block;
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
    margin-right: 0.4rem;
    font-family: 'Space Grotesk', sans-serif;
}

.bento-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 0.4rem;
    color: #f5f5f5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bento-large .bento-title { font-size: 1.1rem; -webkit-line-clamp: 3; }
.bento-medium .bento-title { font-size: 1.1rem; -webkit-line-clamp: 3; }
.bento-small .bento-title { font-size: 1.1rem; -webkit-line-clamp: 3; }

.bento-excerpt {
    font-size: 0.85rem;
    color: rgba(229,229,229,0.7);
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bento-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.7rem;
    color: rgba(229,229,229,0.5);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-family: 'Space Grotesk', sans-serif;
}

.bento-small .bento-excerpt { display: none; }
.bento-small .bento-content { padding: 1rem; }

/* Tablet/iPad: 481-1024 */
@media (min-width: 481px) and (max-width: 1024px) {
    .bento-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: 200px 200px 200px !important;
        gap: 1rem;
    }
    .bento-card:nth-child(1) { grid-column: 1 !important; grid-row: 1 !important; }
    .bento-card:nth-child(2) { grid-column: 2 !important; grid-row: 1 !important; }
    .bento-card:nth-child(3) { grid-column: 1 !important; grid-row: 2 !important; }
    .bento-card:nth-child(4) { grid-column: 2 !important; grid-row: 2 / 4 !important; }
    .bento-card:nth-child(5) { grid-column: 1 !important; grid-row: 3 !important; }
}

/* Mobile: <= 480 */
@media (max-width: 480px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-rows: 240px;
        gap: 1rem;
    }
    .bento-large, .bento-medium, .bento-small {
        grid-column: 1;
        grid-row: span 1;
    }
    .bento-content { padding: 1rem; }
    .bento-large .bento-title { font-size: 1.15rem; -webkit-line-clamp: 3; }
    .bento-medium .bento-title,
    .bento-small .bento-title { font-size: 1.1rem; -webkit-line-clamp: 3; }
    .bento-excerpt { display: none; }
}

.hero-badge {
    box-shadow: none !important;
}

@media (max-width: 768px) {
}

@media (max-width: 768px) {
}
/* ===========================
   TICKER — SINGLE SOURCE
   =========================== */
@keyframes glow-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.section-ticker {
    padding: 0.9rem 0;
    overflow: hidden;
}
.ticker-container {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    max-width: none;
    width: calc(100% - 3rem);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.ticker-label {
    flex-shrink: 0;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Space Grotesk', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: none;
    animation: glow-pulse 3s infinite;
}
.ticker-label svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}
.ticker-track {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}
.ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 40s linear infinite;
}
.ticker-item {
    display: inline-block;
    margin-right: 2rem;
    font-weight: 500;
}
.ticker-item a {
    color: #E5E5E5;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}
.ticker-item::after {
    content: '•';
    margin-left: 2rem;
    color: rgba(255,255,255,0.3);
}

/* Mobile */
@media (max-width: 768px) {
    .section-ticker {
        padding: 1rem 0;
    }
    .ticker-container {
        flex-direction: column;
        align-items: center;
        gap: 0.7rem;
        width: calc(100% - 1rem);
        padding: 0 0.5rem;
    }
    .ticker-label {
        align-self: center;
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 0;
    }
    .ticker-track {
        width: 100%;
    }
    .ticker-item a {
        font-size: 0.85rem;
    }
}

.section-ticker {
    background: rgba(230, 57, 70, 0.1);
    border-top: 1px solid rgba(230, 57, 70, 0.2);
    border-bottom: 1px solid rgba(230, 57, 70, 0.2);
}
.ticker-item a:hover { color: #E63946; }

.article-hero-content .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.article-category-badge {
    margin-left: 0 !important;
    margin-right: 0.4rem !important;
    margin-bottom: 0.4rem !important;
}
.article-category-badge + .article-category-badge {
    margin-left: 0 !important;
}

/* Bento unified text sizes */
.bento-card .bento-title {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.3;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #f5f5f5;
}
.bento-card:nth-child(1) .bento-title { font-size: 1.4rem; -webkit-line-clamp: 4; }
.bento-card:nth-child(2) .bento-title { font-size: 1.25rem; }
.bento-card .bento-category { font-size: 0.75rem !important; }
.bento-card .bento-meta { font-size: 0.65rem; }
.bento-card .bento-excerpt { display: none; }
.bento-card:nth-child(1) .bento-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.85rem; }

/* MOBILE BENTO FIX - force override */
@media (max-width: 768px) {
    .bento-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: none !important;
        grid-auto-rows: 220px !important;
        gap: 0.75rem !important;
    }
    .bento-card,
    .bento-card:nth-child(1),
    .bento-card:nth-child(2),
    .bento-card:nth-child(3),
    .bento-card:nth-child(4),
    .bento-card:nth-child(5) {
        grid-column: 1 !important;
        grid-row: auto !important;
        position: relative !important;
    }
    .bento-card .bento-title { font-size: 1.1rem !important; }
    .bento-card .bento-excerpt { display: none !important; }
}
/* TABLET BENTO - iPad */
@media (min-width: 769px) and (max-width: 1024px) {
    .bento-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: 200px 200px 200px !important;
        gap: 1rem !important;
    }
    .bento-card:nth-child(1) { grid-column: 1 !important; grid-row: 1 !important; }
    .bento-card:nth-child(2) { grid-column: 2 !important; grid-row: 1 !important; }
    .bento-card:nth-child(3) { grid-column: 1 !important; grid-row: 2 !important; }
    .bento-card:nth-child(4) { grid-column: 2 !important; grid-row: 2 / 4 !important; }
    .bento-card:nth-child(5) { grid-column: 1 !important; grid-row: 3 !important; }
}


/* UNIFIED BADGE POSITIONING */
.latest-image .latest-badge {
    margin: 0 0.8rem 0.8rem 0 !important;
}
.category-image .latest-badge,
.bento-card .bento-category {
    margin: 0 0.8rem 0.8rem 0 !important;
}

/* FI archive badges - same spacing as latest */


.latest-badge, .latest-image .latest-badge, .badges-row .latest-badge {
    box-shadow: none !important;
}

/* BADGES-ROW FINAL - unified spacing */
.badges-row {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    padding: 0.8rem 0 0 0.8rem !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.4rem !important;
    z-index: 2;
}
.badges-row .latest-badge {
    position: relative !important;
    top: auto !important;
    left: 50% !important;
    margin: 0.8rem 0.8rem 0 0 !important;
}

.hero-cta:hover {
    box-shadow: none !important;
}
.avatar { display: none !important; }

.hero-excerpt {
    max-width: 640px !important;
}

.hero-meta, .bento-meta, .latest-meta, .article-meta {
    display: flex !important;
    align-items: center !important;
}
.hero-meta span, .bento-meta span, .latest-meta span, .article-meta span {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
}

/* Mobile: article title area align left */
@media (max-width: 768px) {
    .article-hero-content,
    .article-hero-content .article-container {
        text-align: left !important;
    }
    .article-category-badge {
        margin-left: 0 !important;
    }
}

/* Force left align: home hero + article hero mobile */
.hero-inner {
    text-align: left !important;
}
.hero-meta {
    justify-content: flex-start !important;
}
.article-hero-content {
    text-align: left !important;
}
.article-hero-content .article-container {
    text-align: left !important;
}
@media (max-width: 768px) {
    .hero-inner,
    .article-hero-content,
    .article-hero-content .article-container {
        text-align: left !important;
    }
    .hero-meta,
    .article-meta {
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }
}

/* Hero meta smaller than excerpt */
.hero-time, .hero-read-time {
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.03em !important;
}
@media (max-width: 768px) {
    .hero-time, .hero-read-time {
        font-size: 0.7rem !important;
    }
}

.hero-time, .hero-read-time { font-size: 0.75rem !important; font-weight: 500 !important; letter-spacing: 0.03em !important; }
@media (max-width: 768px) { .hero-time, .hero-read-time { font-size: 0.7rem !important; } }

.article-meta { justify-content: flex-start !important; }
.author-info { justify-content: flex-start !important; }

.article-date, .reading-time, .publish-time { font-size: 0.75rem !important; font-weight: 500 !important; letter-spacing: 0.03em !important; }
@media (max-width: 768px) { .article-date, .reading-time, .publish-time { font-size: 0.7rem !important; } }
.cat-monde { background: #0d9488 !important; }
.cat-societe { background: #ea580c !important; }

/* Less top padding in the panel */
html body .search-panel,
.search-panel {
    padding: 0.75rem 1.25rem !important;
}

/* Center the search form */
.search-panel-form {
    max-width: 500px !important;
    margin: 0 auto !important;
}

/* Push page content below header */
.magazine-wrapper > main,
.magazine-wrapper main[role="main"] {
    padding-top: 1rem !important;
}

/* Search results page: inline form centered */
.search-inline-form {
    max-width: 500px !important;
}

/* Search results: 3 cols on large screens */
@media (min-width: 1024px) {
    .search-results-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Search inline form max width */
.search-inline-form {
    max-width: 480px !important;
    display: flex !important;
    gap: 10px !important;
}

/* Mobile search panel: ensure no gap issues */
@media (max-width: 768px) {
    .search-panel {
        top: 4rem !important;
        left: 0.5rem !important;
        right: 0.5rem !important;
        padding: 0.75rem 1rem !important;
    }
    .search-panel-input {
        font-size: 14px !important;
        padding: 10px 14px !important;
    }
    .search-results-section {
        padding-top: 5rem !important;
    }
    .search-results-title {
        font-size: 1.3rem !important;
    }
}

/* Search result card hover animation */
.search-result-card {
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease !important;
}
.search-result-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
}

/* === NAV SEARCH FORM (inside mobile nav) === */
.nav-search-form {
    display: flex;
    gap: 8px;
    width: 100%;
    padding: 0;
    margin: 0;
}
.nav-search-input {
    flex: 1;
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 500;
    outline: none;
    font-family: inherit;
}
.nav-search-input::placeholder { color: rgba(255,255,255,0.4); }
.nav-search-input:focus {
    border-color: var(--accent-red) !important;
    background: rgba(255,255,255,0.12) !important;
}
.nav-search-submit {
    background: var(--accent-red);
    border: none;
    border-radius: 10px;
    padding: 10px 12px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.nav-search-submit:hover { background: #c62828; }
.nav-search-input::-webkit-search-cancel-button,
.nav-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center/contain no-repeat;
    cursor: pointer;
}

/* === HEADER MODAL (shared search + nav) === */
.header-modal {
    display: none;
    position: fixed;
    top: 5.25rem;
    left: 0.75rem;
    right: 0.75rem;
    z-index: 998;
    background: rgba(255,255,255,0.05) !important;
    backdrop-filter: blur(20px) saturate(1.2) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.2) !important;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.5rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    height: fit-content;
}
.header-modal.modal-open {
    display: flex !important;
}
.header-modal-search {
    padding: 1.25rem 1.5rem;
    justify-content: center;
}
.header-modal-nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    transition: color 0.2s;
}
.header-modal-nav a:hover {
    color: #fff;
}
@media (max-width: 768px) {
    .header-modal {
        top: 4rem;
        left: 0.5rem;
        right: 0.5rem;
    }
}
@media (min-width: 769px) {
    .header-modal-nav {
        display: none !important;
    }
}

/* === HEADER SEARCH BUTTON === */
.header-search-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    padding: 8px;
    margin-right: 4px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}
.header-search-btn:hover,
.header-search-btn:focus {
    color: #fff;
    background: none;
}

/* === SEARCH MODAL VERTICAL CENTER === */
.header-modal-search {
    align-items: center !important;
    padding: 1rem 1.5rem !important;
}
.nav-search-form {
    align-items: center !important;
}

/* === SEARCH MODAL TOP OFFSET === */
.header-modal-search.modal-open {
    padding-top: 1rem !important;
    top: 6.75rem !important;
}

/* === SEARCH MODAL PADDING NUCLEAR === */
div.header-modal.header-modal-search.modal-open {
    padding-top: 1rem !important;
}

/* === SEARCH RESULTS PAGE === */
.search-results-section { padding: 4rem 0 4rem; }
.search-results-header { margin-bottom: 2.5rem; }
.search-results-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
}
.search-inline-form {
    display: flex;
    gap: 10px;
    max-width: 480px;
}
.search-inline-form .nav-search-input {
    flex: 1;
}
.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.search-result-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.search-result-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.search-result-link { text-decoration: none; color: inherit; display: block; }
.search-result-image { height: 200px; background-size: cover; background-position: center; }
.search-result-content { padding: 1.25rem; }
.search-result-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0.5rem 0;
    line-height: 1.35;
}
.search-result-content p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0.5rem 0;
}
.search-result-meta {
    display: flex;
    gap: 1rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    margin-top: 0.75rem;
}
.search-no-results { text-align: center; padding: 3rem 0; }
.search-no-results > p { color: rgba(255,255,255,0.5); font-size: 1.1rem; margin-bottom: 2rem; }
.search-suggestions h3 { font-size: 1.3rem; color: #fff; margin-bottom: 1.5rem; text-align: left; }
.search-pagination { margin-top: 2.5rem; text-align: center; }
.search-pagination .nav-links { display: flex; justify-content: center; gap: 0.5rem; }
.search-pagination .page-numbers {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    padding: 8px 14px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s;
}
.search-pagination .page-numbers.current,
.search-pagination .page-numbers:hover {
    background: var(--accent-red);
    color: #fff;
}
@media (min-width: 769px) {
    .search-results-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .search-results-section { padding-top: 9rem !important; }
    .search-results-title { font-size: 1.3rem; }
    .search-results-grid { grid-template-columns: 1fr; }
}

/* === NAV MODAL SAME HEIGHT AS SEARCH === */
nav.header-modal.header-modal-nav.modal-open {
    top: 6.75rem !important;
    padding-top: 1rem !important;
}



/* === SEARCH MODAL DESKTOP CENTERED === */
@media (min-width: 769px) {
    div.header-modal.header-modal-search.modal-open {
        width: 35% !important;
        left: 50% !important;
        right: auto !important;
        margin-left: -17.5% !important;
    }
}

/* === PAGE CONTENT TOP SPACING === */
.article-container,
.page-content,
.entry-content,
main[role="main"] > .container:first-child {
    padding-top: 4rem !important;
}
.ai-transparency { max-width: 800px; margin: 2rem auto; padding: 1rem 1.5rem; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; text-align: center; }
.ai-transparency p { color: rgba(255,255,255,0.45); font-size: 0.8rem; margin: 0; line-height: 1.5; }
.ai-transparency a { color: rgba(255,255,255,0.6); text-decoration: underline; }
.ai-transparency a:hover { color: #fff; }
.ai-transparency svg { opacity: 0.5; }

/* === ARCHIVE/CATEGORY TITLE SPACING — push below fixed header === */
.archive .page-hero,
.category .page-hero,
.search .page-hero {
    padding-top: 8rem !important;
}
@media (max-width: 768px) {
    .archive .page-hero,
    .category .page-hero,
    .search .page-hero {
        padding-top: 7rem !important;
    }
}

/* === FIX 6 MARS: Related cards - dark theme fixes === */
.related-card { background: #0A0A0A !important; }
.related-content h4 { color: #E5E5E5 !important; }
.related-content h4 a { color: #E5E5E5 !important; text-decoration: none; }
.related-card:hover .related-content h4,
.related-card:hover .related-content h4 a { color: #fff !important; }
.related-meta { color: rgba(229,229,229,0.5) !important; }

/* Logo text color fix */
.header-logo .logo-text { font-family:'Outfit',sans-serif; font-size:1.5rem; font-weight:800; color:#fff; text-decoration:none; }
.header-logo .logo-text span { color: var(--accent-color, #E63946); }
.header-logo:hover .logo-text { color:#fff; }
