/**
 * Typography & Reading Width Improvements
 * Compiled from SCSS for direct use
 */

:root {
    --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-serif: Georgia, Cambria, "Times New Roman", Times, serif;
    --font-mono: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --font-size-base: 18px;
    --font-size-sm: 16px;
    --font-size-xs: 14px;
    --font-size-lg: 20px;
    --font-size-xl: 24px;
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.7;
    --line-height-loose: 2;
    --letter-spacing-tight: -0.01em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.01em;
    --reading-width: 680px;
    --reading-width-wide: 800px;
    --reading-width-narrow: 560px;
    --paragraph-spacing: 1.5em;
    --heading-spacing: 2em;
}

body {
    font-family: var(--font-system);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

@media (max-width: 768px) {
    :root {
        --font-size-base: 16px;
    }
}

@media (max-width: 576px) {
    :root {
        --font-size-base: 16px;
        --reading-width: 100%;
    }
}

.article-content,
.article-main-content .col-inner {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    max-width: var(--reading-width);
    margin-left: auto;
    margin-right: auto;
}

.article-content p {
    margin-bottom: var(--paragraph-spacing);
    line-height: var(--line-height-relaxed);
    letter-spacing: var(--letter-spacing-normal);
    hyphens: auto;
}

.article-content > p:first-of-type {
    font-size: calc(var(--font-size-base) * 1.1);
    line-height: var(--line-height-relaxed);
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    font-weight: 700;
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    margin-top: var(--heading-spacing);
    margin-bottom: calc(var(--paragraph-spacing) * 0.75);
    color: var(--text-primary);
}

.article-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

.article-content h2 {
    font-size: 2rem;
    line-height: 1.3;
}

.article-content h3 {
    font-size: 1.75rem;
}

.article-content h4 {
    font-size: 1.5rem;
}

.article-content h5 {
    font-size: 1.25rem;
}

.article-content h6 {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .article-content h1 {
        font-size: 2rem;
    }
    .article-content h2 {
        font-size: 1.75rem;
    }
    .article-content h3 {
        font-size: 1.5rem;
    }
    .article-content h4 {
        font-size: 1.25rem;
    }
}

.article-content a {
    color: var(--link-color);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.article-content a:hover {
    color: var(--link-hover);
    text-decoration-thickness: 2px;
}

.article-content ul,
.article-content ol {
    margin-bottom: var(--paragraph-spacing);
    padding-left: 2em;
}

.article-content li {
    margin-bottom: 0.5em;
    line-height: var(--line-height-relaxed);
}

.article-content li:last-child {
    margin-bottom: 0;
}

.article-content ul ul,
.article-content ul ol,
.article-content ol ul,
.article-content ol ol {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.article-content blockquote {
    margin: var(--heading-spacing) 0;
    padding: 1.5em 2em;
    border-left: 4px solid var(--link-color);
    background-color: var(--bg-secondary);
    font-style: italic;
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
}

.article-content blockquote p {
    margin-bottom: 1em;
}

.article-content blockquote p:last-child {
    margin-bottom: 0;
}

.article-content code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    padding: 0.2em 0.4em;
    background-color: var(--code-bg);
    border-radius: 3px;
    color: var(--code-text);
}

.article-content pre {
    margin: var(--paragraph-spacing) 0;
    padding: 1.5em;
    background-color: var(--code-bg);
    border-radius: 8px;
    overflow-x: auto;
    line-height: var(--line-height-normal);
}

.article-content pre code {
    padding: 0;
    background-color: transparent;
    font-size: 0.9em;
}

.article-content table {
    width: 100%;
    margin: var(--heading-spacing) 0;
    border-collapse: collapse;
    font-size: var(--font-size-sm);
}

.article-content th,
.article-content td {
    padding: 0.75em 1em;
    border: 1px solid var(--border-color);
    text-align: left;
}

.article-content th {
    background-color: var(--bg-secondary);
    font-weight: 600;
}

.article-content tr:nth-child(even) {
    background-color: var(--bg-secondary);
}

.article-content hr {
    margin: calc(var(--heading-spacing) * 1.5) auto;
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--border-color) 20%, var(--border-color) 80%, transparent);
    max-width: 200px;
}

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

.article-content figure {
    margin: var(--heading-spacing) 0;
}

.article-content figure img {
    margin: 0;
}

.article-content figcaption {
    margin-top: 0.75em;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    text-align: center;
    font-style: italic;
}

.article-content strong {
    font-weight: 700;
}

.article-content em {
    font-style: italic;
}

.article-content mark {
    background-color: #fff3cd;
    padding: 0.1em 0.2em;
    border-radius: 2px;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: var(--letter-spacing-tight);
    margin-bottom: 1rem;
    color: var(--text-primary);
    max-width: var(--reading-width);
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .article-title {
        font-size: 1.75rem;
    }
}

.article-meta,
.block-item-meta {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: var(--line-height-normal);
}

.dont-break-out {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/**
 * Article.Pk Brand Identity & Color System
 *
 * This file contains the official brand colors, gradients,
 * and design system variables for Article.Pk.
 *
 * Brand Colors:
 * - Primary Blue: #0052cc (Trust, Professional, Technology)
 * - Success Green: #00c453 (Growth, Success, Money)
 * - Dark Gray: #2a323a (Text, Backgrounds, Depth)
 *
 * Last Updated: 2025-10-29
 */

/* ==========================================
   BRAND COLOR SYSTEM
   ========================================== */

:root {
    /* Primary Brand Colors */
    --brand-blue: #0052cc;
    --brand-blue-hover: #003d99;
    --brand-blue-light: #3377dd;
    --brand-blue-dark: #002d77;

    --brand-green: #00c453;
    --brand-green-hover: #009940;
    --brand-green-light: #33d076;
    --brand-green-dark: #007930;

    --brand-dark: #2a323a;
    --brand-dark-hover: #3a434b;
    --brand-dark-light: #4a535b;
    --brand-dark-darker: #1a1f24;

    /* Primary Color (Override) */
    --primary-color: #0052cc;
    --primary-hover: #003d99;

    /* Success Color */
    --success-color: #00c453;
    --success-hover: #009940;

    /* Dark Color */
    --dark-color: #2a323a;

    /* Semantic Colors */
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;

    /* Neutral Colors */
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;

    /* Light Backgrounds */
    --light-bg: #f8f9fa;
    --light-bg-alt: #f0f2f5;
    --light-border: #e5e8eb;

    /* Text Colors */
    --text-primary: #1c1c1c;
    --text-secondary: #6c757d;
    --text-muted: #9fa6ad;
    --text-light: #c7d1d9;
    --text-white: #ffffff;

    /* Link Colors */
    --link-color: #0052cc;
    --link-hover: #003d99;
    --link-visited: #551a8b;

    /* ==========================================
       GRADIENT DEFINITIONS
       ========================================== */

    /* Primary Gradients */
    --gradient-primary: linear-gradient(135deg, #0052cc 0%, #00c453 100%);
    --gradient-primary-hover: linear-gradient(135deg, #003d99 0%, #009940 100%);
    --gradient-primary-reverse: linear-gradient(135deg, #00c453 0%, #0052cc 100%);

    /* Blue Gradients */
    --gradient-blue: linear-gradient(135deg, #0052cc 0%, #3377dd 100%);
    --gradient-blue-dark: linear-gradient(135deg, #002d77 0%, #0052cc 100%);

    /* Green Gradients */
    --gradient-green: linear-gradient(135deg, #00c453 0%, #33d076 100%);
    --gradient-green-dark: linear-gradient(135deg, #007930 0%, #00c453 100%);

    /* Dark Gradients */
    --gradient-dark: linear-gradient(135deg, #2a323a 0%, #1a1f24 100%);
    --gradient-dark-light: linear-gradient(135deg, #3a434b 0%, #2a323a 100%);

    /* Overlay Gradients */
    --gradient-overlay-dark: linear-gradient(180deg, transparent 0%, rgba(42, 50, 58, 0.8) 100%);
    --gradient-overlay-light: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 100%);

    /* ==========================================
       SHADOWS & DEPTH
       ========================================== */

    /* Box Shadows */
    --shadow-xs: 0 1px 2px rgba(42, 50, 58, 0.05);
    --shadow-sm: 0 2px 4px rgba(42, 50, 58, 0.08);
    --shadow-md: 0 4px 12px rgba(42, 50, 58, 0.12);
    --shadow-lg: 0 8px 24px rgba(42, 50, 58, 0.15);
    --shadow-xl: 0 12px 40px rgba(42, 50, 58, 0.20);
    --shadow-2xl: 0 20px 60px rgba(42, 50, 58, 0.25);

    /* Colored Shadows */
    --shadow-blue: 0 4px 20px rgba(0, 82, 204, 0.3);
    --shadow-blue-lg: 0 8px 30px rgba(0, 82, 204, 0.4);
    --shadow-green: 0 4px 20px rgba(0, 196, 83, 0.3);
    --shadow-green-lg: 0 8px 30px rgba(0, 196, 83, 0.4);

    /* Text Shadows */
    --text-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
    --text-shadow-md: 0 2px 4px rgba(0, 0, 0, 0.15);
    --text-shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.2);

    /* ==========================================
       SPACING & SIZING
       ========================================== */

    /* Spacing Scale (8px base) */
    --space-1: 0.25rem;  /* 4px */
    --space-2: 0.5rem;   /* 8px */
    --space-3: 0.75rem;  /* 12px */
    --space-4: 1rem;     /* 16px */
    --space-5: 1.25rem;  /* 20px */
    --space-6: 1.5rem;   /* 24px */
    --space-8: 2rem;     /* 32px */
    --space-10: 2.5rem;  /* 40px */
    --space-12: 3rem;    /* 48px */
    --space-16: 4rem;    /* 64px */
    --space-20: 5rem;    /* 80px */

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* ==========================================
       TYPOGRAPHY
       ========================================== */

    /* Font Families */
    --font-primary: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-secondary: "Roboto Slab", Georgia, serif;
    --font-mono: "SF Mono", "Monaco", "Inconsolata", "Fira Code", monospace;

    /* Font Sizes */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */
    --text-5xl: 3rem;      /* 48px */
    --text-6xl: 3.75rem;   /* 60px */

    /* Font Weights */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    --font-black: 900;

    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;

    /* ==========================================
       TRANSITIONS & ANIMATIONS
       ========================================== */

    /* Transition Durations */
    --duration-fast: 0.15s;
    --duration-base: 0.3s;
    --duration-slow: 0.5s;
    --duration-slower: 0.75s;

    /* Transition Easings */
    --ease-linear: linear;
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Common Transitions */
    --transition-fast: all 0.15s ease;
    --transition-base: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --transition-colors: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    --transition-transform: transform 0.3s ease;
    --transition-opacity: opacity 0.3s ease;

    /* ==========================================
       Z-INDEX SCALE
       ========================================== */

    --z-base: 0;
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-notification: 1080;
    --z-fab: 9999;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

/* Background Colors */
.bg-brand-blue { background-color: var(--brand-blue) !important; }
.bg-brand-green { background-color: var(--brand-green) !important; }
.bg-brand-dark { background-color: var(--brand-dark) !important; }
.bg-gradient-primary { background: var(--gradient-primary) !important; }
.bg-gradient-dark { background: var(--gradient-dark) !important; }

/* Text Colors */
.text-brand-blue { color: var(--brand-blue) !important; }
.text-brand-green { color: var(--brand-green) !important; }
.text-brand-dark { color: var(--brand-dark) !important; }

/* Gradient Text */
.text-gradient-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Border Colors */
.border-brand-blue { border-color: var(--brand-blue) !important; }
.border-brand-green { border-color: var(--brand-green) !important; }
.border-brand-dark { border-color: var(--brand-dark) !important; }

/* Shadows */
.shadow-brand-blue { box-shadow: var(--shadow-blue) !important; }
.shadow-brand-green { box-shadow: var(--shadow-green) !important; }

/* Hover Effects */
.hover-lift {
    transition: var(--transition-transform);
}
.hover-lift:hover {
    transform: translateY(-2px);
}

.hover-scale {
    transition: var(--transition-transform);
}
.hover-scale:hover {
    transform: scale(1.05);
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

/* ==========================================
   BRAND LOGO SPECIFICATIONS
   ========================================== */

/**
 * Logo Usage Guidelines:
 *
 * - Primary Logo: Full color on white/light backgrounds
 * - Secondary Logo: White on dark backgrounds
 * - Minimum Size: 120px width
 * - Clear Space: Minimum 20px on all sides
 * - Logo Path: Configured in Admin > Styling
 */

/* ==========================================
   ACCESSIBILITY
   ========================================== */

/* Focus Visible States */
*:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --brand-blue: #0066ff;
        --brand-green: #00ff66;
        --text-primary: #000000;
    }
}

/* Dark Mode Support (Future) */
@media (prefers-color-scheme: dark) {
    /* Will be implemented when dark mode is added */
}
/**
 * Modern Header Styles for Article.Pk
 *
 * Single unified header combining:
 * - Logo and branding
 * - Main navigation menu
 * - Social links
 * - Search functionality
 * - Monetize CTA button
 *
 * Features:
 * - Sticky header with shrink on scroll
 * - Responsive mobile menu
 * - Brand colors (#0052cc, #00c453, #2a323a)
 * - Smooth animations
 */

/* ==========================================
   MODERN HEADER CONTAINER
   ========================================== */

.modern-header {
    background: var(--white);
    border-bottom: 1px solid var(--light-border);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    transition: all 0.3s ease;
}

.modern-header.scrolled {
    box-shadow: var(--shadow-md);
}

.modern-header.scrolled .header-main {
    padding: 12px 0;
}

.modern-header.scrolled .social-links-bar {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

/* ==========================================
   HEADER MAIN ROW
   ========================================== */

.header-main {
    padding: 16px 0;
    transition: padding 0.3s ease;
}

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

/* ==========================================
   LOGO SECTION
   ========================================== */

.header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.header-logo a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition-transform);
}

.header-logo a:hover {
    transform: scale(1.02);
}

.header-logo img {
    max-height: 50px;
    width: auto;
    display: block;
}

.header-logo-text {
    font-size: 28px;
    font-weight: var(--font-extrabold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-primary);
}

/* ==========================================
   MAIN NAVIGATION
   ========================================== */

.header-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.nav-menu > .nav-item > .nav-link {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition-colors);
    position: relative;
}

.nav-menu > .nav-item > .nav-link:hover {
    color: var(--brand-blue);
    background: rgba(0, 82, 204, 0.05);
}

.nav-menu > .nav-item.active > .nav-link {
    color: var(--brand-blue);
}

.nav-menu > .nav-item.active > .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

/* Dropdown Menus */
.nav-item.dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: var(--z-dropdown);
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu .dropdown-item {
    display: block;
    padding: 10px 16px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition-colors);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
}

.dropdown-menu .dropdown-item:hover {
    background: rgba(0, 82, 204, 0.05);
    color: var(--brand-blue);
}

/* ==========================================
   HEADER ACTIONS
   ========================================== */

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Monetize CTA Button */
.btn-monetize {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    border: none;
    border-radius: var(--radius-full);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-blue);
    animation: pulse-subtle 3s ease-in-out infinite;
}

.btn-monetize:hover {
    background: var(--gradient-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue-lg);
    color: var(--white);
    text-decoration: none;
}

.btn-monetize i {
    font-size: 16px;
}

@keyframes pulse-subtle {
    0%, 100% {
        box-shadow: var(--shadow-blue);
    }
    50% {
        box-shadow: 0 4px 24px rgba(0, 82, 204, 0.5);
    }
}

/* Search Toggle Button */
.btn-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--light-bg);
    color: var(--text-secondary);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-colors);
}

.btn-search:hover {
    background: rgba(0, 82, 204, 0.1);
    color: var(--brand-blue);
}

.btn-search i {
    font-size: 18px;
}

/* Login Button */
.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #0052cc, #00c453);
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 82, 204, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.4);
    color: white;
    text-decoration: none;
}

.btn-login i {
    font-size: 14px;
}

/* WhatsApp Channel Button */
.btn-whatsapp-channel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-channel:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
}

.btn-whatsapp-channel i {
    font-size: 16px;
}

/* Feedback Button */
.btn-feedback {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.btn-feedback:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    color: white;
    text-decoration: none;
}

.btn-feedback i {
    font-size: 14px;
    color: #fbbf24;
}

/* User Menu */
.user-menu-wrapper {
    position: relative;
}

.user-menu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    background: var(--light-bg);
    border: 1px solid rgba(0, 82, 204, 0.1);
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-menu-trigger:hover {
    background: rgba(0, 82, 204, 0.05);
    border-color: rgba(0, 82, 204, 0.2);
}

.user-menu-trigger.active {
    background: rgba(0, 82, 204, 0.1);
    border-color: #0052cc;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-avatar-fallback {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0052cc, #00c453);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: 700;
}

.user-menu-trigger i {
    font-size: 10px;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.user-menu-trigger.active i {
    transform: rotate(180deg);
}

.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 260px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.user-menu-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.03), rgba(0, 196, 83, 0.03));
}

.user-menu-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.user-menu-email {
    font-size: 13px;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu-items {
    padding: 8px 0;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.user-menu-item:hover {
    background: rgba(0, 82, 204, 0.05);
    color: #0052cc;
    text-decoration: none;
}

.user-menu-item i {
    width: 18px;
    font-size: 14px;
    color: var(--text-secondary);
}

.user-menu-item:hover i {
    color: #0052cc;
}

.user-menu-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

.user-menu-logout {
    color: #dc3545;
}

.user-menu-logout i {
    color: #dc3545;
}

.user-menu-logout:hover {
    background: rgba(220, 53, 69, 0.05);
    color: #dc3545;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
}

.hamburger {
    width: 24px;
    height: 18px;
    position: relative;
    transform: rotate(0deg);
    transition: 0.5s ease-in-out;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-primary);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2),
.hamburger span:nth-child(3) {
    top: 8px;
}

.hamburger span:nth-child(4) {
    top: 16px;
}

.mobile-menu-toggle.active .hamburger span:nth-child(1) {
    top: 8px;
    width: 0%;
    left: 50%;
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
    transform: rotate(45deg);
}

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

.mobile-menu-toggle.active .hamburger span:nth-child(4) {
    top: 8px;
    width: 0%;
    left: 50%;
}

/* ==========================================
   INTEREST BAR (Netflix-style)
   ========================================== */

.interest-bar {
    background: var(--gradient-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0;
    transition: all 0.3s ease;
}

.modern-header.scrolled .interest-bar {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
}

.interest-bar-content {
    display: flex;
    gap: 30px;
    align-items: center;
}

.interest-section {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.interest-section.continue-section {
    flex: 2;
}

.interest-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.interest-label i {
    color: #fbbf24;
}

.interest-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0;
}

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

.interest-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.interest-chip:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-1px);
    text-decoration: none;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.filter-chip:hover {
    background: rgba(99, 102, 241, 0.4);
    color: #fff;
    transform: translateY(-1px);
    text-decoration: none;
}

.filter-chip i {
    font-size: 11px;
}

.filter-chip.category-chip {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.3);
}

.filter-chip.category-chip:hover {
    background: rgba(34, 197, 94, 0.4);
    color: #fff;
}

.continue-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    font-size: 12px;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.continue-chip:hover {
    background: rgba(251, 191, 36, 0.25);
    color: #fcd34d;
    text-decoration: none;
}

.continue-title {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.continue-progress {
    background: rgba(251, 191, 36, 0.3);
    color: #fcd34d;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}

/* Legacy social links (kept for backward compatibility) */
.social-links-bar {
    display: none; /* Hidden - replaced by interest-bar */
}

/* ==========================================
   SEARCH DROPDOWN
   ========================================== */

.header-search-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 400px;
    max-width: 90vw;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 20px;
    margin-top: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: var(--z-dropdown);
}

.header-search-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-form-wrapper {
    position: relative;
}

.search-form-wrapper .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 18px;
}

.search-form-wrapper input {
    width: 100%;
    padding: 14px 50px 14px 48px;
    border: 2px solid var(--light-border);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    transition: var(--transition-colors);
    font-family: var(--font-primary);
}

.search-form-wrapper input:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

.search-form-wrapper button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 16px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    cursor: pointer;
    transition: var(--transition-colors);
}

.search-form-wrapper button:hover {
    background: var(--gradient-primary-hover);
}

/* ==========================================
   MOBILE MENU
   ========================================== */

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: var(--z-fixed);
}

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-2xl);
    overflow-y: auto;
    transition: right 0.3s ease;
    z-index: var(--z-fixed);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--light-border);
}

.mobile-menu-logo {
    font-size: 24px;
    font-weight: var(--font-extrabold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-colors);
}

.mobile-menu-close:hover {
    background: rgba(0, 82, 204, 0.1);
    color: var(--brand-blue);
}

/* Mobile Search */
.mobile-menu-search {
    padding: 20px;
    border-bottom: 1px solid var(--light-border);
}

.mobile-menu-search form {
    position: relative;
}

.mobile-menu-search input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 2px solid var(--light-border);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
}

.mobile-menu-search input:focus {
    outline: none;
    border-color: var(--brand-blue);
}

.mobile-menu-search .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

/* Mobile Navigation Links */
.mobile-menu-nav {
    flex: 1;
    padding: 8px;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list .nav-item {
    margin-bottom: 4px;
}

.mobile-nav-list .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: var(--font-medium);
    transition: var(--transition-colors);
}

.mobile-nav-list .nav-link:hover {
    background: rgba(0, 82, 204, 0.05);
    color: var(--brand-blue);
}

.mobile-nav-list .nav-link.active {
    background: rgba(0, 82, 204, 0.1);
    color: var(--brand-blue);
    font-weight: var(--font-semibold);
}

.mobile-nav-list .nav-link-whatsapp {
    color: #25D366;
}

.mobile-nav-list .nav-link-whatsapp:hover {
    background: rgba(37, 211, 102, 0.1);
    color: #128C7E;
}

/* Mobile CTA */
.mobile-menu-cta {
    padding: 20px;
    border-top: 1px solid var(--light-border);
}

.mobile-menu-cta .btn-monetize {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
}

/* Mobile Social Links */
.mobile-menu-social {
    padding: 20px;
    border-top: 1px solid var(--light-border);
}

.mobile-social-title {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.mobile-social-links {
    display: flex;
    gap: 12px;
}

.mobile-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--light-bg);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.mobile-social-links a:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 991px) {
    .header-nav {
        display: none;
    }

    .btn-monetize {
        display: none;
    }

    .btn-feedback span,
    .btn-whatsapp-channel span {
        display: none;
    }

    .btn-feedback,
    .btn-whatsapp-channel {
        padding: 8px 12px;
    }

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

    .header-wrapper {
        gap: 12px;
    }

    .social-links-bar {
        display: none;
    }

    /* Interest Bar - Mobile */
    .interest-bar {
        padding: 8px 0;
    }

    .interest-bar-content {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .interest-section {
        width: 100%;
        flex: none;
    }

    .interest-section.continue-section {
        flex: none;
    }

    .interest-label {
        font-size: 11px;
        min-width: auto;
    }

    .interest-chip {
        padding: 5px 10px;
        font-size: 12px;
    }

    .filter-chip {
        padding: 5px 10px;
        font-size: 12px;
    }

    .continue-chip {
        padding: 5px 10px;
        font-size: 11px;
    }

    .continue-title {
        max-width: 120px;
    }

    .header-main {
        padding: 12px 0;
    }

    .header-logo img {
        max-height: 40px;
    }
}

@media (max-width: 767px) {
    .header-search-dropdown {
        width: calc(100vw - 40px);
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(-10px);
    }

    .header-search-dropdown.active {
        transform: translateX(-50%) translateY(0);
    }

    .btn-search {
        width: 36px;
        height: 36px;
    }

    .btn-search i {
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    .header-logo img {
        max-height: 35px;
    }

    .header-logo-text {
        font-size: 22px;
    }

    .mobile-menu {
        width: 100%;
        max-width: 100%;
    }
}

/* ==========================================
   PRINT STYLES
   ========================================== */

@media print {
    .modern-header {
        position: static;
        box-shadow: none;
        border-bottom: 1px solid #000;
    }

    .header-actions,
    .social-links-bar,
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* ==========================================
   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-width: 0;
}

/* Skip to main content */
.skip-to-main {
    position: absolute;
    left: -9999px;
    z-index: 999999;
    padding: 1em;
    background-color: var(--brand-blue);
    color: white;
    text-decoration: none;
}

.skip-to-main:focus {
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
}
/**
 * Modern Footer Styles for Article.Pk
 *
 * Features:
 * - 3-column widget system
 * - Newsletter signup integration
 * - Large modern social icons
 * - Beautiful statistics counter
 * - Footer menu and copyright
 * - Brand colors (#0052cc, #00c453, #2a323a)
 * - Responsive design
 */

/* ==========================================
   MODERN FOOTER CONTAINER
   ========================================== */

footer.footer {
    background: var(--gradient-dark);
    color: var(--text-light);
    padding: 60px 0 0;
    border-top: 4px solid transparent;
    border-image: var(--gradient-primary) 1;
    border-image-slice: 1;
    position: relative;
    overflow: hidden;
}

footer.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 1440 320"><path fill="rgba(0,82,204,0.03)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
    pointer-events: none;
}

footer.footer > * {
    position: relative;
    z-index: 1;
}

/* ==========================================
   FOOTER WIDGETS SECTION
   ========================================== */

.footer-widgets {
    padding-bottom: 50px;
}

.footer-widgets .row {
    --bs-gutter-x: 2rem;
}

/* Widget Columns */
.footer-widget-col {
    margin-bottom: 30px;
}

/* Widget Titles */
footer.footer .block-title {
    margin-bottom: 25px;
    padding-bottom: 0;
    border-bottom: none;
}

footer.footer .block-title span {
    color: var(--white);
    font-size: 20px;
    font-weight: var(--font-bold);
    display: inline-block;
    position: relative;
    padding-bottom: 12px;
}

footer.footer .block-title span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

/* Widget Content */
footer.footer .widget {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

/* Widget Links */
footer.footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-colors);
    display: inline-block;
}

footer.footer a:hover {
    color: var(--white);
    padding-left: 5px;
    text-decoration: none;
}

/* Widget Lists */
footer.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer.footer ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

footer.footer ul li::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--brand-green);
    transition: var(--transition-transform);
}

footer.footer ul li:hover::before {
    transform: translateX(3px);
}

/* ==========================================
   FOOTER ABOUT SECTION (Column 1)
   ========================================== */

.footer-about {
    padding-right: 20px;
}

.footer-about-logo {
    margin-bottom: 20px;
}

.footer-about-logo img {
    max-height: 50px;
    width: auto;
}

.footer-about-text {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--text-light);
    margin-bottom: 25px;
}

/* Social Icons Section (Matching Header Style) */
.footer-social-section {
    padding: 30px 0;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-title {
    color: var(--white);
    font-size: 16px;
    font-weight: var(--font-medium);
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: 0.5px;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: var(--radius-full);
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.footer-social-icons a:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-2px);
    text-decoration: none;
}

.footer-social-icons a i {
    line-height: 1;
}

/* Social Platform Colors (Optional Hover) */
.footer-social-icons a[href*="facebook"]:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.footer-social-icons a[href*="twitter"]:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.footer-social-icons a[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
}

.footer-social-icons a[href*="youtube"]:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.footer-social-icons a[href*="linkedin"]:hover {
    background: #0077b5;
    border-color: #0077b5;
}

/* ==========================================
   NEWSLETTER WIDGET (Column 3)
   ========================================== */

.newsletter-widget {
    background: rgba(0, 82, 204, 0.08);
    border: 2px solid rgba(0, 82, 204, 0.2);
    border-radius: var(--radius-xl);
    padding: 30px;
    backdrop-filter: blur(10px);
}

.newsletter-widget .block-title span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.newsletter-widget .block-title span i {
    font-size: 24px;
    color: var(--brand-green);
}

.newsletter-description {
    font-size: var(--text-sm);
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: var(--leading-relaxed);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-form input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    transition: var(--transition-colors);
    font-family: var(--font-primary);
}

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

.newsletter-form input:focus {
    outline: none;
    border-color: var(--brand-blue);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.2);
}

.newsletter-form button {
    width: 100%;
    padding: 14px 24px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.newsletter-form button:hover {
    background: var(--gradient-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue-lg);
}

.newsletter-privacy {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.7);
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.newsletter-privacy i {
    color: var(--brand-green);
}

/* Newsletter Success/Error Messages */
.newsletter-message {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    margin-top: 12px;
    animation: slideDown 0.3s ease;
}

.newsletter-message.success {
    background: rgba(0, 196, 83, 0.2);
    border: 1px solid var(--brand-green);
    color: var(--brand-green);
}

.newsletter-message.error {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid var(--danger-color);
    color: #ff6b6b;
}

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

/* ==========================================
   STATISTICS COUNTER BAR
   ========================================== */

.footer-statistics {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 35px 0;
    margin: 0 0 40px 0;
}

.statistics-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 28px;
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.stat-number {
    font-size: var(--text-4xl);
    font-weight: var(--font-extrabold);
    color: var(--white);
    margin-bottom: 8px;
    text-shadow: var(--text-shadow-md);
    display: block;
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-light);
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 2px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    margin: auto;
}

/* Counter Animation */
.stat-number[data-count] {
    opacity: 0;
    animation: countUp 1.5s ease-out forwards;
}

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

/* ==========================================
   FOOTER BOTTOM
   ========================================== */

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
}

/* Footer Menu */
.footer-menu {
    margin: 0;
}

.footer-menu ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu ul li {
    margin-bottom: 0;
    padding-left: 0;
}

.footer-menu ul li::before {
    display: none;
}

.footer-menu ul li:not(:last-child)::after {
    content: '|';
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-menu a {
    color: var(--text-light);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    padding: 0;
}

.footer-menu a:hover {
    color: var(--white);
    padding-left: 0;
}

/* Footer Links Row - All links in one line */
.footer-links-row {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
}

.footer-links-row .footer-menu-list {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.footer-extra-menu {
    margin-left: 0 !important;
}

.footer-last-item::after {
    display: none !important;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

.footer-links-row > .footer-menu-link {
    color: var(--text-light);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links-row > .footer-menu-link:hover {
    color: var(--white);
}

/* Copyright */
.footer-copyright {
    font-size: var(--text-sm);
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-copyright i {
    color: var(--brand-green);
}

.footer-copyright a {
    color: var(--white);
    font-weight: var(--font-semibold);
    padding: 0;
}

.footer-copyright a:hover {
    color: var(--brand-blue);
    padding-left: 0;
}

/* Made with Love */
.footer-made-with {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

.footer-made-with .heart {
    color: var(--danger-color);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(1.1);
    }
    20%, 40% {
        transform: scale(1);
    }
}

/* ==========================================
   BACK TO TOP BUTTON (Optional)
   ========================================== */

.back-to-top-footer {
    position: absolute;
    top: -25px;
    right: 50px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-blue-lg);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top-footer:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 82, 204, 0.5);
}

.back-to-top-footer i {
    transition: var(--transition-transform);
}

.back-to-top-footer:hover i {
    transform: translateY(-2px);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 991px) {
    footer.footer {
        padding: 50px 0 0;
    }

    .footer-widgets {
        padding-bottom: 40px;
    }

    .footer-about {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .statistics-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }
}

@media (max-width: 767px) {
    footer.footer {
        padding: 40px 0 0;
    }

    .footer-widgets .row {
        --bs-gutter-x: 1rem;
    }

    .footer-widget-col {
        margin-bottom: 35px;
    }

    footer.footer .block-title span {
        font-size: 18px;
    }

    .newsletter-widget {
        padding: 20px;
    }

    .footer-social-icons {
        justify-content: flex-start;
    }

    .footer-social-icons a {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .footer-statistics {
        padding: 30px 0;
        margin-bottom: 30px;
    }

    .statistics-wrapper {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-item {
        padding: 15px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .stat-number {
        font-size: var(--text-3xl);
    }

    .footer-bottom {
        padding: 20px 0;
    }

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

    .footer-menu ul {
        justify-content: center;
    }

    .back-to-top-footer {
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 575px) {
    .newsletter-form {
        gap: 10px;
    }

    .newsletter-form input,
    .newsletter-form button {
        padding: 12px 16px;
        font-size: var(--text-sm);
    }

    .footer-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .footer-menu ul li:not(:last-child)::after {
        display: none;
    }
}

/* ==========================================
   PRINT STYLES
   ========================================== */

@media print {
    footer.footer {
        background: #fff;
        color: #000;
        border-top: 2px solid #000;
        padding: 20px 0;
    }

    .footer-social-icons,
    .newsletter-widget,
    .footer-statistics,
    .back-to-top-footer {
        display: none !important;
    }

    footer.footer a {
        color: #000;
    }
}

/* ==========================================
   DARK MODE SUPPORT (Future)
   ========================================== */

@media (prefers-color-scheme: dark) {
    /* Already optimized for dark mode */
}
