/* ========== RESET & GLOBAL VARIABLES ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ===== ZODIAXON BRAND COLOR KIT ===== */
    --brand-primary: #4B0082;
    --brand-primary-light: #8B5CF6;
    --brand-secondary: #EC4899;
    --brand-accent: #14B8A6;
    --brand-accent2: #F59E0B;

    /* Background & Surface */
    --bg-deep: #0A0A1A;
    --bg-card: rgba(20, 20, 40, 0.8);
    --bg-elevated: rgba(30, 30, 55, 0.9);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-card: rgba(255, 255, 255, 0.08);

    /* Text Colors */
    --text-primary: #F0E6FF;
    --text-secondary: #C0B8D0;
    --text-muted: #6B6580;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #8B5CF6, #4B0082);
    --gradient-hero: linear-gradient(135deg, #667eea, #4B0082);
    --gradient-accent: linear-gradient(135deg, #EC4899, #8B5CF6);
    --gradient-card-hover: linear-gradient(180deg, rgba(139, 92, 246, 0.08) 0%, transparent 100%);

    /* Glows & Shadows */
    --glow-primary: 0 0 40px rgba(139, 92, 246, 0.3);
    --glow-pink: 0 0 30px rgba(236, 72, 153, 0.25);
    --glow-teal: 0 0 30px rgba(20, 184, 166, 0.25);
    --glow-amber: 0 0 30px rgba(245, 158, 11, 0.25);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);

    /* Radius & Transitions */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    /* FIX 1: Prevent horizontal scrollbar on html element */
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* ========== GLOBAL BODY (ALL PAGES) ========== */
body {
    background: var(--bg-deep) !important;
    color: var(--text-primary) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    line-height: 1.6;
    overflow-x: hidden;
    /* FIX 2: Prevent body from shifting when mobile menu opens */
    width: 100%;
    max-width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* ========== GLOBAL NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    /* FIX 3: Keep navbar within viewport */
    width: 100%;
    max-width: 100vw;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--brand-primary-light);
}

.nav-cta {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.5rem 1.3rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    box-shadow: var(--glow-primary);
    transition: all var(--transition-smooth);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    border-radius: 2px;
}

/* ========== GLOBAL FOOTER (THEME FOOTER + CUSTOM FOOTER) ========== */
.site-footer,
.footer-widgets,
.footer-bar,
.site-info,
.copyright-bar,
.footer-widgets .footer-widget,
.footer-widgets .widget,
.footer-widgets .widget:last-child,
.site-footer .widget,
.site-footer .widget-title,
.site-footer a,
.site-footer p,
.site-footer div,
.site-footer section,
.site-footer ul,
.site-footer li,
.footer-bar .footer-bar-widget,
.footer-bar .footer-bar-widget a,
.footer-bar .footer-bar-widget p,
.footer-bar .footer-bar-widget span,
.site-info a,
.site-info p,
.site-info span,
.site-info div {
    background: var(--bg-deep) !important;
    background-color: var(--bg-deep) !important;
    color: var(--text-secondary) !important;
    border-color: var(--border-card) !important;
}

.site-footer,
.footer-widgets,
.footer-bar,
.site-info {
    background: rgba(20, 20, 40, 0.95) !important;
    border-top: 1px solid var(--border-card) !important;
    padding: 3rem 0 1.5rem !important;
}

.footer-widgets .footer-widget,
.site-footer .widget {
    background: transparent !important;
    padding: 1rem !important;
    margin-bottom: 1.5rem !important;
}

.footer-widgets .widget-title,
.site-footer .widget-title {
    color: var(--brand-primary-light) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 1px solid var(--border-card) !important;
}

.site-footer a,
.footer-widgets a,
.footer-bar a,
.site-info a {
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    transition: color var(--transition-fast) !important;
}

.site-footer a:hover,
.footer-widgets a:hover,
.footer-bar a:hover,
.site-info a:hover {
    color: var(--brand-primary-light) !important;
}

.site-footer ul,
.footer-widgets ul,
.footer-bar ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.site-footer ul li,
.footer-widgets ul li,
.footer-bar ul li {
    padding: 0.3rem 0 !important;
    border-bottom: 1px solid var(--border-subtle) !important;
}

.site-footer ul li:last-child,
.footer-widgets ul li:last-child,
.footer-bar ul li:last-child {
    border-bottom: none !important;
}

.footer-bar,
.site-info,
.copyright-bar {
    text-align: center !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid var(--border-card) !important;
    color: var(--text-muted) !important;
    font-size: 0.85rem !important;
}

.footer {
    background: rgba(20, 20, 40, 0.9);
    border-top: 1px solid var(--border-card);
    padding: 4rem 0 2rem;
    backdrop-filter: blur(10px);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-primary-light);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--brand-primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-card);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ========== PROTECTIVE WRAPPER (HOMEPAGE ONLY) ========== */
.zodiaxon-wrapper {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: both !important;
    overflow-x: hidden !important;
}

.zodiaxon-wrapper *,
.zodiaxon-wrapper *::before,
.zodiaxon-wrapper *::after {
    box-sizing: border-box;
}

.zodiaxon-wrapper section {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    clear: both !important;
    position: relative;
}

.zodiaxon-wrapper .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========== 3D CANVAS ========== */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ========== HERO SLIDER ========== */
.zodiaxon-wrapper .hero-slider {
    height: 100vh;
    position: relative;
    z-index: 1;
}

.zodiaxon-wrapper .swiper {
    width: 100%;
    height: 100%;
}

.zodiaxon-wrapper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem;
}

.zodiaxon-wrapper .slide-content {
    max-width: 800px;
    text-align: center;
}

.zodiaxon-wrapper .slide-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--brand-primary-light);
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.zodiaxon-wrapper .slide-content h1,
.zodiaxon-wrapper .slide-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.zodiaxon-wrapper .gradient-text {
    background: linear-gradient(135deg, var(--brand-primary-light), var(--brand-secondary), var(--brand-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.zodiaxon-wrapper .slide-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.zodiaxon-wrapper .slide-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.zodiaxon-wrapper .btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.zodiaxon-wrapper .btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--glow-primary);
}

.zodiaxon-wrapper .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.6);
}

.zodiaxon-wrapper .btn-outline {
    background: transparent;
    border: 1px solid rgba(240, 230, 255, 0.2);
    color: var(--text-primary);
}

.zodiaxon-wrapper .btn-outline:hover {
    background: rgba(240, 230, 255, 0.05);
    border-color: rgba(240, 230, 255, 0.4);
}

/* Swiper navigation */
.zodiaxon-wrapper .swiper-pagination-bullet {
    background: var(--text-muted);
    opacity: 0.5;
}

.zodiaxon-wrapper .swiper-pagination-bullet-active {
    background: var(--brand-primary-light);
    opacity: 1;
}

.zodiaxon-wrapper .swiper-button-prev,
.zodiaxon-wrapper .swiper-button-next {
    color: var(--brand-primary-light);
}

/* ========== STATS SECTION ========== */
.zodiaxon-wrapper .stats-section {
    padding: 4rem 0;
    background: rgba(20, 20, 40, 0.5);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-card);
    border-bottom: 1px solid var(--border-card);
}

.zodiaxon-wrapper .stats-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.zodiaxon-wrapper .stat-item {
    text-align: center;
}

.zodiaxon-wrapper .stat-item .counter {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--brand-primary-light);
}

.zodiaxon-wrapper .stat-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.5rem;
}

/* ========== COMMON SECTION ========== */
.zodiaxon-wrapper .section {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.zodiaxon-wrapper .section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.zodiaxon-wrapper .section-label {
    display: inline-block;
    color: var(--brand-primary-light);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.zodiaxon-wrapper .section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.zodiaxon-wrapper .section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0.5rem auto 0;
    font-size: 1.05rem;
}

/* ========== STEPS ========== */
.zodiaxon-wrapper .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.zodiaxon-wrapper .step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.zodiaxon-wrapper .step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
    border-color: rgba(139, 92, 246, 0.3);
}

.zodiaxon-wrapper .step-number {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    color: white;
    margin: 0 auto 1.5rem;
    box-shadow: var(--glow-primary);
}

.zodiaxon-wrapper .step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.zodiaxon-wrapper .step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ========== ENTRY CARDS ========== */
.zodiaxon-wrapper .cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.zodiaxon-wrapper .entry-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all var(--transition-smooth);
}

.zodiaxon-wrapper .entry-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-4px);
    box-shadow: var(--glow-primary);
}

.zodiaxon-wrapper .card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.zodiaxon-wrapper .card-icon.purple { background: rgba(139, 92, 246, 0.2); }
.zodiaxon-wrapper .card-icon.coral  { background: rgba(236, 72, 153, 0.2); }
.zodiaxon-wrapper .card-icon.teal   { background: rgba(20, 184, 166, 0.2); }
.zodiaxon-wrapper .card-icon.amber  { background: rgba(245, 158, 11, 0.2); }

.zodiaxon-wrapper .entry-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.zodiaxon-wrapper .entry-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.zodiaxon-wrapper .card-link {
    color: var(--brand-primary-light);
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
    display: inline-block;
    transition: color var(--transition-fast);
}

.zodiaxon-wrapper .card-link:hover {
    color: var(--brand-secondary);
}

/* ========== LENSES ========== */
.zodiaxon-wrapper .lenses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.zodiaxon-wrapper .lens-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    font-size: 2rem;
    backdrop-filter: blur(10px);
    transition: all var(--transition-smooth);
}

.zodiaxon-wrapper .lens-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: var(--glow-primary);
}

.zodiaxon-wrapper .lens-card h4 {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.zodiaxon-wrapper .lens-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========== TOOLS ========== */
.zodiaxon-wrapper .tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.zodiaxon-wrapper .tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all var(--transition-smooth);
    cursor: pointer;
}

.zodiaxon-wrapper .tool-card:hover {
    border-color: var(--brand-primary-light);
    transform: translateY(-3px);
    box-shadow: var(--glow-primary);
}

.zodiaxon-wrapper .tool-card h4 {
    font-size: 0.95rem;
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.zodiaxon-wrapper .tool-card span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========== DIFFERENCE ========== */
.zodiaxon-wrapper .diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.zodiaxon-wrapper .diff-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.zodiaxon-wrapper .diff-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.zodiaxon-wrapper .diff-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========== CTA BANNER ========== */
.zodiaxon-wrapper .cta-banner {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    max-width: 800px;
    margin: 4rem auto;
    padding: 4rem 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
    box-shadow: var(--glow-primary);
}

.zodiaxon-wrapper .cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.zodiaxon-wrapper .cta-content p {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 2rem;
}

/* ========== MOBILE NAVIGATION ========== */
/* FIX 4: Mobile nav — prevent horizontal overflow */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        background: rgba(10, 10, 26, 0.95);
        width: 100%;
        max-width: 100vw;
        padding: 2rem;
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-card);
        /* FIX 5: Prevent menu from pushing content */
        box-sizing: border-box;
        overflow-y: auto;
    }
    .zodiaxon-wrapper .stats-grid {
        gap: 2rem;
    }
    .zodiaxon-wrapper .section {
        padding: 3rem 0;
    }
}

/* ========== WORDPRESS GLOBAL OVERRIDES (ALL PAGES) ========== */
.site,
body,
#page,
.main-navigation,
.site-header,
.site-footer,
.inside-article,
.entry-summary,
.site-main,
.entry-content,
.post,
.page,
.single-post,
.blog,
.archive,
.content-area,
.site-content,
#primary,
#main,
article,
.widget-area,
.sidebar,
.comments-area,
.comment-respond,
.comment-form,
#comments {
    background: var(--bg-deep) !important;
    color: var(--text-secondary) !important;
}

.entry-title,
.post-title,
.page-title,
h1.entry-title,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.site-content h1,
.site-content h2,
.site-content h3,
.site-content h4 {
    color: var(--text-primary) !important;
    font-family: 'Playfair Display', serif !important;
}

.entry-meta,
.post-meta,
.entry-meta a,
.post-meta a {
    color: var(--text-muted) !important;
}

.entry-meta a:hover,
.post-meta a:hover {
    color: var(--brand-primary-light) !important;
}

.entry-content a,
.post-content a,
.page-content a,
.site-content a {
    color: var(--brand-primary-light) !important;
    text-decoration: none !important;
}

.entry-content a:hover,
.post-content a:hover,
.page-content a:hover,
.site-content a:hover {
    color: var(--brand-secondary) !important;
}

.comments-area,
.comment-list,
.comment-body,
.comment-content,
.comment-author,
.comment-meta {
    background: var(--bg-card) !important;
    color: var(--text-secondary) !important;
    border-color: var(--border-card) !important;
}

.comment-author a,
.comment-meta a {
    color: var(--brand-primary-light) !important;
}

.comment-respond,
.comment-form-comment textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-card) !important;
    border-radius: var(--radius-sm) !important;
}

.submit,
.comment-form input[type="submit"] {
    background: var(--gradient-primary) !important;
    color: white !important;
    border: none !important;
    border-radius: var(--radius-full) !important;
    padding: 0.7rem 2rem !important;
    cursor: pointer !important;
    box-shadow: var(--glow-primary) !important;
    transition: all var(--transition-smooth) !important;
}

.submit:hover,
.comment-form input[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.5) !important;
}

.cat-links,
.tags-links,
.cat-links a,
.tags-links a {
    color: var(--brand-primary-light) !important;
}

/* ========== SIDEBAR WIDGETS ========== */
.sidebar,
.widget-area,
aside,
#right-sidebar,
#left-sidebar,
#sidebar,
#secondary,
.widget,
.widget_search,
.widget_recent_entries,
.widget_recent_comments,
.widget_archive,
.widget_categories,
.widget_meta,
.widget_block,
.wp-block-search,
.wp-block-group,
.wp-block-latest-posts,
.wp-block-latest-comments,
.generatepress .widget,
.search-form {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--text-secondary) !important;
    border: none !important;
}

.widget {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-card) !important;
    border-radius: var(--radius-md) !important;
    padding: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    backdrop-filter: blur(10px) !important;
}

.widget-title,
.widgettitle,
.wp-block-search__label {
    color: var(--brand-primary-light) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 1px solid var(--border-card) !important;
}

.widget_search input[type="search"],
.wp-block-search__input,
.search-form input[type="search"],
.search-field {
    background: var(--bg-deep) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-card) !important;
    border-radius: var(--radius-sm) !important;
    padding: 0.7rem 1rem !important;
    width: 100% !important;
}

.widget_search input[type="submit"],
.wp-block-search__button,
.search-form input[type="submit"],
.search-submit {
    background: var(--gradient-primary) !important;
    color: white !important;
    border: none !important;
    border-radius: var(--radius-sm) !important;
    padding: 0.7rem 1.5rem !important;
    cursor: pointer !important;
    font-weight: 500 !important;
    margin-top: 0.5rem !important;
    transition: all var(--transition-smooth) !important;
}

.widget_search input[type="submit"]:hover,
.wp-block-search__button:hover,
.search-submit:hover {
    transform: translateY(-1px) !important;
    box-shadow: var(--glow-primary) !important;
}

.widget a,
.widget_recent_entries a,
.widget_recent_comments a,
.wp-block-latest-posts a,
.wp-block-latest-comments a {
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    transition: color var(--transition-fast) !important;
    display: block !important;
    padding: 0.3rem 0 !important;
}

.widget a:hover,
.widget_recent_entries a:hover,
.widget_recent_comments a:hover {
    color: var(--brand-primary-light) !important;
}

.widget ul,
.widget ol {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.widget ul li,
.widget ol li {
    padding: 0.4rem 0 !important;
    border-bottom: 1px solid var(--border-subtle) !important;
}

.widget ul li:last-child,
.widget ol li:last-child {
    border-bottom: none !important;
}

.widget_recent_comments ul li,
.wp-block-latest-comments li {
    color: var(--text-muted) !important;
}

.widget_recent_comments a,
.wp-block-latest-comments a {
    display: inline !important;
}

/* Hide date/meta on single blog posts */
.single-post .entry-meta,
.single-post .post-meta,
.single-post .posted-on,
.single-post .byline,
.single-post .entry-date,
.single-post .entry-meta,
.single-post .post-date,
.single-post time.entry-date,
.single-post .gp-post-meta,
.single-post .post-meta,
.single-post .meta-date,
.single .entry-meta,
.single .post-meta,
.single .posted-on,
.single .byline,
.single .entry-date,
.single time.entry-date {
    display: none !important;
}