/* 
 * Srvishwa Premium Theme — v2.0 Master Stylesheet
 * A world-class editorial design system.
 * ================================================================
 *  1. Design Tokens (CSS Custom Properties)
 *  2. Base & Reset
 *  3. Typography
 *  4. Layout System
 *  5. Topbar
 *  6. Header & Navigation
 *  7. Search Overlay
 *  8. Hero Section
 *  9. News Ticker
 * 10. Content Cards
 * 11. Sidebar & Widgets
 * 12. Single Article
 * 13. Social Share Buttons
 * 14. Related Posts
 * 15. Author Box
 * 16. Comments
 * 17. Post Navigation
 * 18. Archive & Search
 * 19. Error 404
 * 20. Pages
 * 21. Footer
 * 22. Back to Top
 * 23. Ads & Monetization
 * 24. Pagination
 * 25. Search Form
 * 26. Breadcrumbs
 * 27. Animations
 * 28. Accessibility
 * 29. Print Styles
 * 30. Responsive
 * ================================================================ */


/* ==============================================================
   1. DESIGN TOKENS
============================================================== */
/* ==============================================================
   1. ADVANCED DESIGN TOKENS (Srvishwa Original Vibrant)
============================================================== */
:root {
    /* Brand Colors — Vibrant Blue & Purple */
    --primary: hsl(210, 100%, 55%);
    --primary-hover: hsl(210, 100%, 65%);
    --secondary: hsl(280, 100%, 65%);
    --primary-rgb: 0, 122, 255;
    
    --accent: var(--primary);
    --accent-vivid: var(--secondary);
    --accent-soft: hsla(210, 100%, 55%, 0.1);
    --accent-red: hsl(0, 100%, 60%);
    
    /* Semantic Surfaces — Modern Glass */
    --bg-main: hsl(220, 20%, 97%);
    --bg-surface: hsl(220, 20%, 95%);
    --bg-elevated: rgba(255, 255, 255, 0.75);
    --bg-glass: rgba(255, 255, 255, 0.82);
    --glass-border: rgba(255, 255, 255, 0.5);
    
    /* Typographic Hierarchy — Outfit + Inter */
    --font-heading: 'Outfit', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-ui: 'Inter', system-ui, sans-serif;
    
    --text-primary: hsl(220, 20%, 15%);
    --text-secondary: hsl(220, 15%, 40%);
    --text-tertiary: hsl(220, 10%, 60%);
    --text-inverse: hsl(0, 0%, 100%);
    
    /* Elevation — Glassmorphism Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --shadow-lg: 0 20px 48px -12px rgba(31, 38, 135, 0.15);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    
    /* Radius — Large & Modern */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 24px;
    --radius-full: 999px;
    
    /* Motion */
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-base: 0.4s var(--ease-out);
    
    --container-width: 1280px;
}

/* ==============================================================
   DARK MODE — Vibrant Midnight
============================================================== */
[data-theme="dark"] {
    --bg-main: hsl(220, 20%, 5%);
    --bg-surface: hsl(220, 20%, 8%);
    --bg-elevated: rgba(20, 25, 35, 0.6);
    --bg-glass: rgba(10, 15, 25, 0.85);
    --glass-border: rgba(255, 255, 255, 0.05);
    
    --text-primary: hsl(220, 20%, 95%);
    --text-secondary: hsl(220, 15%, 75%);
    --text-tertiary: hsl(220, 10%, 50%);
    
    --border-light: rgba(255, 255, 255, 0.05);
    --shadow-md: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}


/* ==============================================================
   2. BASE & RESET
============================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

ul, ol { list-style: none; }

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: transparent;
}

::selection {
    background: rgba(var(--accent-rgb), 0.25);
    color: var(--text-primary);
}


/* ==============================================================
   3. TYPOGRAPHY
============================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.8rem); }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1.5em; color: var(--text-secondary); }
strong { font-weight: 700; color: var(--text-primary); }


/* ==============================================================
   4. LAYOUT SYSTEM
============================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.site-content {
    min-height: 60vh;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.content-layout.sidebar-left {
    grid-template-columns: 380px 1fr;
}
.content-layout.sidebar-left .main-sidebar { order: -1; }

.content-layout.no-sidebar {
    grid-template-columns: 1fr;
}

.main-content-area {
    margin-top: var(--space-xl);
}


/* ==============================================================
   5. TOPBAR
============================================================== */
.header-topbar {
    background: var(--primary);
    color: var(--text-inverse);
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

[data-theme="dark"] .header-topbar {
    background: #060a12;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 2rem;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.topbar-date {
    opacity: 0.85;
    white-space: nowrap;
}

.topbar-menu {
    display: flex;
    gap: var(--space-md);
}

.topbar-menu a {
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.topbar-menu a:hover { color: var(--accent); }

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

.social-icon {
    color: rgba(255,255,255,0.65);
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
}
.social-icon:hover {
    color: var(--accent);
    transform: translateY(-1px);
}

/* Footer social icons override */
.footer-brand .social-icons {
    margin-top: var(--space-lg);
}
.footer-brand .social-icon {
    color: var(--text-tertiary);
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-brand .social-icon:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}


/* ==============================================================
   6. HEADER & NAVIGATION
============================================================== */
.site-header { background: transparent; }

.header-main {
    padding: var(--space-lg) 0;
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-light);
}

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

.site-branding { max-width: 400px; }

.site-logo img {
    max-height: 60px;
    width: auto;
}

.site-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -3px;
    line-height: 1;
    display: inline-block;
}
.site-title:hover { color: var(--accent); }

.site-description {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-tertiary);
    letter-spacing: 2.5px;
    margin-top: 8px;
}

/* Navigation */
.sticky-nav {
    position: sticky;
    top: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(28px) saturate(180%) contrast(110%);
    -webkit-backdrop-filter: blur(28px) saturate(180%) contrast(110%);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-base);
}

.sticky-nav.scrolled {
    padding: 2px 0;
    box-shadow: var(--shadow-glass);
    background: hsla(220, 40%, 6%, 0.85); /* Darker on scroll for better legibility */
}

[data-theme="dark"] .sticky-nav.scrolled {
    background: hsla(220, 40%, 6%, 0.95);
}

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

.main-menu {
    display: flex;
    gap: 4px;
}

.main-menu li { position: relative; }

.main-menu > li > a {
    display: block;
    padding: 22px 16px;
    color: var(--text-primary);
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    transition: var(--transition-fast);
}

.main-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 16px;
    right: 16px;
    height: 1.5px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-in-out);
}

.main-menu > li > a:hover::after,
.main-menu > li.current-menu-item > a::after {
    transform: scaleX(1);
    transform-origin: left;
}

.main-menu > li > a:hover {
    color: var(--accent);
    transform: translateY(-1px);
}

/* Dropdown Submenu */
.main-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-fast);
    z-index: 1001;
}

.main-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-menu .sub-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-secondary);
    border-left: 3px solid transparent;
}

.main-menu .sub-menu a:hover {
    color: var(--accent);
    background: var(--bg-surface);
    border-left-color: var(--accent);
}

/* Nav Utilities */
.nav-utils {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-icon {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition-base);
}

.btn-icon:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    color: var(--accent);
    border-color: var(--accent);
}

/* Dark mode icon toggle */
.sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="dark"] .sun-icon { display: block; }

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 1100;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ==============================================================
   7. SEARCH OVERLAY
============================================================== */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

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

.search-overlay-inner {
    width: 90%;
    max-width: 700px;
    position: relative;
}

.search-form-overlay {
    display: flex;
    border-bottom: 3px solid var(--accent);
}

.search-form-overlay input {
    flex: 1;
    padding: 20px 0;
    font-size: 2rem;
    font-family: var(--font-heading);
    color: #ffffff;
    background: transparent;
    border: none;
    outline: none;
}

.search-form-overlay input::placeholder {
    color: rgba(255,255,255,0.3);
}

.search-submit-btn {
    color: var(--accent);
    padding: 0 10px;
}

.search-close {
    position: absolute;
    top: -60px;
    right: 0;
    color: #ffffff;
    font-size: 2.5rem;
    line-height: 1;
    opacity: 0.5;
    transition: var(--transition-fast);
}
.search-close:hover { opacity: 1; }

.live-search-results {
    margin-top: var(--space-lg);
    max-height: 400px;
    overflow-y: auto;
}

.live-search-results a {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    color: #ffffff;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    align-items: center;
    transition: var(--transition-fast);
}

.live-search-results a:hover {
    background: rgba(255,255,255,0.05);
    padding-left: var(--space-lg);
}

.live-search-results img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.live-search-results .result-title {
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.live-search-results .result-meta {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

/* ==============================================================
   8. HERO SECTION (Vibrant Tech-Editorial)
============================================================== */
.bloomberg-hero {
    margin-bottom: var(--space-3xl);
    position: relative;
    padding: var(--space-3xl) 0;
    overflow: hidden;
    isolation: isolate;
}

/* Floating Blobs (From Srvishwa Source) */
.bloomberg-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: -1;
    animation: blob-float 10s ease-in-out infinite alternate;
}

.bloomberg-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--secondary);
    filter: blur(150px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: -1;
    animation: blob-float 12s ease-in-out infinite alternate-reverse;
}

@keyframes blob-float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-30px) scale(1.1); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-xl);
}

.hero-main-card {
    position: relative;
    height: 520px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glass);
    transition: var(--transition-base);
}

.hero-side-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.hero-sub-card {
    position: relative;
    height: 245px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glass);
    transition: var(--transition-base);
}

.hero-main-card:hover,
.hero-sub-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Overlay Gradients */
.hero-main-card::after,
.hero-sub-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
    z-index: 1;
}

/* ==============================================================
   10. CONTENT CARDS (Vibrant Style)
============================================================== */
.news-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    transition: var(--transition-base);
}

.news-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.news-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
}

.news-card-img-wrap {
    aspect-ratio: 16 / 10;
}

/* ==============================================================
   9. NEWS TICKER
============================================================== */
.news-ticker {
    display: flex;
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0;
    margin-bottom: var(--space-2xl);
    overflow: hidden;
}

.ticker-label {
    background: var(--accent-red);
    color: #ffffff;
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 14px 20px;
    white-space: nowrap;
    position: relative;
}

.ticker-label::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: var(--accent-red);
}

.ticker-track {
    flex: 1;
    overflow: hidden;
    padding: 0 var(--space-md);
}

.ticker-items {
    display: flex;
    gap: var(--space-xl);
    animation: ticker-scroll 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 12px 0;
    white-space: nowrap;
    position: relative;
}

.ticker-item::after {
    content: '•';
    margin-left: var(--space-xl);
    color: var(--text-tertiary);
}

.ticker-item:hover { color: var(--accent); }

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

.news-ticker:hover .ticker-items {
    animation-play-state: paused;
}


/* ==============================================================
   10. CONTENT CARDS
============================================================== */
/* Section Titles */
.section-title {
    font-size: 1.6rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-light);
}

/* ==============================================================
   10. CONTENT CARDS (Highly Advanced)
============================================================== */
.news-card-horizontal {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    background: transparent;
    transition: var(--transition-base);
    border: 1px solid transparent;
}

.news-card-horizontal:hover {
    background: var(--bg-elevated);
    box-shadow: var(--shadow-md);
    border-color: var(--border-light);
    transform: translateY(-4px) scale(1.01);
}

.news-card-img {
    flex-shrink: 0;
    width: 320px;
    height: 220px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    position: relative;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.news-card-horizontal:hover .news-card-img img {
    transform: scale(1.1) rotate(1deg);
}

/* ==============================================================
   10. CONTENT CARDS (Highly Advanced — Srvishwa Vibrant)
============================================================== */
.news-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-glass);
    position: relative;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.news-card-image-link {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    position: relative;
}

.news-card-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.news-card:hover .news-card-image-link img {
    transform: scale(1.1);
}

.news-card-content {
    padding: var(--space-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

.news-card-content .news-card-title {
    font-size: 1.25rem;
    margin: var(--space-sm) 0 var(--space-md);
}

.news-card-content .news-card-excerpt {
    font-size: 0.9rem;
    line-height: 1.6;
}

.news-card-content .news-meta {
    margin-top: var(--space-md);
}


/* ==============================================================
   11. SIDEBAR & WIDGETS
============================================================== */
.main-sidebar {
    position: relative;
}

.main-sidebar .widget,
.engagement-widget {
    margin-bottom: var(--space-xl);
}

.sticky-sidebar {
    position: sticky;
    top: 80px;
    align-self: start;
}

.widget-title {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    font-family: var(--font-ui);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

/* CTA Widget */
.cta-widget {
    background: linear-gradient(135deg, var(--primary), #1a3a6b);
    color: #ffffff;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px -10px rgba(var(--primary-rgb), 0.35);
    text-align: center;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .cta-widget {
    background: linear-gradient(135deg, #1a2744, #0d1b36);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.cta-widget::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-badge {
    display: inline-block;
    background: var(--accent);
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    font-family: var(--font-ui);
}

.cta-widget h3 {
    color: #ffffff;
    font-size: 1.6rem;
    margin-bottom: var(--space-sm);
    position: relative;
}

.cta-widget p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--space-lg);
    line-height: 1.5;
}

.cta-widget input[type="email"] {
    width: 100%;
    padding: 14px 18px;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    margin-bottom: var(--space-sm);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.cta-widget input[type="email"]:focus {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.3);
}

.cta-widget input[type="email"]::placeholder { color: rgba(255,255,255,0.4); }

.cta-widget button {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: #000;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
}

.cta-widget button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    background: #ffffff;
}

.cta-privacy {
    display: block;
    margin-top: var(--space-sm);
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    font-family: var(--font-ui);
}

/* Engagement Widget */
.engagement-widget {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-xs);
}

.sidebar-post-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.sidebar-post-item {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    transition: var(--transition-fast);
    padding-bottom: var(--space-md);
    border-bottom: 1px dashed var(--border-light);
}

.sidebar-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-post-item:hover { transform: translateX(4px); }

.sidebar-post-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.sidebar-post-info h4 {
    font-size: 0.9rem;
    line-height: 1.3;
    margin: 0 0 4px 0;
    color: var(--text-primary);
    font-weight: 700;
    font-family: var(--font-body);
}

.sidebar-post-item:hover .sidebar-post-info h4 { color: var(--accent); }

.sidebar-post-info span {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-ui);
    font-weight: 600;
}

/* Rank Items */
.rank-item { align-items: flex-start; }

.rank-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: rgba(var(--primary-rgb), 0.08);
    line-height: 1;
    min-width: 38px;
    text-align: center;
    transition: var(--transition-fast);
}

.rank-item:hover .rank-number { color: var(--accent); }

/* Category Cloud Tags */
.category-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-cloud-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: var(--font-ui);
    transition: var(--transition-fast);
}

.category-cloud-tag:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.tag-count {
    font-size: 0.65rem;
    background: var(--border-light);
    padding: 1px 6px;
    border-radius: var(--radius-full);
    line-height: 1.4;
}

.category-cloud-tag:hover .tag-count {
    background: rgba(0,0,0,0.15);
}

/* Sticky Ad */
.sticky-ad {
    margin: var(--space-xl) 0;
    min-height: 250px;
    background: var(--bg-surface);
    border: 1px dashed var(--border-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-lg);
    border-radius: var(--radius-md);
}

.sticky-ad span {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    color: var(--text-tertiary);
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* ==============================================================
   12. SINGLE ARTICLE
============================================================== */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-2xl);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.article-layout.sidebar-left {
    grid-template-columns: 380px 1fr;
}

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

/* Article Category Tag */
.article-category-tag {
    display: inline-block;
    background: var(--accent);
    color: #000;
    padding: 5px 16px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1.5px;
    font-family: var(--font-ui);
    margin-bottom: var(--space-lg);
}

.article-category-tag:hover {
    background: var(--accent-vivid);
    color: #000;
}

/* Article Title */
.article-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.article-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    font-weight: 400;
}

/* Article Meta */
.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: var(--space-xl);
}

.meta-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

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

.meta-author-info {
    font-family: var(--font-ui);
    font-size: 0.9rem;
}

.meta-author-info strong { display: block; }
.meta-author-info strong a { color: var(--text-primary); }
.meta-author-info strong a:hover { color: var(--accent); }

.meta-date-time {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-updated {
    color: var(--accent);
    font-weight: 600;
}

.meta-extras {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.reading-time-badge,
.view-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-family: var(--font-ui);
    color: var(--text-tertiary);
    font-weight: 600;
    background: var(--bg-surface);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
}

/* Featured Image */
.article-featured-image {
    margin-bottom: var(--space-xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

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

.article-featured-image figcaption {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.82rem;
    color: var(--text-tertiary);
    font-style: italic;
    text-align: center;
    background: var(--bg-surface);
}

/* Entry Content */
.entry-content {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.85;
}

.entry-content p { margin-bottom: 1.8em; }

.entry-content h2 {
    font-size: 2rem;
    margin: var(--space-2xl) 0 var(--space-lg);
    color: var(--text-primary);
}

.entry-content h3 {
    font-size: 1.5rem;
    margin: var(--space-xl) 0 var(--space-md);
}

.entry-content img {
    border-radius: var(--radius-md);
    margin: var(--space-xl) 0;
    box-shadow: var(--shadow-sm);
}

.entry-content blockquote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    border-left: 4px solid var(--accent);
    margin: var(--space-2xl) 0;
    padding: var(--space-md) 0 var(--space-md) var(--space-xl);
    background: var(--bg-surface);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.entry-content blockquote p {
    margin-bottom: 0;
    color: var(--text-primary);
}

.entry-content ul, .entry-content ol {
    margin: 0 0 1.8em var(--space-xl);
}

.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }

.entry-content li {
    margin-bottom: 0.5em;
    color: var(--text-secondary);
}

.entry-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.entry-content a:hover { color: var(--accent-vivid); }

.entry-content pre {
    background: var(--bg-surface);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    border: 1px solid var(--border-light);
    margin: var(--space-xl) 0;
}

.entry-content code {
    background: var(--bg-surface);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.88em;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-xl) 0;
}

.entry-content th,
.entry-content td {
    padding: var(--space-md);
    border: 1px solid var(--border-light);
    text-align: left;
}

.entry-content th {
    background: var(--bg-surface);
    font-weight: 700;
}

/* Article Tags */
.article-tags {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.tags-label {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tag-pill {
    display: inline-block;
    padding: 4px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: var(--font-ui);
    transition: var(--transition-fast);
}

.tag-pill:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}


/* ==============================================================
   13. SOCIAL SHARE BUTTONS
============================================================== */
.social-share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: var(--space-lg) 0;
    padding: var(--space-md) 0;
}

.share-label {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 4px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    transition: var(--transition-fast);
    position: relative;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.share-twitter:hover { background: #1da1f2; color: #fff; border-color: #1da1f2; }
.share-facebook:hover { background: #4267B2; color: #fff; border-color: #4267B2; }
.share-linkedin:hover { background: #0077b5; color: #fff; border-color: #0077b5; }
.share-whatsapp:hover { background: #25d366; color: #fff; border-color: #25d366; }
.share-telegram:hover { background: #0088cc; color: #fff; border-color: #0088cc; }
.share-copy:hover { background: var(--accent); color: #000; border-color: var(--accent); }

.share-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-primary);
    color: var(--bg-main);
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    pointer-events: none;
}

.share-tooltip.visible {
    opacity: 1;
    visibility: visible;
}


/* ==============================================================
   14. RELATED POSTS
============================================================== */
.related-posts-section {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-light);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.related-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    transition: var(--transition-base);
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.related-card-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}

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

.related-card-content {
    padding: var(--space-md);
}

.related-card-content h3 {
    font-size: 1.05rem;
    line-height: 1.3;
    margin: 6px 0;
}

.related-card-content h3 a { color: var(--text-primary); }
.related-card-content h3 a:hover { color: var(--accent); }

.related-card-content time {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-family: var(--font-ui);
}


/* ==============================================================
   15. AUTHOR BOX
============================================================== */
.author-box {
    margin-top: var(--space-2xl);
    background: var(--bg-surface);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
    border: 1px solid var(--border-light);
}

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

.author-label {
    font-size: 0.72rem;
    font-family: var(--font-ui);
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.author-name {
    margin: 0 0 var(--space-sm);
    font-size: 1.3rem;
}

.author-name a { color: var(--text-primary); }
.author-name a:hover { color: var(--accent); }

.author-bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.author-all-posts {
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* ==============================================================
   16. COMMENTS
============================================================== */
.comments-section {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-light);
}

.comments-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-xl);
}

.comment-list {
    list-style: none;
}

.comment-list .comment {
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--border-light);
}

.comment-list .comment-body {
    display: flex;
    gap: var(--space-md);
}

.comment-list .comment-author img {
    border-radius: 50%;
}

.comment-list .comment-content p {
    font-size: 0.95rem;
    margin-bottom: var(--space-sm);
}

.comment-list .comment-metadata {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    font-family: var(--font-ui);
}

.comment-list .reply a {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-ui);
}

/* Comment Form */
.comment-form-premium label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.comment-form-premium input[type="text"],
.comment-form-premium input[type="email"],
.comment-form-premium input[type="url"],
.comment-form-premium textarea {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
    margin-bottom: var(--space-md);
}

.comment-form-premium input:focus,
.comment-form-premium textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}

.comment-submit-btn {
    background: var(--accent);
    color: #000;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition-base);
}

.comment-submit-btn:hover {
    background: var(--accent-vivid);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}


/* ==============================================================
   17. POST NAVIGATION
============================================================== */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.nav-previous,
.nav-next {
    display: block;
    padding: var(--space-lg);
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.nav-previous:hover,
.nav-next:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

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

.nav-label {
    display: block;
    font-size: 0.7rem;
    font-family: var(--font-ui);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-tertiary);
    font-weight: 700;
    margin-bottom: 6px;
}

.nav-title {
    display: block;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.3;
}


/* ==============================================================
   18. ARCHIVE & SEARCH
============================================================== */
.archive-header {
    background: linear-gradient(135deg, var(--bg-surface), var(--bg-elevated));
    padding: var(--space-2xl) var(--space-xl);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-xl);
    text-align: center;
    border: 1px solid var(--border-light);
}

.archive-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: var(--space-sm);
}

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

.archive-count {
    margin-top: var(--space-md);
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.search-query-text {
    color: var(--accent);
}

.no-results-message {
    text-align: center;
    padding: var(--space-3xl) 0;
}

.no-results-icon {
    color: var(--text-tertiary);
    opacity: 0.3;
    margin-bottom: var(--space-lg);
}

.no-results-message h2 {
    margin-bottom: var(--space-md);
}

.no-results-message p {
    color: var(--text-tertiary);
    max-width: 500px;
    margin: 0 auto var(--space-xl);
}


/* ==============================================================
   19. ERROR 404
============================================================== */
.error-404-page {
    padding: var(--space-3xl) 0;
}

.error-404-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.error-404-number {
    font-family: var(--font-heading);
    font-size: clamp(8rem, 20vw, 14rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent), var(--accent-vivid));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.15;
    margin-bottom: -30px;
    position: relative;
    z-index: 0;
}

.error-404-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.error-404-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto var(--space-xl);
}

.error-404-search {
    max-width: 500px;
    margin: 0 auto var(--space-xl);
}

.error-404-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: var(--space-md) var(--space-xl);
    background: var(--accent);
    color: #000;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
    font-family: var(--font-ui);
}

.error-404-home-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #000;
}

.error-404-suggestions {
    margin-top: var(--space-3xl);
    text-align: left;
}


/* ==============================================================
   20. PAGES
============================================================== */
.page-layout {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.page-header-single {
    margin-bottom: var(--space-xl);
}

.page-header-single .page-title {
    font-size: clamp(2rem, 4vw, 3rem);
}

.page-featured-image {
    margin-bottom: var(--space-xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.page-featured-image img {
    width: 100%;
    height: auto;
}

.full-width-layout .primary-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-links {
    margin-top: var(--space-xl);
    font-family: var(--font-ui);
    font-weight: 700;
}


/* ==============================================================
   21. FOOTER
============================================================== */
.site-footer {
    background: #060e19;
    color: var(--text-tertiary);
}

.footer-ad-zone {
    padding: var(--space-xl) 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-ad {
    max-width: 728px;
    margin: 0 auto;
    background: rgba(255,255,255,0.03);
    border: 1px dashed rgba(255,255,255,0.1);
    padding: var(--space-lg);
    border-radius: var(--radius-sm);
    text-align: center;
}

.footer-ad span {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-ui);
}

.footer-widgets-area {
    padding: var(--space-2xl) 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-widgets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.footer-widget-title {
    color: #ffffff;
    font-size: 0.85rem;
    font-family: var(--font-ui);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-lg);
}

.footer-main {
    padding: var(--space-2xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: var(--space-xl);
}

.site-title-footer {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: #ffffff;
    display: inline-block;
}
.site-title-footer:hover { color: var(--accent); }

.footer-tagline {
    color: rgba(255,255,255,0.4);
    margin-top: var(--space-md);
    font-size: 0.88rem;
    line-height: 1.6;
}

.footer-heading {
    color: #ffffff;
    font-size: 0.82rem;
    font-family: var(--font-ui);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 800;
    margin-bottom: var(--space-lg);
}

.footer-menu {
    list-style: none;
}

.footer-menu li { margin-bottom: 10px; }

.footer-menu a {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    transition: var(--transition-fast);
    display: inline-block;
}

.footer-menu a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

/* Newsletter */
.footer-newsletter-desc {
    color: rgba(255,255,255,0.4);
    font-size: 0.88rem;
    margin-bottom: var(--space-md);
}

.footer-newsletter-form {
    display: flex;
    gap: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.15);
}

.footer-newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border: none;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
}

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

.footer-newsletter-form input:focus {
    background: rgba(255,255,255,0.1);
}

.footer-newsletter-form button {
    padding: 12px 20px;
    background: var(--accent);
    color: #000;
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.footer-newsletter-form button:hover {
    background: #ffffff;
}

/* Copyright */
.footer-bottom {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-copyright {
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}

.footer-theme-credit a {
    color: var(--accent);
}


/* ==============================================================
   22. BACK TO TOP
============================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-vivid);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}


/* ==============================================================
   23. ADS & MONETIZATION
============================================================== */
.ad-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ad-placeholder span {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    color: var(--text-tertiary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.header-ad-zone {
    width: 728px;
    height: 90px;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: 1px dashed var(--border-medium);
    flex-shrink: 0;
}

.in-content-ad {
    margin: var(--space-xl) 0;
    padding: var(--space-md);
    background: var(--bg-surface);
    border: 1px dashed var(--border-light);
    border-radius: var(--radius-sm);
    text-align: center;
}


/* ==============================================================
   24. PAGINATION
============================================================== */
.pagination-area {
    margin-top: var(--space-2xl);
}

.pagination-area .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.pagination-area .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 var(--space-md);
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.pagination-area .page-numbers:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.pagination-area .page-numbers.current {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

[data-theme="dark"] .pagination-area .page-numbers.current {
    background: var(--accent);
    color: #000;
}


/* ==============================================================
   25. SEARCH FORM
============================================================== */
.search-form {
    width: 100%;
}

.search-input-group {
    display: flex;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition-fast);
}

.search-input-group:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}

.search-field {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    border: none;
    background: var(--bg-surface);
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    font-family: var(--font-body);
}

.search-submit {
    padding: var(--space-md);
    background: var(--accent);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.search-submit:hover {
    background: var(--accent-vivid);
}


/* ==============================================================
   26. BREADCRUMBS
============================================================== */
.breadcrumbs {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-bottom: var(--space-lg);
    padding: var(--space-sm) 0;
}

.breadcrumbs a {
    color: var(--text-tertiary);
    font-weight: 600;
}

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

.breadcrumb-sep {
    margin: 0 8px;
    opacity: 0.5;
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 600;
}


/* ==============================================================
   27. ANIMATIONS
============================================================== */
/* Page load fade-in */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.bloomberg-hero,
.trending-section,
.archive-header {
    animation: fadeInUp 0.6s var(--ease-out) both;
}

.news-ticker { animation: fadeInUp 0.6s 0.2s var(--ease-out) both; }

/* Reading Progress Bar */
.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 10000;
}

.reading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-vivid));
    width: 0%;
    transition: width 0.1s ease-out;
    border-radius: 0 2px 2px 0;
}


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

.screen-reader-text:focus {
    background: var(--bg-main);
    clip: auto !important;
    clip-path: none;
    color: var(--text-primary);
    display: block;
    font-size: 1rem;
    height: auto;
    left: 5px;
    padding: 15px 23px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    box-shadow: var(--shadow-lg);
}

.skip-link {
    position: fixed;
    top: -100%;
    left: 16px;
    z-index: 100001;
    padding: 10px 20px;
    background: var(--accent);
    color: #000;
    font-weight: 700;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}


/* ==============================================================
   29. PRINT STYLES
============================================================== */
@media print {
    .site-header,
    .site-footer,
    .main-sidebar,
    .social-share-buttons,
    .post-navigation,
    .related-posts-section,
    .comments-area,
    .back-to-top,
    .reading-progress-container,
    .news-ticker,
    .ad-container,
    .ad-placeholder,
    .header-ad-zone,
    .search-overlay,
    .mobile-menu-toggle,
    .nav-utils {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    .container { max-width: 100%; padding: 0; }
    .article-layout { grid-template-columns: 1fr; }
    .content-layout { grid-template-columns: 1fr; }

    a { color: #000; text-decoration: underline; }
    a::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}


/* ==============================================================
   30. RESPONSIVE
============================================================== */

/* Large Desktop */
@media (max-width: 1400px) {
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: var(--space-lg); }
}

/* Desktop / Small Desktop */
@media (max-width: 1200px) {
    .hero-grid { grid-template-columns: 1.5fr 1fr; }
    .hero-main-card { min-height: 450px; }
    .content-layout { grid-template-columns: 1fr; gap: var(--space-xl); }
    .article-layout { grid-template-columns: 1fr; }
    .main-sidebar { max-width: 600px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
    .footer-widgets-grid { grid-template-columns: 1fr 1fr; }
}

/* Tablet */
@media (max-width: 900px) {
    /* Mobile Navigation */
    .mobile-menu-toggle { display: flex; }

    .nav-wrapper {
        position: fixed;
        top: 0;
        left: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-main);
        box-shadow: 20px 0 50px rgba(0,0,0,0.4);
        transition: 0.4s var(--ease-out);
        z-index: 1050;
        padding: 80px 30px 30px;
        overflow-y: auto;
    }

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

    .main-menu {
        flex-direction: column;
        gap: 0;
    }

    .main-menu > li > a {
        font-size: 1rem;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-light);
        letter-spacing: 0.5px;
    }

    .main-menu > li > a::after { display: none; }

    .main-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: var(--space-lg);
        background: transparent;
    }

    /* Hero */
    .hero-grid { grid-template-columns: 1fr; }
    .hero-main-card { min-height: 380px; }
    .hero-sub-card { min-height: 200px; }
    .hero-side-grid { flex-direction: row; }
    .hero-title { font-size: 2rem; }

    /* Layout */
    .header-ad-zone { display: none; }
    .topbar-menu { display: none; }
    .related-posts-grid { grid-template-columns: 1fr 1fr; }
    .post-navigation { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
    .footer-copyright { flex-direction: column; gap: var(--space-sm); text-align: center; }
    .footer-widgets-grid { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
    body { font-size: 16px; }
    .container { padding: 0 1.2rem; }

    .header-main-inner { flex-direction: column; text-align: center; gap: var(--space-md); }
    .site-title { font-size: 2.5rem; letter-spacing: -2px; }

    .hero-side-grid { flex-direction: column; }
    .hero-main-card { min-height: 300px; }

    .news-card-horizontal {
        flex-direction: column;
        gap: var(--space-md);
    }

    .news-card-img {
        width: 100%;
        border-radius: var(--radius-md);
    }

    .news-card-img img { height: 200px; }

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

    .article-title {
        font-size: 2rem;
        letter-spacing: -1px;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .related-posts-grid { grid-template-columns: 1fr; }

    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .archive-header {
        padding: var(--space-xl);
    }

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

    .news-ticker {
        flex-direction: column;
        border-radius: var(--radius-sm);
    }

    .ticker-label { width: 100%; text-align: center; }
    .ticker-label::after { display: none; }

    .footer-newsletter-form { flex-direction: column; }
    .footer-newsletter-form input,
    .footer-newsletter-form button { width: 100%; }

    .social-share-buttons { flex-wrap: wrap; }

    .error-404-number { font-size: 6rem; margin-bottom: -15px; }
}

/* Small Mobile */
@media (max-width: 480px) {
    .site-title { font-size: 2rem; }
    .hero-main-card { min-height: 250px; }
    .hero-title { font-size: 1.6rem; }
    .article-title { font-size: 1.7rem; }
    .cta-widget { padding: var(--space-lg); }
    .section-title { font-size: 1.3rem; }
    .topbar-inner { padding: 6px 1.2rem; font-size: 0.72rem; }
    .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}


/* ==============================================================
   RTL SUPPORT
============================================================== */
html[dir="rtl"] .main-menu > li > a::after { left: auto; right: 14px; }
html[dir="rtl"] .sidebar-post-item:hover { transform: translateX(-4px); }
html[dir="rtl"] .footer-menu a:hover { transform: translateX(-4px); }
html[dir="rtl"] .breadcrumb-sep { transform: rotate(180deg); }
html[dir="rtl"] .ticker-label::after {
    right: auto;
    left: -8px;
    border-left-color: transparent;
    border-right-color: var(--accent-red);
}

/* ==============================================================
   31. TABLE OF CONTENTS (TOC)
============================================================== */
.article-toc {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    max-width: 450px;
}

.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    border-bottom: 2px solid var(--accent);
    padding-bottom: var(--space-xs);
}

.toc-title {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.toc-toggle {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 600;
}

.toc-list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.toc-item {
    margin-bottom: 8px;
    line-height: 1.4;
}

.toc-item a {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.toc-level-3 {
    margin-left: var(--space-lg);
}

.toc-item a:hover {
    color: var(--accent);
}

/* ==============================================================
   32. FLOATING SHARE BAR
============================================================== */
.floating-share-bar {
    position: fixed;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
}

.f-share-btn {
    width: 44px;
    height: 44px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.f-share-btn:hover {
    transform: translateX(5px);
    color: #fff;
}

.f-twitter:hover { background: #000; }
.f-facebook:hover { background: #1877f2; }
.f-whatsapp:hover { background: #25d366; }
.f-telegram:hover { background: #0088cc; }

@media (max-width: 1400px) {
    .floating-share-bar { display: none; }
}

/* ==============================================================
   33. COOKIE CONSENT BANNER
============================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-light);
    padding: 20px 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.6s var(--ease-out);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
}

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

.cookie-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
}

.cookie-content {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cookie-policy-link {
    text-decoration: underline;
    font-weight: 600;
    margin-left: 10px;
}

.btn-cookie-accept {
    background: var(--primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.btn-cookie-accept:hover {
    background: var(--accent);
    color: #000;
}

@media (max-width: 768px) {
    .cookie-inner { flex-direction: column; text-align: center; }
}

/* ==============================================================
   34. MISC POLISH
============================================================== */
.breadcrumb-current {
    font-weight: 700;
    color: var(--text-primary);
}

.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 9999;
}

.scrolled .nav-inner {
    padding-top: 8px;
    padding-bottom: 8px;
}

/* ==============================================================
   35. ADVANCED BLOCK PATTERN SUPPORT
============================================================== */
.premium-bento-hero {
    padding: 60px 0;
}

.bento-grid {
    gap: 24px;
}

.bento-item {
    transition: var(--transition-base);
}

.bento-cover {
    border-radius: var(--radius-md);
    position: relative;
}

.bento-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Glass Newsletter */
.glass-newsletter-section {
    padding: 100px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    margin: 100px 0;
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 60px;
    border-radius: var(--radius-lg);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

/* Stats Grid */
.stats-grid {
    padding: 60px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.stat-item {
    padding: 24px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    font-family: var(--font-ui);
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-tertiary);
}

.stat-item.border-left {
    border-left: 1px solid var(--border-light);
}

@media (max-width: 900px) {
    .stat-item.border-left { border-left: none; border-top: 1px solid var(--border-light); }
    .bento-grid { flex-direction: column !important; }
}
