:root {
    /* Neomorphic Color Palette */
    --primary-dark: #0A0E27;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --ai-blue: #00D4FF;
    --ai-purple: #7928CA;
    --ai-pink: #FF0080;

    /* Text Colors */
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a5e;
    --text-light: #8b8b9e;
    --text-inverse: #ffffff;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f7f8fc;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --bg-dark: #0f1419;

    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    /* Shadows for Depth */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 20px rgba(0,212,255,0.3);

    /* Animations */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(to bottom, #f7f8fc 0%, #ffffff 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.03;
    background:
        radial-gradient(circle at 20% 50%, var(--ai-blue) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--ai-purple) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, var(--ai-pink) 0%, transparent 50%);
    animation: bgShift 20s ease-in-out infinite;
}

@keyframes bgShift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-20px, -20px) scale(1.1); }
    66% { transform: translate(20px, -10px) scale(0.9); }
}

/* Container */
.container {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}

/* Header */
.header {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-lg);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    max-width: 1440px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    animation: pulse 2s infinite;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-ai {
    color: var(--ai-blue);
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 0.5rem;
    background: rgba(255,255,255,0.9);
    padding: 0.25rem;
    border-radius: 25px;
    box-shadow: var(--shadow-md);
}

.lang-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-base);
    font-size: 0.875rem;
}

.lang-btn.active {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-md);
}

.lang-btn:hover:not(.active) {
    background: var(--bg-secondary);
}

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

/* Navigation */
.nav-container {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--bg-secondary);
    position: sticky;
    top: 73px;
    z-index: 90;
}

.nav-scroll {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 1440px;
    margin: 0 auto;
    justify-content: center;
}

.nav-scroll::-webkit-scrollbar {
    display: none;
}

.nav-item {
    padding: 0.5rem 1.25rem;
    background: var(--bg-secondary);
    border-radius: 25px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition-base);
    border: 2px solid transparent;
}

.nav-item:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav-item.active {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    padding: 2rem 1rem;
    background: linear-gradient(135deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.1) 100%);
    border-radius: 0 0 30px 30px;
}

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

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Main Content */
.main-content {
    padding: 2rem 1rem;
}

/* Featured Article */
.featured-article {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
    position: relative;
}

.featured-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.featured-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 40px rgba(0,0,0,0.15);
}

.featured-image {
    width: 100%;
    height: 300px;
    background: var(--primary-gradient);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.featured-content {
    padding: 2rem;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-gradient);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(255,0,128,0.5); }
    50% { box-shadow: 0 0 20px rgba(255,0,128,0.8); }
}

.featured-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.featured-excerpt {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

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

.article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    cursor: pointer;
    position: relative;
}

.article-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.article-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    padding: 0.375rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-primary);
}

.article-content {
    padding: 1.5rem;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

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

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-light);
}

.read-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Trending Section */
.trending-section {
    background: linear-gradient(135deg, rgba(249,168,212,0.1) 0%, rgba(216,180,254,0.1) 100%);
    border-radius: 24px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.trending-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.trending-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    animation: pulse 2s infinite;
}

.trending-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.trending-list {
    display: grid;
    gap: 1rem;
}

.trending-item {
    background: white;
    padding: 1rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-base);
    cursor: pointer;
    text-decoration: none;
}

.trending-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.trending-image {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-secondary);
}

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

.trending-item:hover .trending-image img {
    transform: scale(1.05);
}

.trending-number {
    width: 36px;
    height: 36px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--ai-purple);
    flex-shrink: 0;
}

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

.trending-headline {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.trending-meta {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Newsletter */
.newsletter {
    background: var(--primary-gradient);
    border-radius: 24px;
    padding: 2rem;
    color: white;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.newsletter-content {
    position: relative;
    z-index: 1;
}

.newsletter-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.newsletter-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 500px;
    margin: 0 auto;
    flex-direction: column;
}

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

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

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

.newsletter-btn {
    padding: 0.875rem 2rem;
    background: white;
    color: var(--ai-purple);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-base);
}

.newsletter-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 3rem 1rem 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
}

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

.footer-brand {
    margin-bottom: 1rem;
}

.footer-logo {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--ai-blue);
    transform: scale(1.1);
}

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

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--ai-blue);
}

.footer-column a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    padding: 0.375rem 0;
    transition: var(--transition-base);
}

.footer-column a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: var(--primary-gradient);
    border: none;
    padding: 0.75rem;
    border-radius: 12px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    margin: 5px 0;
    transition: var(--transition-base);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .header-actions .language-selector {
        display: none;
    }

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

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

    .newsletter-form {
        flex-direction: column;
    }

    .trending-item {
        padding: 0.75rem;
    }

    .trending-image {
        width: 60px;
        height: 45px;
    }

    .trending-headline {
        font-size: 0.9rem;
    }
}

@media (min-width: 769px) {
    .header-content {
        padding: 1.25rem 2rem;
    }

    .main-content {
        padding: 3rem 2rem;
    }

    .newsletter-form {
        flex-direction: row;
    }

    .footer-top {
        grid-template-columns: 2fr 3fr;
    }
}

@media (min-width: 1024px) {
    .main-layout {
        display: grid;
        grid-template-columns: 1fr 380px;
        gap: 2rem;
        max-width: 1440px;
        margin: 0 auto;
        padding: 3rem 2rem;
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-image {
        height: 400px;
    }
}

/* Loading Animation */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

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

/* Focus Styles */
a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--ai-blue);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .newsletter,
    .footer {
        display: none;
    }

    body {
        font-size: 12pt;
        color: black;
        background: white;
    }

    .article-card {
        page-break-inside: avoid;
    }
}

/* ============================================
/* ============================================
   HEADER SEARCH & MOBILE NAV
   ============================================ */

/* Desktop Search - between logo and language selector */
.header-search {
    flex: 1;
    max-width: 500px;
    margin: 0 2rem;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-search .search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.5rem;
    font-size: 15px;
    color: #333;
    outline: none;
}

.header-search .search-input::placeholder {
    color: #999;
}

.header-search .search-btn {
    background: var(--primary-gradient);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.header-search .search-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 40, 86, 0.3);
}

/* Header Right Container */
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Search Bar (replaces nav on mobile) */
.mobile-search-bar {
    display: none;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 0.75rem 1rem;
}

.mobile-search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 0.5rem 1rem;
}

.mobile-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.5rem;
    font-size: 15px;
    color: #333;
    outline: none;
}

.mobile-search-input::placeholder {
    color: #999;
}

.mobile-search-btn {
    background: var(--primary-gradient);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.mobile-nav-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: linear-gradient(135deg, #0A0E27 0%, #1a1f3a 100%);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-nav-overlay.active .mobile-nav-content {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 600;
    font-size: 18px;
}

.mobile-nav-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-links {
    padding: 1rem 0;
}

.mobile-nav-item {
    display: block;
    padding: 1rem 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #00d4ff;
}

.mobile-nav-item.active {
    background: rgba(0, 212, 255, 0.1);
    border-left-color: #00d4ff;
    color: #00d4ff;
}

/* Responsive */
@media (max-width: 768px) {
    /* Hide desktop search */
    .desktop-search {
        display: none;
    }

    /* Hide desktop nav */
    .desktop-nav {
        display: none;
    }

    /* Show mobile search bar */
    .mobile-search-bar {
        display: block;
    }

    /* Adjust header */
    .header-right .language-selector {
        display: none;
    }
}

@media (min-width: 769px) {
    /* Hide mobile elements on desktop */
    .mobile-search-bar,
    .mobile-nav-overlay {
        display: none;
    }
}

/* ============================================
   SEARCH RESULTS LAYOUT
   ============================================ */
.search-result-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.search-result-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.result-thumbnail {
    flex-shrink: 0;
    width: 180px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

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

.search-result-item:hover .result-thumbnail img {
    transform: scale(1.05);
}

.result-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0; /* Allow text truncation */
}

.result-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.result-section {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-section.politics { background: #e3f2fd; color: #1976d2; }
.result-section.business { background: #f3e5f5; color: #7b1fa2; }
.result-section.technology { background: #e8f5e9; color: #388e3c; }
.result-section.international { background: #fff3e0; color: #f57c00; }
.result-section.culture { background: #fce4ec; color: #c2185b; }
.result-section.sports { background: #e0f2f1; color: #00796b; }

.result-date {
    color: #666;
}

.result-title {
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

.result-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.result-title a:hover {
    color: #002856;
}

.result-excerpt {
    color: #555;
    line-height: 1.6;
    margin: 0 0 0.75rem 0;
    font-size: 0.9375rem;
}

.result-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    font-size: 0.875rem;
    color: #666;
}

.result-author {
    color: #444;
}

/* Responsive */
@media (max-width: 768px) {
    .search-result-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .result-thumbnail {
        width: 100%;
        height: 200px;
    }

    .result-title {
        font-size: 1.125rem;
    }

    .result-excerpt {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .result-thumbnail {
        height: 160px;
    }

    .result-title {
        font-size: 1rem;
    }
}
