/*
Theme Name: jaitxBlog
Theme URI: https://example.com/jaitxblog
Author: Jaidev Kamboj 
Author URI: https://example.com
Description: Lightweight and modern video blogging WordPress theme
Version: 1.0.0
License: GPL v2 or later
Text Domain: jaitxblog
Tags: blog, video, magazine, responsive, modern
Update URI: false
*/

/* 
   CSS Variables and Reset
    */
:root {
    /* Modern Color Palette - Vibrant & Professional */
    --primary: #5E56E7;
    --primary-dark: #4A42D6;
    --primary-light: #8A84F8;
    --secondary: #FF6B8B;
    --accent: #00D4AA;
    --accent-dark: #00B894;
    --warning: #FF9F43;
    --light: #F8F9FF;
    --dark: #1A1D29;
    --dark-light: #2D3040;
    --gray: #8C93B3;
    --gray-light: #E2E5FF;
    --border-radius: 16px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, #00E6C3 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, #FF8EAB 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, #2A2D40 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 
   Typography
    */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 {
    font-size: 3.5rem;
    font-family: 'Montserrat', sans-serif;
}

h2 {
    font-size: 2.5rem;
    font-family: 'Montserrat', sans-serif;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--gray);
}

/* 
   Layout
  */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Full Width Layout */
.main-content-full {
    width: 100%;
    margin-bottom: 80px;
}

/* Remove old sidebar layout */
.sidebar {
    display: none !important;
}

/* Update main content to take full width */
.main-content {
    width: 100%;
    margin-bottom: 80px;
}

/* ===== HEADER STYLES ===== */
/* Consolidate header selectors to avoid duplicate code */
header,
.site-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 1001;
    flex-shrink: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.logo-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--dark);
    letter-spacing: -0.5px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.logo-text p {
    font-size: 12px;
    color: var(--gray);
    letter-spacing: 1px;
    margin: 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: rgba(94, 86, 231, 0.08);
    border: none;
    font-size: 20px;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    z-index: 1002;
    margin-left: auto;
    order: 2;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
    color: var(--primary);
    background: rgba(94, 86, 231, 0.15);
    outline: none;
}

/* Navigation Container */
.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    order: 3;
}

/* Main Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: var(--primary);
    outline: none;
}

/* ACTIVE MENU UNDERLINE - FIXED */
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a,
.nav-menu .current_page_item > a,
.nav-menu .current_page_ancestor > a {
    color: var(--primary);
}

/* Desktop underline effect */
@media (min-width: 768px) {
    .nav-menu .current-menu-item > a::after,
    .nav-menu .current-menu-ancestor > a::after,
    .nav-menu .current_page_item > a::after,
    .nav-menu .current_page_ancestor > a::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background: var(--gradient-primary);
        bottom: 0;
        left: 0;
        border-radius: 3px;
        animation: underlineSlide 0.3s ease;
    }
    
    /* Hover underline for all items */
    .nav-menu a:hover::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background: var(--gradient-primary);
        bottom: 0;
        left: 0;
        border-radius: 3px;
        opacity: 0.5;
    }
    
    @keyframes underlineSlide {
        from { 
            width: 0; 
            opacity: 0;
        }
        to { 
            width: 100%; 
            opacity: 1;
        }
    }
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.search-btn {
    background: rgba(94, 86, 231, 0.08);
    border: none;
    font-size: 18px;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.search-btn:hover,
.search-btn:focus {
    color: var(--primary);
    background: rgba(94, 86, 231, 0.15);
    outline: none;
}

.subscribe-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 26px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(94, 86, 231, 0.3);
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.subscribe-btn:hover,
.subscribe-btn:focus {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(94, 86, 231, 0.4);
    color: white;
    outline: none;
}

/* ============================================
   SEARCH FUNCTIONALITY STYLES
   ============================================ */

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-content {
    width: 90%;
    max-width: 700px;
    position: relative;
    transform: translateY(-30px);
    transition: transform 0.4s ease;
}

.search-overlay.active .search-overlay-content {
    transform: translateY(0);
}

.close-search {
    position: absolute;
    top: -60px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10000;
}

.close-search:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.search-form-large .search-form {
    display: flex;
    gap: 15px;
    width: 100%;
}

.search-form-large .search-field {
    flex: 1;
    padding: 20px 25px;
    font-size: 18px;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.search-form-large .search-field:focus {
    outline: none;
    border-color: #ff6b8b;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 107, 139, 0.2);
}

.search-form-large .search-submit {
    padding: 0 35px;
    background: #4A42D6;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    min-width: 120px;
}

.search-form-large .search-submit:hover {
    background: #ff4d73;
    transform: translateY(-2px);
}

/* Mobile Search Input */
.mobile-search-input {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: white !important;
    padding: 15px 20px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1) !important;
    z-index: 9999 !important;
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
}

.mobile-search-input input {
    flex: 1 !important;
    padding: 12px 15px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    outline: none !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

.mobile-search-input input:focus {
    border-color: #ff6b8b !important;
}

.mobile-search-input button {
    background: #f5f5f5 !important;
    border: none !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 8px !important;
    font-size: 18px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    transition: background 0.3s ease !important;
}

.mobile-search-input button:hover {
    background: #e0e0e0 !important;
}

/* Search Validation */
.search-validation {
    position: absolute;
    bottom: -40px;
    left: 0;
    color: #ff6b8b !important;
    font-size: 14px !important;
    animation: fadeIn 0.3s ease;
    font-weight: 500;
}

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

/* Header Search Button */
.header-actions .search-btn {
    background: transparent;
    border: none;
    color: #333;
    font-size: 18px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.header-actions .search-btn:hover {
    background: #f5f5f5;
    color: #ff6b8b;
}

/* Responsive */
@media (max-width: 768px) {
    .search-overlay-content {
        width: 95%;
    }
    
    .search-form-large .search-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-form-large .search-field {
        font-size: 16px;
        padding: 15px 20px;
        border-radius: 25px;
    }
    
    .search-form-large .search-submit {
        padding: 15px;
        width: 100%;
        border-radius: 25px;
        min-width: auto;
    }
    
    .close-search {
        top: -50px;
        right: 50%;
        transform: translateX(50%);
    }
    
    .header-actions .search-btn {
        width: 40px;
        height: 40px;
    }
}

/* Body lock when search is open */
body.search-open {
    overflow: hidden !important;
}

/* ---------- Desktop & Tablet ---------- */
@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none !important;
    }

    .nav-wrapper {
        position: static;
        display: flex !important;
        height: auto;
        width: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 15px;
        flex-wrap: nowrap;
    }

    .logo {
        display: flex;
        align-items: center;
        flex: 1;
        min-width: 0;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        background: rgba(94, 86, 231, 0.08);
        border: none;
        cursor: pointer;
        flex-shrink: 0;
        z-index: 1101;
        transition: var(--transition);
    }

    .mobile-menu-toggle.active {
        background: rgba(94, 86, 231, 0.15);
        color: var(--primary);
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 82%;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        display: flex;
        flex-direction: column;
        padding: 90px 28px 30px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.15);
        transition: right 0.4s ease;
        z-index: 1100;
        overflow-y: auto;
    }

    .nav-wrapper.active {
        right: 0;
    }

    .main-navigation {
        width: 100%;
        margin-bottom: 25px;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }

    .nav-menu a {
        display: block;
        padding: 14px 0;
        font-size: 16px;
        width: 100%;
    }

    /* Mobile active state */
    .nav-menu .current-menu-item > a,
    .nav-menu .current-menu-ancestor > a,
    .nav-menu .current_page_item > a,
    .nav-menu .current_page_ancestor > a {
        background: rgba(94, 86, 231, 0.08);
        border-radius: 8px;
        padding: 14px 12px !important;
        margin: 4px 0;
    }
    
    /* Remove underline on mobile */
    .nav-menu .current-menu-item > a::after,
    .nav-menu .current-menu-ancestor > a::after,
    .nav-menu .current_page_item > a::after,
    .nav-menu .current_page_ancestor > a::after,
    .nav-menu a:hover::after {
        display: none;
    }

    .header-actions {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 14px;
        margin-top: auto;
    }

    .logo-text h1 {
        font-size: 22px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .logo-text p {
        display: none;
    }
    
    /* Adjust search button size on mobile */
    .search-btn {
        width: 100%;
        height: 48px;
        justify-content: center;
    }
    
    .subscribe-btn {
        width: 100%;
        text-align: center;
        padding: 14px 26px;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .mobile-menu-toggle,
    .search-btn,
    .subscribe-btn,
    .nav-menu a,
    .nav-wrapper,
    .search-overlay {
        transition: none !important;
        animation: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .site-header {
        background: white;
        border-bottom: 2px solid black;
    }
    
    .nav-menu a {
        text-decoration: underline;
    }
}

/* 
   Hero Section
    */
.hero {
    background: var(--gradient-dark);
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 80px;
    border-radius: 0 0 40px 40px;
    position: relative;
    overflow: hidden;
}

.hero::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 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".1" fill="%23ffffff"/></svg>');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.2;
    color: white;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 10px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* 
   Category Navigation
   */
.category-nav {
    margin-bottom: 50px;
}

.category-list {
    display: flex;
    list-style: none;
    overflow-x: auto;
    padding: 5px;
    gap: 12px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--box-shadow);
    padding: 10px;
    margin: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) #f1f1f1;
}

.category-list::-webkit-scrollbar {
    height: 8px;
}

.category-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.category-list::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

.category-list li {
    flex-shrink: 0;
}

.category-btn {
    background: var(--light);
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    color: var(--dark);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
}

.category-btn:hover {
    background: var(--gray-light);
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 5px 15px rgba(94, 86, 231, 0.3);
}

/* 
   Section Headers
  */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
}

.section-title i {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    padding: 10px 20px;
    border-radius: 12px;
    background: rgba(94, 86, 231, 0.08);
}

.view-all:hover {
    gap: 15px;
    background: rgba(94, 86, 231, 0.15);
    color: var(--primary);
}

/* ==========================================================================
   Trending Videos Section
   ========================================================================== */
.trending-videos {
    margin-bottom: 80px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.video-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.video-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: none;
}

.play-btn:hover {
    background: white;
    transform: translate(-50%, -50%) scale(1.1);
    color: var(--secondary);
}

.video-duration {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

.video-info {
    padding: 25px;
}

.video-category {
    display: inline-block;
    background: rgba(94, 86, 231, 0.1);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.video-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--dark);
}

.video-title a {
    color: var(--dark);
    text-decoration: none;
}

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

.video-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 14px;
}

.video-meta i {
    margin-right: 5px;
}

/* ==========================================================================
   Featured Articles Section
   ========================================================================== */
.featured-articles {
    margin-bottom: 80px;
}

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

.article-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.article-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.article-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));
}

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

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

.article-content {
    padding: 25px;
}

.article-category {
    display: inline-block;
    background: rgba(255, 107, 139, 0.1);
    color: var(--secondary);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.article-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--dark);
}

.article-title a {
    color: var(--dark);
    text-decoration: none;
}

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

.article-excerpt {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
}

.article-meta i {
    margin-right: 5px;
}

/* ==========================================================================
   Editor's Choice Section
   ========================================================================== */
.editors-choice {
    margin-bottom: 80px;
}

.editors-slider {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-hover);
}

.slider-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.slider-slide {
    min-width: 100%;
    position: relative;
}

.slider-image {
    height: 450px;
    overflow: hidden;
}

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

.slider-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 40px;
}

.slider-category {
    display: inline-block;
    background: var(--gradient-accent);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.slider-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    color: white;
}

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

.slider-title a:hover {
    opacity: 0.9;
}

.slider-meta {
    display: flex;
    gap: 20px;
    font-size: 15px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.slider-meta i {
    margin-right: 5px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 25px;
    transform: translateY(-50%);
}

.slider-editorbtn {
    background: rgba(255, 255, 255, 0.95) !important;
    border: none !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 22px !important;
    color: var(--dark) !important;
    transition: var(--transition) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.slider-btn:hover {
    background: white;
    transform: scale(1.1);
    color: var(--primary);
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.slider-dot.active {
    background-color: white;
    border-color: var(--accent);
    transform: scale(1.2);
}

/* 
   UNIFIED BLOG POSTS/STORIES SECTION
    */

/* Latest Posts Section */
.latest-posts-section {
    margin-bottom: 80px;
}

.latest-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.latest-post-item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.latest-post-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
}

.latest-post-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

.latest-post-item:hover .latest-post-img img {
    transform: scale(1.08);
}

.latest-post-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
    text-decoration: none;
}

.latest-post-category:hover {
    background: var(--primary-dark);
    color: white;
}

.latest-post-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.latest-post-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--dark);
}

.latest-post-content h3 a {
    color: var(--dark);
    text-decoration: none;
}

.latest-post-content h3 a:hover {
    color: var(--primary);
}

.latest-post-meta {
    display: flex;
    gap: 20px;
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.latest-post-meta i {
    margin-right: 5px;
    color: var(--accent);
}

.latest-post-excerpt {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.7;
    flex: 1;
}

.latest-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray);
    font-size: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
    margin-top: auto;
}

.latest-post-footer i {
    margin-right: 5px;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.read-more:hover {
    gap: 12px;
}

/* Popular Stories Section - Now using same layout as Latest Posts */
.popular-stories {
    margin-bottom: 80px;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.story-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.story-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

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

.story-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
    text-decoration: none;
}

.story-category:hover {
    background: var(--primary-dark);
    color: white;
}

.story-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.story-rank {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    text-align: center;
    line-height: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    font-size: 18px;
}

.story-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--dark);
    flex: 1;
}

.story-title a {
    color: var(--dark);
    text-decoration: none;
}

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

.story-excerpt {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.7;
    flex: 1;
}

.story-meta {
    color: var(--gray);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
    margin-top: auto;
}

.story-meta i {
    margin-right: 5px;
}

/* 
   Categories Section (Full Width)
    */
/* 
   Categories Section (Full Width)
    */
.categories-section {
    margin-bottom: 80px;
}

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

.category-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    flex-shrink: 0;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--gradient-accent);
}

/* Specific icon colors for different categories */
.category-card:nth-child(1) .category-icon { background: var(--gradient-primary); }
.category-card:nth-child(2) .category-icon { background: var(--gradient-secondary); }
.category-card:nth-child(3) .category-icon { background: linear-gradient(135deg, #FF9F43 0%, #FFC107 100%); }
.category-card:nth-child(4) .category-icon { background: linear-gradient(135deg, #00D4AA 0%, #00B894 100%); }
.category-card:nth-child(5) .category-icon { background: linear-gradient(135deg, #5E56E7 0%, #8A84F8 100%); }
.category-card:nth-child(6) .category-icon { background: linear-gradient(135deg, #FF6B8B 0%, #FF8EAB 100%); }
.category-card:nth-child(7) .category-icon { background: linear-gradient(135deg, #17A2B8 0%, #20C997 100%); }
.category-card:nth-child(8) .category-icon { background: linear-gradient(135deg, #6F42C1 0%, #E83E8C 100%); }

.category-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.category-count {
    color: var(--gray);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Responsive Styles for Categories */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .category-card {
        padding: 25px;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .category-card {
        padding: 20px;
        gap: 15px;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .category-info h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .category-card {
        padding: 20px;
        gap: 15px;
    }
    
    .category-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .category-info h3 {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Most Viewed Videos Slider Section
   ========================================================================== */
.most-viewed-section {
    margin-bottom: 80px;
}

.most-viewed-slider-container {
    position: relative;
    padding: 0 50px;
    margin: 30px 0;
}

.most-viewed-slider {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    gap: 30px;
    padding: 10px 5px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.most-viewed-slider::-webkit-scrollbar {
    display: none;
}

.slider-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.card-rank {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-primary);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(94, 86, 231, 0.3);
}

.slider-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.slider-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

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

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light) 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-placeholder i {
    font-size: 60px;
    color: var(--primary);
    opacity: 0.7;
}

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

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.play-overlay i {
    font-size: 24px;
    color: var(--primary);
    margin-left: 4px;
}

.slider-thumbnail:hover .play-overlay {
    opacity: 1;
}

.slider-card-content {
    padding: 20px;
}

.slider-card-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    line-height: 1.4;
}

.slider-card-title a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.slider-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--gray);
}

.slider-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.slider-card-meta i {
    color: var(--primary);
    font-size: 12px;
}

.slider-card-excerpt {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.watch-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 4px 12px rgba(94, 86, 231, 0.3);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    z-index: 10;
}

.slider-nav:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 20px rgba(94, 86, 231, 0.3);
}

.slider-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.prev-nav {
    left: 0;
}

.next-nav {
    right: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* ==========================================================================
   Newsletter Section (Full Width)
   ========================================================================== */
.newsletter-section {
    margin-bottom: 80px;
}

.newsletter-container {
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    padding: 60px 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-container::before {
    content: '';
    position: relative;
    z-index: 99999;
    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 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".1" fill="%23ffffff"/></svg>');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.newsletter-content h2 i {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.newsletter-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form .form-group {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 18px 25px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

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

.newsletter-form input:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    background: white;
    color: var(--primary);
    border: none;
    padding: 18px 35px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
    background: var(--light);
}

/* ==========================================================================
   Single Post Styles
   ========================================================================== */
.article-featured-image {
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

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

.article-meta-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.article-date {
    color: var(--gray);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    gap: 20px;
}

.author-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-meta img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.author-name {
    font-weight: 600;
    color: var(--dark);
    display: block;
}

.author-bio {
    font-size: 14px;
    color: var(--gray);
}

.post-stats {
    display: flex;
    gap: 20px;
    color: var(--gray);
    font-size: 14px;
}

.post-stats i {
    margin-right: 5px;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark);
}

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

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
}

.article-tags {
    margin: 40px 0;
    padding-top: 30px;
    border-top: 2px solid rgba(0, 0, 0, 0.05);
}

.article-tags h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.tag {
    display: inline-block;
    background: rgba(94, 86, 231, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-right: 10px;
    margin-bottom: 10px;
    text-decoration: none;
    transition: var(--transition);
}

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

.author-box {
    display: flex;
    gap: 30px;
    background: var(--light);
    padding: 30px;
    border-radius: var(--border-radius);
    margin: 50px 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.author-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.author-info h4 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.author-info p {
    color: var(--gray);
    margin-bottom: 15px;
}

.author-social a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 10px;
    color: var(--dark);
    transition: var(--transition);
}

.author-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* ==========================================================================
   Archive & Search Styles
   ========================================================================== */
.archive-header,
.search-header {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.archive-title,
.search-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.archive-description {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.7;
}

.search-form-large {
    max-width: 600px;
}

.search-form-large form {
    display: flex;
    gap: 10px;
}

.search-form-large input[type="search"] {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

.search-form-large input[type="submit"] {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 16px 30px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-form-large input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(94, 86, 231, 0.3);
}

.search-count {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 14px;
}

.search-posts {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.search-post {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.search-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.search-post-image {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
}

.search-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-post-content {
    flex: 1;
}

.search-post-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.search-post-content h3 a {
    color: var(--dark);
    text-decoration: none;
}

.search-post-content h3 a:hover {
    color: var(--primary);
}

.search-post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.search-post-excerpt {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.7;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.read-more:hover {
    gap: 12px;
}

.no-posts,
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.no-posts h3,
.no-results h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.no-posts p,
.no-results p {
    color: var(--gray);
    margin-bottom: 30px;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.breadcrumbs {
    padding: 20px 0;
    margin-bottom: 30px;
    color: var(--gray);
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.breadcrumbs a {
    color: var(--gray);
    text-decoration: none;
}

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

.breadcrumbs span {
    margin: 0 10px;
    color: var(--gray-light);
}

/* ==========================================================================
   Post Navigation
   ========================================================================== */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 60px 0;
    padding-top: 40px;
    border-top: 2px solid rgba(0, 0, 0, 0.05);
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

.nav-previous a,
.nav-next a {
    display: inline-block;
    padding: 15px 25px;
    background: white;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.nav-previous a:hover,
.nav-next a:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    color: var(--primary);
}

.nav-previous .meta-nav,
.nav-next .meta-nav {
    display: block;
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 5px;
}

/* ==========================================================================
   Contact Form Styles
   ========================================================================== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(94, 86, 231, 0.1);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .submit-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}

.contact-form .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(94, 86, 231, 0.3);
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid rgba(0, 0, 0, 0.05);
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: white;
    color: var(--dark);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.page-numbers:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.page-numbers.current {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

/* ==========================================================================
   Comments
   ========================================================================== */
.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid rgba(0, 0, 0, 0.05);
}

.comments-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

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

.comment {
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.comment-metadata {
    color: var(--gray);
    font-size: 14px;
}

.comment-content {
    color: var(--dark);
    line-height: 1.7;
}

.comment-reply-link {
    display: inline-block;
    background: rgba(94, 86, 231, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 15px;
    text-decoration: none;
    transition: var(--transition);
}

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

.comment-respond {
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(94, 86, 231, 0.1);
}

.comment-form .submit {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.comment-form .submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(94, 86, 231, 0.3);
}

/* ==========================================================================
   Widgets
   ========================================================================== */
.widget {
    margin-bottom: 40px;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark);
    position: relative;
    padding-bottom: 15px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
}

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

.widget li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.widget li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.widget a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.widget_search .search-form {
    display: flex;
    gap: 10px;
}

.widget_search input[type="search"] {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
}

.widget_search input[type="submit"] {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.widget_search input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(94, 86, 231, 0.3);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background: var(--gradient-dark);
    color: white;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

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 1200 120" preserveAspectRatio="none"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" opacity=".1" fill="%23000000"/></svg>');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    color: white;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-accent);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: white;
    padding-left: 8px;
}

.footer-links a i {
    color: var(--accent);
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 18px;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   WordPress Core Classes
   ========================================================================== */
.alignnone {
    margin: 20px 0;
    max-width: 100%;
    height: auto;
}

.aligncenter {
    display: block;
    margin: 20px auto;
    text-align: center;
}

.alignright {
    float: right;
    margin: 20px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 20px 20px 20px 0;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 20px;
}

.wp-caption-text {
    font-size: 14px;
    color: var(--gray);
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

.sticky {
    position: relative;
}

.bypostauthor {
    background: rgba(94, 86, 231, 0.05);
    padding: 20px;
    border-radius: var(--border-radius);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ==========================================================================
   Video Player Overlay
   ========================================================================== */
.video-player-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.video-player-overlay.active {
    display: flex;
}

.video-player-container {
    max-width: 900px;
    width: 100%;
    background: var(--dark);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.video-player {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 50px;
}

.video-placeholder p {
    margin-top: 20px;
    font-size: 16px;
    opacity: 0.8;
    color: white;
}

.video-player-info {
    padding: 25px;
    color: white;
}

.video-player-info h3 {
    color: white;
    margin-bottom: 15px;
}

.video-player-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.view-full-btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    margin-top: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.view-full-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(94, 86, 231, 0.3);
    color: white;
}

.close-video-player {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-video-player:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
}

.fade-in-visible {
    opacity: 1;
    animation: fadeInUp 0.6s ease forwards;
}

/* ==========================================================================
   Loading Animation
   ========================================================================== */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

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

/* ==========================================================================
   Custom Scrollbar
   ========================================================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-60 {
    margin-top: 60px;
}

.mb-60 {
    margin-bottom: 60px;
}

.pt-40 {
    padding-top: 40px;
}

.pb-40 {
    padding-bottom: 40px;
}

.pt-60 {
    padding-top: 60px;
}

.pb-60 {
    padding-bottom: 60px;
}

.hidden {
    display: none !important;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* ==========================================================================
   Admin Bar Adjustment
   ========================================================================== */
.admin-bar header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar header {
        top: 46px;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
    header,
    .sidebar,
    .hero,
    .category-nav,
    .footer,
    .subscribe-btn,
    .play-btn,
    .slider-nav,
    .slider-dots {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .main-content {
        width: 100%;
        margin-bottom: 0;
    }
    
    .article-content img {
        max-width: 50% !important;
        height: auto !important;
    }
}



/* ---------- Tablets and Smaller Desktops ---------- */
@media (max-width: 1200px) {
    .most-viewed-slider-container {
        padding: 0 30px;
    }
    
    .slider-card {
        flex: 0 0 calc(50% - 15px);
        min-width: 280px;
    }
}

@media (max-width: 1100px) {
    .main-content-full {
        padding: 0 20px;
    }
    
    .hero h2 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .slider-title {
        font-size: 2rem;
    }
    
    .latest-posts-grid,
    .stories-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 992px) {
    .hero h2 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.2rem;
        padding: 0 20px;
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 30px;
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .videos-grid,
    .articles-grid,
    .latest-posts-grid,
    .stories-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
    
    .categories-grid,
    .most-viewed-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .slider-image {
        height: 350px;
    }
    
    .slider-title {
        font-size: 1.8rem;
    }
    
    .slider-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }


    
    .search-post {
        flex-direction: column;
    }
    
    .search-post-image {
        width: 100%;
        height: 200px;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .newsletter-content h2 {
        font-size: 2rem;
    }
    
    .newsletter-content p {
        font-size: 1.1rem;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .most-viewed-slider-container {
        padding: 0 20px;
    }
    
    .slider-card {
        flex: 0 0 calc(100% - 10px);
        min-width: 100%;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .videos-grid,
    .articles-grid,
    .latest-posts-grid,
    .stories-grid,
    .categories-grid,
    .most-viewed-grid {
        grid-template-columns: 1fr;
    }
    
    .slider-image {
        height: 300px;
    }
    
    .slider-title {
        font-size: 1.6rem;
    }
    
    .slider-content {
        padding: 30px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .comment {
        padding: 20px;
    }
    
    .comment-respond {
        padding: 20px;
    }
    
    .viewed-card {
        flex-direction: column;
        text-align: center;
    }
    
    .viewed-thumbnail {
        width: 100%;
        height: 180px;
    }
    
    .category-card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .newsletter-container {
        padding: 40px 20px;
    }
    
    .newsletter-content h2 {
        font-size: 1.8rem;
    }
    
    .newsletter-content h2 i {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .most-viewed-slider-container {
        padding: 0 15px;
    }
    
    .slider-card-content {
        padding: 15px;
    }
    
    .slider-card-title {
        font-size: 16px;
    }
    
    .slider-thumbnail {
        height: 180px;
    }
}

/* ---------- Small Mobile ---------- */
@media (max-width: 480px) {
    .hero h2 {
        font-size: 2rem;
        padding: 0 15px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-title i {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .video-card,
    .article-card,
    .latest-post-item,
    .story-card,
    .slider-card {
        border-radius: 12px;
    }
    
    .video-thumbnail,
    .article-image,
    .latest-post-img,
    .story-image,
    .slider-thumbnail {
        height: 180px;
    }
    
    .video-info,
    .article-content,
    .latest-post-content,
    .story-content {
        padding: 20px;
    }
}

@media (max-width: 375px) {
    .logo-text h1 {
        font-size: 20px;
    }

    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
}

/* Adjust grid sizes for better spacing */
@media (min-width: 1200px) {
    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
    
    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    }
    
    .latest-posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Search Page Styles */
.search-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
    background: var(--light);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--dark);
}

.search-title span {
    color: var(--primary);
}

.search-form-large {
    max-width: 600px;
    margin: 0 auto;
}

.search-form-large form {
    display: flex;
    gap: 15px;
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    border: 2px solid rgba(94, 86, 231, 0.1);
}

.search-form-large input[type="search"] {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    background: var(--light);
}

.search-form-large input[type="submit"] {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-form-large input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(94, 86, 231, 0.3);
}

.search-count {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 30px;
    padding: 15px;
    background: var(--light);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.search-posts {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}

.search-post {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.search-post-image {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
}

.search-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-thumbnail {
    width: 100%;
    height: 100%;
    background: var(--gray-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--gray);
}

.search-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.search-post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    color: var(--gray);
    font-size: 14px;
}

.search-post-meta i {
    margin-right: 5px;
}

.post-type {
    background: var(--gradient-primary);
    color: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 12px;
}

.search-post-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.search-post-content h3 a {
    color: var(--dark);
    text-decoration: none;
}

.search-post-content h3 a:hover {
    color: var(--primary);
}

.search-post-excerpt {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.search-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.read-more:hover {
    gap: 12px;
}

.video-meta {
    color: var(--gray);
    font-size: 14px;
}

.no-results {
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 60px;
}

.no-results-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 36px;
}

.no-results h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.no-results p {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Suggested Categories */
.suggested-categories {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.suggested-categories h4 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    color: var(--dark);
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.category-tag {
    background: var(--light);
    color: var(--dark);
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.category-tag:hover {
    background: white;
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.category-tag i {
    color: var(--primary);
}

/* Recent Posts Section */
.recent-posts-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid rgba(0, 0, 0, 0.05);
}

.recent-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.recent-post-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.recent-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.recent-post-image {
    height: 160px;
    overflow: hidden;
}

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

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

.recent-post-content {
    padding: 25px;
}

.recent-post-meta {
    display: flex;
    gap: 15px;
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.recent-post-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.recent-post-content h3 a {
    color: var(--dark);
    text-decoration: none;
}

.recent-post-content h3 a:hover {
    color: var(--primary);
}

.recent-post-content p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
    padding-top: 40px;
    border-top: 2px solid rgba(0, 0, 0, 0.05);
}

.nav-links {
    display: flex;
    gap: 10px;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: white;
    color: var(--dark);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(94, 86, 231, 0.2);
}

/* Responsive Styles for Search */
@media (max-width: 768px) {
    .search-post {
        flex-direction: column;
        padding: 20px;
    }
    
    .search-post-image {
        width: 100%;
        height: 200px;
    }
    
    .search-title {
        font-size: 2rem;
    }
    
    .search-form-large form {
        flex-direction: column;
    }
    
    .search-form-large input[type="submit"] {
        width: 100%;
    }
    
    .search-post-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .recent-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .search-posts {
        gap: 20px;
    }
    
    .search-count {
        font-size: 14px;
    }
    
    .latest-posts-grid,
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .search-title {
        font-size: 1.8rem;
    }
}


/* Archive Page Styles */
.archive-header {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 40px;
}

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

.archive-category-badge,
.archive-tag-badge,
.archive-video-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
}

.archive-title {
    font-size: 2.5rem;
    margin: 0 0 20px;
    font-weight: 800;
}

.archive-title i {
    margin-right: 15px;
    opacity: 0.9;
}

.archive-description {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    opacity: 0.9;
}

/* Author Archive */
.archive-author-info {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    align-items: center;
}

.author-avatar {
    width: 100px;
    height: 100px;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid white;
}

.author-details {
    flex: 1;
}

.author-stats {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
}

.video-stats {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

/* Archive Filters */
.archive-filters {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 40px;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.filter-select {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: white;
    font-size: 0.95rem;
    min-width: 150px;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.view-toggle {
    justify-content: flex-end;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #dee2e6;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6c757d;
}

.view-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.view-btn.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.view-btn:first-child {
    border-radius: 6px 0 0 6px;
}

.view-btn:last-child {
    border-radius: 0 6px 6px 0;
}

/* Archive Content */
.posts-container {
    display: grid;
    gap: 30px;
    margin-bottom: 50px;
}

/* Grid View */
.grid-view .video-card,
.grid-view .archive-post {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-view .video-card:hover,
.grid-view .archive-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.grid-view .video-card {
    grid-template-columns: 1fr;
}

.grid-view .video-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.grid-view .video-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.grid-view .video-card:hover .video-image {
    transform: scale(1.05);
}

.grid-view .video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.grid-view .video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.grid-view .video-card:hover .video-play-overlay {
    opacity: 1;
}

.grid-view .video-play-overlay i {
    color: white;
    font-size: 3rem;
    background: rgba(102, 126, 234, 0.8);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.grid-view .video-content {
    padding: 20px;
}

.grid-view .video-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.grid-view .video-title {
    font-size: 1.2rem;
    margin: 0 0 10px;
}

.grid-view .video-title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}

.grid-view .video-title a:hover {
    color: #667eea;
}

.grid-view .video-excerpt {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.grid-view .video-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #868e96;
}

.grid-view .meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.grid-view .video-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.grid-view .btn-like {
    background: none;
    border: 1px solid #e9ecef;
    padding: 8px 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #868e96;
}

.grid-view .btn-like:hover {
    border-color: #667eea;
    color: #667eea;
}

.grid-view .btn-watch {
    background: #667eea;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.grid-view .btn-watch:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

/* List View */
.list-view .video-card,
.list-view .archive-post {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.list-view .video-thumbnail {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
}

.list-view .video-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Pagination & Load More */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background: white;
    border: 1px solid #dee2e6;
    color: #495057;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-numbers:hover {
    border-color: #667eea;
    color: #667eea;
}

.page-numbers.current {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.page-numbers.dots {
    border: none;
    background: none;
}

.load-more-container {
    text-align: center;
    margin: 40px 0;
}

.load-more-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.loading-indicator {
    text-align: center;
    padding: 40px 0;
}

.spinner {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 10px;
}

/* No Posts Found */
.no-posts-found {
    padding: 80px 0;
    text-align: center;
}

.no-results-content {
    max-width: 500px;
    margin: 0 auto;
}

.no-results-content i {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 20px;
}

.no-results-content h2 {
    font-size: 2rem;
    margin: 0 0 15px;
    color: #495057;
}

.no-results-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 30px;
}

.suggested-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .archive-title {
        font-size: 2rem;
    }
    
    .archive-author-info {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .author-avatar {
        margin: 0 auto;
    }
    
    .author-stats,
    .video-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .filter-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .view-toggle {
        flex-direction: row;
        justify-content: center;
    }
    
    .grid-view .posts-container {
        grid-template-columns: 1fr;
    }
    
    .list-view .video-card,
    .list-view .archive-post {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .suggested-actions {
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .grid-view .posts-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .grid-view .posts-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================
   EDITOR'S CHOICE TEMPLATE
   ============================ */

/* Hero Section */
.editors-choice-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0 60px;
    margin-bottom: 40px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3rem;
    margin: 0 0 20px;
    font-weight: 800;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    min-width: 150px;
    text-align: left;
}

.stat-item i {
    font-size: 2rem;
    opacity: 0.8;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Tabs Navigation */
.editors-choice-tabs {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 40px;
}

.tabs-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
    flex-wrap: wrap;
}

.tabs-nav li {
    padding: 10px 25px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tabs-nav li:hover {
    border-color: #667eea;
    color: #667eea;
}

.tabs-nav li.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

/* Featured Spotlight */
.featured-spotlight {
    margin-bottom: 60px;
}

.spotlight-header {
    text-align: center;
    margin-bottom: 30px;
}

.spotlight-header h2 {
    font-size: 2rem;
    margin: 0 0 10px;
    color: #212529;
}

.spotlight-header p {
    color: #6c757d;
    font-size: 1.1rem;
}

.spotlight-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.spotlight-image {
    position: relative;
    overflow: hidden;
}

.spotlight-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.spotlight-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: #333;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.spotlight-duration {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 600;
}

.spotlight-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spotlight-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.spotlight-title {
    font-size: 2rem;
    margin: 0 0 20px;
    line-height: 1.3;
}

.spotlight-title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}

.spotlight-title a:hover {
    color: #667eea;
}

.spotlight-excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.spotlight-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.spotlight-stats .stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 0.9rem;
}

.spotlight-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.spotlight-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #212529;
}

.author-role {
    font-size: 0.85rem;
    color: #6c757d;
}

.spotlight-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

.no-spotlight {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.no-spotlight i {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 20px;
}

.no-spotlight h3 {
    color: #495057;
    margin: 0 0 10px;
}

.no-spotlight p {
    color: #6c757d;
}

/* Editors Choice Grid */
.editors-choice-grid {
    margin-bottom: 60px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 1.8rem;
    margin: 0;
    color: #212529;
    display: flex;
    align-items: center;
    gap: 10px;
}

.view-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filters-bar {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 600;
    color: #495057;
}

.filter-select {
    padding: 8px 15px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: white;
    min-width: 150px;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: #667eea;
}

/* Editors Card */
.editors-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.editors-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.editors-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: #333;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.card-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

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

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

.card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #6c757d;
    font-size: 2rem;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-content {
    padding: 20px;
}

.video-category {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.card-title {
    font-size: 1.2rem;
    margin: 0 0 10px;
    line-height: 1.4;
}

.card-title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: #667eea;
}

.card-excerpt {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: #868e96;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.card-author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.author-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
}

.card-actions {
    display: flex;
    gap: 10px;
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
}

.btn-view {
    flex: 1;
    padding: 8px 15px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: background 0.3s ease;
}

.btn-view:hover {
    background: #fff;
    color: #5a6fd8;
    border: 1px solid #5a6fd8;
}

.btn-save,
.btn-share {
    width: 40px;
    height: 40px;
    border: 1px solid #dee2e6;
    background: white;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6c757d;
}

.btn-save:hover,
.btn-share:hover {
    border-color: #667eea;
    color: #667eea;
}

/* Posts Container */
.posts-container {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.posts-container.grid-view {
    grid-template-columns: repeat(3, 1fr);
}

.posts-container.list-view .editors-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
}

.posts-container.list-view .card-thumbnail {
    aspect-ratio: 16/9;
    height: 100%;
}

.posts-container.list-view .card-content {
    padding: 25px;
}

/* Recommendations */
.editors-recommendations {
    margin-bottom: 60px;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.recommendation-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.recommendation-card:hover {
    transform: translateY(-5px);
}

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

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

.recommendation-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #667eea;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recommendation-content {
    padding: 20px;
}

.recommendation-title {
    font-size: 1.1rem;
    margin: 0 0 10px;
    line-height: 1.4;
}

.recommendation-title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recommendation-title a:hover {
    color: #667eea;
}

.recommendation-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

.recommendation-meta .category {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 3px;
}

.recommendation-meta .views {
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Editor's Note */
.editors-note {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 60px 0;
    border-radius: 15px;
    margin-bottom: 60px;
}

.note-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.note-icon {
    font-size: 3rem;
    opacity: 0.5;
    margin-bottom: 20px;
}

.note-text h3 {
    font-size: 2rem;
    margin: 0 0 20px;
    font-weight: 700;
}

.note-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 30px;
}

.note-signature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.signature-name {
    font-size: 1.2rem;
    font-weight: 700;
}

.signature-title {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin: 40px 0;
}

.load-more-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* No Content States */
.no-editors-picks {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    grid-column: 1 / -1;
}

.no-editors-picks i {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 20px;
}

.no-editors-picks h3 {
    color: #495057;
    margin: 0 0 10px;
}

.no-editors-picks p {
    color: #6c757d;
    max-width: 500px;
    margin: 0 auto;
}

.no-more-posts {
    text-align: center;
    padding: 30px;
    color: #6c757d;
    grid-column: 1 / -1;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .posts-container.grid-view {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .recommendations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .spotlight-item {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-item {
        min-width: 120px;
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .tabs-nav ul {
        justify-content: center;
    }
    
    .tabs-nav li {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .view-controls {
        align-self: flex-end;
    }
    
    .posts-container.grid-view {
        grid-template-columns: 1fr;
    }
    
    .posts-container.list-view .editors-card {
        grid-template-columns: 1fr;
    }
    
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
    
    .filters-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .spotlight-content {
        padding: 20px;
    }
    
    .spotlight-title {
        font-size: 1.5rem;
    }
    
    .spotlight-actions {
        justify-content: center;
    }
    
    .note-text h3 {
        font-size: 1.5rem;
    }
    
    .note-text p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 300px;
    }
    
    .spotlight-actions .btn {
        flex: 1;
        justify-content: center;
    }
    
    .card-actions {
        flex-wrap: wrap;
    }
    
    .btn-view {
        order: 1;
        width: 100%;
    }
    
    .btn-save,
    .btn-share {
        order: 2;
        flex: 1;
    }
}

/* ============================
   STORIES TEMPLATE
   ============================ */

/* Hero Section */
.stories-hero {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 80px 0 60px;
    margin-bottom: 40px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3rem;
    margin: 0 0 20px;
    font-weight: 800;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    min-width: 150px;
    text-align: left;
}

.stat-item i {
    font-size: 2rem;
    opacity: 0.8;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Story Categories */
.story-categories {
    padding: 60px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    margin: 0 0 10px;
    color: #212529;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-header p {
    color: #6c757d;
    font-size: 1.1rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.category-card {
    background: white;
    border-radius: 10px;
    padding: 30px 20px;
    text-decoration: none;
    color: #333;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.1);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.category-name {
    font-size: 1.2rem;
    margin: 0 0 5px;
    font-weight: 600;
}

.category-count {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.7);
}

.view-all-categories {
    text-align: center;
}

.btn-outline {
    background: #667eea;
    color: #fff;
    border: 2px solid #667eea;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

/* Featured Stories Slider */
.featured-stories {
    padding: 60px 0;
}

.featured-stories-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-slide {
    min-width: 100%;
    display: none;
}

.slider-slide.active {
    display: block;
}

.slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.slide-image {
    position: relative;
    overflow: hidden;
}

.slide-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-thumbnail.placeholder {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #6c757d;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.slide-info {
    padding: 40px;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.video-category {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #333;
}

.read-time {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6c757d;
    font-size: 0.9rem;
}

.slide-title {
    font-size: 2rem;
    margin: 0 0 20px;
    line-height: 1.3;
}

.slide-title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}

.slide-title a:hover {
    color: #667eea;
}

.slide-excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
}

.slide-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.slide-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #212529;
}

.story-date {
    font-size: 0.85rem;
    color: #6c757d;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.slider-prev,
.slider-next {
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-size: 1.2rem;
    color: #333;
}

.slider-prev:hover,
.slider-next:hover {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.no-featured-stories {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.no-featured-stories i {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 20px;
}

.no-featured-stories h3 {
    color: #495057;
    margin: 0 0 10px;
}

.no-featured-stories p {
    color: #6c757d;
}

/* All Stories Grid */
.all-stories {
    padding: 60px 0;
    background: #f8f9fa;
}

.stories-filter {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

/* Story Card */
.story-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: #333;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.story-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.story-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #6c757d;
    font-size: 2rem;
}

.story-category {
    position: absolute;
    bottom: 151px;
    left: 5px;
}

.story-content {
    padding: 20px;
}

.story-title {
    font-size: 1.2rem;
    margin: 0 0 10px;
    line-height: 1.4;
}

.story-title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}

.story-title a:hover {
    color: #667eea;
}

.story-excerpt {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: #868e96;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.story-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 15px 0;
    border-top: 1px solid #e9ecef;
}

.author-avatar img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
}

.author-stories {
    font-size: 0.75rem;
    color: #6c757d;
}

.story-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.btn-read {
    flex: 1;
    padding: 10px 15px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: background 0.3s ease;
}

.btn-read:hover {
    background: #fff;
    color: #5a6fd8;
    border: 1px solid #5a6fd8;
}

.action-buttons {
    display: flex;
    gap: 5px;
}

.btn-save,
.btn-share {
    width: 40px;
    height: 40px;
    border: 1px solid #dee2e6;
    background: white;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6c757d;
}

.btn-save:hover,
.btn-share:hover {
    border-color: #667eea;
    color: #667eea;
}

.btn-save.saved i {
    color: #f5576c;
}

.no-stories {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
}

.no-stories i {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 20px;
}

.no-stories h3 {
    color: #495057;
    margin: 0 0 10px;
}

.no-stories p {
    color: #6c757d;
}

/* Storytelling Tips */
.storytelling-tips {
    padding: 60px 0;
}

.tips-header {
    text-align: center;
    margin-bottom: 40px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.tip-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tip-icon {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 20px;
}

.tip-title {
    font-size: 1.2rem;
    margin: 0 0 15px;
    color: #212529;
    font-weight: 600;
}

.tip-content {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Top Storytellers */
.top-storytellers {
    padding: 60px 0;
    background: #f8f9fa;
}

.storytellers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.storyteller-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.storyteller-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.storyteller-avatar {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.storyteller-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #667eea;
}

.author-rank {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #ffd700;
    color: #333;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.storyteller-name {
    font-size: 1.3rem;
    margin: 0 0 10px;
    color: #212529;
}

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

.storyteller-name a:hover {
    color: #667eea;
}

.storyteller-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #6c757d;
}

.storyteller-stats .stat {
    display: flex;
    align-items: center;
    gap: 5px;
}

.storyteller-bio {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.no-storytellers {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

/* Call to Action */
.stories-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin: 0 0 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Load More */
.load-more-container {
    text-align: center;
    margin: 40px 0;
}

.load-more-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.no-more-stories {
    text-align: center;
    padding: 30px;
    color: #6c757d;
    grid-column: 1 / -1;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .storytellers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .slide-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .slide-info {
        padding: 30px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-item {
        min-width: 120px;
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .storytellers-grid {
        grid-template-columns: 1fr;
    }
    
    .slide-title {
        font-size: 1.5rem;
    }
    
    .stories-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 300px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .slider-controls {
        padding: 0 10px;
    }
    
    .slide-info {
        padding: 20px;
    }
    
    .story-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-read {
        order: 1;
        width: 100%;
    }
    
    .action-buttons {
        order: 2;
        width: 100%;
        justify-content: center;
    }
}

/* ============================
   POSTS TEMPLATE
   ============================ */

/* Hero Section */
.posts-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0 60px;
    margin-bottom: 40px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3rem;
    margin: 0 0 20px;
    font-weight: 800;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    min-width: 150px;
    text-align: left;
}

.stat-item i {
    font-size: 2rem;
    opacity: 0.8;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Posts Content */
.posts-content {
    padding: 40px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

/* Filter Bar */
.posts-filter-bar {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-left {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 600;
    color: #495057;
    white-space: nowrap;
}

.filter-select {
    padding: 8px 15px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: white;
    min-width: 150px;
    cursor: pointer;
    font-size: 0.95rem;
}

.filter-select:focus {
    outline: none;
    border-color: #667eea;
}

.view-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.view-toggle span {
    font-weight: 600;
    color: #495057;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #dee2e6;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6c757d;
}

.view-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.view-btn.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.view-btn:first-child {
    border-radius: 6px 0 0 6px;
}

.view-btn:last-child {
    border-radius: 0 6px 6px 0;
}

/* Posts Container */
.posts-container {
    display: grid;
    gap: 30px;
}

/* Grid View */
.posts-container.grid-view {
    grid-template-columns: repeat(2, 1fr);
}

/* List View */
.posts-container.list-view .post-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

.posts-container.list-view .post-thumbnail {
    height: 100%;
    aspect-ratio: 16/9;
}

/* Post Card */
.post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.featured-badge {
    position: relative;
    top: 0px;
    left: 0px;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: #333;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.post-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.post-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #6c757d;
    font-size: 2rem;
}

.post-category {
    position: absolute;
    bottom: 15px;
    left: 15px;
}

.video-category {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #333;
}

.post-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: #868e96;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-title {
    font-size: 1.3rem;
    margin: 0 0 15px;
    line-height: 1.4;
}

.post-title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #667eea;
}

.post-excerpt {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    padding: 15px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.post-stats .stat-item {
    background: none;
    padding: 0;
    min-width: auto;
    gap: 5px;
    font-size: 0.85rem;
    color: #6c757d;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    display: inline-block;
    padding: 4px 10px;
    background: #f8f9fa;
    color: #495057;
    border-radius: 4px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #667eea;
    color: white;
}

.post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.btn-read {
    flex: 1;
    padding: 10px 15px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.btn-read:hover {
    background: #fff;
    color: #5a6fd8;
    border: 1px solid #5a6fd8;
}

.action-buttons {
    display: flex;
    gap: 5px;
}

.btn-save,
.btn-share {
    width: 40px;
    height: 40px;
    border: 1px solid #dee2e6;
    background: white;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6c757d;
}

.btn-save:hover,
.btn-share:hover {
    border-color: #667eea;
    color: #667eea;
}

.btn-save.saved i {
    color: #f5576c;
}

/* No Posts */
.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.no-posts i {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 20px;
}

.no-posts h3 {
    color: #495057;
    margin: 0 0 10px;
}

.no-posts p {
    color: #6c757d;
}

/* Sidebar */
.posts-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 1.1rem;
    margin: 0 0 20px;
    color: #212529;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

/* Search Widget */
.search-widget .search-form {
    display: flex;
    gap: 5px;
}

.search-widget input[type="text"] {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 0.95rem;
}

.search-widget input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
}

.search-widget button {
    width: 50px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-widget button:hover {
    background: #5a6fd8;
}

/* Categories Widget */
.categories-list {
    list-style: none;
    margin: 0 0 15px;
    padding: 0;
}

.categories-list li {
    border-bottom: 1px solid #f1f3f5;
}

.categories-list li:last-child {
    border-bottom: none;
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: #495057;
    text-decoration: none;
    transition: color 0.3s ease;
}

.categories-list a:hover {
    color: #667eea;
}

.category-count {
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #6c757d;
}

.view-all {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.view-all:hover {
    gap: 10px;
}

/* Popular Posts Widget */
.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-post {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.post-rank {
    background: #667eea;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.popular-post:nth-child(1) .post-rank {
    background: #ffd700;
    color: #333;
}

.popular-post:nth-child(2) .post-rank {
    background: #c0c0c0;
    color: #333;
}

.popular-post:nth-child(3) .post-rank {
    background: #cd7f32;
    color: white;
}

.post-title {
    font-size: 0.95rem;
    margin: 0 0 5px;
    line-height: 1.4;
}

.popular-post .post-title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}

.popular-post .post-title a:hover {
    color: #667eea;
}

.popular-post .post-meta {
    display: flex;
    gap: 10px;
    font-size: 0.75rem;
    color: #6c757d;
    margin: 0;
    padding: 0;
    border: none;
}

/* Tags Widget */
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags-list .tag {
    font-size: 0.8rem;
    padding: 5px 10px;
}

/* Newsletter Widget */
.newsletter-widget p {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input[type="email"] {
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 0.95rem;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #667eea;
}

.btn-subscribe {
    padding: 12px 15px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.btn-subscribe:hover {
    background: #5a6fd8;
}

/* Featured Writers */
.featured-writers {
    padding: 60px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    margin: 0 0 10px;
    color: #212529;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-header p {
    color: #6c757d;
    font-size: 1.1rem;
}

.writers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.writer-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.writer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.writer-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.writer-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #667eea;
}

.verified-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: white;
    color: #667eea;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.writer-name {
    font-size: 1.2rem;
    margin: 0 0 10px;
    color: #212529;
}

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

.writer-name a:hover {
    color: #667eea;
}

.writer-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #6c757d;
}

.writer-stats .stat {
    display: flex;
    align-items: center;
    gap: 5px;
}

.writer-bio {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Call to Action */
.posts-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin: 0 0 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* Load More */
.load-more-container {
    text-align: center;
    margin: 40px 0;
}

.load-more-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.no-more-posts {
    text-align: center;
    padding: 30px;
    color: #6c757d;
    grid-column: 1 / -1;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .writers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .posts-container.grid-view {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .posts-sidebar {
        position: static;
        margin-top: 40px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-item {
        min-width: 120px;
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .posts-filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .filter-left {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .posts-container.list-view .post-card {
        grid-template-columns: 1fr;
    }
    
    .writers-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 300px;
    }
    
    .post-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-read {
        order: 1;
        width: 100%;
    }
    
    .action-buttons {
        order: 2;
        width: 100%;
        justify-content: center;
    }
}

/* ============================
   ARTICLES TEMPLATE
   ============================ */

/* Hero Section */
.articles-hero {
    background: linear-gradient(135deg, #4c6ef5 0%, #3b5bdb 100%);
    color: white;
    padding: 80px 0 60px;
    margin-bottom: 40px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3rem;
    margin: 0 0 20px;
    font-weight: 800;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    min-width: 150px;
    text-align: left;
}

.stat-item i {
    font-size: 2rem;
    opacity: 0.8;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ==========================================================================
   Articles Template Specific Styles
   ========================================================================== */

/* Articles Hero */
.articles-template-hero {
    background: linear-gradient(135deg, #4c6ef5 0%, #3b5bdb 100%);
    color: white;
    padding: 100px 0 80px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.articles-template-hero::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 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".1" fill="%23ffffff"/></svg>');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
}

.articles-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.articles-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
}

.articles-hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.articles-hero-description {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.articles-hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.articles-stat-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.articles-stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.articles-stat-item i {
    font-size: 32px;
    color: #00d4aa;
}

.articles-stat-content {
    display: flex;
    flex-direction: column;
}

.articles-stat-number {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.articles-stat-label {
    font-size: 14px;
    opacity: 0.8;
    font-weight: 500;
}

/* Featured Articles */
.articles-template-featured {
    padding: 60px 0;
    background: var(--light);
}

.articles-template-header {
    text-align: center;
    margin-bottom: 40px;
}

.articles-template-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.articles-template-header p {
    color: var(--gray);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.articles-template-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    min-height: 500px;
}

.articles-large-featured {
    grid-column: span 2;
    grid-row: span 1;
}

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

.articles-template-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.articles-template-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.articles-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.articles-large-featured .articles-card-inner {
    flex-direction: row;
}

.articles-card-image {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.articles-large-featured .articles-card-image {
    width: 60%;
    height: 100%;
}

.articles-small-featured .articles-card-image {
    height: 200px;
}

.articles-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.articles-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    color: var(--gray);
    font-size: 2rem;
}

.articles-card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--warning) 0%, #ffd166 100%);
    color: var(--dark);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.articles-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
}

.articles-card-content {
    padding: 30px;
    background: white;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.articles-large-featured .articles-card-content {
    width: 40%;
    justify-content: center;
}

.articles-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.articles-card-category {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.articles-card-date {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--gray);
    font-size: 0.85rem;
}

.articles-card-title {
    font-size: 1.5rem;
    margin: 0 0 20px;
    line-height: 1.4;
}

.articles-large-featured .articles-card-title {
    font-size: 2rem;
}

.articles-card-title a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

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

.articles-card-excerpt {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
}

.articles-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: auto;
}

.articles-card-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.articles-card-author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.articles-author-name {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}

.articles-card-stats {
    display: flex;
    gap: 15px;
}

.articles-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--gray);
    font-size: 0.85rem;
}

.articles-no-featured {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
    border: 2px dashed var(--gray-light);
}

.articles-no-featured i {
    font-size: 3rem;
    color: var(--gray-light);
    margin-bottom: 20px;
}

.articles-no-featured h3 {
    color: var(--dark);
    margin: 0 0 10px;
}

.articles-no-featured p {
    color: var(--gray);
}

/* Articles Content Layout */
.articles-template-content {
    padding: 60px 0;
}

.articles-template-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

/* Articles Navigation */
.articles-template-nav {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.articles-template-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
    flex-wrap: wrap;
}

.articles-template-nav li {
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark);
    background: var(--light);
    transition: var(--transition);
    border: 1px solid transparent;
}

.articles-template-nav li:hover {
    background: rgba(94, 86, 231, 0.1);
    color: var(--primary);
}

.articles-nav-active {
    background: var(--gradient-primary) !important;
    color: white !important;
    border-color: transparent !important;
}

.articles-category-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.articles-more-categories {
    position: relative;
}

.articles-more-toggle {
    padding: 10px 20px;
    background: var(--light);
    border: 1px solid var(--gray-light);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.articles-more-toggle:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.articles-dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-hover);
    min-width: 200px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 100;
    margin-top: 10px;
}

.articles-more-categories:hover .articles-dropdown-content {
    display: block;
}

.articles-category-item {
    width: 100%;
    padding: 12px 20px;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark);
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.articles-category-item:last-child {
    border-bottom: none;
}

.articles-category-item:hover {
    background: var(--light);
    color: var(--primary);
}

/* Articles Filter */
.articles-template-filter {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.articles-filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.articles-filter-group label {
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
}

.articles-filter-select {
    padding: 10px 15px;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    background: white;
    min-width: 180px;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.articles-filter-select:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(94, 86, 231, 0.1);
}

/* Articles List */
.articles-template-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Article Item */
.articles-template-item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.articles-template-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.articles-item-inner {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

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

.articles-item-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.articles-template-item:hover .articles-item-thumbnail {
    transform: scale(1.05);
}

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

.articles-item-content {
    padding: 30px 30px 30px 0;
    display: flex;
    flex-direction: column;
}

.articles-item-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--gray);
}

.articles-item-category {
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.articles-item-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.articles-item-title {
    font-size: 1.5rem;
    margin: 0 0 15px;
    line-height: 1.4;
    color: var(--dark);
}

.articles-item-title a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

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

.articles-item-excerpt {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.articles-item-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.articles-item-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.articles-item-author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.articles-item-author-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}

.articles-item-stats {
    display: flex;
    gap: 15px;
    margin-left: auto;
}

.articles-item-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--gray);
    font-size: 0.85rem;
}

.articles-no-items {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.articles-no-items i {
    font-size: 3rem;
    color: var(--gray-light);
    margin-bottom: 20px;
}

.articles-no-items h3 {
    color: var(--dark);
    margin: 0 0 10px;
}

.articles-no-items p {
    color: var(--gray);
    font-size: 1rem;
}

/* Sidebar */
.articles-template-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.articles-sidebar-widget {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
}

.articles-widget-title {
    font-size: 1.3rem;
    margin: 0 0 20px;
    color: var(--dark);
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Popular Articles */
.articles-popular-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.articles-popular-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.articles-popular-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.articles-popular-rank {
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.articles-popular-item:nth-child(1) .articles-popular-rank {
    background: var(--warning);
    color: var(--dark);
}

.articles-popular-item:nth-child(2) .articles-popular-rank {
    background: #c0c0c0;
    color: var(--dark);
}

.articles-popular-item:nth-child(3) .articles-popular-rank {
    background: #cd7f32;
    color: white;
}

.articles-popular-content {
    flex: 1;
}

.articles-popular-title {
    font-size: 0.95rem;
    margin: 0 0 5px;
    line-height: 1.4;
    color: var(--dark);
}

.articles-popular-title a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

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

.articles-popular-meta {
    font-size: 0.75rem;
    color: var(--gray);
}

.articles-no-popular {
    color: var(--gray);
    font-size: 0.9rem;
    text-align: center;
    padding: 20px 0;
}

/* Newsletter Signup */
.articles-newsletter-desc {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.articles-digest-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.articles-digest-form input[type="email"] {
    padding: 12px 15px;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
}

.articles-digest-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(94, 86, 231, 0.1);
}

.articles-digest-btn {
    padding: 12px 15px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.articles-digest-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(94, 86, 231, 0.3);
}

/* Categories List */
.articles-categories-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.articles-category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.articles-category-link:last-child {
    border-bottom: none;
}

.articles-category-link:hover {
    color: var(--primary);
    padding-left: 5px;
}

.articles-category-count {
    background: var(--light);
    color: var(--gray);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Load More */
.articles-load-more {
    text-align: center;
    margin: 40px 0;
}

.articles-load-more-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.articles-load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(94, 86, 231, 0.3);
}

/* Call to Action */
.articles-template-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #38b2ac 0%, #319795 100%);
    color: white;
    text-align: center;
}

.articles-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.articles-cta-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.articles-cta-content h2 {
    font-size: 2.5rem;
    margin: 0 0 20px;
    font-weight: 700;
    color: white;
}

.articles-cta-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.articles-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.articles-cta-btn {
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.articles-cta-primary {
    background: white;
    color: #38b2ac;
}

.articles-cta-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .articles-template-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }
    
    .articles-large-featured {
        grid-column: span 2;
    }
    
    .articles-template-wrapper {
        grid-template-columns: 1fr;
    }
    
    .articles-template-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 992px) {
    .articles-template-hero {
        padding: 80px 0 60px;
    }
    
    .articles-hero-title {
        font-size: 36px;
    }
    
    .articles-hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .articles-template-grid {
        grid-template-columns: 1fr;
    }
    
    .articles-large-featured {
        grid-column: span 1;
    }
    
    .articles-large-featured .articles-card-inner {
        flex-direction: column;
    }
    
    .articles-large-featured .articles-card-image,
    .articles-large-featured .articles-card-content {
        width: 100%;
    }
    
    .articles-large-featured .articles-card-image {
        height: 250px;
    }
    
    .articles-item-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .articles-item-content {
        padding: 25px;
    }
    
    .articles-template-nav {
        flex-direction: column;
        align-items: stretch;
    }
    
    .articles-template-nav ul {
        justify-content: center;
    }
    
    .articles-template-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .articles-filter-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .articles-filter-select {
        width: 100%;
    }
    
    .articles-hero-title {
        font-size: 28px;
    }
    
    .articles-hero-description {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .articles-template-nav li {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .articles-more-toggle {
        width: 100%;
        justify-content: center;
    }
    
    .articles-hero-stats {
        grid-template-columns: 1fr;
    }
    
    .articles-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .articles-cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Editorial Picks */
.picks-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pick-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.pick-image {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
}

.pick-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pick-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #6c757d;
    font-size: 1.2rem;
}

.pick-content {
    flex: 1;
}

.pick-title {
    font-size: 0.95rem;
    margin: 0 0 5px;
    line-height: 1.4;
}

.pick-title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}

.pick-title a:hover {
    color: #4c6ef5;
}

.pick-meta {
    display: flex;
    gap: 10px;
    font-size: 0.75rem;
    color: #6c757d;
}

.pick-category {
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 4px;
}

.no-picks {
    color: #6c757d;
    font-size: 0.9rem;
    text-align: center;
    padding: 20px 0;
}

/* Reading Lists */
.reading-lists-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.reading-list {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.reading-list:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.list-title {
    font-size: 1rem;
    margin: 0 0 8px;
    color: #212529;
    font-weight: 600;
}

.list-description {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

.btn-list {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #4c6ef5;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.btn-list:hover {
    gap: 10px;
}

/* Top Contributors */
.contributors-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contributor-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contributor-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.contributor-rank {
    width: 30px;
    height: 30px;
    background: #4c6ef5;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.contributor-item:nth-child(1) .contributor-rank {
    background: #ffd700;
    color: #333;
}

.contributor-item:nth-child(2) .contributor-rank {
    background: #c0c0c0;
    color: #333;
}

.contributor-item:nth-child(3) .contributor-rank {
    background: #cd7f32;
    color: white;
}

.contributor-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.contributor-name {
    font-size: 0.95rem;
    margin: 0 0 3px;
    font-weight: 600;
}

.contributor-name a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contributor-name a:hover {
    color: #4c6ef5;
}

.contributor-stats {
    font-size: 0.8rem;
    color: #6c757d;
}

.no-contributors {
    color: #6c757d;
    font-size: 0.9rem;
    text-align: center;
    padding: 20px 0;
}

/* Newsletter Signup */
.newsletter-description {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.digest-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.digest-form input[type="email"] {
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 0.95rem;
}

.digest-form input[type="email"]:focus {
    outline: none;
    border-color: #4c6ef5;
}

.btn-digest {
    padding: 12px 15px;
    background: #4c6ef5;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.btn-digest:hover {
    background: #3b5bdb;
}

.privacy-notice {
    margin-top: 15px;
    font-size: 0.75rem;
    color: #868e96;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Article Series */
.article-series {
    padding: 80px 0;
    background: #f8f9fa;
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.series-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.series-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.series-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.series-title {
    font-size: 1.2rem;
    margin: 0 0 10px;
    color: #212529;
    font-weight: 600;
}

.series-description {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.series-meta {
    margin-bottom: 20px;
}

.article-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #4c6ef5;
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-series {
    display: inline-block;
    padding: 8px 20px;
    background: #4c6ef5;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-series:hover {
    background: #3b5bdb;
    transform: translateY(-2px);
}

/* Call to Action */
.articles-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #38b2ac 0%, #319795 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin: 0 0 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: white;
    color: #38b2ac;
}

.btn-primary:hover {
    background: #667eea;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: #fff;
}

/* Load More */
.load-more-container {
    text-align: center;
    margin: 40px 0;
}

.load-more-btn {
    background: #4c6ef5;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #3b5bdb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 110, 245, 0.3);
}

.load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.no-more-articles {
    text-align: center;
    padding: 30px;
    color: #6c757d;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .featured-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }
    
    .large-featured {
        grid-column: span 2;
    }
    
    .series-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .articles-sidebar {
        position: static;
        margin-top: 40px;
    }
    
    .article-inner {
        grid-template-columns: 250px 1fr;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-item {
        min-width: 120px;
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .large-featured {
        grid-column: span 1;
    }
    
    .large-featured .article-inner {
        flex-direction: column;
    }
    
    .large-featured .article-image,
    .large-featured .article-content {
        width: 100%;
    }
    
    .articles-nav {
        flex-direction: column;
        align-items: stretch;
    }
    
    .articles-nav ul {
        justify-content: center;
    }
    
    .article-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .article-content {
        padding: 25px;
    }
    
    .article-meta {
        justify-content: center;
    }
    
    .series-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 300px;
    }
    
    .articles-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .article-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-read {
        order: 1;
        width: 100%;
    }
    
    .action-buttons {
        order: 2;
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Video Template Styles
   ========================================================================== */

/* Videos Hero Section */
.videos-hero {
    background: linear-gradient(135deg, #5e56e7 0%, #7c3aed 100%);
    color: white;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.videos-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M1200 120L0 16.48 0 0 1200 0 1200 120z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
}

.videos-hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    margin-bottom: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
}

.hero-badge i {
    font-size: 16px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-item i {
    font-size: 32px;
    color: #00d4aa;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
    font-weight: 500;
}

/* Video Categories Section */
.video-categories {
    padding: 60px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.section-header p {
    color: #666;
    font-size: 16px;
}

/* Categories Slider */
.categories-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.slider-container {
    overflow: hidden;
    margin: 0 auto;
}

.slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
    will-change: transform;
}

/* Category Slide - Fixed width for 4 slides */
.category-slide {
    flex: 0 0 calc(25% - 15px); /* 4 slides with gap */
    min-width: calc(25% - 15px);
    display: block;
    padding: 30px 20px;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.category-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.2) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.category-slide:hover::before {
    opacity: 1;
}

.category-icon {
    font-size: 36px;
    margin-bottom: 15px;
    text-align: center;
}



.category-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #131212 !important;
}

.category-count {
    font-size: 14px;
    opacity: 0.9;
    color: rgba(19 18 18 / 90%);
    background-color: transparent;
}

/* Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-nav:hover {
    background: #007bff;
    color: white;
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

.slider-nav.prev {
    left: 0;
}

.slider-nav.next {
    right: 0;
}

.slider-nav.hidden {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.slider-nav.hidden:hover {
    background: white;
    color: #333;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .category-slide {
        flex: 0 0 calc(33.333% - 13.33px); /* 3 slides on tablet */
        min-width: calc(33.333% - 13.33px);
    }
    
    .categories-slider {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .category-slide {
        flex: 0 0 calc(50% - 10px); /* 2 slides on mobile */
        min-width: calc(50% - 10px);
    }
    
    .categories-slider {
        padding: 0 20px;
    }
    
    .slider-nav {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .category-slide {
        flex: 0 0 calc(100% - 0px); /* 1 slide on small mobile */
        min-width: calc(100% - 0px);
    }
    
    .slider-track {
        gap: 15px;
    }
}

/* Videos Content */
.videos-content {
    padding: 60px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

/* Filter Bar */
.videos-filter-bar {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-left {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.filter-select {
    padding: 8px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: white;
    min-width: 180px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #5e56e7;
}

.filter-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.view-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.view-toggle span {
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover {
    border-color: #5e56e7;
    color: #5e56e7;
}

.view-btn.active {
    background: #5e56e7;
    border-color: #5e56e7;
    color: white;
}

.btn-advanced-filters {
    padding: 10px 20px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-advanced-filters:hover {
    background: #5e56e7;
    border-color: #5e56e7;
    color: white;
}

/* Videos Container */
.videos-container {
    margin-bottom: 40px;
}

.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.list-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.no-videos {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px dashed #e0e0e0;
}

.no-videos i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 20px;
}

.no-videos h3 {
    font-size: 24px;
    color: #666;
    margin-bottom: 10px;
}

.no-videos p {
    color: #999;
    font-size: 16px;
}

/* Load More */
.load-more-container {
    text-align: center;
    padding: 20px 0;
}

.load-more-btn {
    padding: 15px 30px;
    background: #5e56e7;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #7c3aed;
    transform: translateY(-2px);
}

.load-more-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.loading-videos {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}

.loading-videos i {
    margin-right: 10px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Sidebar */
.videos-sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
}

.sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-title i {
    color: #5e56e7;
}

/* Featured Videos */
.featured-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.featured-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.featured-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.featured-rank {
    width: 30px;
    height: 30px;
    background: #5e56e7;
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.featured-thumbnail {
    position: relative;
    width: 70px;
    height: 50px;
    flex-shrink: 0;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.featured-image-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 20px;
}

.featured-duration {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 3px;
}

.featured-content {
    flex: 1;
}

.featured-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.3;
}

.featured-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.featured-title a:hover {
    color: #5e56e7;
}

.featured-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #666;
}

.featured-meta i {
    margin-right: 3px;
}

.no-trending {
    text-align: center;
    color: #999;
    font-size: 14px;
    padding: 20px 0;
}

/* Top Creators */
.creators-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.creator-item {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.creator-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.creator-rank {
    width: 30px;
    height: 30px;
    background: #f0f0f0;
    color: #666;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.creator-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.creator-info {
    flex: 1;
}

.creator-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.creator-name a {
    color: #1a1a1a;
    text-decoration: none;
}

.creator-name a:hover {
    color: #5e56e7;
}

.creator-stats {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #666;
}

.creator-stats i {
    margin-right: 3px;
}

.no-creators {
    text-align: center;
    color: #999;
    font-size: 14px;
    padding: 20px 0;
}

/* Video Playlists */
.playlists-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.playlist-item {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.playlist-item:hover {
    background: #5e56e7;
    transform: translateX(5px);
}

.playlist-item:hover .playlist-icon {
    background: white;
    color: #5e56e7;
}

.playlist-item:hover .playlist-info h4 {
    color: white;
}

.playlist-item:hover .playlist-info p {
    color: rgba(255, 255, 255, 0.8);
}

.playlist-icon {
    width: 50px;
    height: 50px;
    background: #5e56e7;
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.playlist-info {
    flex: 1;
}

.playlist-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.playlist-info p {
    font-size: 13px;
    color: #666;
    margin: 0;
    transition: color 0.3s ease;
}

/* Subscribe Widget */
.widget-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.subscribe-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-subscribe-youtube,
.btn-subscribe-email {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-subscribe-youtube {
    background: #ff0000;
    color: white;
}

.btn-subscribe-youtube:hover {
    background: #cc0000;
}

.btn-subscribe-email {
    background: #f0f0f0;
    color: #333;
}

.btn-subscribe-email:hover {
    background: #e0e0e0;
}

/* Video Upload CTA */
.video-upload-cta {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-icon {
    font-size: 48px;
    color: #00d4aa;
    margin-bottom: 20px;
}

.video-upload-cta h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.video-upload-cta p {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #5e56e7;
    color: white;
}

.btn-primary:hover {
    background: #7c3aed;
    transform: translateY(-2px);
}

.btn-outline {
    background: #667eea;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: white;
    color: #667eea;
    border-color: 2px solid #667eea;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #f0f0f0;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.modal-close {
    width: 40px;
    height: 40px;
    border: none;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #5e56e7;
    color: white;
}

.modal-body {
    padding: 30px;
}

.video-player-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    margin-bottom: 20px;
}

.video-player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.video-details {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .videos-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .videos-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-left {
        flex-direction: column;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .filter-right {
        justify-content: space-between;
    }
    
    .grid-view {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 576px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .category-slide {
        flex: 0 0 200px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Featured Articles Styles */
.featured-articles {
    margin: 40px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.article-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.article-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.article-thumbnail .placeholder-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.placeholder-overlay i {
    font-size: 48px;
    margin-bottom: 10px;
}

.placeholder-overlay span {
    font-size: 14px;
    font-weight: 500;
}

.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-content {
    padding: 20px;
}

.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #666;
}

.article-meta i {
    margin-right: 5px;
}

.article-title {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 12px;
}

.article-title a {
    color: #333;
    text-decoration: none;
}

.article-title a:hover {
    color: #667eea;
}

.article-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.article-read-more {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.article-read-more:hover {
    color: #764ba2;
}

.article-read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.article-read-more:hover i {
    transform: translateX(3px);
}

.article-stats {
    font-size: 13px;
    color: #888;
}

.article-views i {
    margin-right: 5px;
}

.no-featured-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 10px;
}

.no-featured-message h3 {
    color: #333;
    margin-bottom: 10px;
}

.no-featured-message h4 {
    color: #666;
    margin: 20px 0 10px;
}

.recent-articles-fallback {
    list-style: none;
    padding: 0;
    max-width: 400px;
    margin: 20px auto;
    text-align: left;
}

.recent-articles-fallback li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.recent-articles-fallback li:last-child {
    border-bottom: none;
}

.recent-articles-fallback a {
    color: #667eea;
    text-decoration: none;
}

.recent-articles-fallback a:hover {
    text-decoration: underline;
}

/* ============================================
   SUBSCRIBE PAGE STYLES
   ============================================ */

/* Subscribe Hero */
.subscribe-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 60px;
}

.subscribe-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 800;
    color: #fff;
    text-transform: capitalize;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Subscribe Benefits */
.subscribe-benefits {
    margin-bottom: 80px;
}

.subscribe-benefits h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.benefit-item i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
}

.benefit-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

.benefit-item p {
    color: var(--gray);
    line-height: 1.6;
}

/* Subscription Options */
.subscription-options {
    margin-bottom: 80px;
}

.subscription-options h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--dark);
}

.subscription-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.subscription-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.subscription-card:hover {
    transform: translateY(-10px);
}

.subscription-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
}

.subscription-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--light);
}

.plan-header h3 {
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 15px;
}

.plan-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

.plan-price .period {
    font-size: 16px;
    font-weight: 400;
    color: var(--gray);
}

.plan-features {
    list-style: none;
    margin-bottom: 40px;
}

.plan-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--dark);
}

.plan-features i {
    margin-right: 10px;
    width: 20px;
}

.plan-features .fa-check {
    color: #4CAF50;
}

.plan-features .fa-times {
    color: #ff6b6b;
}

.subscription-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.free-btn {
    background: var(--light);
    color: var(--dark);
}

.free-btn:hover {
    background: #e0e0e0;
}

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

.premium-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.pro-btn {
    background: #FF6B8B;
    color: white;
}

.pro-btn:hover {
    color: #FF6B8B;
    background: #fff;
    border: 1px solid #FF6B8B;
    transform: translateY(-2px);
}

/* Email Subscription */
.email-subscription {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px;
    border-radius: 20px;
    margin-top: 80px;
}

.email-subscription-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.email-subscription h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--dark);
}

.email-subscription > p {
    color: var(--gray);
    margin-bottom: 40px;
    font-size: 18px;
}

.subscription-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--light);
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 59, 130, 246), 0.1);
}

.form-group.consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--gray);
    cursor: pointer;
}

.form-group.consent input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

.form-group.consent a {
    color: var(--primary);
    text-decoration: none;
}

.form-group.consent a:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner {
    display: none;
}

.subscription-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    display: none;
}

.subscription-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.subscription-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Subscription Modal */
.subscription-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.subscription-modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray);
}

.close-modal:hover {
    color: var(--dark);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 10px;
}

.modal-body {
    margin-bottom: 30px;
}

.payment-form .form-group {
    margin-bottom: 20px;
}

.payment-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 500;
}

.modal-footer {
    display: flex;
    gap: 15px;
}

.cancel-btn {
    flex: 1;
    padding: 15px;
    background: var(--light);
    color: var(--dark);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

.cancel-btn:hover {
    background: #e0e0e0;
}

/* Responsive */
@media (max-width: 992px) {
    .subscription-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .subscription-card.popular {
        transform: none;
    }
    
    .subscription-card.popular:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .subscribe-hero h1 {
        font-size: 36px;
    }
    
    .subscribe-hero {
        padding: 60px 0;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .email-subscription {
        padding: 40px 20px;
    }
    
    .subscription-form {
        padding: 30px 20px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
}

/* Trending Images Section */
        .trending-images {
            margin: 40px 0;
            padding: 20px 0;
        }
        
        .trending-images .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }
        
        .trending-images .section-title {
            font-size: 33px;
            color: #333;
            margin: 0;
        }
        
        .trending-images .section-title i {
            color: #fff;
            margin-right: 10px;
        }
        
        .trending-images .view-all {
            color: #5e56e7;
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
        }
        
        .trending-images .view-all i {
            margin-left: 5px;
            transition: transform 0.3s ease;
        }
        
        .trending-images .view-all:hover i {
            transform: translateX(5px);
        }
        
        /* Images Grid */
        .images-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
        }
        
        /* Image Card */
        .image-card {
            background: #fff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .image-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }
        
        .image-card-link {
            text-decoration: none;
            color: inherit;
            display: block;
        }
        
        /* Image Thumbnail */
        .image-card-thumbnail {
            position: relative;
            overflow: hidden;
            padding-top: 56.25%; /* 16:9 Aspect Ratio */
        }
        
        .image-card-thumbnail img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .image-card:hover .image-card-thumbnail img {
            transform: scale(1.05);
        }
        
        .image-placeholder {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #5e56e7 0%, #ff6b8b 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }
        
        .image-placeholder i {
            font-size: 40px;
        }
        
        /* Image Overlay */
        .image-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            padding: 15px;
        }
        
        .image-views {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            background: rgba(0,0,0,0.5);
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
        }
        
        /* Image Content */
        .image-card-content {
            padding: 20px;
        }
        
        .image-title {
            font-size: 18px;
            font-weight: 600;
            margin: 0 0 10px 0;
            color: #333;
            line-height: 1.4;
        }
        
        .image-meta {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
        }
        
        .image-category {
            padding: 4px 10px;
            background: rgba(94, 86, 231, 0.1);
            color: #5e56e7;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
        }
        
        .image-date {
            font-size: 12px;
            color: #666;
        }
        
        .image-author {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .image-author img {
            width: 24px;
            height: 24px;
            border-radius: 50%;
        }
        
        .image-author span {
            font-size: 13px;
            color: #5e56e7;
            font-weight: 600;
        }
        
        /* No Images Message */
        .no-images-message {
            grid-column: 1 / -1;
            text-align: center;
            padding: 60px 20px;
            background: #f8f9fa;
            border-radius: 12px;
            border: 2px dashed #dee2e6;
        }
        
        .no-images-message p {
            color: #666;
            margin-bottom: 10px;
            font-size: 16px;
        }
        
        .no-images-message p:first-child {
            color: #333;
            font-size: 18px;
            font-weight: 600;
        }
        
        .no-images-message p small {
            color: #888;
            font-size: 14px;
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            .images-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
                gap: 20px;
            }
            
            .trending-images .section-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            
            .trending-images .section-title {
                font-size: 20px;
            }
        }
        
        @media (max-width: 480px) {
            .images-grid {
                grid-template-columns: 1fr;
            }
            
            .image-card-content {
                padding: 15px;
            }
            
            .image-title {
                font-size: 16px;
            }
        }