/*
Theme Name: FlashInfos Premium Magazine Theme
Template: generatepress
Version: 3.0.0 - Magazine Edition
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Playfair+Display:wght@700;800;900&family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* FlashInfos Brand Colors */
    --accent-red: #E63946;
    --dark-text: #1A1A1A;
    --white-soft: #FAFAFA;
    --warm-gray: #F0EDEB;
    --border-light: rgba(26, 26, 26, 0.08);
    --shadow-soft: 0 4px 24px rgba(230, 57, 70, 0.06);
    --shadow-hover: 0 8px 40px rgba(230, 57, 70, 0.12);
    --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: var(--white-soft) !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: var(--warm-gray);
}

::-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: var(--white-soft);
}

.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: var(--dark-text);
    margin-bottom: 3rem;
    position: relative;
    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;
    overflow: hidden;
}

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

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

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

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2);
    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 {
    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 2: BENTO GRID === */
.section-bento {
    padding: 5rem 0;
    background: white;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 200px);
    gap: 1.5rem;
    margin-top: 2rem;
}

.bento-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--warm-gray);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-medium {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-small {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: var(--transition-smooth);
}

.bento-link:hover {
    color: inherit;
}
.bento-link:hover .bento-content {
    transform: translateY(-4px);
}
.bento-content {
    transition: transform 0.3s ease;
}

.bento-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.bento-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(26, 26, 26, 0.8) 100%);
}

.bento-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
    color: white;
}

.bento-category {
    display: inline-block;
    background: var(--accent-red);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.bento-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.bento-large .bento-title {
    font-size: 1.8rem;
}

.bento-excerpt {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-bottom: 1rem;
}

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

/* === SECTION 3: TICKER === */
.section-ticker {
    background: rgba(230, 57, 70, 0.15); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border-top: 1px solid rgba(230, 57, 70, 0.3); border-bottom: 1px solid rgba(230, 57, 70, 0.3);
    color: white;
    padding: 1rem 0;
    overflow: hidden;
    position: relative;
}

.ticker-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.ticker-label {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    white-space: nowrap;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    animation: scroll 60s linear infinite;
}

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

.ticker-item {
    display: inline-block;
    margin-right: 4rem;
    font-weight: 500;
}

.ticker-item a {
    color: white;
    text-decoration: none;
}

.ticker-item a:hover {
    text-decoration: underline;
    color: white;
}

/* === SECTION 4: ÉDITION DU JOUR === */
.section-edition {
    padding: 5rem 0;
    background: var(--warm-gray);
}

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

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

.edition-image {
    position: relative;
    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: var(--dark-text);
    text-decoration: none;
}

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

.edition-content p {
    color: #666;
    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: var(--dark-text);
    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: var(--dark-text);
    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: var(--dark-text);
}

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

.category-light {
    background: white;
}

.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.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.category-light .category-card {
    background: var(--warm-gray);
    box-shadow: var(--shadow-soft);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.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: 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: white;
}

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

.analysis-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.analysis-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

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

.analysis-image {
    position: relative;
    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: var(--dark-text);
}

.analysis-content p {
    color: #666;
    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.1);
    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: white;
    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;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 200px);
    }
    
    .bento-large,
    .bento-medium,
    .bento-small {
        grid-column: 1;
        grid-row: span 1;
    }
    
    .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 { 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; }
    .bento-grid { grid-template-rows: repeat(5, 180px); gap: 1rem; }
    .bento-title { font-size: 1rem !important; }
    .bento-content { padding: 1rem; }
    .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; }
    .ticker-wrapper { gap: 1rem; }
    .ticker-label { font-size: 0.7rem; padding: 0.3rem 0.8rem; }
}
@media (min-width: 481px) and (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .bento-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .bento-large { grid-column: span 2; }
    .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 { display: none; }
    .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 === */
.magazine-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 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: var(--dark-text);
    margin: 0;
    line-height: 1;
}

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

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

.header-nav a {
    color: var(--dark-text);
    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: var(--dark-text);
    padding: 0.5rem;
}

/* === LATEST ARTICLES GRID === */
.section-latest {
    padding: 4rem 0;
    background: var(--warm-gray);
}

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

.latest-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.latest-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

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

.latest-image {
    position: relative;
    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: var(--dark-text);
}

.latest-content p {
    color: #666;
    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: var(--dark-text);
    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.1);
    padding-top: 1.5rem;
    text-align: center;
}

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

/* === HIDE GP ELEMENTS ON BENTO === */
.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;
}

/* === ADAPTIVE BENTO GRID === */
.bento-count-1 { grid-template-columns: 1fr; grid-template-rows: 300px; }
.bento-count-2 { grid-template-columns: repeat(2, 1fr); grid-template-rows: 300px; }
.bento-count-1 .bento-large,
.bento-count-2 .bento-large,
.bento-count-2 .bento-medium { grid-column: span 1; grid-row: span 1; }

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
    .header-nav { 
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }
    .header-nav.nav-open { display: flex; }
    .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 */
.section-ticker {
    width: 100%;
    margin-left: 0;
}

/* 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 */
.magazine-header {
    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, #F0EDEB);
}

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

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

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

.article-hero {
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    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;
    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, #F0EDEB); border-radius: 0 12px 12px 0; font-style: italic; }

.article-tags { padding: 2rem 0; background: var(--warm-gray, #F0EDEB); }
.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: white; 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; height: 200px; overflow: hidden; }
.related-image img { width: 100%; height: 100%; object-fit: cover; }
.related-category { position: absolute; top: 0.8rem; left: 0.8rem; 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 FIX === */
.section-ticker {
    position: relative;
    overflow: hidden;
}
.ticker-label {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    margin-left: 1rem;
}
.ticker-content {
    margin-left: 2rem;
}
.ticker-wrapper {
    padding: 0 1.5rem;
}

/* Ticker aligned with container */
.section-ticker .ticker-wrapper {
    max-width: 1400px;
    width: 95%;
    margin: 0 auto;
    padding: 0.8rem 2rem;
}

/* Ticker same alignment as section titles */
.section-ticker {
    width: 100% !important;
    margin-left: 0 !important;
}
.section-ticker .ticker-wrapper {
    max-width: 1400px;
    width: 95%;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    box-sizing: border-box;
}

/* FINAL ticker alignment — match .container padding exactly */
.section-ticker .ticker-wrapper {
    max-width: 1400px !important;
    width: 95% !important;
    margin: 0 auto !important;
    padding: 0.8rem 2rem !important;
    box-sizing: border-box !important;
}
.section-ticker {
    width: 100% !important;
    margin-left: 0 !important;
    padding: 0 !important;
}

/* TICKER FINAL FIX — no more calc, just use container */
.section-ticker {
    width: auto !important;
    margin-left: 0 !important;
    background: var(--accent-red);
    padding: 0.8rem 0 !important;
}
.section-ticker .ticker-wrapper {
    max-width: 1400px !important;
    width: 95% !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* TICKER TEXT OVERLAP FIX */
.ticker-label {
    position: relative;
    z-index: 3;
    flex-shrink: 0 !important;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.2) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
}
.ticker-content {
    overflow: hidden !important;
    white-space: nowrap;
    flex: 1;
    mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
    margin-left: 1.5rem !important;
}

/* TICKER FIX v2 — text starts after pill */
.ticker-wrapper {
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    position: relative;
}
.ticker-label {
    position: relative !important;
    z-index: 5 !important;
    flex-shrink: 0 !important;
    margin-right: 1.5rem !important;
}
.ticker-content {
    flex: 1 !important;
    overflow: hidden !important;
    position: relative !important;
    margin-left: 0 !important;
}
@keyframes scroll {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}


/* === DEFINITIVE TICKER === */
.section-ticker {
    background: var(--accent-red) !important;
    color: white !important;
    padding: 0.8rem 0 !important;
    overflow: hidden !important;
    width: 100% !important;
    margin: 0 !important;
}
.section-ticker .ticker-wrapper {
    display: flex !important;
    align-items: center !important;
    max-width: 1400px !important;
    width: 95% !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
    position: relative !important;
}
.section-ticker .ticker-label {
    flex-shrink: 0 !important;
    background: rgba(255,255,255,0.2) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 25px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
    z-index: 2 !important;
    position: relative !important;
}
.section-ticker .ticker-content {
    flex: 1 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    margin-left: 1.5rem !important;
}
.section-ticker .ticker-content .ticker-item {
    display: inline-block !important;
    margin-right: 3rem !important;
    font-weight: 500 !important;
    animation: none !important;
}
.section-ticker .ticker-content .ticker-item a {
    color: white !important;
    text-decoration: none !important;
}

/* === TICKER V3 FINAL === */
.section-ticker .ticker-container {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
}
.section-ticker .ticker-label {
    flex-shrink: 0 !important;
    margin-left: 0 !important;
    margin-right: 2rem !important;
}
.section-ticker .ticker-track {
    flex: 1 !important;
    overflow: hidden !important;
    position: relative !important;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%) !important;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%) !important;
}
.section-ticker .ticker-content {
    display: inline-block !important;
    white-space: nowrap !important;
    animation: tickerScroll 25s linear infinite !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
}
@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
