/*
Theme Name: Novara Pro
Theme URI: https://novara-theme.com/
Author: Novara Team
Author URI: https://novara-theme.com/
Description: Novara Pro is an enterprise-grade News, Magazine & Blog WordPress theme built for serious publishers. Featuring AI-powered recommendations, custom Gutenberg blocks, advanced page builder, drag-and-drop header/footer builders, PWA support, voice search, dark/light mode, mega menu, live AJAX search, breaking news ticker, web stories, WooCommerce, AMP, multilingual ready, Schema.org JSON-LD, and a stunning Crimson Red & Black design system with vibrant gradients, glassmorphism, and neon accents. Production-ready, marketplace-grade premium theme. Compatible with Elementor, Gutenberg, Yoast, Rank Math, WooCommerce, BuddyPress, bbPress, LearnDash, WPML and Polylang.
Version: 2.0.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: novara
Tags: news, magazine, blog, two-columns, three-columns, right-sidebar, left-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready, dark-mode, e-commerce, blog, news

Novara Pro WordPress Theme, Copyright 2026 Novara Team
Novara Pro is distributed under the terms of the GNU GPL v3.
*/

/* ==========================================================================
   1. ROOT VARIABLES & DESIGN TOKENS
   ========================================================================== */

:root {
    /* === BRAND COLORS === */
    --novara-crimson: #E63946;
    --novara-crimson-dark: #B8202E;
    --novara-crimson-light: #FF4D5E;
    --novara-black: #0A0A0F;
    --novara-charcoal: #15151C;
    --novara-graphite: #1F1F2A;
    --novara-smoke: #2A2A38;
    --novara-gold: #F4B942;
    --novara-cyan: #00D9FF;
    --novara-magenta: #FF2D92;
    --novara-emerald: #10B981;

    /* === GRADIENTS === */
    --grad-crimson: linear-gradient(135deg, #E63946 0%, #B8202E 100%);
    --grad-sunset: linear-gradient(135deg, #FF4D5E 0%, #F4B942 100%);
    --grad-night: linear-gradient(135deg, #0A0A0F 0%, #2A2A38 100%);
    --grad-neon: linear-gradient(135deg, #FF2D92 0%, #00D9FF 100%);
    --grad-fire: linear-gradient(135deg, #E63946 0%, #FF2D92 50%, #F4B942 100%);
    --grad-mesh: radial-gradient(at 20% 20%, #E63946 0%, transparent 50%),
                 radial-gradient(at 80% 30%, #FF2D92 0%, transparent 50%),
                 radial-gradient(at 50% 80%, #F4B942 0%, transparent 50%);

    /* === LIGHT MODE === */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FB;
    --bg-tertiary: #EEF1F4;
    --bg-elevated: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.72);
    --text-primary: #15151C;
    --text-secondary: #4A4A5A;
    --text-muted: #8A8A99;
    --border-color: #E5E7EB;
    --border-strong: #D1D5DB;
    --shadow-xs: 0 1px 2px 0 rgba(15, 15, 25, 0.04);
    --shadow-sm: 0 1px 3px 0 rgba(15, 15, 25, 0.06), 0 1px 2px 0 rgba(15, 15, 25, 0.04);
    --shadow-md: 0 4px 16px -2px rgba(15, 15, 25, 0.08);
    --shadow-lg: 0 12px 32px -8px rgba(15, 15, 25, 0.12);
    --shadow-xl: 0 24px 48px -12px rgba(15, 15, 25, 0.18);
    --shadow-2xl: 0 32px 64px -16px rgba(15, 15, 25, 0.25);
    --shadow-crimson: 0 8px 24px -6px rgba(230, 57, 70, 0.35);
    --shadow-neon: 0 0 24px rgba(230, 57, 70, 0.5), 0 0 48px rgba(230, 57, 70, 0.25);
    --shadow-glass: 0 8px 32px rgba(31, 38, 135, 0.15);

    /* === ACCENT === */
    --accent-primary: var(--novara-crimson);
    --accent-hover: var(--novara-crimson-dark);

    /* === TYPOGRAPHY === */
    --font-heading: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    /* === FLUID TYPE SCALE === */
    --fs-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
    --fs-sm: clamp(0.875rem, 0.82rem + 0.3vw, 0.9375rem);
    --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
    --fs-lg: clamp(1.125rem, 1.07rem + 0.3vw, 1.25rem);
    --fs-xl: clamp(1.25rem, 1.2rem + 0.4vw, 1.5rem);
    --fs-2xl: clamp(1.5rem, 1.35rem + 0.8vw, 1.875rem);
    --fs-3xl: clamp(1.875rem, 1.6rem + 1.5vw, 2.5rem);
    --fs-4xl: clamp(2.5rem, 2rem + 2.5vw, 3.5rem);
    --fs-5xl: clamp(3rem, 2.4rem + 3vw, 4.5rem);

    /* === SPACING === */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-6: 1.5rem;
    --sp-8: 2rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-24: 6rem;

    /* === SIZING === */
    --container-max: 1320px;
    --container-narrow: 920px;
    --container-wide: 1440px;
    --header-height: 80px;
    --topbar-height: 38px;

    /* === RADIUS === */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* === TRANSITIONS === */
    --t-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --t-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --t-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
    --t-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* === Z-INDEX === */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 1000;
    --z-toast: 1100;
    --z-tooltip: 1200;
}

/* === DARK MODE === */
[data-theme="dark"] {
    --bg-primary: #0A0A0F;
    --bg-secondary: #15151C;
    --bg-tertiary: #1F1F2A;
    --bg-elevated: #1F1F2A;
    --bg-glass: rgba(15, 15, 25, 0.72);
    --text-primary: #F4F4F8;
    --text-secondary: #B8B8C5;
    --text-muted: #7A7A88;
    --border-color: #2A2A38;
    --border-strong: #3A3A48;
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px -2px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 12px 32px -8px rgba(0, 0, 0, 0.7);
    --shadow-xl: 0 24px 48px -12px rgba(0, 0, 0, 0.8);
    --shadow-crimson: 0 8px 24px -6px rgba(230, 57, 70, 0.5);
}

/* ==========================================================================
   2. BASE RESET & GLOBAL STYLES
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--t-base), color var(--t-base);
    overflow-x: hidden;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: transparent; }
a { color: var(--accent-primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}
h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }

p { margin-bottom: 1rem; color: var(--text-secondary); }
ul, ol { list-style: none; }

::selection { background: var(--novara-crimson); color: white; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--novara-crimson); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--novara-crimson-dark); }

/* === FOCUS STATES (a11y) === */
:focus-visible {
    outline: 3px solid var(--novara-crimson);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   3. UTILITY CLASSES
   ========================================================================== */

.u-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.u-gradient-text {
    background: var(--grad-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.u-shimmer {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-tertiary) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.u-fade-up { animation: fadeUp 0.6s var(--t-bounce) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.u-fade-in { animation: fadeIn 0.5s ease forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.u-scale-in { animation: scaleIn 0.4s var(--t-bounce) forwards; }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }

.u-text-center { text-align: center; }
.u-mt-0 { margin-top: 0; } .u-mt-2 { margin-top: var(--sp-2); } .u-mt-4 { margin-top: var(--sp-4); }
.u-mt-8 { margin-top: var(--sp-8); } .u-mt-12 { margin-top: var(--sp-12); }
.u-mb-2 { margin-bottom: var(--sp-2); } .u-mb-4 { margin-bottom: var(--sp-4); }
.u-mb-8 { margin-bottom: var(--sp-8); } .u-mb-12 { margin-bottom: var(--sp-12); }

/* ==========================================================================
   4. LAYOUT & CONTAINERS
   ========================================================================== */

.novara-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}
.novara-container--narrow { max-width: var(--container-narrow); }
.novara-container--wide { max-width: var(--container-wide); }

.novara-grid { display: grid; gap: 32px; }
.novara-grid--main { grid-template-columns: 1fr 340px; }
.novara-grid--main-left { grid-template-columns: 340px 1fr; }
.novara-grid--3col { grid-template-columns: repeat(3, 1fr); }
.novara-grid--4col { grid-template-columns: repeat(4, 1fr); }
.novara-grid--2col { grid-template-columns: repeat(2, 1fr); }
.novara-grid--asymmetric { grid-template-columns: 2fr 1fr 1fr; }

@media (max-width: 1024px) {
    .novara-grid--main, .novara-grid--main-left { grid-template-columns: 1fr; }
    .novara-grid--4col, .novara-grid--asymmetric { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .novara-grid--3col, .novara-grid--4col, .novara-grid--2col, .novara-grid--asymmetric { grid-template-columns: 1fr; }
}

/* === MASONRY === */
.novara-masonry {
    column-count: 3;
    column-gap: 24px;
}
.novara-masonry > * {
    break-inside: avoid;
    margin-bottom: 24px;
}
@media (max-width: 1024px) { .novara-masonry { column-count: 2; } }
@media (max-width: 640px) { .novara-masonry { column-count: 1; } }

/* ==========================================================================
   5. TOP BAR
   ========================================================================== */

.novara-topbar {
    background: var(--novara-black);
    color: #B8B8C5;
    font-size: 13px;
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}
.novara-topbar::before {
    content: '';
    position: absolute;
    top: 0; left: -50%;
    width: 200%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--novara-crimson), transparent);
    animation: scan-line 8s linear infinite;
}
@keyframes scan-line { from { transform: translateX(0); } to { transform: translateX(50%); } }
.novara-topbar__inner { display: flex; justify-content: space-between; align-items: center; width: 100%; position: relative; z-index: 1; }
.novara-topbar__left { display: flex; gap: 18px; align-items: center; }
.novara-topbar__date::before { content: "📅"; margin-right: 8px; }
.novara-topbar__weather { display: inline-flex; align-items: center; gap: 6px; }
.novara-topbar__social { display: flex; gap: 14px; align-items: center; }
.novara-topbar__social a {
    color: #B8B8C5;
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
    transition: all var(--t-fast);
}
.novara-topbar__social a:hover {
    background: var(--novara-crimson);
    color: white;
    transform: translateY(-1px) rotate(6deg);
}
@media (max-width: 768px) {
    .novara-topbar__weather, .novara-topbar__date { display: none; }
}

/* ==========================================================================
   6. HEADER
   ========================================================================== */

.novara-header {
    background: var(--bg-glass);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    transition: all var(--t-base);
}
.novara-header.is-scrolled {
    box-shadow: var(--shadow-md);
}
.novara-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 32px;
}
.novara-logo {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.novara-logo__accent { color: var(--novara-crimson); }
.novara-logo__dot {
    width: 10px; height: 10px;
    background: var(--novara-crimson);
    border-radius: 50%;
    box-shadow: 0 0 16px var(--novara-crimson);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 16px var(--novara-crimson); }
    50% { opacity: 0.6; transform: scale(1.15); box-shadow: 0 0 24px var(--novara-crimson); }
}

/* ==========================================================================
   7. NAVIGATION & MEGA MENU
   ========================================================================== */

.novara-nav { display: flex; align-items: center; gap: 4px; }
.novara-nav__list { display: flex; align-items: center; gap: 4px; }
.novara-nav__item { position: relative; }
.novara-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-md);
    transition: all var(--t-fast);
    position: relative;
}
.novara-nav__link::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 3px;
    background: var(--grad-crimson);
    border-radius: var(--radius-full);
    transition: width var(--t-base);
}
.novara-nav__link:hover::after,
.novara-nav__item--active .novara-nav__link::after { width: 24px; }
.novara-nav__link:hover { color: var(--novara-crimson); }

/* === MEGA MENU === */
.novara-megamenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%; transform: translateX(-50%) translateY(-10px);
    width: min(960px, 92vw);
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 28px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--t-base);
    display: grid;
    grid-template-columns: 200px 1fr 240px;
    gap: 24px;
    z-index: var(--z-dropdown);
}
.novara-nav__item--mega:hover .novara-megamenu {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.novara-megamenu__category h5 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--novara-crimson);
    margin-bottom: 12px;
    font-family: var(--font-body);
    font-weight: 800;
}
.novara-megamenu__list li a {
    display: block;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--t-fast);
}
.novara-megamenu__list li:last-child a { border: none; }
.novara-megamenu__list li a:hover { color: var(--novara-crimson); padding-left: 6px; }

.novara-megamenu__featured {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    background: var(--bg-secondary);
    aspect-ratio: 4/3;
}
.novara-megamenu__featured img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.novara-megamenu__featured:hover img { transform: scale(1.05); }
.novara-megamenu__featured-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,10,15,0.95), transparent 60%);
    padding: 16px; display: flex; align-items: flex-end;
}

/* ==========================================================================
   8. HEADER ACTIONS
   ========================================================================== */

.novara-header__actions { display: flex; align-items: center; gap: 8px; }
.novara-icon-btn {
    width: 42px; height: 42px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    background: var(--bg-secondary);
    transition: all var(--t-fast);
    border: 1px solid var(--border-color);
    position: relative;
}
.novara-icon-btn:hover {
    background: var(--grad-crimson);
    color: white;
    border-color: var(--novara-crimson);
    transform: translateY(-1px);
    box-shadow: var(--shadow-crimson);
}
.novara-icon-btn__badge {
    position: absolute;
    top: -4px; right: -4px;
    background: var(--novara-crimson);
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px; height: 16px;
    border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px;
}

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

.novara-subscribe-btn {
    background: var(--grad-crimson);
    color: white;
    padding: 11px 22px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 14px;
    box-shadow: var(--shadow-crimson);
    transition: all var(--t-fast);
    display: inline-flex; align-items: center; gap: 8px;
    position: relative;
    overflow: hidden;
}
.novara-subscribe-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}
.novara-subscribe-btn:hover { transform: translateY(-2px); color: white; box-shadow: 0 12px 28px -6px rgba(230, 57, 70, 0.5); }
.novara-subscribe-btn:hover::before { left: 100%; }

/* ==========================================================================
   9. LIVE AJAX SEARCH WITH AI SUGGESTIONS
   ========================================================================== */

.novara-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(16px);
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: all var(--t-base);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 12vh;
}
.novara-search-overlay.is-active { opacity: 1; visibility: visible; }
.novara-search-box {
    width: min(720px, 90vw);
    background: var(--bg-elevated);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 24px 64px -12px rgba(0,0,0,0.6);
    transform: translateY(20px) scale(0.96);
    transition: transform var(--t-bounce);
    border: 1px solid var(--border-color);
}
.novara-search-overlay.is-active .novara-search-box { transform: translateY(0) scale(1); }
.novara-search-input-wrap {
    display: flex; align-items: center;
    padding: 8px 20px;
    border-bottom: 1px solid var(--border-color);
    gap: 12px;
}
.novara-search-input {
    flex: 1;
    border: none; outline: none; background: transparent;
    font-size: 20px;
    padding: 20px 0;
    color: var(--text-primary);
}
.novara-search-voice {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--grad-crimson);
    color: white;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--t-fast);
}
.novara-search-voice:hover { transform: scale(1.1); }
.novara-search-voice.is-recording { animation: pulse-record 1s infinite; }
@keyframes pulse-record { 0%, 100% { box-shadow: 0 0 0 0 rgba(230,57,70,0.6); } 50% { box-shadow: 0 0 0 12px rgba(230,57,70,0); } }
.novara-search-results { max-height: 60vh; overflow-y: auto; padding: 12px; }
.novara-search-result {
    display: flex; gap: 14px;
    padding: 12px;
    border-radius: var(--radius-md);
    transition: background var(--t-fast);
}
.novara-search-result:hover { background: var(--bg-secondary); }
.novara-search-result__thumb { width: 72px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.novara-search-result__title { font-weight: 700; font-size: 15px; color: var(--text-primary); line-height: 1.4; font-family: var(--font-heading); }
.novara-search-result__meta { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.novara-search-suggestions {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
}
.novara-search-suggestions h6 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex; align-items: center; gap: 6px;
}
.novara-search-suggestions h6::before { content: "✨"; }
.novara-suggestion-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.novara-suggestion-tag {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    transition: all var(--t-fast);
    cursor: pointer;
}
.novara-suggestion-tag:hover { background: var(--novara-crimson); color: white; }

/* ==========================================================================
   10. BREAKING NEWS TICKER
   ========================================================================== */

.novara-ticker {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    height: 48px;
}
.novara-ticker__label {
    background: var(--grad-crimson);
    color: white;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0 18px;
    height: 100%;
    display: flex; align-items: center;
    position: relative;
    flex-shrink: 0;
}
.novara-ticker__label::after {
    content: '';
    position: absolute;
    right: -16px; top: 0;
    border: 24px solid transparent;
    border-left-color: var(--novara-crimson);
}
.novara-ticker__pulse { width: 8px; height: 8px; background: white; border-radius: 50%; margin-right: 8px; animation: pulse-dot 1.5s ease-in-out infinite; }
.novara-ticker__items {
    display: flex; gap: 48px;
    padding-left: 32px;
    animation: ticker-scroll 40s linear infinite;
    white-space: nowrap;
}
.novara-ticker:hover .novara-ticker__items { animation-play-state: paused; }
@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.novara-ticker__item { color: var(--text-primary); font-weight: 600; font-size: 14px; }
.novara-ticker__item span { color: var(--novara-crimson); margin-right: 8px; font-weight: 800; }

/* ==========================================================================
   11. HERO / FEATURED SLIDER
   ========================================================================== */

.novara-hero { padding: 32px 0; }
.novara-hero__grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    height: 540px;
}
@media (max-width: 1024px) { .novara-hero__grid { grid-template-columns: 1fr; height: auto; } }
.novara-hero__main, .novara-hero__side article {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-secondary);
}
.novara-hero__main { min-height: 540px; }
.novara-hero__side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.novara-hero__main img, .novara-hero__side article img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform var(--t-slow);
}
.novara-hero__main:hover img, .novara-hero__side article:hover img { transform: scale(1.05); }

.novara-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,10,15,0.95) 0%, rgba(10,10,15,0.4) 50%, transparent 100%);
    padding: 32px;
    display: flex; flex-direction: column; justify-content: flex-end;
    color: white;
}
.novara-hero__category {
    background: var(--grad-crimson);
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 14px;
    box-shadow: var(--shadow-crimson);
}
.novara-hero__title {
    color: white;
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    line-height: 1.15;
    margin-bottom: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
}
.novara-hero__main .novara-hero__title { font-size: clamp(1.8rem, 3.5vw, 3rem); }
.novara-hero__meta { display: flex; gap: 16px; font-size: 13px; color: rgba(255,255,255,0.85); flex-wrap: wrap; }
.novara-hero__meta .author::before { content: "👤"; margin-right: 6px; }
.novara-hero__meta .date::before { content: "🕐"; margin-right: 6px; }
.novara-hero__meta .reads::before { content: "👁"; margin-right: 6px; }

/* ==========================================================================
   12. ARTICLE CARDS
   ========================================================================== */

.novara-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--t-base);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}
.novara-card:hover {
    transform: translateY(-6px);
    border-color: var(--novara-crimson);
    box-shadow: var(--shadow-xl);
}
.novara-card__thumb { aspect-ratio: 16/10; overflow: hidden; position: relative; background: var(--bg-secondary); }
.novara-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.novara-card:hover .novara-card__thumb img { transform: scale(1.08); }
.novara-card__category {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--grad-crimson);
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: var(--shadow-crimson);
}
.novara-card__bookmark {
    position: absolute;
    top: 14px; right: 14px;
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--novara-charcoal);
    transition: all var(--t-fast);
    cursor: pointer;
    z-index: 2;
}
.novara-card__bookmark:hover, .novara-card__bookmark.is-active { background: var(--novara-crimson); color: white; transform: scale(1.1); }
.novara-card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.novara-card__title { font-size: 1.15rem; line-height: 1.35; margin-bottom: 10px; }
.novara-card__title a { color: var(--text-primary); }
.novara-card__title a:hover { color: var(--novara-crimson); }
.novara-card__excerpt { font-size: 14px; color: var(--text-secondary); margin-bottom: 14px; flex: 1; }
.novara-card__meta {
    display: flex; align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.novara-card__author { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text-secondary); }
.novara-card__author img { width: 24px; height: 24px; border-radius: 50%; }
.novara-card__readtime::before { content: "⏱"; margin-right: 4px; }
.novara-card__reactions { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.novara-card__reactions span { display: inline-flex; align-items: center; gap: 2px; }

/* === CARD HORIZONTAL === */
.novara-card--horizontal { flex-direction: row; }
.novara-card--horizontal .novara-card__thumb { width: 220px; flex-shrink: 0; aspect-ratio: 1; }
@media (max-width: 640px) {
    .novara-card--horizontal { flex-direction: column; }
    .novara-card--horizontal .novara-card__thumb { width: 100%; aspect-ratio: 16/10; }
}

/* === CARD OVERLAY (image-on-bg style) === */
.novara-card--overlay { aspect-ratio: 4/5; }
.novara-card--overlay .novara-card__thumb { aspect-ratio: auto; height: 100%; }
.novara-card--overlay .novara-card__body {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(10,10,15,0.95), transparent);
    color: white;
}
.novara-card--overlay .novara-card__title a { color: white; }
.novara-card--overlay .novara-card__excerpt { color: rgba(255,255,255,0.85); }

/* ==========================================================================
   13. SECTION HEADERS
   ========================================================================== */

.novara-section { padding: 56px 0; }
.novara-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
    flex-wrap: wrap;
    gap: 12px;
}
.novara-section__header::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 80px;
    height: 2px;
    background: var(--grad-crimson);
}
.novara-section__title { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-2xl); margin: 0; }
.novara-section__title::before { content: ''; width: 4px; height: 24px; background: var(--grad-crimson); border-radius: 2px; }
.novara-section__more { color: var(--text-secondary); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: all var(--t-fast); }
.novara-section__more:hover { color: var(--novara-crimson); gap: 10px; }

.novara-section__filters { display: flex; gap: 8px; flex-wrap: wrap; }
.novara-section__filter {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    transition: all var(--t-fast);
    cursor: pointer;
}
.novara-section__filter:hover, .novara-section__filter.is-active {
    background: var(--grad-crimson);
    color: white;
    border-color: var(--novara-crimson);
}

/* ==========================================================================
   14. SIDEBAR & WIDGETS
   ========================================================================== */

.novara-sidebar { display: flex; flex-direction: column; gap: 32px; }
.novara-widget {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 24px;
}
.novara-widget__title {
    font-size: 1.1rem;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}
.novara-widget__title::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 50px; height: 2px;
    background: var(--grad-crimson);
}

/* === TRENDING WIDGET === */
.novara-trending__list { display: flex; flex-direction: column; gap: 16px; }
.novara-trending__item { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid var(--border-color); }
.novara-trending__item:last-child { border: none; padding-bottom: 0; }
.novara-trending__rank {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    -webkit-text-stroke: 1.5px var(--novara-crimson);
    color: transparent;
    line-height: 1;
    flex-shrink: 0;
    width: 36px;
}
.novara-trending__title { font-size: 14px; line-height: 1.4; font-weight: 700; font-family: var(--font-heading); margin-bottom: 6px; }
.novara-trending__title a { color: var(--text-primary); }
.novara-trending__title a:hover { color: var(--novara-crimson); }
.novara-trending__meta { font-size: 11px; color: var(--text-muted); display: flex; gap: 10px; }

/* === NEWSLETTER WIDGET === */
.novara-newsletter {
    background: var(--grad-night);
    color: white;
    padding: 28px;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}
.novara-newsletter::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    background: radial-gradient(circle, var(--novara-crimson) 0%, transparent 70%);
    opacity: 0.4;
}
.novara-newsletter::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -40px;
    width: 180px; height: 180px;
    background: radial-gradient(circle, var(--novara-magenta) 0%, transparent 70%);
    opacity: 0.25;
}
.novara-newsletter__title { color: white; font-size: 1.3rem; margin-bottom: 8px; position: relative; }
.novara-newsletter__desc { color: rgba(255,255,255,0.7); font-size: 13px; margin-bottom: 18px; position: relative; }
.novara-newsletter__form { display: flex; flex-direction: column; gap: 10px; position: relative; }
.novara-newsletter__input {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: white;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    outline: none;
    transition: border-color var(--t-fast);
}
.novara-newsletter__input::placeholder { color: rgba(255,255,255,0.4); }
.novara-newsletter__input:focus { border-color: var(--novara-crimson); }
.novara-newsletter__btn {
    background: var(--grad-crimson);
    color: white;
    padding: 12px;
    border-radius: var(--radius-md);
    font-weight: 700;
    transition: all var(--t-fast);
}
.novara-newsletter__btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-crimson); }

/* === SOCIAL COUNTER === */
.novara-social-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.novara-social-card { padding: 16px; border-radius: var(--radius-md); color: white; transition: all var(--t-fast); position: relative; overflow: hidden; }
.novara-social-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
}
.novara-social-card:hover { transform: translateY(-3px); color: white; box-shadow: var(--shadow-lg); }
.novara-social-card:hover::before { top: 100%; left: 100%; }
.novara-social-card.fb { background: linear-gradient(135deg, #1877F2, #0D5BBF); }
.novara-social-card.tw { background: linear-gradient(135deg, #000000, #2A2A38); }
.novara-social-card.ig { background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCB045); }
.novara-social-card.yt { background: linear-gradient(135deg, #FF0000, #B30000); }
.novara-social-card__count { font-size: 1.3rem; font-weight: 800; line-height: 1; font-family: var(--font-heading); }
.novara-social-card__label { font-size: 11px; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }

/* === TAGS === */
.novara-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.novara-tag {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    transition: all var(--t-fast);
    border: 1px solid var(--border-color);
}
.novara-tag:hover { background: var(--grad-crimson); color: white; border-color: var(--novara-crimson); }

/* === CRYPTO/STOCK WIDGET === */
.novara-crypto-list { display: flex; flex-direction: column; gap: 12px; }
.novara-crypto-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px; border-radius: var(--radius-md);
    background: var(--bg-secondary);
}
.novara-crypto-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--grad-crimson); color: white; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; }
.novara-crypto-info { flex: 1; }
.novara-crypto-name { font-weight: 700; font-size: 14px; }
.novara-crypto-symbol { font-size: 11px; color: var(--text-muted); }
.novara-crypto-price { text-align: right; font-weight: 700; }
.novara-crypto-change { font-size: 11px; font-weight: 600; }
.novara-crypto-change.up { color: var(--novara-emerald); }
.novara-crypto-change.down { color: var(--novara-crimson); }

/* === WEATHER WIDGET === */
.novara-weather {
    background: linear-gradient(135deg, #4A90E2, #1F3A8A);
    color: white;
    padding: 24px;
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.novara-weather__icon { font-size: 48px; margin-bottom: 8px; }
.novara-weather__temp { font-size: 2.5rem; font-weight: 800; font-family: var(--font-heading); line-height: 1; }
.novara-weather__loc { font-size: 14px; opacity: 0.9; margin-top: 4px; }

/* ==========================================================================
   15. SINGLE POST
   ========================================================================== */

.novara-single { padding: 40px 0; }
.novara-single__header { text-align: center; max-width: 820px; margin: 0 auto 32px; }
.novara-single__category {
    display: inline-block;
    background: var(--grad-crimson);
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: var(--shadow-crimson);
}
.novara-single__title { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 18px; }
.novara-single__excerpt { font-size: 1.2rem; color: var(--text-secondary); line-height: 1.55; margin-bottom: 24px; }
.novara-single__meta { display: flex; justify-content: center; align-items: center; gap: 24px; color: var(--text-muted); font-size: 14px; flex-wrap: wrap; }
.novara-single__author-mini { display: flex; align-items: center; gap: 10px; }
.novara-single__author-mini img { width: 36px; height: 36px; border-radius: 50%; }
.novara-single__featured { margin: 32px auto; max-width: 1080px; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 16/9; }
.novara-single__featured img { width: 100%; height: 100%; object-fit: cover; }

.novara-single__content { max-width: 760px; margin: 0 auto; font-size: 1.075rem; line-height: 1.8; }
.novara-single__content p { color: var(--text-primary); margin-bottom: 1.4em; }
.novara-single__content h2 { margin: 1.8em 0 0.8em; }
.novara-single__content h3 { margin: 1.5em 0 0.6em; }
.novara-single__content blockquote {
    border-left: 4px solid var(--novara-crimson);
    padding: 8px 0 8px 24px;
    margin: 1.5em 0;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-primary);
}
.novara-single__content figure { margin: 1.6em 0; }
.novara-single__content img { border-radius: var(--radius-md); }

/* === TABLE OF CONTENTS === */
.novara-toc {
    background: var(--bg-secondary);
    border-left: 4px solid var(--novara-crimson);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    margin: 24px 0;
}
.novara-toc__title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--novara-crimson);
    margin-bottom: 12px;
    font-weight: 800;
    font-family: var(--font-body);
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
}
.novara-toc__list { display: flex; flex-direction: column; gap: 6px; }
.novara-toc__list li a { color: var(--text-secondary); font-size: 14px; padding: 4px 0; display: block; transition: all var(--t-fast); border-radius: var(--radius-xs); }
.novara-toc__list li a:hover { color: var(--novara-crimson); padding-left: 6px; }
.novara-toc__list li.is-active a { color: var(--novara-crimson); font-weight: 700; }
.novara-toc__list li.level-3 { padding-left: 16px; }

/* === STICKY SHARE === */
.novara-share-sticky {
    position: fixed;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 50;
}
.novara-share-sticky a {
    width: 44px; height: 44px;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: white;
    transition: all var(--t-fast);
    background: var(--text-secondary);
}
.novara-share-sticky a:hover { transform: translateX(4px) scale(1.08); }
.novara-share-sticky a.fb { background: #1877F2; }
.novara-share-sticky a.tw { background: #000; }
.novara-share-sticky a.lin { background: #0A66C2; }
.novara-share-sticky a.wa { background: #25D366; }
.novara-share-sticky a.cp { background: var(--text-muted); }
@media (max-width: 1280px) { .novara-share-sticky { display: none; } }

/* === SHARE BAR === */
.novara-share { display: flex; gap: 10px; margin: 32px 0; padding: 20px; background: var(--bg-secondary); border-radius: var(--radius-xl); align-items: center; flex-wrap: wrap; }
.novara-share__label { font-weight: 700; margin-right: 8px; }
.novara-share__btn { flex: 1; min-width: 110px; padding: 10px 14px; border-radius: var(--radius-md); color: white; font-size: 13px; font-weight: 600; text-align: center; transition: transform var(--t-fast); }
.novara-share__btn:hover { transform: translateY(-2px); color: white; }
.novara-share__btn.fb { background: #1877F2; }
.novara-share__btn.tw { background: #000; }
.novara-share__btn.lin { background: #0A66C2; }
.novara-share__btn.wa { background: #25D366; }

/* === REACTIONS === */
.novara-reactions {
    display: flex;
    gap: 10px;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    margin: 32px 0;
    flex-wrap: wrap;
    justify-content: center;
}
.novara-reaction-btn {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    transition: all var(--t-fast);
    cursor: pointer;
    min-width: 80px;
}
.novara-reaction-btn:hover { transform: translateY(-4px); border-color: var(--novara-crimson); box-shadow: var(--shadow-md); }
.novara-reaction-btn.is-active { background: var(--grad-crimson); color: white; border-color: var(--novara-crimson); }
.novara-reaction-emoji { font-size: 28px; }
.novara-reaction-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.novara-reaction-count { font-size: 12px; font-weight: 700; }

/* === AUTHOR BOX === */
.novara-author-box { display: flex; gap: 24px; padding: 28px; background: var(--bg-secondary); border-radius: var(--radius-xl); margin: 40px 0; border-left: 4px solid var(--novara-crimson); }
.novara-author-box__avatar { width: 96px; height: 96px; border-radius: 50%; flex-shrink: 0; }
.novara-author-box__name { font-size: 1.3rem; margin-bottom: 6px; }
.novara-author-box__bio { color: var(--text-secondary); font-size: 14px; margin-bottom: 12px; }
.novara-author-box__social { display: flex; gap: 8px; }
@media (max-width: 640px) { .novara-author-box { flex-direction: column; align-items: center; text-align: center; } }

/* ==========================================================================
   16. WEB STORIES STRIP
   ========================================================================== */

.novara-stories { padding: 32px 0; background: var(--bg-secondary); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.novara-stories__list { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px; }
.novara-stories__list::-webkit-scrollbar { height: 6px; }
.novara-stories__list::-webkit-scrollbar-thumb { background: var(--novara-crimson); border-radius: 3px; }
.novara-story {
    flex-shrink: 0;
    width: 180px;
    aspect-ratio: 9/16;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    cursor: pointer;
    background: var(--bg-tertiary);
    border: 3px solid var(--novara-crimson);
}
.novara-story img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.novara-story:hover img { transform: scale(1.08); }
.novara-story__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,10,15,0.9), transparent 50%);
    padding: 14px;
    display: flex; flex-direction: column; justify-content: flex-end;
    color: white;
}
.novara-story__title { color: white; font-size: 13px; line-height: 1.3; font-weight: 700; font-family: var(--font-heading); }
.novara-story__live { position: absolute; top: 10px; left: 10px; background: var(--grad-crimson); color: white; font-size: 9px; font-weight: 800; padding: 3px 8px; border-radius: var(--radius-sm); letter-spacing: 0.1em; }

/* ==========================================================================
   17. AI RECOMMENDATIONS BLOCK
   ========================================================================== */

.novara-ai-section {
    background: var(--grad-night);
    border-radius: var(--radius-2xl);
    padding: 40px;
    color: white;
    position: relative;
    overflow: hidden;
    margin: 48px 0;
}
.novara-ai-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-mesh);
    opacity: 0.3;
    pointer-events: none;
}
.novara-ai-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(230,57,70,0.15);
    border: 1px solid rgba(230,57,70,0.4);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--novara-crimson-light);
    margin-bottom: 12px;
    text-transform: uppercase;
}
.novara-ai-badge::before { content: "✨"; }
.novara-ai-section h2 { color: white; font-size: var(--fs-3xl); margin-bottom: 8px; position: relative; }
.novara-ai-section p { color: rgba(255,255,255,0.7); position: relative; }
.novara-ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; position: relative; }
@media (max-width: 768px) { .novara-ai-grid { grid-template-columns: 1fr; } }
.novara-ai-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 16px;
    transition: all var(--t-fast);
}
.novara-ai-card:hover { background: rgba(255,255,255,0.08); border-color: var(--novara-crimson); transform: translateY(-4px); }
.novara-ai-card__match {
    display: inline-block;
    background: var(--grad-crimson);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}
.novara-ai-card__title { color: white; font-size: 16px; line-height: 1.35; }
.novara-ai-card__title a { color: white; }
.novara-ai-card__title a:hover { color: var(--novara-crimson-light); }

/* ==========================================================================
   18. FOOTER
   ========================================================================== */

.novara-footer {
    background: var(--novara-black);
    color: #B8B8C5;
    padding-top: 64px;
    margin-top: 80px;
    position: relative;
}
.novara-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad-fire);
    background-size: 200% 100%;
    animation: gradient-shift 6s ease infinite;
}
@keyframes gradient-shift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.novara-footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 768px) { .novara-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .novara-footer__top { grid-template-columns: 1fr; } }
.novara-footer__brand .novara-logo { color: white; margin-bottom: 16px; }
.novara-footer__about { font-size: 14px; line-height: 1.7; margin-bottom: 18px; }
.novara-footer__col h5 {
    color: white;
    font-size: 14px;
    font-family: var(--font-body);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}
.novara-footer__col h5::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px; height: 2px;
    background: var(--grad-crimson);
}
.novara-footer__col ul li { margin-bottom: 10px; }
.novara-footer__col ul li a { color: #B8B8C5; font-size: 14px; transition: all var(--t-fast); }
.novara-footer__col ul li a:hover { color: var(--novara-crimson); padding-left: 4px; }
.novara-footer__bottom { padding: 24px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; flex-wrap: wrap; gap: 16px; }
.novara-footer__legal { display: flex; gap: 18px; }
.novara-footer__legal a { color: #B8B8C5; }
.novara-footer__legal a:hover { color: var(--novara-crimson); }

/* ==========================================================================
   19. PAGINATION
   ========================================================================== */

.novara-pagination { display: flex; justify-content: center; gap: 6px; margin: 48px 0; flex-wrap: wrap; }
.novara-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 42px; height: 42px;
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-weight: 700;
    border: 1px solid var(--border-color);
    transition: all var(--t-fast);
    padding: 0 14px;
}
.novara-pagination .page-numbers:hover, .novara-pagination .page-numbers.current {
    background: var(--grad-crimson); color: white; border-color: var(--novara-crimson);
    transform: translateY(-1px); box-shadow: var(--shadow-crimson);
}

/* === LOAD MORE BTN === */
.novara-loadmore {
    display: block;
    margin: 32px auto;
    padding: 14px 32px;
    background: var(--grad-crimson);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 700;
    box-shadow: var(--shadow-crimson);
    transition: all var(--t-fast);
}
.novara-loadmore:hover { transform: translateY(-2px); color: white; box-shadow: 0 12px 28px -6px rgba(230,57,70,0.5); }
.novara-loadmore.is-loading { opacity: 0.6; pointer-events: none; }

/* ==========================================================================
   20. COMMENTS
   ========================================================================== */

.comments-area { max-width: 760px; margin: 48px auto; }
.comments-title { font-size: 1.5rem; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--border-color); }
.comment-list { display: flex; flex-direction: column; gap: 24px; }
.comment-body { display: flex; gap: 16px; padding: 20px; background: var(--bg-secondary); border-radius: var(--radius-md); }
.comment-author img { width: 56px; height: 56px; border-radius: 50%; }
.comment-meta { margin-bottom: 8px; }
.comment-meta .fn { font-weight: 700; color: var(--text-primary); }
.comment-meta time { font-size: 12px; color: var(--text-muted); margin-left: 10px; }
.reply a { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--novara-crimson); }
.comment-form { display: grid; gap: 14px; }
.comment-form input, .comment-form textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    outline: none;
    transition: border-color var(--t-fast);
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--novara-crimson); }
.comment-form .submit { background: var(--grad-crimson); color: white; padding: 12px 28px; border-radius: var(--radius-md); font-weight: 700; cursor: pointer; width: fit-content; border: none; }

/* ==========================================================================
   21. PROGRESS BAR & FLOATING BUTTONS
   ========================================================================== */

.novara-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    background: var(--grad-fire);
    z-index: var(--z-tooltip);
    transition: width 50ms linear;
    box-shadow: 0 0 8px var(--novara-crimson);
}

.novara-fab {
    position: fixed;
    bottom: 24px; right: 24px;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    z-index: 99;
}
.novara-fab__btn {
    width: 48px; height: 48px;
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: all var(--t-base);
    opacity: 0;
    transform: translateY(20px);
}
.novara-fab.is-visible .novara-fab__btn { opacity: 1; transform: translateY(0); }
.novara-fab__btn:hover { background: var(--grad-crimson); color: white; transform: translateY(-3px); box-shadow: var(--shadow-crimson); }
.novara-fab__btn--main { background: var(--grad-crimson); color: white; box-shadow: var(--shadow-crimson); }

/* ==========================================================================
   22. MOBILE NAVIGATION & BOTTOM BAR
   ========================================================================== */

.novara-mobile-toggle { display: none; }
.novara-mobile-menu {
    position: fixed;
    top: 0; right: 0;
    width: min(360px, 90vw);
    height: 100vh;
    background: var(--bg-primary);
    box-shadow: -8px 0 32px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform var(--t-base);
    z-index: var(--z-modal);
    padding: 24px;
    overflow-y: auto;
}
.novara-mobile-menu.is-open { transform: translateX(0); }
.novara-mobile-overlay {
    position: fixed; inset: 0;
    background: rgba(10,10,15,0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--t-base);
    z-index: 998;
}
.novara-mobile-overlay.is-open { opacity: 1; visibility: visible; }
.novara-mobile-list li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border-color); font-weight: 600; color: var(--text-primary); }
.novara-mobile-list li a:hover { color: var(--novara-crimson); }

/* === BOTTOM MOBILE NAV === */
.novara-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-color);
    padding: 8px 4px;
    z-index: 99;
}
.novara-bottom-nav__inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
}
.novara-bottom-nav__item {
    display: flex; flex-direction: column; align-items: center;
    gap: 2px;
    padding: 6px;
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 600;
    transition: color var(--t-fast);
}
.novara-bottom-nav__item.is-active, .novara-bottom-nav__item:hover { color: var(--novara-crimson); }
.novara-bottom-nav__icon { font-size: 18px; }

@media (max-width: 1024px) {
    .novara-nav { display: none; }
    .novara-mobile-toggle { display: inline-flex; }
}
@media (max-width: 768px) {
    .novara-bottom-nav { display: block; }
    body { padding-bottom: 60px; }
    .novara-share-sticky { display: none; }
}

/* ==========================================================================
   23. TOAST NOTIFICATIONS
   ========================================================================== */

.novara-toast-container {
    position: fixed;
    top: 100px; right: 24px;
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 380px;
}
.novara-toast {
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid var(--novara-crimson);
    animation: toast-in 0.4s var(--t-bounce);
    font-size: 14px;
    font-weight: 600;
}
.novara-toast--success { border-color: var(--novara-emerald); }
.novara-toast--error { border-color: var(--novara-crimson); }
.novara-toast--info { border-color: var(--novara-cyan); }
@keyframes toast-in { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ==========================================================================
   24. SKELETON LOADING
   ========================================================================== */

.novara-skeleton {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-tertiary) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}
.novara-skeleton-card { aspect-ratio: 16/10; border-radius: var(--radius-xl); }
.novara-skeleton-line { height: 14px; margin: 8px 0; }
.novara-skeleton-line--short { width: 60%; }

/* ==========================================================================
   25. WOOCOMMERCE
   ========================================================================== */

.woocommerce ul.products li.product {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    padding: 16px;
    transition: all var(--t-base);
}
.woocommerce ul.products li.product:hover { border-color: var(--novara-crimson); box-shadow: var(--shadow-lg); }
.woocommerce ul.products li.product .price { color: var(--novara-crimson) !important; font-weight: 800; }
.woocommerce a.button, .woocommerce button.button {
    background: var(--grad-crimson) !important;
    color: white !important;
    border-radius: var(--radius-md);
    font-weight: 700;
    box-shadow: var(--shadow-crimson);
}
.woocommerce span.onsale {
    background: var(--grad-crimson);
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   26. UTILITIES & ACCESSIBILITY
   ========================================================================== */

.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px; height: 1px;
    overflow: hidden;
}
.screen-reader-text:focus {
    position: fixed !important;
    top: 16px; left: 16px;
    background: white; color: black;
    padding: 16px;
    z-index: 9999;
    clip: auto;
    width: auto; height: auto;
}
.alignleft { float: left; margin: 0 1.5em 1.5em 0; }
.alignright { float: right; margin: 0 0 1.5em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

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

@media (prefers-contrast: high) {
    :root { --border-color: #000; --text-secondary: #000; }
}

/* ==========================================================================
   27. RESPONSIVE FINE-TUNING
   ========================================================================== */

@media (max-width: 768px) {
    .novara-section { padding: 40px 0; }
    .novara-container { padding: 0 16px; }
    .novara-hero { padding: 16px 0; }
    .novara-hero__overlay { padding: 20px; }
    .novara-section__title { font-size: 1.25rem; }
    .novara-ai-section { padding: 24px; }
}

/* ==========================================================================
   28. PRINT STYLES
   ========================================================================== */

@media print {
    .novara-header, .novara-footer, .novara-share-sticky, .novara-fab, .novara-bottom-nav, .novara-mobile-menu, .novara-topbar, .novara-ticker { display: none !important; }
    body { background: white; color: black; }
    a { color: black; text-decoration: underline; }
}
