/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --text-light: #95a5a6;
    --background-white: #ffffff;
    --background-light: #f8f9fa;
    --background-dark: #34495e;
    --border-color: #e1e8ed;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Breakpoints */
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-white);
    font-size: 1rem;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}

h4 {
    font-size: 1.25rem;
    margin-top: var(--spacing-md);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Lists */
ul, ol {
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-md);
}

li {
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

/* Header and Navigation */
.header {
    background-color: var(--background-white);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: var(--spacing-sm) 0;
}

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

.logo {
    font-family: var(--font-secondary);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--spacing-lg);
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: 0.3s;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--background-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: var(--spacing-md) 0;
    }
    
    .nav-link {
        display: block;
        padding: var(--spacing-sm) var(--spacing-md);
        border-bottom: 1px solid var(--border-color);
    }
}

/* Breadcrumb */
.breadcrumb {
    background-color: var(--background-light);
    padding: var(--spacing-sm) 0;
    font-size: 0.875rem;
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

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

.breadcrumb .current {
    color: var(--text-secondary);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: var(--spacing-xxl) 0;
    text-align: center;
    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 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

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

.hero-title {
    color: white;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.cta-button:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: white;
}

/* Sections */
.categories-section,
.articles-section,
.newsletter-section {
    padding: var(--spacing-xxl) 0;
}

.categories-section {
    background-color: var(--background-light);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--primary-color);
}

/* Grid Layouts */
.categories-grid,
.articles-grid {
    display: grid;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

@media (min-width: 576px) {
    .categories-grid,
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Cards */
.category-card,
.article-card {
    background-color: var(--background-white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.category-card h3,
.article-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.category-card h3 a,
.article-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.category-card h3 a:hover,
.article-card h3 a:hover {
    color: var(--secondary-color);
}

.article-excerpt {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.article-meta {
    display: flex;
    gap: var(--spacing-sm);
    font-size: 0.875rem;
    color: var(--text-light);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.article-category a {
    background-color: var(--secondary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    text-decoration: none;
    font-weight: 500;
}

/* Article Page Layout */
.article-page {
    padding: var(--spacing-lg) 0;
}

.content-wrapper {
    display: grid;
    gap: var(--spacing-xl);
    align-items: start;
}

@media (min-width: 992px) {
    .content-wrapper {
        grid-template-columns: 2fr 1fr;
    }
}

.main-content {
    background-color: var(--background-white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.article-header {
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--border-color);
}

.article-title {
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.article-excerpt {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: var(--spacing-md);
}

/* Table of Contents */
.table-of-contents {
    background-color: var(--background-light);
    padding: var(--spacing-md);
    border-radius: 8px;
    margin-bottom: var(--spacing-xl);
    border-left: 4px solid var(--secondary-color);
}

.table-of-contents h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.table-of-contents ul {
    list-style: none;
    padding-left: 0;
}

.table-of-contents li {
    margin-bottom: var(--spacing-xs);
}

.table-of-contents a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 4px 0;
    display: block;
    transition: color 0.3s ease;
}

.table-of-contents a:hover {
    color: var(--secondary-color);
    padding-left: var(--spacing-xs);
}

/* Article Content */
.article-content {
    max-width: 100%;
    margin-bottom: var(--spacing-xl);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: var(--spacing-md) 0;
    box-shadow: var(--shadow-light);
}

.article-content blockquote {
    border-left: 4px solid var(--secondary-color);
    padding-left: var(--spacing-md);
    margin: var(--spacing-md) 0;
    font-style: italic;
    color: var(--text-secondary);
    background-color: var(--background-light);
    padding: var(--spacing-md);
    border-radius: 0 8px 8px 0;
}

/* Article Footer */
.article-footer {
    border-top: 2px solid var(--border-color);
    padding-top: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.article-tags {
    margin-bottom: var(--spacing-lg);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-xs);
}

.tag {
    background-color: var(--background-light);
    color: var(--text-secondary);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
}

.share-buttons h4,
.article-tags h4 {
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
}

.social-share {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-top: var(--spacing-xs);
}

.share-btn {
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 6px;
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

.share-btn.facebook { background-color: #1877f2; }
.share-btn.twitter { background-color: #1da1f2; }
.share-btn.pinterest { background-color: #bd081c; }
.share-btn.linkedin { background-color: #0077b5; }

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.sidebar-widget {
    background-color: var(--background-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.sidebar-widget h3 {
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: var(--spacing-xs);
}

.related-article,
.popular-article {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
}

.related-article:last-child,
.popular-article:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-article h4,
.popular-article h4 {
    margin-bottom: var(--spacing-xs);
    font-size: 1rem;
}

.related-article p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Newsletter */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
    font-size: 1.125rem;
}

.newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    padding: var(--spacing-sm);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    min-width: 200px;
}

.newsletter-form button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #c0392b;
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        min-width: auto;
    }
}

/* Ad Containers */
.ad-container {
    margin: var(--spacing-lg) 0;
    text-align: center;
    padding: var(--spacing-sm);
    background-color: var(--background-light);
    border-radius: 8px;
    border: 1px dashed var(--border-color);
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-slot {
    width: 100%;
    min-height: 90px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.875rem;
    border-radius: 4px;
}

.ad-slot::before {
    content: 'Advertisement';
}

.ad-banner-top,
.ad-banner-middle {
    margin: var(--spacing-xl) auto;
}

.ad-banner-top .ad-slot,
.ad-banner-middle .ad-slot {
    height: 120px;
    max-width: 728px;
    margin: 0 auto;
}

.ad-sidebar-top,
.ad-sidebar-bottom {
    margin: var(--spacing-md) 0;
}

.ad-sidebar-top .ad-slot,
.ad-sidebar-bottom .ad-slot {
    height: 250px;
    max-width: 300px;
}

.ad-article-top,
.ad-article-bottom {
    margin: var(--spacing-lg) 0;
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.footer-section ul {
    list-style: none;
    padding-left: 0;
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

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

.footer-section a:hover {
    color: white;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--spacing-md);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --spacing-sm: 0.75rem;
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
        --spacing-xxl: 2.5rem;
    }
    
    .hero {
        padding: var(--spacing-xl) 0;
    }
    
    .main-content {
        padding: var(--spacing-md);
    }
    
    .article-meta {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .social-share {
        justify-content: center;
    }
}

/* Performance Optimizations */
.hero,
.newsletter-section {
    contain: layout style paint;
}

/* Lazy loading is handled in HTML, not CSS */

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States */
a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .sidebar,
    .ad-container,
    .share-buttons,
    .newsletter-section,
    .cookie-consent-banner,
    .cookie-settings-modal {
        display: none;
    }
    
    .main-content {
        box-shadow: none;
        border: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
}

/* ========================================
   Cookie Consent & GDPR Compliance
   ======================================== */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.98);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-consent-text h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.cookie-consent-text p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.5;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-consent {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-accept {
    background: #27ae60;
    color: white;
}

.btn-accept:hover {
    background: #219a52;
    transform: translateY(-2px);
}

.btn-reject {
    background: #e74c3c;
    color: white;
}

.btn-reject:hover {
    background: #c0392b;
}

.btn-customize {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-customize:hover {
    background: white;
    color: #2c3e50;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-settings-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-settings-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.cookie-settings-content {
    position: relative;
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-settings-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e1e8ed;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-settings-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.5rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: #7f8c8d;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-btn:hover {
    background: #f8f9fa;
    color: #2c3e50;
}

.cookie-settings-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.cookie-intro {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e1e8ed;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.cookie-category-header label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.cookie-category-header input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    cursor: pointer;
}

.cookie-category-header input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.cookie-category-title {
    color: #2c3e50;
    font-size: 1.1rem;
}

.cookie-badge {
    background: #3498db;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.cookie-badge.required {
    background: #7f8c8d;
}

.cookie-category-description {
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-settings-footer {
    padding: 1.5rem;
    border-top: 1px solid #e1e8ed;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
}

.btn-secondary {
    background: #e1e8ed;
    color: #2c3e50;
}

.btn-secondary:hover {
    background: #d0d7de;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #3498db;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0 0 4px 0;
    z-index: 100;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid #2c3e50;
}

/* Article Site Enhancements */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-badge {
    display: inline-block;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.article-card.featured {
    border: 2px solid var(--secondary-color);
    background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.15);
}

.article-card.featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.25);
}

.article-meta .revenue {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.newsletter-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.8;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-stats {
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .stat {
        padding: 1rem;
        flex: 1;
        min-width: 120px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Responsive Cookie Consent */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cookie-consent-actions {
        justify-content: stretch;
    }
    
    .btn-consent {
        flex: 1;
    }
    
    .cookie-settings-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .cookie-settings-header,
    .cookie-settings-body,
    .cookie-settings-footer {
        padding: 1rem;
    }
}