/*
Theme Name: JaimeMaVille24 Ultra Modern
Theme URI: https://jaimemaville24.fr
Author: JMV24 Team
Description: Plateforme média locale ultra-moderne et épurée
Version: 6.0
Text Domain: jmv24
*/

/* ===== Variables Ultra Modernes ===== */
:root {
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --primary-light: #dbeafe;
    --secondary: #6366f1;
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;

    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --text-white: #ffffff;

    --background: #ffffff;
    --background-gray: #f9fafb;
    --background-dark: #1f2937;
    --surface: #ffffff;
    --surface-hover: #f8fafc;

    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --border-dark: #d1d5db;

    --shadow-xs: none;
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    --shadow-xl: none;
    --shadow-2xl: none;

    --radius-sm: 0;
    --radius: 0;
    --radius-md: 0;
    --radius-lg: 0;
    --radius-xl: 0;
    --radius-2xl: 0;
    --radius-full: 0;

    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 0.75rem;
    --spacing-lg: 1rem;
    --spacing-xl: 1.25rem;
    --spacing-2xl: 1.5rem;
    --spacing-3xl: 4rem;

    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 1.875rem;
    --font-4xl: 2.25rem;
    --font-5xl: 3rem;

    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base Ultra Moderne ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: var(--font-base);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background-gray);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 640px) {
    .container { padding: 0 var(--spacing-lg); }
}

@media (min-width: 1024px) {
    .container { padding: 0 var(--spacing-xl); }
}

/* ===== Typography Ultra Moderne ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

h1 { font-size: var(--font-4xl); }
h2 { font-size: var(--font-3xl); }
h3 { font-size: var(--font-2xl); }
h4 { font-size: var(--font-xl); }
h5 { font-size: var(--font-lg); }
h6 { font-size: var(--font-base); }

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
    line-height: 1.7;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

/* ===== Boutons Ultra Modernes ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-sm);
    font-weight: 600;
    line-height: 1;   
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--text-white);
    transform: translateY(-1px);
    border: 1px solid var(--border-light);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text-primary);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: var(--surface-hover);
    border-color: var(--border-dark);
    transform: translateY(-1px);
    border: 1px solid var(--border);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border-color: transparent;
}

.btn-ghost:hover {
    background: var(--surface-hover);
    color: var(--text-primary);
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--font-xs);
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-2xl);
    font-size: var(--font-lg);
}

/* ===== Cards Ultra Modernes ===== */
.card {
    background: var(--surface);
    border: 1px solid var(--border-light);
        overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-2px);
    border: 1px solid var(--border);
    border-color: var(--border);
}

.card-body {
    padding: var(--spacing-lg);
}

.card-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-light);
    background: var(--background-gray);
}

.card-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--border-light);
    background: var(--background-gray);
}

/* ===== Badges Ultra Modernes ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-xs);
    font-weight: 600;
    line-height: 1;
        text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-primary {
    background: var(--primary-light);
    color: var(--primary);
}

.badge-success {
    background: #dcfce7;
    color: var(--success);
}

.badge-danger {
    background: #fef2f2;
    color: var(--danger);
}

.badge-warning {
    background: #fefce8;
    color: var(--warning);
}

.badge-secondary {
    background: var(--background-gray);
    color: var(--text-secondary);
}

/* ===== Header Ultra Moderne ===== */
.site-header {
    background: var(--surface);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.site-header.scrolled {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.95);
}

.site-header.hidden {
    transform: translateY(-100%);
}

/* ===== ULTRA MODERN HEADER WITH GLASSMORPHISM ===== */
.header-top {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(99, 102, 241, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    padding: 0.5rem 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.header-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.header-date {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-date::before {
    content: '📅';
    font-size: 16px;
}

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

.header-social a {
    color: white;
    text-decoration: none;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.1);
    border: 1px solid var(--border); 
}

.header-main {
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    max-height: 60px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.site-logo img:hover {
    transform: scale(1.05);
}

.site-title {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.025em;
    transition: all 0.3s ease;
}

.site-title:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

/* ===== ULTRA MODERN NAVIGATION ===== */
.main-navigation {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.main-navigation::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    animation: navShine 4s ease-in-out infinite;
}

@keyframes navShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 1.25rem 2rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
    transition: width 0.3s ease;
    z-index: -1;
}

.nav-menu a:hover::before,
.nav-menu .current-menu-item > a::before {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
    color: var(--primary);
    border-bottom-color: var(--primary);
    transform: translateY(-2px);
}

/* Modern Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    padding: 0.75rem;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: translateY(-2px);
    border: 1px solid var(--border);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== ULTRA MODERN BREAKING NEWS ===== */
.breaking-news {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.95), rgba(239, 68, 68, 0.95));
    backdrop-filter: blur(20px);
    color: white;
    padding: 0.75rem 0;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 50px;
    display: flex;
    align-items: center;
}

.breaking-news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: breakingShine 2s linear infinite;
}

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

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

.breaking-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: scroll-left 60s linear infinite;
    position: relative;
    z-index: 2;
    white-space: nowrap;
    width: max-content;
    height: 100%;
}

.breaking-label {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.4rem 0.8rem;
        font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    height: fit-content;
}

.breaking-label::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #ef4444;
    
    animation: pulse 2s infinite;
}

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

.breaking-text {
    font-weight: 500;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
}

.breaking-text a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breaking-text a:hover {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* ===== HERO CAROUSEL AUTO-ANIMATION ===== */
.hero-section {
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
    height: 500px;
    border: 2px solid var(--border);
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slides {
    display: flex;
    width: 500%;
    height: 100%;
    animation: heroSlide 20s infinite;
}

.hero-slide {
    width: 20%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.hero-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
}

.hero-slide-category {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
        font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.hero-slide-title {
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-slide-title a {
    color: white;
    text-decoration: none;
}

.hero-slide-excerpt {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.hero-slide-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 14px;
    opacity: 0.8;
}

.hero-controls {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border: 1px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: white;
    transform: scale(1.2);
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    border: 2px solid white;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 10;
}

.hero-nav:hover {
    background: rgba(0,0,0,0.8);
    transform: translateY(-50%) scale(1.1);
}

.hero-prev {
    left: 1rem;
}

.hero-next {
    right: 1rem;
}

@keyframes heroSlide {
    0%, 18% { transform: translateX(0); }
    20%, 38% { transform: translateX(-20%); }
    40%, 58% { transform: translateX(-40%); }
    60%, 78% { transform: translateX(-60%); }
    80%, 98% { transform: translateX(-80%); }
    100% { transform: translateX(0); }
}

.hero-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-main:hover img {
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 3rem;
    color: white;
    backdrop-filter: blur(10px);
}

.hero-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent), #f97316);
    color: white;
    padding: 0.5rem 1rem;
        font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-title a:hover {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.hero-meta {
    font-size: 15px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    overflow: hidden;
    border: 1px solid var(--border);
    flex: 1;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-card:hover {
    transform: translateY(-2px) scale(1.02);
    border: 1px solid var(--border);
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.hero-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1.5rem;
    color: white;
    backdrop-filter: blur(10px);
}

.hero-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-card-title a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-card-title a:hover {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* ===== ULTRA MODERN CONTENT AREAS ===== */
.content-area {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    margin: 4rem 0;
}

.main-content {
    min-width: 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    }

.section-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.025em;
}

.section-icon {
    color: var(--primary);
    font-size: 1.5rem;
    padding: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    
}

.section-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(59, 130, 246, 0.05);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    border: 1px solid var(--border);
}

/* ===== ULTRA MODERN ARTICLE GRID ===== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1rem;
    margin-bottom: 4rem;
}

.article-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02), rgba(99, 102, 241, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.article-card:hover::before {
    opacity: 1;
}

.article-card:hover {
    transform: translateY(-8px);
    border: 1px solid var(--border);
    border-color: rgba(59, 130, 246, 0.2);
}

.article-thumbnail {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.article-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.5rem 1rem;
        font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
}

.article-content {
    padding: 1.5rem;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.article-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.article-title a:hover {
    filter: brightness(1.2);
    transform: translateY(-1px);
}

.article-excerpt {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 13px;
    color: var(--text-light);
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.article-date,
.article-views {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(59, 130, 246, 0.05);
        font-weight: 500;
}

.article-date i,
.article-views i {
    color: var(--primary);
}

/* ===== ULTRA MODERN SIDEBAR ===== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.widget {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    
    padding: 1.5rem;
    border: 1px solid var(--border);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.025em;
}

.widget-title::before {
    content: '';
    width: 6px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    }

/* Search widget masqué pour design professionnel */
.search-form {
    display: none !important;
}

/* Modern Newsletter Widget */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input[type="email"] {
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-light);
        font-size: 15px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary);
    border: 1px solid var(--border);
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
        font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border); 
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    border: 1px solid var(--border); 
}

/* Modern Popular Posts */
.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.popular-post {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.03);
        transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.popular-post:hover {
    background: rgba(59, 130, 246, 0.08);
    transform: translateY(-2px);
}

.popular-number {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.125rem;
    border: 1px solid var(--border);
}

.popular-content {
    flex: 1;
    min-width: 0;
}

.popular-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.popular-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.popular-title a:hover {
    color: var(--primary);
}

.popular-date {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

/* ===== ULTRA MODERN PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin: 4rem 0;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    height: 3rem;
    padding: 0 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid var(--border-light);
        color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
}

.page-link:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    border: 1px solid var(--border);
}

.page-link.current {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: var(--primary);
    color: white;
    border: 1px solid var(--border); 
}

.page-link.disabled {
    opacity: 0.4;
    pointer-events: none;
    transform: none;
}

/* ===== ULTRA MODERN FOOTER ===== */
.site-footer {
    background: linear-gradient(135deg, var(--text-primary), #0f172a);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-left: 1rem;
}

.footer-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    }

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-left: 3px solid transparent;
    padding-left: 1rem;
    margin-left: -1rem;
}

.footer-links a:hover {
    color: white;
    border-left-color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
}

.footer-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
        display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.125rem;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: translateY(-3px) scale(1.1);
    border: 1px solid var(--border);
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #94a3b8;
    font-size: 15px;
    position: relative;
    z-index: 2;
}

/* ===== STYLES SINGLE PAGE ULTRA-MODERNE ===== */
.article-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: end;
    overflow: hidden;
    margin-bottom: 2rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient( to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100% );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    padding: 2rem 0;
}

.breadcrumb-minimal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 14px;
}

.breadcrumb-minimal a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-minimal a:hover {
    color: white;
}

.breadcrumb-separator {
    color: rgba(255,255,255,0.5);
}

.article-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.9);
    color: white;
    padding: 0.5rem 1rem;
        font-size: 14px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.article-hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    color: white;
}

.article-lead {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.article-meta-hero {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.meta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 14px;
}

.meta-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-avatar-small {
    
    border: 2px solid white;
}

.meta-divider {
    width: 1px;
    height: 16px;
    background: rgba(255,255,255,0.3);
}

.article-layout {
    max-width: 800px;
    margin: 0 auto;
}

.article-content-modern {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.article-content-modern p {
    margin-bottom: 1.5rem;
}

.article-content-modern h2,
.article-content-modern h3 {
    margin: 2rem 0 1rem;
    color: var(--text-primary);
}

.article-tags-modern {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--background-gray);
    }

.tags-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    background: white;
    color: var(--primary);
    text-decoration: none;
        font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.tag-modern:hover {
    background: var(--primary);
    color: white;
}

.tag-hash {
    opacity: 0.7;
}

.article-actions-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    padding: 1rem;
    background: var(--background-gray);
    }

.actions-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 1px solid var(--border);
        color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.share-dropdown {
    position: relative;
}

.share-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid var(--border);
        border: 1px solid var(--border);
    min-width: 200px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.share-dropdown:hover .share-menu {
    opacity: 1;
    visibility: visible;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-option:hover {
    background: var(--background-gray);
    color: var(--primary);
}

.author-card-modern {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--background-gray);
    }

.author-info-compact {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar-small img {
    
}

.author-details {
    flex: 1;
}

.author-name-compact {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.author-name-compact a {
    color: var(--text-primary);
    text-decoration: none;
}

.author-bio-short {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.author-follow-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
        font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.author-follow-btn:hover {
    background: var(--primary-hover);
}

.article-navigation-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.nav-link {
    display: block;
    padding: 1.5rem;
    background: white;
    border: 1px solid var(--border);
        text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.nav-link:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    border: 1px solid var(--border-light);
}

.nav-direction {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.nav-title {
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.related-articles-modern {
    margin: 3rem 0;
}

.section-title-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.related-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.related-card-compact {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid var(--border);
        overflow: hidden;
    transition: all 0.3s ease;
}

.related-card-compact:hover {
    transform: translateY(-2px);
    border: 1px solid var(--border-light);
}

.related-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-info {
    padding: 1rem;
}

.related-title-compact {
    margin: 0 0 0.5rem;
    font-size: 14px;
    line-height: 1.4;
}

.related-title-compact a {
    color: var(--text-primary);
    text-decoration: none;
}

.related-time {
    font-size: 12px;
    color: var(--text-light);
}

/* ===== SECTION COMMENTAIRES CLEAN ===== */
.comments-section-clean {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 2px solid var(--border);
}

.comments-header-clean {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.comments-title-clean {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.comments-stats {
    font-size: 14px;
    color: var(--text-secondary);
}

.comment-count {
    background: var(--background-gray);
    padding: 0.25rem 0.75rem;
    font-weight: 500;
}

/* Formulaire commentaires clean */
.comment-form-clean {
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: var(--background-gray);
    border-left: 3px solid var(--primary);
}

.comment-form-minimal h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.form-row-clean {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group-clean {
    margin-bottom: 1rem;
}

.form-label-clean {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 14px;
}

.form-group-clean input,
.form-group-clean textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border);
    background: white;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group-clean input:focus,
.form-group-clean textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group-clean textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit-clean {
    margin-top: 1rem;
}

.btn-submit-clean {
    background: var(--primary);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.btn-submit-clean:hover {
    background: var(--primary-hover);
}

/* Liste commentaires clean */
.comments-list-clean {
    margin-bottom: 2rem;
}

.comments-list-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

.comment {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-left: 3px solid var(--border);
    position: relative;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-author img {
    width: 48px;
    height: 48px;
    object-fit: cover;
}

.comment-meta {
    flex: 1;
}

.comment-author-name {
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem;
}

.comment-date {
    font-size: 12px;
    color: var(--text-light);
}

.comment-content {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.comment-reply-link {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--background-gray);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.comment-reply-link:hover {
    background: var(--primary);
    color: white;
}

.children {
    margin-top: 1.5rem;
    padding-left: 2rem;
    border-left: 2px solid var(--border-light);
}

.comment-pagination-clean {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.comment-pagination-clean a {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    background: var(--background-gray);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.comment-pagination-clean a:hover {
    background: var(--primary);
    color: white;
}

.no-comments-clean {
    text-align: center;
    padding: 2rem;
    background: var(--background-gray);
    color: var(--text-secondary);
    font-style: italic;
}

/* ===== CATEGORY PAGE CLEAN STYLES ===== */

/* Category Header */
.category-header-clean {
    background: white;
    border-bottom: 2px solid var(--border);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.category-title-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.category-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.category-title-clean {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.category-meta-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 14px;
}

.article-count {
    background: var(--background-gray);
    padding: 0.25rem 0.75rem;
    font-weight: 600;
}

.category-separator {
    color: var(--border);
}

/* Category Navigation */
.category-nav-clean {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.category-filters {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--background-gray);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.category-view-toggle {
    display: flex;
    gap: 0.25rem;
}

.view-toggle {
    width: 40px;
    height: 40px;
    background: var(--background-gray);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.view-toggle.active,
.view-toggle:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Breadcrumb */
.breadcrumb-clean {
    margin-bottom: 2rem;
}

.breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb li:not(:last-child):after {
    content: '>';
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary);
}

/* Articles Container */
.articles-container-clean[data-view="grid"] .articles-grid-clean {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.articles-container-clean[data-view="list"] .articles-grid-clean {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Article Card Clean */
.article-card-clean {
    background: white;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.articles-container-clean[data-view="list"] .article-card-clean {
    flex-direction: row;
    align-items: flex-start;
}

.article-card-clean:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Article Thumbnail */
.article-thumbnail-clean {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--background-gray);
}

.articles-container-clean[data-view="list"] .article-thumbnail-clean {
    width: 300px;
    flex-shrink: 0;
}

.article-image-clean {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.article-card-clean:hover .article-image-clean {
    transform: scale(1.05);
}

.thumbnail-placeholder-clean {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 2rem;
}

.article-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.category-badge {
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Article Content */
.article-content-clean {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-meta-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 12px;
    color: var(--text-light);
}

.meta-separator {
    color: var(--border);
}

.article-date-clean,
.reading-time-clean,
.views-count-clean {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.article-title-clean {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.article-title-clean a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title-clean a:hover {
    color: var(--primary);
}

.article-excerpt-clean {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.article-meta-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.author-info-clean {
    font-size: 14px;
    color: var(--text-secondary);
}

.author-name {
    font-weight: 500;
}

.read-more-clean {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more-clean:hover {
    color: var(--primary-hover);
    transform: translateX(3px);
}

/* Pagination Clean */
.pagination-wrapper-clean {
    margin: 3rem 0;
    text-align: center;
}

.pagination {
    display: inline-flex;
    gap: 0.5rem;
}

.pagination .page-link {
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination .page-link:hover,
.pagination .page-link.current {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* No Posts */
.no-posts-clean {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--background-gray);
}

.no-posts-icon {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.no-posts-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.no-posts-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn-home-clean {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-home-clean:hover {
    background: var(--primary-hover);
}

/* Related Categories */
.related-categories-clean {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
}

.related-title-clean {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.categories-grid-clean {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.category-card-clean {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-card-clean:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.category-card-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem;
}

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

/* ===== INDEX & ARCHIVE PAGES ===== */
.page-header {
    text-align: center;
    padding: 3rem 0;
    background: var(--background-gray);
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--border);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.archive-description {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Article Grid for Index */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: white;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.article-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

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

.article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.article-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 12px;
    color: var(--text-light);
}

.article-title {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.article-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: var(--primary);
}

.article-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.author-info {
    font-size: 14px;
    color: var(--text-secondary);
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--primary-hover);
    transform: translateX(3px);
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--background-gray);
}

.no-posts-icon {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.no-posts-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.no-posts-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-home:hover {
    background: var(--primary-hover);
}

/* ===== FOOTER STYLES ===== */
.site-footer {
    background: var(--text-primary);
    color: white;
    margin-top: 4rem;
}

.footer-widgets {
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget-area {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-widget-column h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

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

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

.footer-widget-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget-column ul li a:hover {
    color: white;
}

.footer-bottom {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-navigation .footer-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-navigation .footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-navigation .footer-menu a:hover {
    color: white;
}

/* ===== PAGINATION GENERAL ===== */
.pagination-wrapper {
    margin: 3rem 0;
    text-align: center;
}

/* ===== MOBILE RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        height: auto;
        gap: 1.5rem;
    }

    .hero-main {
        height: 500px;
    }

    .hero-sidebar {
        flex-direction: row;
        height: 250px;
    }

    .content-area {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border: 1px solid var(--border);
        z-index: 1000;
    }

    .main-navigation.active {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        padding: 1rem 0;
    }

    .nav-menu a {
        padding: 1rem 2rem;
        border-bottom: none;
        border-left: 4px solid transparent;
    }

    .nav-menu a:hover,
    .nav-menu .current-menu-item > a {
        border-left-color: var(--primary);
        background: rgba(59, 130, 246, 0.1);
    }

    .hero-grid {
        margin: 1.5rem 0;
    }

    .hero-main {
        height: 350px;
    }

    .hero-sidebar {
        flex-direction: column;
        height: auto;
    }

    .hero-card {
        min-height: 200px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .site-title {
        font-size: 1.5rem;
    }

    /* Category Page Mobile */
    .category-title-clean {
        font-size: 1.75rem;
    }

    .category-title-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .category-nav-clean {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-filters {
        width: 100%;
        justify-content: space-between;
    }

    .filter-btn {
        flex: 1;
        justify-content: center;
        padding: 0.5rem 1rem;
        font-size: 12px;
    }

    .articles-container-clean[data-view="grid"] .articles-grid-clean {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .articles-container-clean[data-view="list"] .article-card-clean {
        flex-direction: column;
    }

    .articles-container-clean[data-view="list"] .article-thumbnail-clean {
        width: 100%;
    }

    .categories-grid-clean {
        grid-template-columns: 1fr;
    }

    .article-meta-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .header-main {
        padding: 1rem 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-overlay {
        padding: 1.5rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .article-content {
        padding: 1.5rem;
    }

    .widget {
        padding: 1.5rem;
    }

    .breaking-content {
        gap: 1rem;
    }

    .header-social {
        gap: 1rem;
    }

    .header-social a {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

/* ===== UTILITY CLASSES ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* ===== GLASSMORPHISM UTILITIES ===== */
.glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== READING PROGRESS BAR ===== */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(59, 130, 246, 0.1);
    z-index: 9999;
}

.reading-progress-bar {
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    width: 0%;
    transition: width 0.1s ease;
}

/* ===== ENHANCED ANIMATIONS ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    0%, 100% {
        border: 1px solid var(--border);
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.3);
    }
    50% {
        border: 1px solid var(--primary);
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

.glow-animation {
    animation: glow 2s ease-in-out infinite;
}

/* ===== CATEGORY PAGE CLEAN STYLES ===== */

/* Category Header */
.category-header-clean {
    background: white;
    border-bottom: 2px solid var(--border);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.category-title-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.category-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.category-title-clean {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.category-meta-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 14px;
}

.article-count {
    background: var(--background-gray);
    padding: 0.25rem 0.75rem;
    font-weight: 600;
}

.category-separator {
    color: var(--border);
}

/* Category Navigation */
.category-nav-clean {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.category-filters {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--background-gray);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.category-view-toggle {
    display: flex;
    gap: 0.25rem;
}

.view-toggle {
    width: 40px;
    height: 40px;
    background: var(--background-gray);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.view-toggle.active,
.view-toggle:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Breadcrumb */
.breadcrumb-clean {
    margin-bottom: 2rem;
}

.breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb li:not(:last-child):after {
    content: '>';
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary);
}

/* Articles Container */
.articles-container-clean[data-view="grid"] .articles-grid-clean {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.articles-container-clean[data-view="list"] .articles-grid-clean {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Article Card Clean */
.article-card-clean {
    background: white;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.articles-container-clean[data-view="list"] .article-card-clean {
    flex-direction: row;
    align-items: flex-start;
}

.article-card-clean:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Article Thumbnail */
.article-thumbnail-clean {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--background-gray);
}

.articles-container-clean[data-view="list"] .article-thumbnail-clean {
    width: 300px;
    flex-shrink: 0;
}

.article-image-clean {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.article-card-clean:hover .article-image-clean {
    transform: scale(1.05);
}

.thumbnail-placeholder-clean {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 2rem;
}

.article-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.category-badge {
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Article Content */
.article-content-clean {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-meta-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 12px;
    color: var(--text-light);
}

.meta-separator {
    color: var(--border);
}

.article-date-clean,
.reading-time-clean,
.views-count-clean {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.article-title-clean {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.article-title-clean a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title-clean a:hover {
    color: var(--primary);
}

.article-excerpt-clean {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.article-meta-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.author-info-clean {
    font-size: 14px;
    color: var(--text-secondary);
}

.author-name {
    font-weight: 500;
}

.read-more-clean {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more-clean:hover {
    color: var(--primary-hover);
    transform: translateX(3px);
}

/* Pagination Clean */
.pagination-wrapper-clean {
    margin: 3rem 0;
    text-align: center;
}

.pagination {
    display: inline-flex;
    gap: 0.5rem;
}

.pagination .page-link {
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination .page-link:hover,
.pagination .page-link.current {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* No Posts */
.no-posts-clean {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--background-gray);
}

.no-posts-icon {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.no-posts-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.no-posts-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn-home-clean {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-home-clean:hover {
    background: var(--primary-hover);
}

/* Related Categories */
.related-categories-clean {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
}

.related-title-clean {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.categories-grid-clean {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.category-card-clean {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-card-clean:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.category-card-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem;
}

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

/* ===== MOBILE RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        height: auto;
        gap: 1.5rem;
    }

    .hero-main {
        height: 500px;
    }

    .hero-sidebar {
        flex-direction: row;
        height: 250px;
    }

    .content-area {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        z-index: 1000;
    }

    .main-navigation.active {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        padding: 1rem 0;
    }

    .nav-menu a {
        padding: 1rem 2rem;
        border-bottom: none;
        border-left: 4px solid transparent;
    }

    .nav-menu a:hover,
    .nav-menu .current-menu-item > a {
        border-left-color: var(--primary);
        background: rgba(59, 130, 246, 0.1);
    }

    .hero-grid {
        margin: 1.5rem 0;
    }

    .hero-main {
        height: 350px;
    }

    .hero-sidebar {
        flex-direction: column;
        height: auto;
    }

    .hero-card {
        min-height: 200px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .site-title {
        font-size: 1.5rem;
    }

    /* Category Page Mobile */
    .category-title-clean {
        font-size: 1.75rem;
    }

    .category-title-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .category-nav-clean {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-filters {
        width: 100%;
        justify-content: space-between;
    }

    .filter-btn {
        flex: 1;
        justify-content: center;
        padding: 0.5rem 1rem;
        font-size: 12px;
    }

    .articles-container-clean[data-view="grid"] .articles-grid-clean {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .articles-container-clean[data-view="list"] .article-card-clean {
        flex-direction: column;
    }

    .articles-container-clean[data-view="list"] .article-thumbnail-clean {
        width: 100%;
    }

    .categories-grid-clean {
        grid-template-columns: 1fr;
    }

    .article-meta-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .article-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-widget-area {
        grid-template-columns: 1fr;
    }
}

/* ===== UTILITY CLASSES ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only:focus {
    position: static;
    width: auto;
    height: auto;
    padding: inherit;
    margin: inherit;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    z-index: 999999;
    color: white;
    background: var(--primary);
    padding: 8px 16px;
    text-decoration: none;
}

.skip-link:focus {
    top: 6px;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

