/*
Theme Name: FABRIIX
Theme URI: https://fabriix.com
Author: Shirley Pellicer
Author URI: https://fabriix.com
Description: A premium WordPress theme for FABRIIX - Spatial Intelligence System
Version: 2.4.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fabriix
*/

/* Smooth scroll for anchor navigation */
html {
    scroll-behavior: smooth !important;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #f8f9fa;
    background-color: #1a1d23;
    font-size: 16px;

}

/* Dark steel-blue background */
body {
    background: linear-gradient(135deg, #1a1d23 0%, #2d3748 100%);
}

/* Navigation and footer corporate links — monospace enforcement */
nav.fabriix-main-navigation,
nav.fabriix-main-navigation *,
ul.footer-corporate-links,
ul.footer-corporate-links *,
.fabriix-main-navigation a,
.footer-corporate-links a {
    font-family: 'Courier New', Courier, monospace !important;
}

/* ── FABRIIX Header Nav Layout (wp_nav_menu container) ─────────────────── */
nav.header-nav { display: inline-flex; align-items: center; flex-grow: 1; }
nav.header-nav ul.header-nav-list {
    display: flex !important;
    list-style: none !important;
    gap: 3.5rem !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
}
nav.header-nav ul li { margin: 0; padding: 0; }

/* Default: white, no decoration, no border */
nav.header-nav ul li a {
    color: #ffffff !important;
    text-decoration: none !important;
    border-bottom: none !important;
    outline: none !important;
    box-shadow: none !important;
    font-family: 'Courier New', Courier, monospace !important;
    font-size: 0.95rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    font-weight: bold !important;
    line-height: 1 !important;
    position: relative !important;
    padding-bottom: 4px !important;
}
/* Kill any stray ::before */
nav.header-nav ul li a::before {
    display: none !important;
    content: none !important;
}
/* Hover: single gradient underline only, text stays white */
nav.header-nav ul li a::after {
    content: '' !important;
    position: absolute !important;
    left: 0 !important; bottom: 0 !important;
    width: 0 !important; height: 2px !important;
    background: linear-gradient(90deg, #ff007f 0%, #00f0ff 100%) !important;
    transition: width 0.25s ease !important;
    display: block !important;
    border: none !important;
}
nav.header-nav ul li a:hover { color: #ffffff !important; border-bottom: none !important; }
nav.header-nav ul li a:hover::after { width: 100% !important; display: block !important; }
/* Active: neon green text, ALL pseudo-elements killed */
nav.header-nav ul li.current-menu-item > a,
nav.header-nav ul li.current_page_item > a,
nav.header-nav ul li.current-menu-ancestor > a,
nav.header-nav ul li.current-menu-parent > a {
    color: #00ff88 !important;
    border-bottom: none !important;
}
nav.header-nav ul li.current-menu-item > a::after,
nav.header-nav ul li.current_page_item > a::after,
nav.header-nav ul li.current-menu-ancestor > a::after,
nav.header-nav ul li.current-menu-parent > a::after,
nav.header-nav ul li.current-menu-item > a:hover::after,
nav.header-nav ul li.current_page_item > a:hover::after,
nav.header-nav ul li.current-menu-ancestor > a:hover::after,
nav.header-nav ul li.current-menu-parent > a:hover::after {
    display: none !important; content: none !important;
    width: 0 !important; background: transparent !important;
}
nav.header-nav ul li.current-menu-item > a::before,
nav.header-nav ul li.current_page_item > a::before,
nav.header-nav ul li.current-menu-ancestor > a::before,
nav.header-nav ul li.current-menu-parent > a::before {
    display: none !important; content: none !important;
}

/* ── FABRIIX Primary Nav Links ─────────────────────────────────────────── */
nav.fabriix-main-navigation a.fbx-nav-link {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    font-weight: bold !important;
    line-height: 1 !important;
    position: relative !important;
    padding-bottom: 3px !important;
}
/* Hover: gradient underline slides in, text stays white */
nav.fabriix-main-navigation a.fbx-nav-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, #ff007f 0%, #00f0ff 100%);
    transition: width 0.25s ease;
}
nav.fabriix-main-navigation a.fbx-nav-link:hover {
    color: #ffffff !important;
}
nav.fabriix-main-navigation a.fbx-nav-link:hover::after {
    width: 100%;
}
/* Active: green text only — underline suppressed */
nav.fabriix-main-navigation a.fbx-nav-link.fbx-active {
    color: #00ff88 !important;
}
nav.fabriix-main-navigation a.fbx-nav-link.fbx-active::after {
    width: 0 !important;
}
nav.fabriix-main-navigation a.fbx-nav-link.fbx-active:hover::after {
    width: 0 !important;
}

/* ── FABRIIX Footer Nav Links ──────────────────────────────────────────── */
ul.footer-corporate-links a.fbx-footer-link {
    color: #ffffff !important;
    text-decoration: none !important;
}
ul.footer-corporate-links a.fbx-footer-link:hover {
    color: #ffffff !important;
}
ul.footer-corporate-links a.fbx-footer-link.fbx-active {
    color: #00ff88 !important;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Primary Navigation */
.primary-navigation {
    background: rgba(26, 29, 35, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 3rem;
}

.nav-item {
    margin: 0;
}

.nav-link {
    display: block;
    padding: 1.25rem 0;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link.active {
    color: #ffffff;
    font-weight: 500;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #ffffff;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 200;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: #ffffff;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #808080;
    line-height: 1.8;
}

/* Email Signup Form */
.email-signup-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}

.email-signup-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 1px solid #4a5568;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    outline: none;
    transition: border-color 0.3s ease;
}

.email-signup-form input[type="email"]:focus {
    border-color: #718096;
}

.email-signup-form input[type="email"]::placeholder {
    color: #718096;
}

.email-signup-form button {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    background: #ffffff;
    color: #1a1d23;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.email-signup-form button:hover {
    background: #e2e8f0;
}

/* Section Styles */
section {
    padding: 6rem 2rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 200;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 3rem;
    color: #ffffff;
    text-align: center;
}

/* What is FABRIIX Section */
.what-is-section {
    text-align: center;
}

.what-is-content p {
    font-size: 1.25rem;
    font-weight: 300;
    color: #a0aec0;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.what-is-content .emphasis {
    font-size: 1.5rem;
    font-weight: 400;
    color: #ffffff;
    margin-top: 2rem;
}

/* Three Core Layers Section */
.layers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.layer-card {
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.layer-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
}

.layer-card h3 {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #ffffff;
}

.layer-card p {
    font-size: 1rem;
    font-weight: 300;
    color: #a0aec0;
}

/* Examples Section */
.examples-list {
    max-width: 800px;
    margin: 0 auto;
}

.example-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid #718096;
    transition: background 0.3s ease;
}

.example-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.example-location {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
}

.example-description {
    font-size: 1rem;
    font-weight: 300;
    color: #a0aec0;
}

/* Signup Section */
.signup-section {
    text-align: center;
}

/* Footer */
.site-footer {
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer p {
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #718096;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 0.6875rem;
        padding: 1rem 0;
        letter-spacing: 0.15em;
    }

    .hero-title {
        letter-spacing: 0.2em;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .email-signup-form {
        flex-direction: column;
    }

    .email-signup-form input[type="email"],
    .email-signup-form button {
        width: 100%;
    }

    .example-item {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   DISPATCH ARCHIVE STYLES
   Uses global FABRIIX design system
   ============================================ */

.dispatch-section {
    padding: 6rem 2rem;
}

.dispatch-header {
    text-align: center;
    margin-bottom: 3rem;
}

.dispatch-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 200;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #ffffff;
}

.dispatch-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: #a0aec0;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Page Intro */
.dispatch-intro {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.dispatch-intro p {
    font-size: 1rem;
    font-weight: 300;
    color: #a0aec0;
    line-height: 1.8;
    font-style: italic;
}

/* Founding Dispatches Section */
.founding-dispatches {
    margin-bottom: 6rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.founding-title {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: center;
}

/* Category Header */
.dispatch-category-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dispatch-category-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 200;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: #ffffff;
}

.dispatch-category-definition {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.dispatch-category-definition p {
    font-size: 1.25rem;
    font-weight: 300;
    color: #a0aec0;
    line-height: 1.8;
}

.dispatch-category-how-to-read {
    max-width: 800px;
    margin: 0 auto;
}

.how-to-read-title {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #718096;
    margin-bottom: 1rem;
}

.dispatch-category-how-to-read p {
    font-size: 1rem;
    font-weight: 300;
    color: #a0aec0;
    line-height: 1.8;
    font-style: italic;
}

.dispatch-category-desire-implication {
    max-width: 800px;
    margin: 0 auto;
}

.desire-implication-title {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #718096;
    margin-bottom: 1rem;
}

.dispatch-category-desire-implication p {
    font-size: 1rem;
    font-weight: 300;
    color: #a0aec0;
    line-height: 1.8;
}

/* Category Filter Bar */
.dispatch-filter-bar {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-link {
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.filter-link:hover {
    color: #ffffff;
}

.filter-link.active {
    color: #ffffff;
    font-weight: 400;
}

/* Main Feed */
.dispatch-feed {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Dispatch Item */
.dispatch-item {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2.5rem;
    transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.dispatch-item--linked {
    position: relative;
    cursor: pointer;
}

.dispatch-item:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
    border-color: transparent;
}

.dispatch-item::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 9px;
    padding: 1px;
    background: linear-gradient(135deg, #00ffff, #ff00ff, #9d00ff);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.dispatch-item:hover::before {
    opacity: 1;
}

/* Stretched link: the title anchor covers the whole card */
.dispatch-stretched-link::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Inner links (desire signal, entity signals) float above the overlay */
.dispatch-item--linked .desire-signal-link,
.dispatch-item--linked .entity-signal-link {
    position: relative;
    z-index: 2;
}

/* Category Label */
.dispatch-category {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #718096;
    margin-bottom: 1rem;
}

.dispatch-category-link {
    color: #718096;
    text-decoration: none;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.dispatch-category-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    transition: width 0.3s ease;
}

.dispatch-category-link:hover {
    color: #00ffff;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
    background: transparent;
    transform: none;
}

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

/* Headline */
.dispatch-headline {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.4;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.dispatch-headline a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.dispatch-headline a:hover,
.dispatch-section .dispatch-headline a:hover {
    color: #a0aec0;
    background: transparent;
    background-color: transparent;
    text-shadow: none;
    transform: none;
}

/* Source Line */
.dispatch-source {
    font-size: 0.875rem;
    font-weight: 300;
    color: #718096;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.dispatch-source-date {
    font-size: 0.75rem;
    font-weight: 300;
    color: #718096;
    margin-left: 0.5rem;
    opacity: 0.8;
}

/* Desire Signal */
.dispatch-desire-signal {
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #718096;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.desire-signal-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.desire-signal-link:hover {
    border-bottom-color: #718096;
}

/* Entity Signals */
.dispatch-entity-signals {
    font-size: 0.75rem;
    font-weight: 300;
    color: #718096;
    margin-bottom: 1rem;
    opacity: 0.8;
    font-style: italic;
}

.entity-signal-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.entity-signal-link:hover {
    border-bottom-color: #718096;
}

/* Archive Filter Header */
.dispatch-archive-filter {
    max-width: 800px;
    margin: 0 auto;
}

.archive-filter-label {
    font-size: 1.25rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.archive-filter-description {
    font-size: 1rem;
    font-weight: 300;
    color: #a0aec0;
    line-height: 1.8;
    font-style: italic;
}

/* FABRIIX Interpretation */
.dispatch-interpretation {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: #a0aec0;
}

.dispatch-interpretation p {
    margin: 0;
}

/* Empty State */
.dispatch-empty {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 300;
    color: #a0aec0;
    padding: 4rem 0;
}

/* Pagination */
.dispatch-feed .pagination {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.dispatch-feed .page-numbers {
    font-size: 0.875rem;
    color: #a0aec0;
    text-decoration: none;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.dispatch-feed .page-numbers:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.dispatch-feed .page-numbers.current {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive - Dispatch Archive */
@media (max-width: 768px) {
    .dispatch-section {
        padding: 4rem 1.5rem;
    }

    .dispatch-title {
        font-size: 1.75rem;
    }

    .dispatch-subtitle {
        font-size: 1rem;
    }

    .dispatch-category-header {
        margin-bottom: 3rem;
        padding-bottom: 2rem;
    }

    .dispatch-category-title {
        font-size: 1.75rem;
    }

    .dispatch-category-definition p {
        font-size: 1rem;
    }

    .dispatch-category-how-to-read p {
        font-size: 0.9375rem;
    }

    .dispatch-filter-bar {
        gap: 1.25rem;
    }

    .filter-link {
        font-size: 0.75rem;
    }

    .dispatch-item {
        padding: 2rem;
    }

    .dispatch-headline {
        font-size: 1.25rem;
    }

    .dispatch-interpretation {
        font-size: 0.9375rem;
    }

    .dispatch-feed {
        gap: 3rem;
    }
}

/* =============================================================================
   FOOTER STYLES (ORIGINAL SIMPLE STRUCTURE)
   ============================================================================= */

/* Main Footer */
.main-footer {
    background: rgba(26, 29, 35, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0 3rem;
    margin-top: 4rem;
}

.footer-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

/* Brand Block */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-logo {
    font-size: 1.75rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    color: #00ffff;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(0,255,255,0.4);
    margin: 0;
}

.footer-tagline {
    font-size: 0.875rem;
    color: #a0aec0;
    line-height: 1.5;
    max-width: 280px;
}

/* Navigation */
.footer-heading {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #718096;
    margin: 0 0 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Social Links */
.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #a0aec0;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.social-icon {
    width: 20px;
    height: 20px;
}

/* Signup Module */
.footer-signup {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-signup-text {
    font-size: 0.875rem;
    color: #a0aec0;
    line-height: 1.5;
    margin: 0;
}

.footer-signup .email-signup-form {
    display: flex;
    gap: 0.75rem;
}

.footer-signup .email-signup-form input {
    flex: 1;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.footer-signup .email-signup-form input:focus {
    outline: none;
    border-color: rgba(0, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.footer-signup .email-signup-form input::placeholder {
    color: #505050;
}

.footer-signup .email-signup-form button {
    padding: 1rem 1.5rem;
    border: 1px solid rgba(0, 255, 255, 0.4);
    border-radius: 0;
    background: transparent;
    color: #00ffff;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.footer-signup .email-signup-form button:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.6);
}

/* Author Block */
.footer-author-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-author-link:hover {
    opacity: 0.8;
}

.footer-author-link:hover .author-name {
    color: #00ffff;
}

.footer-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-headshot {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-headshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fabriix-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.author-placeholder {
    font-size: 1.25rem;
    font-weight: 600;
    color: #a0aec0;
    letter-spacing: 0.05em;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
}

.author-title {
    font-size: 0.8125rem;
    color: #718096;
    margin: 0;
}

/* Subfooter */
.subfooter {
    background: #1a1d23;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    text-align: center;
}

.subfooter p {
    margin: 0;
    font-size: 0.875rem;
    color: #a0aec0;
    letter-spacing: 0.1em;
}

/* ============================================================
   UNIFIED FUNNEL FOOTER NAVIGATION
   ============================================================ */
.funnel-footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    gap: 1rem;
}

.funnel-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Courier New', 'SF Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.25s ease;
}

.funnel-nav-link:hover {
    color: #00ffff;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}

@media (max-width: 640px) {
    .funnel-footer-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
}

/* Copyright Bar */
.copyright-bar {
    background: #15181d;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 1.25rem 0;
    text-align: center;
}

.copyright-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright-bar p {
    margin: 0;
    font-size: 0.8125rem;
    color: #718096;
    text-align: center;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 3rem 0 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-logo {
        font-size: 1.5rem;
        letter-spacing: 0.2em;
    }

    .social-links {
        justify-content: flex-start;
    }

    .footer-signup .email-signup-form {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .footer-signup .email-signup-form input,
    .footer-signup .email-signup-form button {
        width: 100%;
    }

    .footer-author {
        justify-content: flex-start;
    }

    .fbx-footer-founder-column {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
    }
}

@media (max-width: 480px) {
    .fbx-footer-founder-column .fbx-footer-profile-text span {
        white-space: normal !important;
        overflow-wrap: break-word !important;
    }
}

/* =============================================================================
   PULSE SYSTEM — TERMINAL-STYLE SIGNAL OBJECTS
   ============================================================================= */

/* Archive Page */
.pulse-archive {
    padding: 4rem 0;
}

.pulse-archive-header {
    margin-bottom: 3rem;
    text-align: center;
}

.pulse-archive-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 0.75rem;
}

.pulse-archive-subtitle {
    font-size: 1rem;
    color: #a0aec0;
    margin: 0;
    font-weight: 400;
}

/* Category Filter */
.pulse-category-filter {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pulse-category-filter .filter-link {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #718096;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pulse-category-filter .filter-link:hover,
.pulse-category-filter .filter-link.active {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

/* Pulse Feed */
.pulse-feed {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Pulse Card — Terminal Style */
.pulse-card {
    background: rgba(26, 29, 35, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid rgba(255, 255, 255, 0.15);
    padding: 1.5rem 2rem;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem 2rem;
    align-items: start;
}

.pulse-card:hover {
    border-left-color: #ffffff;
    background: rgba(26, 29, 35, 0.8);
}

/* Category Label */
.pulse-category {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #4a5568;
    padding: 0.25rem 0;
    grid-column: 1;
    grid-row: span 3;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}

/* Metric — Dominant Element */
.pulse-metric {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
    line-height: 1;
    grid-column: 2;
    grid-row: 1;
    font-variant-numeric: tabular-nums;
}

.pulse-card-single .pulse-metric {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Title */
.pulse-title {
    font-size: 1rem;
    font-weight: 500;
    color: #e2e8f0;
    margin: 0;
    grid-column: 2;
    grid-row: 2;
    line-height: 1.4;
}

.pulse-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.pulse-title a:hover {
    color: #ffffff;
}

/* Interpretation */
.pulse-interpretation {
    font-size: 0.875rem;
    color: #a0aec0;
    margin: 0;
    grid-column: 2;
    grid-row: 3;
    line-height: 1.5;
    max-width: 600px;
}

/* Metadata — Source → Date */
.pulse-metadata {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #718096;
    grid-column: 3;
    grid-row: span 3;
    align-self: center;
    white-space: nowrap;
}

.pulse-source {
    color: #a0aec0;
}

.pulse-meta-separator {
    color: #4a5568;
}

.pulse-date {
    color: #718096;
}

/* Empty State */
.pulse-empty {
    text-align: center;
    color: #718096;
    font-size: 1rem;
    padding: 4rem 0;
}

/* Pagination */
.pulse-pagination {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pulse-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.pulse-pagination .page-numbers {
    font-size: 0.8125rem;
    color: #718096;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pulse-pagination .page-numbers.current,
.pulse-pagination .page-numbers:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

/* Single Pulse Page */
.pulse-single {
    padding: 4rem 0;
}

.pulse-back-nav {
    margin-bottom: 2rem;
}

.back-link {
    font-size: 0.875rem;
    color: #718096;
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #ffffff;
}

.pulse-card-single {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    display: block;
}

.pulse-card-single .pulse-category {
    display: inline-block;
    writing-mode: horizontal-tb;
    transform: none;
    margin-bottom: 1.5rem;
    font-size: 0.75rem;
    color: #718096;
}

.pulse-card-single .pulse-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.pulse-card-single .pulse-interpretation {
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: none;
}

.pulse-card-single .pulse-metadata {
    font-size: 0.75rem;
    display: block;
    text-align: left;
}

/* Single Navigation */
.pulse-single-nav {
    max-width: 800px;
    margin: 3rem auto 0;
}

.pulse-single-nav .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.pulse-single-nav .nav-prev,
.pulse-single-nav .nav-next {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-decoration: none;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
    flex: 1;
}

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

.pulse-single-nav .nav-prev:hover,
.pulse-single-nav .nav-next:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.pulse-single-nav .nav-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #718096;
}

.pulse-single-nav .nav-title {
    font-size: 0.875rem;
    color: #e2e8f0;
    font-weight: 500;
}

/* Pulse Responsive */
@media (max-width: 768px) {
    .pulse-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.25rem;
    }

    .pulse-category {
        writing-mode: horizontal-tb;
        transform: none;
        grid-column: 1;
        grid-row: auto;
        padding: 0;
        font-size: 0.625rem;
    }

    .pulse-metric {
        font-size: 2rem;
        grid-column: 1;
        grid-row: auto;
    }

    .pulse-card-single .pulse-metric {
        font-size: 2.5rem;
    }

    .pulse-title {
        grid-column: 1;
        grid-row: auto;
    }

    .pulse-interpretation {
        grid-column: 1;
        grid-row: auto;
    }

    .pulse-metadata {
        grid-column: 1;
        grid-row: auto;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .pulse-single-nav .nav-links {
        flex-direction: column;
    }

    .pulse-single-nav .nav-next {
        text-align: left;
    }
}

/* Single Article — pure dynamic editorial feed */
.fbx-article-workspace {
    display: block !important;
    max-width: 820px !important; /* McKinsey research standard column width */
    width: 90% !important;
    margin: 4rem auto !important;
    padding: 0 !important;
    position: relative !important;
}

.fbx-editorial-content {
    font-family: monospace, "Courier New", sans-serif !important;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.6;
}

.fbx-editorial-content p {
    margin-bottom: 1.5rem;
}

.fbx-node-body-content,
.fbx-node-body-content p {
    white-space: pre-wrap;
}

/* Reduce excessive spacing between chronological blocks */
.fbx-timeline-node {
    border-left: 2px solid #00ffff !important;
    padding-left: 2rem !important;
    margin-bottom: 2rem !important; /* Crushed from 4rem to 2rem to remove black gaps */
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    font-family: monospace !important;
    color: #ffffff !important;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1) !important;
}

/* Adjust the typography header grid inside the dynamic print loop */
.fbx-node-title {
    font-size: 1.4rem !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    margin-bottom: 0.75rem !important;
    letter-spacing: -0.01em !important;
    font-family: monospace !important;
}

/* Force the chronological date numbers to render in crisp solid white */
.fbx-node-title-era {
    color: #ffffff !important; /* Whiten the dates to create high contrast against the cyan title */
}

.fbx-node-title-text {
    color: #00ffff !important; /* Maintain the institutional cyan for the era headline text */
}

/* McKinsey-style action bar centering */
.fbx-action-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.fbx-action-btn {
    font-family: monospace !important;
    font-size: 11px !important;
    color: #ffffff !important;
    background: transparent !important;
    border: 1px solid #1a1a1a !important;
    padding: 6px 12px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1) !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    display: inline-block !important;
    margin: 0 1.5rem !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    line-height: 1 !important;
}

.fbx-action-btn:hover {
    color: #ff00ff !important; /* Shift text to Capital Pink on focus */
    border-color: #ff00ff !important;
    filter: drop-shadow(0 0 5px rgba(255, 0, 255, 0.6)) !important; /* Intense neon pink glow backing */
    background: rgba(255, 255, 255, 0.01) !important;
}

/* Header spacing and metadata refinements */
.fbx-entry-header {
    text-align: center !important;
    padding-bottom: 0px !important;
    margin-bottom: 1rem !important;
}

/* Ensure the metadata text elements sit perfectly flat on a single horizontal row */
.fbx-entry-meta {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0.25rem auto 0.6rem auto !important; /* Controlled bottom margin */
    padding-bottom: 0px !important;
    font-family: monospace !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
}

/* Force all dynamic term links and slashes to stay on the same horizontal line */
.fbx-entry-meta a,
.fbx-entry-meta span {
    display: inline !important;
    white-space: nowrap !important; /* Prevents awkward word splitting or sudden line breaks */
}

/* Position the action buttons container independently right below the flat row */
.fbx-action-bar-container,
.fbx-action-bar-wrapper {
    margin-top: 0.75rem !important; /* Controlled distance under the dynamic tags line */
    margin-bottom: 0px !important;
    padding-top: 0.5rem !important; /* Compressed vertical breathing room inside the upper line */
    padding-bottom: 0.5rem !important; /* Compressed vertical breathing room inside the lower line */
    border-top: 1px solid #1a1a1a !important; /* Ensure the top grey line is clean */
    border-bottom: 1px solid #1a1a1a !important; /* Ensure the bottom grey line is clean */
    text-align: center !important;
    width: 100% !important;
}

/* Center the introductory article paragraph */
.fbx-editorial-content > p:first-of-type,
.fbx-article-introduction {
    text-align: center !important;
    max-width: 750px !important; /* Compact elegant alignment footprint */
    margin-top: 2rem !important; /* Added crisp black space right above the introductory text */
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 3.5rem !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

@media (max-width: 768px) {
    .fbx-article-workspace {
        width: 100% !important;
        margin: 2rem auto !important;
        padding: 0 1rem !important;
        box-sizing: border-box !important;
    }

    .fbx-action-bar {
        flex-wrap: wrap !important;
    }
}

/* Force absolute zero trailing space on timeline body paragraphs */
.fbx-node-body-content p,
.fbx-timeline-node p {
    margin-bottom: 0px !important; /* Force complete elimination of the trailing black space */
    padding-bottom: 0px !important;
}

/* Target the exact block container used by the user */
.fbx-timeline-media-wrapper {
    width: 100% !important;
    max-width: 750px !important;
    margin-top: 0.5rem !important;
    margin-bottom: 2.5rem !important;

    /* The absolute final center-locking coordinate */
    margin-left: -2px !important;
    margin-right: auto !important;

    text-align: center !important;

    /* CRITICAL: Change overflow to visible so the neon pink drop-shadow can expand on the sides */
    overflow: visible !important;

    background: transparent !important; /* Strip the heavy black background causing alignment gaps */
    border: none !important;             /* Strip the hard border wrapping the box */
    padding: 0 !important;
    display: block !important;
}

/* Target the image element directly inside the workspace loop */
.fbx-timeline-media-wrapper img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: inline-block !important;
    margin: 0 auto !important; /* Perfect vertical and horizontal axial centering */

    /* Default corporate forensic patina state */
    filter: grayscale(100%) contrast(115%) brightness(95%) !important;
    transition: filter 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease !important;
}

/* Inject the crisp 360-degree neural neon pink frame on hover */
.fbx-timeline-media-wrapper img:hover {
    filter: grayscale(0%) contrast(100%) brightness(100%) drop-shadow(0 0 10px #ff00ff) !important;
    transform: scale(1.01) !important;
}

/* =============================================================================
   ARTICLE HEADER MARGIN COMPRESSION
   ============================================================================= */

/* Eradicate the massive top empty space before the article title */
.single-article .site-main,
.single-article .entry-header,
.single-article .fbx-entry-header,
.fbx-article-header-wrapper {
    margin-top: 0px !important;
    padding-top: 1.5rem !important; /* Calibrated minimal oxygen threshold */
}

/* =============================================================================
   ACTION TOOLBAR ARCHITECTURAL LINES
   ============================================================================= */

/* Target the exact action buttons wrapper container */
.fbx-vector-bar-wrapper,
.fbx-action-bar-container,
.fbx-action-bar-wrapper,
.entry-actions {
    width: 100% !important;
    max-width: 820px !important; /* Symmetrical anchor with McKinsey text column */
    margin: 2rem auto !important;
    padding: 10px 0 !important;
    text-align: center !important;

    /* Inject razor-sharp architectural grey horizontal lines */
    border-top: 1px solid #222222 !important;
    border-bottom: 1px solid #222222 !important;
    border-left: none !important;
    border-right: none !important;

    background: transparent !important;
    display: flex !important;
    justify-content: center !important;
    gap: 3rem !important; /* Perfect monospaced air pockets between options */
}

/* Suppress the internal SVG lines so the wrapper borders remain the sole rulers */
.fbx-vector-bar-wrapper svg line {
    stroke: transparent !important;
}

/* Ensure the text buttons inside remain static, clean, and minimal */
.fbx-vector-bar-wrapper svg text,
.fbx-action-bar-container a,
.fbx-action-bar-wrapper a,
.fbx-action-btn {
    font-family: monospace !important;
    font-size: 11px !important;
    color: #666666 !important;
    fill: #666666 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    text-decoration: none !important;
    transition: color 0.3s ease, fill 0.3s ease !important;
}

.fbx-vector-bar-wrapper svg text:hover,
.fbx-action-bar-container a:hover,
.fbx-action-bar-wrapper a:hover,
.fbx-action-btn:hover {
    color: #ffffff !important; /* Clean minimal white highlight on mouse hover */
    fill: #ffffff !important;
}

/* =============================================================================
   RESPONSIVE FLUSH ALIGNMENT
   ============================================================================= */

@media (max-width: 768px) {
    .single-article .site-main,
    .single-article .entry-header,
    .single-article .fbx-entry-header,
    .fbx-article-header-wrapper {
        padding-top: 1rem !important;
    }

    .fbx-vector-bar-wrapper,
    .fbx-action-bar-container,
    .fbx-action-bar-wrapper,
    .entry-actions {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        gap: 2rem !important;
        box-sizing: border-box !important;
    }

    .fbx-vector-bar-wrapper svg text,
    .fbx-action-bar-container a,
    .fbx-action-bar-wrapper a,
    .fbx-action-btn {
        font-size: 10px !important;
    }
}

/* =============================================================================
   FOOTER CONSOLIDATION — hide standalone copyright, lock horizontal columns
   ============================================================================= */

/* 1. Hide the centered text block that appears outside the main footer grid */
.fabriix-terminal-page + div,
main + div,
.fabriix-terminal-page + section > div,
main + section > div,
.fbx-footer-standalone-copyright,
div[style*="text-align: center"]:not(footer div):not(.main-footer div):not(.copyright-bar) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 2. Protect the actual horizontal column grid */
.main-footer .footer-grid,
footer .footer-grid {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 2rem !important;
}

/* 3. Clean black footer canvas with controlled padding */
.main-footer,
footer {
    background-color: #000000 !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    border-top: none !important;
}

/* Mobile lock */
@media (max-width: 768px) {
    .main-footer .footer-grid,
    footer .footer-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Ultimate structural collapse override for production deployment */
html, body, .fabriix-terminal-page, main, #page, .site-content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

footer, .site-footer {
    margin-top: 0 !important;
    border-top: none !important;
    box-shadow: none !important;
}

/* Eliminate any hidden clearance div or clear-fix padding left by the theme engine */
.clear, .clearfix, .site-footer::before, .site-footer::after {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Cyberpunk Neon Glow Interaction */
.fbx-avatar-glow-wrapper:hover {
    border-color: #ff007f !important;
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.7) !important;
    transform: scale(1.03);
}
