/*
Theme Name: GEEKTHINK V8 (OS SHELL)
Author: GEEKTHINK
Description: Matrice V8 - Cyber-Brutalist Terminal OS. Standard 0.01%.
Version: 1.0.0
*/

/* INJECTION DES POLICES (CRITIQUE POUR L'UI) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800;900&family=JetBrains+Mono:wght@400;700;800&display=swap');

/* =========================================================================
   N3XUS CORE STYLES 
   ========================================================================= */
:root {
    --color-void: #0a0a0c;
    --color-surface: #141417;
    --color-panel: #1e1e24;
    --cyber-red: #ff2851;
    --cyber-blue: #2851ff;
    --text-pure: #ffffff;
    --text-mineral: #8b8b8f;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
    --font-sans: 'Inter', system-ui, sans-serif;
    --header-height: 75px;
    --topbar-height: 28px;
    --transition-fluid: 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-snappy: 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

@keyframes ambientShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

::selection { background: var(--cyber-red); color: var(--text-pure); }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--color-void); }
::-webkit-scrollbar-thumb { background: rgba(255, 40, 81, 0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyber-red); }

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--color-void);
    color: var(--text-pure);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* LUMIÈRE AMBIANTE (Background Inject) */
body::before {
    content: ''; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle at 15% 30%, rgba(255, 40, 81, 0.04), transparent 45%),
                radial-gradient(circle at 85% 70%, rgba(40, 81, 255, 0.04), transparent 45%);
    z-index: -1; pointer-events: none;
}

.n3xus-container { max-width: 1600px; margin: 0 auto; padding: 0 1.5rem; }
.n3xus-container-narrow { max-width: 900px; margin: 0 auto; padding: 0 1.5rem; }

@media (max-width: 768px) {
    .n3xus-container, .n3xus-container-narrow { padding: 0 1rem; }
}

button, a { cursor: pointer; text-decoration: none; color: inherit; border: none; background: none; }

/* =========================================================================
   OS SYSTEM TOPBAR
   ========================================================================= */
.os-system-bar {
    position: fixed; top: 0; left: 0; right: 0; height: var(--topbar-height);
    background: #050505;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.95);
    z-index: 1001;
    display: flex; align-items: center;
}
.system-bar-content {
    display: flex; justify-content: space-between; align-items: center; width: 100%;
    font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-mineral); letter-spacing: 0.1em;
}

.sys-status { display: flex; align-items: center; gap: 8px; }
.sys-dot { width: 5px; height: 5px; background: #00ff88; border-radius: 50%; box-shadow: 0 0 5px #00ff88; }

.sys-log-display { display: flex; align-items: center; color: #00ff88; text-shadow: 0 0 5px rgba(0,255,136,0.4); text-transform: uppercase; }
.sys-log-text { white-space: nowrap; }
.sys-log-cursor { display: inline-block; width: 5px; height: 10px; background: #00ff88; margin-left: 4px; animation: sysCursorBlink 1s infinite; opacity: 0.8; }
@keyframes sysCursorBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.sys-auth-btn {
    display: flex; align-items: center; gap: 6px; color: var(--text-mineral);
    transition: all 0.3s; padding: 0 10px; height: var(--topbar-height);
    text-transform: uppercase;
}
.sys-auth-btn:hover { color: var(--cyber-red); background: rgba(255,40,81,0.05); }
.sys-auth-btn svg { transition: transform 0.3s; }
.sys-auth-btn:hover svg { transform: translateX(2px); }

/* =========================================================================
   HEADER SYSTEM
   ========================================================================= */
.os-header {
    position: fixed; top: var(--topbar-height); left: 0; right: 0; height: var(--header-height);
    background: rgba(10, 10, 12, 0.85); backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    display: flex; align-items: center; z-index: 1000;
    background-image: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.4) 50%);
    background-size: 100% 4px;
}

.os-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 300px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--cyber-red), transparent);
    box-shadow: 0 0 15px 1.5px var(--cyber-red);
    transform: translateX(-300px);
    animation: osLedSweep 7s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
    z-index: 1001;
    pointer-events: none;
}

@keyframes osLedSweep {
    0% { transform: translateX(-300px); opacity: 0; }
    10% { opacity: 1; }
    50% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(100vw); opacity: 0; }
}

.header-content { display: flex; justify-content: space-between; align-items: center; width: 100%; }

.os-brand {
    font-family: var(--font-mono); color: var(--text-pure); font-size: 1.2rem;
    font-weight: 800; letter-spacing: 0.15em; display: flex; align-items: center; gap: 12px;
    transition: color 0.2s, text-shadow 0.2s; cursor: pointer;
    text-shadow: 0 0 15px rgba(255, 40, 81, 0.3);
    white-space: nowrap;
    min-width: 145px;
}
.os-brand:hover { color: var(--cyber-red); text-shadow: 0 0 25px rgba(255, 40, 81, 0.6); }

.header-data-bridge {
    flex-grow: 1;
    margin: 0 3rem;
    position: relative;
    height: 20px;
    display: flex;
    align-items: center;
    opacity: 0.4;
    mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
    pointer-events: none;
}

.bridge-track {
    width: 100%;
    height: 1px;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,0.2) 0px, rgba(255,255,255,0.2) 4px, transparent 4px, transparent 8px);
}

.bridge-packet {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    border-radius: 2px;
}

.bridge-packet.p1 {
    width: 50px;
    background: var(--cyber-red);
    box-shadow: 0 0 12px var(--cyber-red);
    animation: packetFly 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.bridge-packet.p2 {
    width: 15px;
    background: var(--text-pure);
    box-shadow: 0 0 10px rgba(255,255,255,0.8);
    animation: packetFly 4.5s cubic-bezier(0.165, 0.84, 0.44, 1) infinite 1s;
}

@keyframes packetFly {
    0% { left: -10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 110%; opacity: 0; }
}

.os-nav { display: flex; gap: 3rem; list-style: none; }
.os-nav-link {
    font-family: var(--font-sans); font-size: 0.85rem; letter-spacing: 0.1em; font-weight: 700;
    color: var(--text-mineral); text-transform: uppercase;
    position: relative; padding: 0.5rem 0; transition: color 0.3s;
}
.os-nav-link:hover, .os-nav-link.active { color: var(--text-pure); text-shadow: 0 0 10px rgba(255,255,255,0.3); }

.os-nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px;
    background: rgba(255, 255, 255, 0.1); transition: width var(--transition-fluid), box-shadow 0.3s;
}
.os-nav-link:hover::after { 
    width: 100%; 
    background: var(--cyber-red);
    box-shadow: 0 0 10px var(--cyber-red);
}
.os-nav-link.active::after { 
    width: 100%; 
    background: var(--cyber-red);
    animation: navActivePulse 2.5s ease-in-out infinite;
}

@keyframes navActivePulse {
    0%, 100% { box-shadow: 0 0 5px var(--cyber-red); opacity: 0.6; }
    50% { box-shadow: 0 0 18px var(--cyber-red), 0 2px 12px rgba(255,40,81,0.6); opacity: 1; }
}

/* =========================================================================
   404 ERROR OVERRIDE SYSTEM
   ========================================================================= */
.error-404-scene {
    position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; 
    align-items: center; justify-content: center; min-height: 65vh; gap: 1.5rem;
    user-select: none;
}
.crt-flicker { animation: flicker 0.15s infinite; }
@keyframes flicker { 0% { opacity: 0.98; } 50% { opacity: 1; } 100% { opacity: 0.99; } }

.cipher-text-404 { 
    font-size: 6rem; font-weight: 800; letter-spacing: 0.15em; 
    text-shadow: 0 0 25px rgba(255,40,81,0.6); margin: 0; 
    font-family: var(--font-mono); color: #fff; line-height: 1;
}
@media (max-width: 768px) { .cipher-text-404 { font-size: 3rem; } }
.sub-status-404 { font-size: 0.85rem; color: var(--text-mineral); text-transform: uppercase; letter-spacing: 0.4em; }
.quantum-loader-404 { width: 300px; height: 1.5px; background: rgba(255,255,255,0.1); position: relative; overflow: hidden; margin-top: 1.5rem; }
.quantum-loader-404::after { 
    content: ''; position: absolute; top: 0; left: 0; height: 100%; width: 40%; 
    background: var(--cyber-red); box-shadow: 0 0 10px var(--cyber-red), 0 0 20px var(--cyber-red); 
    animation: quantum-sweep 2s cubic-bezier(0.165,0.84,0.44,1) infinite; 
}
@keyframes quantum-sweep { 0% { transform: translateX(-150%); } 100% { transform: translateX(350%); } }

/* =========================================================================
   SEARCH OVERLAY SYSTEM (MÉNACINE)
   ========================================================================= */
.n3xus-search-overlay {
    position: fixed; inset: 0;
    background: rgba(10, 10, 12, 0.85); backdrop-filter: blur(25px);
    z-index: 3000;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.n3xus-search-overlay.active { opacity: 1; pointer-events: all; }

.search-modal-content { 
    width: 100%; max-width: 800px; padding: 2rem; 
    text-align: center; transform: translateY(20px); transition: transform 0.5s var(--transition-fluid);
}
.n3xus-search-overlay.active .search-modal-content { transform: translateY(0); }

.os-search-input-modal {
    width: 100%; background: transparent; border: none; border-bottom: 2px solid rgba(255,255,255,0.05);
    padding: 1.5rem 0; color: #fff; font-family: var(--font-mono); font-size: 2.5rem; font-weight: 800;
    outline: none; text-align: center; transition: border-color 0.3s;
    letter-spacing: -0.02em;
}
.os-search-input-modal::placeholder { color: rgba(255,255,255,0.1); }
.os-search-input-modal:focus { border-bottom-color: var(--cyber-red); }

.search-close-btn {
    position: absolute; top: 40px; right: 40px;
    background: none; border: none; color: var(--text-mineral); cursor: pointer;
    transition: all 0.3s; padding: 10px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.search-close-btn:hover { color: var(--cyber-red); background: rgba(255,40,81,0.1); transform: rotate(90deg); }

.search-hint { 
    margin-top: 2rem; font-family: var(--font-mono); font-size: 0.7rem; 
    color: var(--text-mineral); letter-spacing: 4px; opacity: 0.5;
}

/* =========================================================================
   ROUTER VIEWPORT 
   ========================================================================= */
.os-viewport {
    padding-top: calc(var(--header-height) + var(--topbar-height) + 2rem);
    min-height: 100vh;
}
.view-layer {
    opacity: 1; transform: translateY(0);
    transition: opacity 0.4s ease, transform var(--transition-fluid);
}
.view-layer.fade-out {
    opacity: 0; transform: translateY(15px); pointer-events: none;
}

/* =========================================================================
   N3XUS INFINITE RAIL (The New Showcase)
   ========================================================================= */
.showcase-wrapper { 
    width: 100%; 
    margin-bottom: 6rem; 
    position: relative; 
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.showcase-header-band {
    display: flex; align-items: center; justify-content: flex-start; gap: 1.5rem;
    padding: 0 2rem 1rem 2rem;
}
.shb-node {
    width: 8px; height: 8px; background: var(--cyber-red); border-radius: 50%;
    box-shadow: 0 0 10px rgba(255,40,81,0.8); flex-shrink: 0;
}
.shb-marquee-wrapper {
    display: flex; overflow: hidden; width: 320px; position: relative;
    mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}
@keyframes scrollStream { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.shb-marquee {
    display: flex; white-space: nowrap; animation: scrollStream 12s linear infinite;
}
.shb-marquee span {
    padding-right: 2rem; font-family: var(--font-mono); font-size: 0.75rem; 
    letter-spacing: 0.15em; color: var(--text-pure); font-weight: 800;
}
.shb-animated-line {
    flex-grow: 1; height: 1px;
    background: linear-gradient(90deg, rgba(255,40,81,0), rgba(255,40,81,0.5), rgba(255,40,81,0));
    background-size: 200% 100%;
    animation: ambientShimmer 4s infinite linear;
}

.showcase-footer-band {
    display: flex; align-items: center; justify-content: flex-end; gap: 1.5rem;
    padding: 1rem 2rem 0 2rem; border-top: 1px solid rgba(255,255,255,0.05);
}
.sfb-line {
    flex-grow: 1; height: 1px; background: rgba(255,255,255,0.05);
}
.sfb-nodes { display: flex; gap: 4px; }
.sfb-node { width: 5px; height: 10px; background: rgba(255,255,255,0.1); transform: skewX(-20deg); transition: background 0.3s; }
.sfb-node:nth-child(3) { background: var(--cyber-red); box-shadow: 0 0 10px rgba(255,40,81,0.5); }

.showcase-viewport {
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.showcase-rail {
    display: flex; flex-wrap: nowrap; overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 70vh;
    scroll-behavior: smooth;
}
.showcase-rail::-webkit-scrollbar { display: none; }

.showcase-pane {
    flex: 0 0 calc(100vw / 3.5); 
    min-width: 400px;
    scroll-snap-align: start;
    position: relative; overflow: hidden; cursor: pointer;
    display: flex; flex-direction: column; justify-content: flex-end; 
    padding: 4rem 3rem; border-right: 1px solid rgba(255,255,255,0.05);
}

.showcase-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.8s ease; z-index: 1;
    filter: saturate(0.6) brightness(0.8);
}
.showcase-pane:hover .showcase-bg { 
    transform: scale(1.06); 
    filter: saturate(1.2) brightness(1.1);
}

.showcase-overlay {
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(0deg, rgba(10,10,12,0.95) 0%, rgba(10,10,12,0.4) 50%, rgba(10,10,12,0) 100%);
    transition: opacity 0.5s ease;
}
.showcase-pane:hover .showcase-overlay { opacity: 0.6; }

.showcase-content { position: relative; z-index: 3; transform: translateY(20px); transition: transform var(--transition-fluid); }
.showcase-pane:hover .showcase-content { transform: translateY(0); }

.showcase-tag {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 1.5rem;
    font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em;
    color: var(--text-pure);
    background: rgba(255,40,81,0.8); padding: 4px 10px; border-radius: 2px;
    backdrop-filter: blur(5px);
}

.showcase-title {
    font-size: 2.8rem; font-weight: 800; line-height: 1.05; margin-bottom: 1.2rem;
    color: var(--text-pure); letter-spacing: -0.03em;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.showcase-meta {
    font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-mineral);
    display: flex; align-items: center; gap: 1rem; opacity: 0; transition: opacity var(--transition-fluid);
}
.showcase-pane:hover .showcase-meta { opacity: 1; color: var(--text-pure); }

/* NOUVEAUX BOUTONS FLOTTANTS */
.sc-float-btn {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
    width: 60px; height: 60px; border-radius: 50%;
    background: rgba(10,10,12,0.3); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    color: white; display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}
.showcase-wrapper:hover .sc-float-btn { opacity: 1; }
.sc-float-btn:hover { 
    background: rgba(255,40,81,0.2); border-color: var(--cyber-red); 
    box-shadow: 0 0 20px rgba(255,40,81,0.3); transform: translateY(-50%) scale(1.1);
}
.sc-float-btn.left { left: 2rem; }
.sc-float-btn.right { right: 2rem; }

@media (max-width: 1400px) { .showcase-pane { flex: 0 0 calc(100vw / 2.5); min-width: 350px; } }
@media (max-width: 1024px) { .showcase-pane { flex: 0 0 calc(100vw / 2); padding: 3rem 2rem; } .showcase-title { font-size: 2.2rem; } }
@media (max-width: 768px) { 
    .showcase-pane { flex: 0 0 100vw; min-width: 100vw; }
}

/* =========================================================================
   N3XUS BENTO GRID
   ========================================================================= */
@keyframes bentoGlow {
    0% { filter: drop-shadow(0 0 10px rgba(255, 40, 81, 0.1)); }
    50% { filter: drop-shadow(0 0 25px rgba(40, 150, 255, 0.2)); }
    100% { filter: drop-shadow(0 0 10px rgba(255, 40, 81, 0.1)); }
}

.n3xus-bento {
    display: grid;
    grid-template-columns: 1fr 1.8fr 1fr;
    gap: 1.5rem;
    padding: 4rem 2rem 6rem 2rem;
    max-width: 1600px; margin: 0 auto;
}

.bento-col { display: flex; flex-direction: column; gap: 1.5rem; }

.bento-card {
    position: relative;
    background: transparent;
    display: flex; flex-direction: column;
    cursor: pointer;
    isolation: isolate; 
    transform: translateY(0); 
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.8s;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
}

.bento-card:hover { 
    transform: translateY(-8px); 
}
.bento-card.tall:hover { animation: bentoGlow 4s infinite; }
.bento-card.hero:hover { animation: bentoGlow 4s infinite reverse; }

.bento-card.tall { flex-grow: 1; min-height: 420px; }
.bento-card.hero { height: 100%; min-height: 700px; }

.bento-bg-wrapper {
    position: absolute; inset: 0; z-index: 1;
    border-radius: 40px; overflow: hidden;
    background: var(--color-surface);
}

.tall > .bento-bg-wrapper {
    -webkit-mask-image: radial-gradient(100px 100px at 100% 100%, transparent 95%, black 100%);
    mask-image: radial-gradient(100px 100px at 100% 100%, transparent 95%, black 100%);
}

.hero > .bento-bg-wrapper {
    border-bottom-left-radius: 0; border-bottom-right-radius: 0;
    -webkit-mask-image: radial-gradient(60% 120px at 50% 100%, transparent 95%, black 100%);
    mask-image: radial-gradient(60% 120px at 50% 100%, transparent 95%, black 100%);
}

.hero .bento-bottom-text {
    position: absolute; bottom: -20px; left: 0; right: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    z-index: 10; pointer-events: none;
}

.bento-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.8s;
    filter: saturate(0.8) brightness(0.6);
}
.bento-card:hover .bento-bg { transform: scale(1.08); filter: saturate(1.1) brightness(0.8); }

.bento-overlay {
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(0deg, rgba(10,10,12,0.95) 0%, rgba(10,10,12,0.1) 50%, rgba(10,10,12,0.8) 100%);
}

.bento-content {
    position: relative; z-index: 3; padding: 2.5rem; height: 100%;
    display: flex; flex-direction: column; justify-content: space-between;
    pointer-events: none;
}

.bento-header { display: flex; justify-content: space-between; align-items: center; transform: translateY(0); transition: transform 0.4s ease; }
.bento-card:hover .bento-header { transform: translateY(-5px); }

.bento-pill {
    background: rgba(255,255,255,0.05); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1); padding: 6px 16px; border-radius: 30px;
    font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-pure);
}
.bento-meta { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-mineral); }

.bento-bottom { margin-top: auto; padding-right: 2rem; transform: translateY(0); transition: transform 0.4s ease; }
.bento-card:hover .bento-bottom { transform: translateY(-5px); }

.bento-index { font-family: var(--font-mono); color: var(--cyber-red); font-size: 0.75rem; margin-bottom: 0.8rem; letter-spacing: 0.1em; }
.bento-title { font-size: 1.8rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }

.bento-action-btn-wrapper {
    position: absolute; bottom: 10px; right: 10px; z-index: 15;
    width: 60px; height: 60px; pointer-events: none;
}
.bento-action-btn {
    width: 100%; height: 100%; border-radius: 50%;
    background: rgba(40,40,45,0.8); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-pure); transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.bento-action-btn svg { transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); }

.bento-card:hover .bento-action-btn {
    background: var(--cyber-red); 
    border-color: rgba(255, 100, 100, 0.5);
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(255,40,81,0.5);
}
.bento-card:hover .bento-action-btn svg { transform: rotate(-45deg) scale(1.2); }

@media (max-width: 1200px) {
    .n3xus-bento { grid-template-columns: 1fr 1fr; }
    .bento-col.main-col { grid-column: span 2; order: -1; }
    .bento-card.hero { min-height: 500px; }
}
@media (max-width: 768px) {
    .n3xus-bento { grid-template-columns: 1fr; }
    .bento-col.main-col { grid-column: span 1; }
}

/* --- SINGLE ARTICLE SYSTEM --- */
/* =========================================================================
   N3XUS KERNEL FIX : REPOSITIONNEMENT HERO SOUS LE MENU
   ========================================================================= */
.article-hero { 
    position: relative; 
    width: 100%; 
    /* Le hero prend exactement la taille de l'écran MOINS la hauteur des menus */
    height: calc(100vh - var(--header-height) - var(--topbar-height)); 
    min-height: 500px; /* Sécurité si l'écran est minuscule */
    display: flex; 
    align-items: flex-end; 
    padding-bottom: 6rem; 
    border-bottom: none; 
    
    /* KILL SWITCH : On supprime le margin-top négatif. Le hero démarre SOUS le menu. */
    margin-top: 0 !important; 
    overflow: hidden; 
}

.article-hero-bg { 
    /* On passe en absolu pour que l'image reste sagement dans son conteneur */
    position: absolute; 
    top: 0; left: 0; right: 0; bottom: 0; 
    height: 100%; 
    background-size: cover; 
    background-position: center; 
    z-index: -2; 
    will-change: transform; 
    animation: slowZoom 25s infinite alternate linear; 
}
@keyframes slowZoom { 0% { transform: scale(1); } 100% { transform: scale(1.15); } }
.article-hero { overflow: hidden; }

.article-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom, 
        transparent 30%, 
        rgba(10, 10, 12, 0.8) 70%, 
        var(--color-void) 95%,
        var(--color-void) 100%
    );
    z-index: 1;
}

.hero-bottom-shroud {
    position: absolute;
    bottom: -2px; 
    left: 0;
    width: 100%;
    height: 40vh; 
    background: linear-gradient(
        to top, 
        var(--color-void) 0%, 
        var(--color-void) 15%, 
        transparent 100%
    );
    z-index: 2;
    pointer-events: none;
}

.article-header { max-width: 1400px; margin: 0 auto; width: 100%; padding: 0 1.5rem; position: relative; z-index: 10; }
.article-category { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 0.85rem; color: var(--cyber-red); font-weight: 800; letter-spacing: 0.15em; margin-bottom: 2rem; }
.article-category::before { content: ''; width: 40px; height: 1px; background: var(--cyber-red); box-shadow: 0 0 10px var(--cyber-red); }
.article-title { font-size: clamp(3rem, 6vw, 6rem); font-weight: 900; line-height: 0.95; letter-spacing: -0.04em; color: var(--text-pure); margin-bottom: 2.5rem; max-width: 1100px; text-shadow: 0 10px 30px rgba(0,0,0,0.8); }
.article-excerpt { font-size: clamp(1.2rem, 2vw, 1.8rem); color: var(--text-mineral); line-height: 1.5; font-weight: 500; max-width: 800px; border-left: 2px solid var(--cyber-red); padding-left: 2rem; margin-left: 2px; }

.article-layout { display: grid; grid-template-columns: 200px 1fr 280px; max-width: 1500px; margin: 0 auto; padding: 6rem 2rem 10rem 2rem; gap: 4rem; position: relative; z-index: 10; background: var(--color-void); }
.article-layout.archive-mode { grid-template-columns: 1fr 280px; max-width: 1200px; }
.article-sidebar { position: sticky; top: 120px; height: max-content; display: flex; flex-direction: column; gap: 3rem; font-family: var(--font-mono); }
.sidebar-block-title { font-size: 0.65rem; color: var(--text-mineral); letter-spacing: 0.15em; margin-bottom: 0.5rem; text-transform: uppercase; }
.sidebar-data { font-size: 1rem; color: var(--text-pure); font-weight: 700; }

.share-network { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1rem; width: 100%; }
.share-btn { width: 100%; padding: 12px 18px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: flex-start; gap: 12px; color: var(--text-mineral); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); background: rgba(255,255,255,0.02); cursor: pointer; }
.share-btn:hover { border-color: var(--cyber-red); background: rgba(255,40,81,0.1); color: var(--text-pure); transform: translateX(8px); box-shadow: 0 0 15px rgba(255,40,81,0.2); }

.author-card { background: rgba(10,10,12,0.6); border: 1px solid rgba(255,255,255,0.05); padding: 2rem; border-radius: 4px; display: flex; flex-direction: column; gap: 1.2rem; transition: transform 0.4s, border-color 0.4s; }
.author-card:hover { border-color: rgba(255,40,81,0.3); transform: translateY(-5px); }

.author-header { display: flex; align-items: center; gap: 1.2rem; }
.author-avatar { 
    width: 80px; height: 80px; border-radius: 4px; 
    border: 1px solid rgba(255, 40, 81, 0.2); 
    background: rgba(10, 10, 12, 0.95);
    padding: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    flex-shrink: 0; position: relative; 
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.author-avatar::after { content: ''; position: absolute; inset: 4px; border-radius: 2px; box-shadow: inset 0 0 10px rgba(0,0,0,0.8); pointer-events: none; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; filter: grayscale(100%) contrast(1.2); transition: filter 0.5s; display: block; -webkit-touch-callout: none; pointer-events: auto; }
.author-card:hover .author-avatar { border-color: rgba(255, 40, 81, 0.6); box-shadow: 0 8px 25px rgba(255,40,81,0.2); }
.author-card:hover .author-avatar img { filter: grayscale(0%) contrast(1); }

.author-meta { display: flex; flex-direction: column; justify-content: center; gap: 0.4rem; padding-top: 2px; }
.author-name { font-family: var(--font-mono); font-weight: 800; font-size: 1.15rem; color: var(--text-pure); letter-spacing: 0.05em; line-height: 1; }
.author-role { font-size: 0.65rem; color: var(--cyber-red); letter-spacing: 0.15em; text-transform: uppercase; font-family: var(--font-mono); opacity: 0.9; }
.author-bio { font-size: 0.85rem; line-height: 1.6; color: var(--text-mineral); border-left: 2px solid rgba(255,255,255,0.05); padding-left: 1rem; }

.status-indicator { margin-top: 0.5rem; padding-top: 1rem; border-top: 1px dashed rgba(255,255,255,0.05); font-size: 0.75rem; color: var(--text-mineral); font-family: var(--font-mono); display: flex; align-items: center; justify-content: space-between; text-transform: uppercase; }
.status-dot { width: 8px; height: 8px; animation: pulseGlow 2s infinite; }
.status-dot.offline { background: var(--cyber-red); box-shadow: 0 0 10px var(--cyber-red); }
.status-dot.online { background: #00ff88; box-shadow: 0 0 10px #00ff88; }

.content-box { background: rgba(20, 20, 23, 0.4); border: 1px solid rgba(255,255,255,0.02); padding: 3.5rem; border-radius: 6px; box-shadow: inset 0 0 20px rgba(0,0,0,0.5); }

@keyframes slideUpDecode { 0% { opacity: 0; transform: translateY(30px); filter: blur(4px); } 100% { opacity: 1; transform: translateY(0); filter: blur(0); } }
.reveal-block { animation: slideUpDecode 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; opacity: 0; }
.delay-1 { animation-delay: 0.1s; } .delay-2 { animation-delay: 0.2s; } .delay-3 { animation-delay: 0.3s; }

.article-content { font-size: 1.15rem; line-height: 1.8; color: rgba(255,255,255,0.75); max-width: 850px; font-weight: 400; }
.article-content p { margin-bottom: 1.5rem; }
.content-box > p:first-of-type::first-letter { display: none; }

.n3xus-drop-cap { 
    font-size: 5rem;
    float: left; 
    line-height: 1; 
    margin-right: 15px; 
    color: var(--cyber-red); 
    font-weight: 900; 
    position: relative;
    display: inline-block;
    animation: slowNeonPulse 6s ease-in-out infinite;
}
@keyframes slowNeonPulse {
    0%, 100% { text-shadow: 0 0 5px rgba(255,40,81,0.1); filter: brightness(1); }
    50% { text-shadow: 0 0 25px rgba(255,40,81,0.6); filter: brightness(1.3); }
}

/* WordPress Content Formatting */
.article-content h1, .article-content h2, .article-content h3, .article-content h4 { 
    margin-top: 5rem; margin-bottom: 0.5rem; position: relative; 
    animation: titleDecode 1.5s cubic-bezier(0.19, 1, 0.22, 1) both;
    animation-delay: 0.8s;
}

.article-content h2 { font-size: 3.8rem; color: var(--text-pure); font-weight: 900; letter-spacing: -0.03em; padding-bottom: 0.2rem; line-height: 1; }
.article-content h2::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%); }
.article-content h2::before { content: ''; position: absolute; bottom: -2px; left: 0; width: 40px; height: 5px; background: var(--cyber-red); border-radius: 2px; box-shadow: 0 0 15px rgba(255,40,81,0.5); z-index: 1; }

.article-content h3 { font-size: 2.6rem; color: var(--cyber-red); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.01em; font-weight: 900; padding-bottom: 0.1rem; display: flex; align-items: center; }
.article-content h3::before { content: '//'; margin-right: 12px; font-weight: 900; opacity: 0.8; color: var(--cyber-red); }
.article-content h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: rgba(255,40,81,0.2); }

.article-content h4 { font-size: 1.9rem; color: var(--text-pure); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 1.5rem; }

/* --- MOTEUR LASER V8 (SPECTRE RGB / NÉON MULTICOLORE) --- */
@keyframes liquidScanRGB {
    0% { left: -300px; opacity: 0; filter: hue-rotate(0deg); }
    10% { opacity: 1; filter: hue-rotate(36deg); }
    50% { filter: hue-rotate(180deg); }
    90% { opacity: 1; filter: hue-rotate(324deg); }
    100% { left: 100%; opacity: 0; filter: hue-rotate(360deg); }
}

.article-content hr, 
.article-content .wp-block-separator { 
    border: none; 
    height: 1px; 
    background: rgba(255,255,255,0.05); 
    margin: 3rem 0; 
    position: relative; 
    overflow: hidden; 
    display: block;
    width: 100%;
}

.article-content hr::after, 
.article-content .wp-block-separator::after { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: -300px; 
    width: 250px; 
    height: 100%; 
    /* Base rouge, le moteur liquidScanRGB va tordre cette couleur en temps réel */
    background: linear-gradient(90deg, transparent, var(--cyber-red), transparent); 
    box-shadow: 0 0 15px var(--cyber-red); 
    animation: liquidScanRGB 3.5s infinite cubic-bezier(0.4, 0, 0.2, 1); 
}
.article-content h1 + hr, .article-content h2 + hr, .article-content h3 + hr { margin-top: -1rem; }
.article-content a { color: var(--cyber-red); text-decoration: none; border-bottom: 1px dashed rgba(255,40,81,0.3); transition: border-color 0.3s; }
.article-content a:hover { border-color: var(--cyber-red); }
.article-content img, .article-content .wp-block-image img { max-width: 100%; height: auto; border-radius: 4px; border: 1px solid rgba(255,255,255,0.05); margin: 2.5rem 0; box-shadow: 0 10px 30px rgba(0,0,0,0.5); filter: grayscale(20%); transition: filter 0.5s; }
.article-content img:hover, .article-content .wp-block-image img:hover { filter: grayscale(0%); }
img.emoji, .article-content img.emoji { display: inline !important; border: none !important; box-shadow: none !important; margin: 0 0.1em !important; padding: 0 !important; max-width: none !important; filter: none !important; border-radius: 0 !important; width: 1em !important; height: 1em !important; vertical-align: -0.1em !important; }
.article-content figure { margin: 2.5rem 0; width: 100%; }
.article-content figcaption { color: var(--text-mineral); font-size: 0.8rem; text-align: center; margin-top: 0.8rem; font-family: var(--font-mono); }
.article-content blockquote, .article-content .wp-block-quote { border-left: 2px solid var(--cyber-red); padding-left: 1.5rem; font-style: italic; color: var(--text-pure); font-size: 1.2rem; margin: 2.5rem 0; background: rgba(255,40,81,0.05); padding: 1.5rem; border-radius: 0 4px 4px 0; }
.article-content ul, .article-content ol { padding-left: 1.5rem; margin-bottom: 2rem; }
.article-content li { margin-bottom: 0.5rem; }
.article-content code { background: rgba(255,255,255,0.05); padding: 2px 6px; border-radius: 4px; font-family: var(--font-mono); font-size: 0.9em; color: var(--cyber-red); }
.article-content pre { background: rgba(10,10,12,0.8); padding: 1.5rem; border-radius: 4px; overflow-x: auto; margin: 2.5rem 0; border: 1px solid rgba(255,255,255,0.05); }

/* --- COMMENTS SECTION --- */
.comments-section { margin-top: 1rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.05); }
.comments-title {
    font-family: var(--font-mono);
    font-size: 0.5rem; /* Taille tactique et affinée */
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--cyber-red);
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-align: left;
    display: flex;
    justify-content: flex-start;
}

.comment-thread { list-style: none; padding: 0; margin: 0; }
.comment-node { margin-bottom: 1.5rem; position: relative; }

.comment-body { 
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 1rem;
    background: rgba(255,255,255,0.01); 
    border: 1px solid rgba(255,255,255,0.03); 
    padding: 1rem; 
    border-radius: 4px; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    position: relative;
    overflow: hidden;
}
.comment-body::before { content: ''; position: absolute; top:0; left:0; width: 2px; height: 100%; background: var(--cyber-red); opacity: 0; transition: opacity 0.3s; }
.comment-body:hover { border-color: rgba(255,40,81,0.15); background: rgba(255,40,81,0.01); transform: translateX(4px); }
.comment-body:hover::before { opacity: 1; }

.comment-avatar { 
    width: 40px; height: 40px; border-radius: 2px; border: 1px solid rgba(255,255,255,0.1); 
    overflow: hidden; background: rgba(255,255,255,0.05); position: relative;
}
.comment-avatar img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: all 0.3s; opacity: 0.8; }
.comment-body:hover .comment-avatar img { filter: grayscale(0%); opacity: 1; }
.comment-avatar.user-logged-in { border-color: var(--cyber-red); box-shadow: 0 0 10px rgba(255,40,81,0.3); }

.comment-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; font-family: var(--font-mono); font-size: 0.7rem; }
.comment-author { color: var(--text-pure); font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.comment-author.staff { color: var(--cyber-red); display: flex; align-items: center; gap: 5px; }
.comment-author.staff::after { content: 'STAFF'; font-size: 0.5rem; padding: 1px 4px; border: 1px solid var(--cyber-red); border-radius: 2px; }
.comment-date { color: var(--text-mineral); opacity: 0.6; }
.comment-content { color: rgba(255,255,255,0.7); font-size: 0.85rem; line-height: 1.5; }

.comment-actions { margin-top: 0.8rem; display: flex; gap: 12px; font-family: var(--font-mono); font-size: 0.65rem; }
.comment-btn { color: var(--text-mineral); cursor: pointer; text-transform: uppercase; transition: color 0.3s; border-bottom: 1px solid transparent; }
.comment-btn:hover { color: var(--cyber-red); border-color: var(--cyber-red); }

.comment-children { 
    padding-left: 1.5rem; margin-top: 0.5rem; border-left: 1px dashed rgba(255,255,255,0.05); 
    display: none;
}
.comment-children.expanded { display: block; }

.view-replies { 
    font-family: var(--font-mono); font-size: 0.65rem; color: var(--cyber-red); 
    cursor: pointer; padding: 5px 0; display: inline-flex; align-items: center; gap: 8px;
    margin-top: 5px; opacity: 0.7; transition: opacity 0.3s;
}
.view-replies:hover { opacity: 1; }
.view-replies svg { transition: transform 0.3s; }
.view-replies.active svg { transform: rotate(180deg); }

.comment-form { margin-bottom: 2.5rem; background: rgba(10,10,12,0.6); padding: 1.5rem; border-radius: 4px; border: 1px solid rgba(255,255,255,0.03); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.comment-form:focus-within { border-color: rgba(255,40,81,0.4); background: rgba(255,40,81,0.02); box-shadow: 0 0 20px rgba(255,40,81,0.05); transform: translateY(-2px); }
.form-title { font-size: 0.9rem; font-weight: 800; color: var(--text-pure); margin-bottom: 1rem; font-family: var(--font-mono); letter-spacing: 0.1em; display: flex; align-items: center; gap: 10px; }
.form-title::before { content: ''; width: 4px; height: 4px; background: var(--cyber-red); box-shadow: 0 0 5px var(--cyber-red); animation: blink 1s infinite; }
.comment-input { width: 100%; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.05); border-radius: 2px; padding: 0.8rem; color: #fff; font-family: inherit; margin-bottom: 0.8rem; resize: none; min-height: 80px; font-size: 0.9rem; transition: all 0.3s; }
.comment-input:focus { border-color: var(--cyber-red); outline: none; background: rgba(0,0,0,0.8); }
.comment-submit { background: transparent; color: var(--cyber-red); border: 1px solid var(--cyber-red); padding: 0.6rem 1.5rem; border-radius: 2px; font-size: 0.7rem; font-weight: 800; font-family: var(--font-mono); cursor: pointer; transition: all 0.3s; text-transform: uppercase; position: relative; overflow: hidden; }
.comment-submit:hover { background: var(--cyber-red); color: #fff; box-shadow: 0 0 15px rgba(255,40,81,0.3); letter-spacing: 0.05em; }

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.load-more-container { text-align: center; margin-top: 2rem; padding-top: 2.5rem; border-top: 1px dashed rgba(255,255,255,0.05); }
.load-more-btn { background: transparent; color: var(--text-pure); border: 1px solid rgba(255,255,255,0.1); padding: 0.8rem 2rem; border-radius: 2px; font-size: 0.7rem; font-weight: 800; font-family: var(--font-mono); cursor: pointer; transition: all 0.3s; text-transform: uppercase; letter-spacing: 0.1em; }
.load-more-btn:hover { border-color: var(--cyber-red); color: var(--cyber-red); background: rgba(255,40,81,0.02); box-shadow: 0 0 15px rgba(255,40,81,0.1); }

/* =========================================================================
   MOBILE NAVIGATION OVERLAY
   ========================================================================= */
.mobile-nav-toggle {
    display: none;
    background: none; border: none; cursor: pointer; color: var(--text-pure);
    z-index: 1001;
}

.mobile-nav-sheet {
    position: fixed; top: 0; right: 0; bottom: 0; 
    width: 320px; max-width: 85vw;
    background: #0d0d0f;
    border-left: 1px solid rgba(255, 40, 81, 0.2);
    box-shadow: -20px 0 60px rgba(0,0,0,0.8);
    z-index: 2000;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: 8rem 2.5rem 4rem 2.5rem;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.mobile-nav-sheet.active { transform: translateX(0); }

/* --- 3. OVERLAY FLOUTÉ (Le filtre sur le site) --- */
    .mobile-nav-overlay-bg {
        position: fixed; 
        inset: 0; 
        /* On assombrit l'overlay à 85% d'opacité noire pour tuer le contraste du fond */
        background: rgba(0, 0, 0, 0.85) !important; 
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 1999;
        opacity: 0; 
        pointer-events: none; 
        transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    }
    .mobile-nav-overlay-bg.active { 
        opacity: 1; 
        pointer-events: all; 
    }

    /* --- 4. LE TIROIR MATRICE (Drawer) --- */
    .mobile-nav-sheet {
        box-sizing: border-box; 
        position: fixed; 
        top: 0; 
        right: 0; 
        bottom: 0; 
        width: 320px; 
        max-width: 85vw; 
        /* CRUCIAL : Fond noir absolu forcé en hexadécimal, aucune transparence possible */
        background-color: #0a0a0c !important; 
        border-left: 1px solid rgba(255, 40, 81, 0.2); 
        box-shadow: -20px 0 60px rgba(0,0,0,0.9);
        z-index: 2000;
        display: flex; 
        flex-direction: column; 
        padding: 6rem 2.5rem 4rem 2.5rem;
        
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

.mobile-nav-sheet .os-nav {
    flex-direction: column; gap: 1.2rem; align-items: flex-start; width: 100%;
}
.mobile-nav-sheet .os-nav-link {
    font-size: 1.1rem; letter-spacing: 0.1em; font-family: var(--font-mono); font-weight: 500;
    padding: 0.5rem 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.03);
    background: transparent !important; color: var(--text-mineral) !important;
    display: flex; align-items: center; justify-content: space-between;
}
.mobile-nav-sheet .os-nav-link:hover, .mobile-nav-sheet .os-nav-link.active {
    color: var(--text-pure) !important; padding-left: 0.5rem;
}
.mobile-nav-sheet .os-nav-link::after { content: "›"; color: var(--cyber-red); opacity: 0; transition: all 0.3s; }
.mobile-nav-sheet .os-nav-link:hover::after, .mobile-nav-sheet .os-nav-link.active::after { opacity: 1; transform: translateX(5px); }

@media (max-width: 1024px) {
    .article-layout { grid-template-columns: 1fr; gap: 4rem; padding-top: 4rem; }
    .article-sidebar { position: static; flex-direction: row; flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 2rem;}
    .share-network { flex-direction: row; }
}
@media (max-width: 768px) {
    .os-system-bar { display: none; }
    .os-viewport { padding-top: calc(var(--header-height) + 1rem); }
    .os-header { top: 0; }
    .os-header .n3xus-container { justify-content: space-between; padding: 0 1.5rem; }
    .os-header .os-nav-wrapper { display: none; }
    .mobile-nav-toggle { display: block; }
    .article-title { font-size: clamp(2.2rem, 10vw, 3.2rem); word-break: break-word; line-height: 1.1; margin-bottom: 1.5rem; }
    .article-excerpt { font-size: 1.1rem; padding-left: 1.2rem; }
    .article-hero { 
        height: auto; 
        min-height: 70vh;
        margin-top: calc(-1 * (var(--header-height) + 0.5rem)); 
        padding-top: calc(var(--header-height) + 4rem); 
        padding-bottom: 4rem; 
    }
    .article-header { padding: 0 1.2rem; }
    .article-layout { padding: 3rem 0; gap: 2rem; }
    .content-box { padding: 1.5rem; border: none; background: transparent; box-shadow: none; }
    .article-hero-bg { 
        position: absolute; 
        top: 0; left: 0; right: 0; height: 100%; 
        animation: none; 
    }
    .article-sidebar { flex-direction: column; gap: 2rem; padding: 2rem 1.2rem; border-radius: 0; }
    .share-network { flex-wrap: wrap; gap: 0.5rem; }
    .share-btn { width: 100%; justify-content: flex-start; padding: 15px; font-size: 0.7rem; }
}

/* --- OTHER PAGES --- */
.page-header { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; border-bottom: 2px solid var(--cyber-red); padding-bottom: 1rem; margin-bottom: 3rem; display: inline-block; letter-spacing: -0.03em;}
.news-list { display: flex; flex-direction: column; }
.news-item { display: grid; grid-template-columns: 180px 1fr; gap: 3rem; padding: 3rem; border: 1px solid transparent; cursor: pointer; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); margin: 0 -3rem; position: relative; overflow: hidden; }
.news-item:hover { background: rgba(255, 255, 255, 0.02); border-color: rgba(255, 40, 81, 0.15); border-radius: 4px; transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.news-item::before { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 2px; background: var(--cyber-red); transform: scaleY(0); transition: transform 0.4s ease; }
.news-item:hover::before { transform: scaleY(1); }

.news-thumbnail { width: 100%; aspect-ratio: 16/10; background-size: cover; background-position: center; border: 1px solid rgba(255,255,255,0.1); position: relative; overflow: hidden; }
.news-thumbnail::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(24,24,24,0.8) 0%, transparent 50%); }

.news-date { font-family: var(--font-mono); color: var(--cyber-red); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; margin-top: 1.5rem; display: block; }
.news-title { font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-weight: 800; margin-bottom: 0.8rem; line-height: 1.2; letter-spacing: -0.02em; color: var(--text-pure); transition: color 0.3s; }
.news-item:hover .news-title { color: var(--text-pure); }

.news-meta-bottom { display: flex; align-items: center; gap: 2rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.05); }
.news-author { display: flex; align-items: center; gap: 10px; }
.news-author-avatar { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--cyber-red); overflow: hidden; }
.news-author-name { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-pure); letter-spacing: 0.05em; text-transform: uppercase; }
.news-stats { display: flex; align-items: center; gap: 15px; font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-mineral); }
.news-stat-item { display: flex; align-items: center; gap: 6px; }

@media (max-width: 1024px) {
    .news-item { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem; margin: 0; }
    .news-thumbnail { max-width: 300px; }
}
@media (max-width: 768px) { .single-title { font-size: 3.5rem; } }

/* =========================================================================
   GT TERMINAL FOOTER OVERRIDE
   ========================================================================= */
.gt-footer-container {
    position: relative;
    background-color: transparent;
    border-top: 1px solid rgba(255, 40, 81, 0.2);
    padding: 80px 20px 40px;
    overflow: hidden;
    font-family: var(--font-mono);
    text-align: center;
    z-index: 10;
}

.gt-footer-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.gt-social-dock {
    position: relative;
    display: inline-flex;
    gap: 25px;
    z-index: 2;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 12px;
    border: 1px solid rgba(255, 40, 81, 0.15);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    margin-bottom: 40px;
}

.gt-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #0d0d0f;
    border-radius: 8px;
    color: var(--text-pure);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.gt-social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.gt-social-link:hover {
    background: #000;
    border-color: var(--cyber-red);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 40, 81, 0.4);
    color: var(--cyber-red);
}

.gt-social-link:hover svg {
    filter: drop-shadow(0 0 8px var(--cyber-red));
    transform: scale(1.1);
}

.gt-social-link::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,40,81,0.2), transparent);
    transform: rotate(45deg) translateY(-100%);
    transition: transform 0.4s ease-out;
    z-index: 1;
}
.gt-social-link:hover::after {
    transform: rotate(45deg) translateY(100%);
}

.gt-sys-status {
    position: relative;
    z-index: 2;
    color: var(--text-mineral);
    font-size: 0.80rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.gt-sys-status p {
    margin: 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gt-sys-status span.gt-online-hz {
    color: #00ff88;
    font-weight: 700;
    animation: gt-blink 2s infinite;
    margin-left: 8px;
    text-shadow: 0 0 5px rgba(0, 255, 136, 0.4);
}

.gt-sys-line {
    display: block;
    width: 50px;
    height: 2px;
    background: var(--cyber-red);
    margin: 20px auto 0;
    opacity: 0.5;
    box-shadow: 0 0 10px var(--cyber-red);
}

@keyframes gt-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@media (max-width: 600px) {
    .gt-social-dock {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

/* =========================================================================
   OVERRIDE WP NATIVE MENU -> OS SHELL
   ========================================================================= */
.os-nav { 
    display: flex; 
    align-items: center; 
    gap: 3rem; 
    list-style: none; 
    margin: 0; 
    padding: 0; 
}

.os-nav .menu-item a {
    font-family: var(--font-mono);
    font-size: 0.85rem; 
    letter-spacing: 0.15em; 
    font-weight: 700;
    color: var(--text-mineral); 
    text-transform: uppercase;
    position: relative; 
    padding: 0.5rem 0; 
    transition: color 0.3s;
    display: block;
}

.os-nav .menu-item a:hover, 
.os-nav .current-menu-item a { 
    color: var(--text-pure); 
    text-shadow: 0 0 10px rgba(255,255,255,0.3); 
}

.os-nav .menu-item a::after {
    content: '';
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 0%; 
    height: 2px;
    background: rgba(255, 255, 255, 0.1); 
    transition: width var(--transition-fluid), box-shadow 0.3s;
}

.os-nav .menu-item a:hover::after { 
    width: 100%;
    background: var(--cyber-red);
    box-shadow: 0 0 10px var(--cyber-red);
}

.os-nav .current-menu-item a::after { 
    width: 100%;
    background: var(--cyber-red);
    animation: navActivePulse 2.5s ease-in-out infinite;
}

.os-nav .search-item {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.os-nav .search-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-mineral);
    transition: color 0.3s, transform 0.3s;
}

.os-nav .search-trigger:hover {
    color: var(--cyber-red);
    transform: scale(1.1);
}

/* =========================================================================
   ERROR 404 DESIGN (MATRICE V8 CORRIGÉE)
   ========================================================================= */
.error-page-wrapper {
    min-height: 100vh; 
    padding-top: calc(var(--header-height) + var(--topbar-height)); 
    background: radial-gradient(circle at center, rgba(255, 40, 81, 0.05) 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box; 
}

.error-page-wrapper .n3xus-container-narrow {
    text-align: center;
    width: 100%;
}

.error-code {
    font-family: var(--font-mono);
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 900;
    line-height: 1;
    color: var(--text-pure);
    letter-spacing: -0.05em;
    text-shadow: 
        3px 0 rgba(255, 40, 81, 0.8), 
        -3px 0 rgba(40, 81, 255, 0.8);
    margin-bottom: 2rem;
    position: relative;
    user-select: none;
}

.error-status {
    margin-bottom: 3rem;
}

.cyber-tag {
    font-family: var(--font-mono);
    color: var(--cyber-red);
    font-size: 12px;
    letter-spacing: 0.3em;
    display: block;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.error-msg {
    font-size: 1.1rem;
    color: var(--text-mineral);
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    letter-spacing: 0.05em;
}

.terminal-logs {
    background: rgba(10, 10, 12, 0.6);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    padding: 1.5rem 2rem;
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-mineral);
    border-radius: 4px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.terminal-logs p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.terminal-logs p:last-child {
    margin-bottom: 0;
}

.back-link {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-pure);
    text-decoration: none;
    letter-spacing: 0.2em;
    padding: 15px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    transition: all 0.3s;
    background: rgba(0,0,0,0.3);
}

.back-link:hover {
    border-color: var(--cyber-red);
    background: rgba(255, 40, 81, 0.05);
    box-shadow: 0 0 20px rgba(255, 40, 81, 0.2);
}

/* =========================================================================
   ARCHIVES CSS
   ========================================================================= */
.archive-header-section {
    padding-top: calc(var(--header-height) + var(--topbar-height) + 6rem);
    padding-bottom: 4rem;
    text-align: center;
}

.archive-query-info {
    font-family: var(--font-mono);
    color: var(--text-mineral);
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    margin-bottom: 4rem;
    line-height: 1.6;
}

.article-layout.archive-mode {
    padding-top: 2rem;
}

.news-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    padding: 3rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-fluid);
    margin: 0 -3rem;
    position: relative;
    border-radius: 4px;
}

.news-item:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 40, 81, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.news-item::before {
    content: "";
    position: absolute;
    left: 0; top: 0; height: 100%; width: 2px;
    background: var(--cyber-red);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.news-item:hover::before {
    transform: scaleY(1);
}

.news-thumbnail {
    width: 100%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,0.1);
    filter: grayscale(0.5);
    transition: filter 0.4s ease;
}

.news-item:hover .news-thumbnail {
    filter: grayscale(0);
}

.news-tags {
    color: var(--cyber-red);
    font-size: 0.7rem;
    font-family: var(--font-mono);
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.news-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-pure);
}

.news-excerpt {
    color: var(--text-mineral);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.cat-list-sidebar {
    list-style: none;
    padding: 0;
}

.cat-list-sidebar li {
    border-bottom: 1px dashed rgba(255,255,255,0.05);
    padding: 12px 0;
    font-family: var(--font-mono);
    font-size: 12px;
}

.cat-list-sidebar li a {
    color: var(--text-pure);
    text-decoration: none;
    transition: color 0.3s;
}

.cat-list-sidebar li a:hover {
    color: var(--cyber-red);
}

.cat-list-sidebar li .count {
    float: right;
    color: var(--text-mineral);
    opacity: 0.5;
}

@media (max-width: 1024px) {
    .news-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem;
        margin: 0;
    }
    .news-thumbnail {
        max-width: 180px;
    }
}

/* =========================================================================
   TRANSMISSION SYSTEM (VERTICAL SHARE BUTTONS)
   ========================================================================= */
.share-network.vertical-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.share-network.vertical-stack .share-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 14px 20px;
    color: var(--text-mineral);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    border-radius: 4px;
}

.share-network.vertical-stack .share-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.share-network.vertical-stack .share-btn:hover {
    background: rgba(255, 40, 81, 0.05);
    border-color: rgba(255, 40, 81, 0.3);
    color: var(--text-pure);
}

.share-network.vertical-stack .share-btn:hover svg {
    opacity: 1;
    fill: var(--cyber-red);
}

/* =========================================================================
   AUTHOR LED STATUS (ONLINE/OFFLINE)
   ========================================================================= */
.status-led-pulse {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    animation: ledPulse 2s infinite ease-in-out;
}

.status-led-pulse.led-offline {
    background: var(--cyber-red);
    box-shadow: 0 0 10px var(--cyber-red);
}

.status-led-pulse.led-online {
    background: #00ff41;
    box-shadow: 0 0 10px #00ff41;
}

@keyframes ledPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.9); }
}

.author-footer-status {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    padding-top: 20px;
    border-top: 1px dashed rgba(255,255,255,0.1);
}

.status-label {
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--text-mineral);
    margin: 0;
    line-height: 1;
}

/* =========================================================================
   FIX 1 : FOND ABYSSE (SÉCURISÉ POUR ARTICLES UNIQUEMENT)
   ========================================================================= */
body.single-post { background-color: var(--color-void) !important; }
body.single-post #router-outlet, body.single-post .os-viewport { background-color: var(--color-void) !important; }

/* =========================================================================
   FIX 2 : N3XUS VISUALIZER HUD v8.2 (MASTER OVERRIDE)
   ========================================================================= */
/* Hiérarchie absolue pour protéger l'OS */
.os-system-bar { z-index: 10002 !important; }
.os-header { z-index: 10001 !important; }

/* Le voile de la Lightbox (Démarre sous le header) */
.n3xus-lightbox {
    position: fixed;
    top: calc(var(--topbar-height) + var(--header-height));
    left: 0;
    width: 100vw;
    height: calc(100vh - var(--topbar-height) - var(--header-height));
    z-index: 10000;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.n3xus-lightbox.active { opacity: 1; pointer-events: all; }

/* Matrix Canvas */
#matrix-canvas { position: absolute; inset: 0; opacity: 0.2; z-index: 1; }

/* Le Cadre Cyber Red (Contient image + bouton + texte) */
.lightbox-stage-frame {
    position: relative;
    z-index: 10;
    border: 2px solid var(--cyber-red);
    box-shadow: 0 0 30px rgba(255, 40, 81, 0.3);
    background: #000;
    padding: 40px 15px 15px 15px;
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.n3xus-lightbox.active .lightbox-stage-frame { transform: scale(1); }

/* Texte HUD intégré au cadre */
.lightbox-hud-meta {
    position: absolute; top: 12px; left: 15px;
    font-family: var(--font-mono); font-size: 10px; color: var(--cyber-red); letter-spacing: 0.1em;
    display: flex; gap: 10px;
}

/* Bouton Fermer intégré au cadre */
.lightbox-close-v8 {
    position: absolute; top: 10px; right: 15px;
    background: none; border: none; color: var(--text-mineral);
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em;
    cursor: pointer; transition: all 0.3s ease;
}
.lightbox-close-v8:hover { color: var(--cyber-red); text-shadow: 0 0 10px rgba(255, 40, 81, 0.5); }

/* L'image elle-même */
.lightbox-stage { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lightbox-stage img { max-width: 100%; max-height: calc(80vh - 55px); object-fit: contain; }
/* --- TACTICAL DATA FRAME (Article Images) --- */
.article-content img {
    /* 1. L'espace noir interne */
    padding: 12px;
    background-color: #0a0a0c; /* La profondeur du système */
    
    /* 2. Le liseré technique rouge */
    border: 1px solid rgba(255, 40, 81, 0.35);
    
    /* 3. L'ombre de profondeur */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    
    /* 4. Bordures affûtées (Rayon minimal) */
    border-radius: 2px;
    
    /* 5. Fluidité cinétique */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    
    margin: 2rem auto;
    display: block;
    max-width: 100%;
    height: auto;
}

/* --- EFFET AU SURVOL (Kinetic Feedback) --- */
.article-content img:hover {
    border-color: rgba(255, 40, 81, 0.8);
    box-shadow: 0 15px 50px rgba(255, 40, 81, 0.15);
    transform: translateY(-3px) scale(1.01);
    filter: brightness(1.05);
}
/* ==========================================================================
   MODULE: BENTO INTELLIGENCE GRID V8
   ========================================================================== */
.bento-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
    padding: 40px 0;
}

.bento-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background-color: var(--void);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease;
    
    /* État initial pour JS */
    opacity: 0;
    transform: translateY(20px);
}

.bento-item.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.bento-item:hover {
    border-color: rgba(255, 40, 81, 0.4); /* cyber-red alpha */
}

/* Lien étiré invisible pour SEO & UX */
.bento-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
}

/* Positions Spécifiques */
.bento-item-1 { grid-column: 1 / 3; grid-row: 1 / 3; } /* Grand gauche */
.bento-item-2 { grid-column: 3 / 5; grid-row: 1 / 2; } /* Large haut droite */
.bento-item-3 { grid-column: 3 / 4; grid-row: 2 / 3; } /* Petit 1 */
.bento-item-4 { grid-column: 4 / 5; grid-row: 2 / 3; } /* Petit 2 */

/* VISUELS INTERNES */
.bento-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.6s ease;
    filter: brightness(0.5) contrast(1.1) grayscale(0.2);
}

.bento-item:hover .bento-bg {
    transform: scale(1.03);
    filter: brightness(0.8) grayscale(0);
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--void) 0%, transparent 80%);
    z-index: 1;
    pointer-events: none;
}

.bento-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
    pointer-events: none;
}

.bento-tag {
    font-family: monospace;
    font-size: 10px;
    color: var(--cyber-red);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.bento-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-pure);
    margin: 0 0 10px 0;
    line-height: 1.1;
}

.bento-item-1 .bento-title { font-size: 2.2rem; }

.bento-meta {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-mineral);
}

/* ANIMATION SCANLINE */
.bento-scanline {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(255, 40, 81, 0.08), transparent);
    transform: translateY(-100%);
    animation: scanlineScroll 5s infinite linear;
    pointer-events: none;
    z-index: 3;
}

@keyframes scanlineScroll {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* OVERRIDE RESPONSIVE */
@media (max-width: 900px) {
    .bento-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .bento-item { 
        grid-column: auto !important; 
        grid-row: auto !important; 
        height: 350px; 
    }
}
/* ==========================================================================
   MODULE: COMMENTS TERMINAL FEEDBACK V8
   ========================================================================== */

.comments-area {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.comments-title {
    font-family: var(--font-mono);
    font-size: 2rem; /* Taille imposante comme sur la maquette */
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--cyber-red);
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- COMMENT INDIVIDUAL NODE --- */
.comment-node {
    margin-bottom: 2.5rem;
}

.comment-body-v8 {
    display: flex;
    gap: 20px;
}

.comment-aside {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.comment-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    filter: grayscale(1) contrast(1.2); /* Brutalist look */
}

.comment-thread-line {
    width: 1px;
    flex-grow: 1;
    background: linear-gradient(to bottom, rgba(255, 40, 81, 0.4), transparent);
    margin-top: 10px;
}

.comment-main {
    flex-grow: 1;
    background: transparent; /* Suppression du fond gris de ton blueprint */
    border: none;
    padding: 0 0 20px 0;
}

.comment-header {
    margin-bottom: 8px;
    display: flex;
    gap: 15px;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 12px;
}

.comment-author-name {
    color: var(--text-pure);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.comment-meta {
    color: var(--text-mineral);
    opacity: 0.6;
}

.comment-content-v8 {
    color: var(--text-mineral);
    line-height: 1.6;
    font-size: 1rem;
}

.comment-content-v8 p {
    margin-bottom: 10px;
}

.comment-actions {
    margin-top: 15px;
    font-family: var(--font-mono);
    font-size: 10px;
}

.comment-actions a {
    color: var(--cyber-red);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s, text-shadow 0.3s;
}

.comment-actions a:hover {
    opacity: 1;
    text-shadow: 0 0 8px var(--cyber-red);
}

/* NESTED COMMENTS (L'imbrication) */
.children {
    list-style: none;
    padding-left: 68px;
    margin-top: 20px;
}

/* --- COMMENT FORM DESIGN (Recalibré V8.1) --- */
#respond {
    margin-top: 1.5rem; 
    padding: 20px; /* Contour affiné */
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

#reply-title {
    font-family: var(--font-mono);
    font-size: 0.85rem; /* Ajusté */
    font-weight: 700;
    color: var(--text-pure);
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.sys-square {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--cyber-red);
    margin-right: 12px;
}

.comment-input-wrap {
    margin-bottom: 15px;
}

.comment-input-wrap input,
.comment-input-wrap textarea {
    width: 100%;
    background: var(--void); 
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-pure);
    padding: 12px 15px; /* Inputs amincis */
    font-family: var(--font-mono);
    font-size: 12px; /* Typographie plus technique */
    outline: none;
    transition: border-color 0.3s ease;
    resize: vertical;
}

.comment-input-wrap input::placeholder,
.comment-input-wrap textarea::placeholder {
    color: var(--text-mineral);
    opacity: 0.5;
}

.comment-input-wrap input:focus,
.comment-input-wrap textarea:focus {
    border-color: var(--cyber-red);
}

.comment-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px; /* Espacement rapproché */
}

/* BOUTON EXÉCUTER (Capture 2) */
.form-submit {
    display: flex;
    justify-content: flex-end; /* Aligné à droite */
    margin-top: 20px;
}

.os-btn-execute {
    background: transparent;
    color: var(--cyber-red);
    border: 1px solid var(--cyber-red);
    padding: 12px 30px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.os-btn-execute:hover {
    background: var(--cyber-red);
    color: var(--void);
    box-shadow: 0 0 15px rgba(255, 40, 81, 0.3);
}

/* BOUTON CHARGER PLUS DE LOGS */
.comment-navigation .nav-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px
    padding-top: 40px;
    border-top: 1px dashed rgba(255, 255, 255, 0.05);
}

.comment-navigation a {
    display: inline-block;
    color: var(--text-pure);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 30px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s;
}

.comment-navigation a:hover {
    border-color: var(--text-pure);
    background: rgba(255, 255, 255, 0.05);
}
/* =========================================================================
   FULL BLEED BACKGROUND ARTICLES - v8.5 MINIMAL (SEULEMENT LE FOND)
   ========================================================================= */
body.single-post,
body.single-post html,
body.single-post #router-outlet,
body.single-post .os-viewport,
body.single-post .single-article-viewer {
    background-color: var(--color-void) !important;
}

/* On rend transparents les conteneurs qui limitaient le fond */
body.single-post .article-layout,
body.single-post .n3xus-container,
body.single-post .article-header {
    background-color: transparent !important;
}
/* ==========================================================================
   MODULE: FLUX_CONNEXES.SYS (Vertical List V8)
   ========================================================================== */

.related-logs-v8 {
    background: var(--void);
    border: 1px solid rgba(255, 40, 81, 0.15); /* Cadre rouge discret */
    padding: 25px;
    border-radius: 4px;
}

.related-header {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-mineral);
    letter-spacing: 0.15em;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.related-stream-list {
    display: flex;
    flex-direction: column;
}

.related-log-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08); /* Ligne pointillée */
    transition: padding-left 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), background 0.3s ease;
}

.related-log-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.log-cursor {
    color: var(--cyber-red);
    font-family: var(--font-mono);
    font-weight: 900;
    font-size: 14px;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.log-title {
    color: var(--text-pure);
    font-family: var(--font-mono);
    font-size: 14px;
    transition: color 0.3s ease;
}

/* HOVER STATE (Interaction V8) */
.related-log-item:hover {
    padding-left: 10px; /* Décalage mécanique vers la droite */
}

.related-log-item:hover .log-cursor {
    transform: scale(1.3);
    text-shadow: 0 0 8px var(--cyber-red);
}

.related-log-item:hover .log-title {
    color: var(--cyber-red);
}
/* ==========================================================================
   MODULE: TOP BAR SECURITY SHIELD
   ========================================================================== */
#sys-log-text {
    white-space: nowrap; /* Interdit au texte de passer à la ligne */
    overflow: hidden;    /* Masque tout ce qui dépasse */
    text-overflow: ellipsis; /* Ajoute des "..." si c'est vraiment trop long */
    display: inline-block;
    max-width: 100%;     /* Bloque l'expansion physique du conteneur */
    vertical-align: middle;
}
/* ==========================================================================
   MODULE: ARTICLE HEADER V8 (SINGLE)
   ========================================================================== */

.article-header {
    position: relative;
    z-index: 5;
    padding-top: 15vh; /* Pousse le titre vers le bas de l'image */
    padding-bottom: 50px;
}

/* =========================================================================
   CATÉGORIE : CYBER-BLADE HUD (TOP 0.01% EDITION)
   ========================================================================= */

.article-category-wrap {
    display: inline-flex;
    margin-bottom: 25px; /* Rapproché du titre */
    
    /* L'ombre intelligente qui suit la découpe angulaire de la lame */
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 10px rgba(255, 40, 81, 0.2));
    will-change: filter;
}

.article-category {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 900;
    color: var(--text-pure);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    
    /* Background Hybride : Noir translucide + Texture Mesh Technologique */
    background: 
        linear-gradient(rgba(10, 10, 12, 0.65), rgba(10, 10, 12, 0.65)),
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255, 40, 81, 0.15) 2px, rgba(255, 40, 81, 0.15) 4px);
    
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    padding: 8px 30px 8px 15px;
    
    /* LE KERNEL DU DESIGN : Découpe géométrique agressive en bas à droite */
    clip-path: polygon(0 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
    border-left: 3px solid var(--cyber-red); /* Pilier d'ancrage gauche */
    
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Le capteur de données (LED Pulsar active - OVERRIDE KERNEL VERT) */
.article-category::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: #00ff66; /* Injection du vert d'exécution */
    box-shadow: 0 0 10px #00ff66, 0 0 20px rgba(0, 255, 102, 0.6); /* Halo lumineux calibré */
    border-radius: 50%;
    animation: categoryPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.cat-sep {
    color: var(--cyber-red);
    opacity: 0.5;
    font-weight: 400;
    letter-spacing: 0;
}

/* Destruction de l'ancienne ligne rouge si elle traîne */
.category-prefix-line { display: none !important; }

/* Animation GPU du capteur */
@keyframes categoryPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.7); box-shadow: none; }
}

/* --- TITRE --- */
.article-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem); /* Responsive agressif */
    font-weight: 900;
    color: var(--text-pure);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0 0 30px 0;
    max-width: 1200px;
}

/* --- EXTRAIT --- */

/* 1. KERNEL COMPRESSION (Destruction des espaces fantômes) */
.article-title {
    margin: 0 0 20px 0 !important; 
    line-height: 1.05 !important; /* Coupe l'espace invisible sous les lettres */
}

.article-excerpt-wrap {
    display: flex;
    gap: 20px;
    max-width: 800px; /* Limite la largeur pour un effet "bloc de données" */
    margin-top: 20px;
}

.excerpt-status-line {
    flex-shrink: 0;
    width: 2px;
    background-color: var(--cyber-red);
    /* La ligne s'étire automatiquement à la hauteur du texte grâce à flexbox */
}

.article-hero-excerpt {
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7); /* text-mineral */
    line-height: 1.6;
    margin: 0;
}

/* OVERRIDE MOBILE */
@media (max-width: 768px) {
    .article-header {
        padding-top: 10vh;
    }
    .article-hero-excerpt {
        font-size: 1.1rem;
    }
    .category-prefix-line {
        width: 20px;
    }
}
/* ==========================================================================
   MODULE: SYSTEM DATA IDENTIFIER (LEFT SIDEBAR)
   ========================================================================== */
.sys-id-module {
    margin-bottom: 2.5rem;
    padding-left: 15px;
    border-left: 2px solid rgba(255, 40, 81, 0.2); /* Ligne directrice HUD */
}

/* Label : ID FICHIER / DATE */
.sys-id-module .sidebar-block-title {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mineral);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0.6;
}

/* Base Typographique Commune */
.sys-id-value {
    font-family: var(--font-mono);
    font-size: 1.4rem; /* Taille ajustée pour correspondre au visuel */
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1;
    transition: all 0.3s ease;
}

/* Variante Date (Blanc) */
.sys-id-value.date-value {
    color: var(--text-pure);
}

/* Variante ID (Cyber Red + Neon) */
.sys-id-value.id-value {
    color: var(--cyber-red);
    text-shadow: 0 0 15px rgba(255, 40, 81, 0.3);
}

/* Animation Scanner au survol (Uniquement sur l'ID) */
.sys-id-module:hover .sys-id-value.id-value {
    color: #fff;
    text-shadow: 0 0 20px var(--cyber-red);
}
/* ==========================================================================
   /// N3XUS HUD MOBILE NAVIGATION (SIDE DRAWER V8) ///
   ========================================================================== */

@media (max-width: 768px) {
    
    /* --- 1. KERNEL ANTI-BLEED (Verrouillage strict du scroll) --- */
    html, body {
        overflow-x: hidden !important;
        width: 100%;
        position: relative;
    }

    /* --- 2. BOUTON TRIGGER (Ancrage Absolu Spatial) --- */
    .mobile-nav-toggle {
        display: block;
        background: none; 
        border: none; 
        cursor: pointer; 
        color: var(--text-pure);
        position: absolute; 
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2001; 
        padding: 5px;
        width: 30px;
        height: 30px;
    }

    /* ANIMATION KINETIC SVG (Burger vers Croix) */
    .mobile-nav-toggle line {
        transform-origin: center;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    }
    .mobile-nav-toggle.active .burger-line-1 { transform: translateY(6px) rotate(45deg); color: var(--cyber-red); }
    .mobile-nav-toggle.active .burger-line-2 { opacity: 0; }
    .mobile-nav-toggle.active .burger-line-3 { transform: translateY(-6px) rotate(-45deg); color: var(--cyber-red); }

    /* --- 3. OVERLAY FLOUTÉ (Le filtre sur le site) --- */
    .mobile-nav-overlay-bg {
        position: fixed; 
        inset: 0; 
        /* Opacité assombrie à 85% pour tuer le contraste du site en dessous */
        background: rgba(0, 0, 0, 0.85) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 1999;
        opacity: 0; 
        pointer-events: none; 
        transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    }
    .mobile-nav-overlay-bg.active { 
        opacity: 1; 
        pointer-events: all; 
    }

    /* --- 4. LE TIROIR MATRICE (Drawer) --- */
    .mobile-nav-sheet {
        box-sizing: border-box; 
        position: fixed; 
        top: 0; 
        right: 0; 
        bottom: 0; 
        width: 320px; 
        max-width: 85vw; 
        height: 100vh !important; /* Force la hauteur jusqu'en bas */
        overflow-y: auto; /* Permet le scroll interne si beaucoup de liens */
        background-color: #0a0a0c !important; /* Noir absolu et opaque forcé */
        border-left: 1px solid rgba(255, 40, 81, 0.2); 
        box-shadow: -20px 0 60px rgba(0,0,0,0.9);
        z-index: 2000;
        display: flex; 
        flex-direction: column; 
        padding: 6rem 2.5rem 4rem 2.5rem;
        
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    }
    .mobile-nav-sheet.active { 
        transform: translateX(0); 
    }

    /* --- 5. DESIGN DES LIENS -- */
    .hud-menu-header {
        border-bottom: 1px dashed rgba(255,255,255,0.1); 
        padding-bottom: 1.5rem; 
        margin-bottom: 2.5rem; 
        width: 100%;
        flex-shrink: 0;
    }

    /* Sécurité pour le conteneur du menu WP */
    .mobile-nav-sheet .os-nav {
        display: flex !important;
        flex-direction: column;
        position: relative !important; /* Garde les liens à l'intérieur du tiroir */
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .mobile-nav-list {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        width: 100%;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-nav-list a {
        font-size: 1.1rem; 
        letter-spacing: 0.1em; 
        font-family: var(--font-mono); 
        font-weight: 500;
        padding: 0.8rem 0; 
        width: 100%; 
        border-bottom: 1px solid rgba(255,255,255,0.03);
        color: var(--text-mineral);
        display: flex; 
        align-items: center; 
        justify-content: space-between;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    /* Interaction tactique */
    .mobile-nav-list a:hover, 
    .mobile-nav-list a.active {
        color: var(--text-pure); 
        padding-left: 0.5rem;
    }
    .mobile-nav-list a::after { 
        content: "›"; 
        color: var(--cyber-red); 
        opacity: 0; 
        transition: all 0.3s; 
    }
    .mobile-nav-list a:hover::after, 
    .mobile-nav-list a.active::after { 
        opacity: 1; 
        transform: translateX(5px); 
    }

    .hud-menu-footer {
        margin-top: auto; 
        width: 100%; 
        padding-top: 2rem; 
        border-top: 1px solid rgba(255,255,255,0.05);
        flex-shrink: 0;
    }
    
    /* ==========================================================================
   6. DOMINATION DE LA GRILLE V8 (HUD MOBILE - FULL BLEED)
   ========================================================================== */

@media (max-width: 768px) {

    /* --- 6.1. KERNEL DE LA GRILLE GLOBALE --- */
    .article-layout, 
    .article-layout.archive-mode {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .archive-main-column,
    .article-sidebar.left,
    .article-sidebar.right {
        width: 100% !important;
        max-width: 100% !important;
    }

    .archive-main-column { order: 1; }
    .article-sidebar { order: 2; margin-top: 3rem; padding: 0 15px; }


    /* --- 6.2. TERMINAL D'ACCÈS (Correction Titre) --- */
    .archive-wrapper {
        padding-top: 80px !important; /* Dégagement massif GLOBAL sous la Top Bar */
    }

    .archive-header-section {
        padding-top: 20px !important; 
        padding-bottom: 2rem !important;
        text-align: center;
        border-bottom: 1px dashed rgba(255, 40, 81, 0.3);
        margin-bottom: 3rem !important;
    }
    
    .page-header {
        font-family: var(--font-mono);
        font-size: 1.8rem !important;
        font-weight: 800;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        color: var(--text-pure);
        margin-bottom: 15px !important;
        line-height: 1.2 !important;
    }
    
    .archive-query-info {
        font-family: var(--font-mono);
        font-size: 0.75rem !important;
        color: var(--text-mineral);
        line-height: 1.6 !important;
        letter-spacing: 0.05em;
    }


    /* --- 6.3. CARTE DATA PACKET (Les Articles) --- */
    /* --- 6.3. CARTE DATA PACKET (Les Articles) --- */
    .news-item {
        display: flex !important;
        flex-direction: column !important;
        background: transparent !important;
        border: none !important;
        margin-bottom: 4rem !important; 
        width: 100% !important;
        overflow: visible !important; /* CRUCIAL : Autorise le Full-Bleed à dépasser */
    }

    /* Le bloc contenant l'image (FULL-BLEED MATHÉMATIQUE INCASSABLE) */
    .news-image-wrapper {
        width: calc(100% + 30px) !important; /* 100% de la boîte + 15px gauche + 15px droite */
        margin-left: -15px !important; 
        margin-right: -15px !important;
        position: relative !important;
        display: block !important;
        margin-bottom: 1.5rem !important;
    }

    /* Le Hack 16:9 Absolu + Lignes + Fade */
    .news-thumbnail {
        width: 100% !important;
        height: 0 !important; 
        padding-bottom: 56.25% !important; /* Force un ratio 16:9 parfait peu importe l'écran */
        border-radius: 0 !important; 
        border-top: 1px solid rgba(255, 40, 81, 0.4) !important;
        border-bottom: 1px solid rgba(255, 40, 81, 0.4) !important;
        background-position: center center !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        display: block !important;
    }

    /* Fondu noir en bas de l'image (HUD style) */
    .news-thumbnail::after {
        content: '';
        position: absolute;
        bottom: 0; left: 0; right: 0;
        height: 40%;
        background: linear-gradient(to bottom, rgba(10,10,12,0) 0%, rgba(10,10,12,1) 100%);
        pointer-events: none;
    }

    /* --- 6.4. HUD TYPOGRAPHIQUE (Contenu de l'article) --- */
    .news-content-wrapper {
        width: 100% !important;
        padding: 0 !important; /* On retire le padding, le texte s'alignera naturellement */
    }

    /* Ligne de Télémétrie : Date // Catégorie (Alignement blindé) */
    .news-telemetry-top {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        margin-bottom: 15px !important;
        width: 100% !important;
    }

    .news-date {
        font-family: var(--font-mono);
        font-size: 0.85rem !important;
        color: var(--cyber-red) !important;
        font-weight: 700;
        letter-spacing: 0.05em;
        display: block !important;
    }

    .news-tags {
        font-family: var(--font-mono);
        font-size: 0.85rem !important;
        color: var(--text-pure) !important;
        letter-spacing: 0.05em;
        display: block !important;
    }

    .gt-separator {
        color: rgba(255, 40, 81, 0.5) !important;
        margin-right: 5px !important;
    }

    /* Titre & Extrait */
    .news-title {
        font-size: 1.8rem !important;
        font-weight: 800 !important;
        line-height: 1.15 !important;
        color: var(--text-pure);
        margin-bottom: 12px !important;
        letter-spacing: -0.02em;
    }

    .news-excerpt {
        font-size: 1rem !important;
        color: var(--text-mineral) !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
    }

    /* --- 6.5. FOOTER DE TÉLÉMÉTRIE (Auteur & Stats) --- */
    .news-meta-bottom {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding-top: 1.2rem;
        border-top: 1px dashed rgba(255, 255, 255, 0.1);
    }

    .news-author { display: flex; align-items: center; gap: 10px; }
    .news-author-avatar { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(255, 40, 81, 0.5); overflow: hidden; }
    .news-author-avatar img { width: 100%; height: auto; }
    .news-author-name { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-pure); text-transform: uppercase; letter-spacing: 0.05em; }

    .news-stats { display: flex; gap: 15px; }
    .news-stat-item { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-mineral); }
    .news-stat-item svg { opacity: 0.5; }
    
    /* ====================== N3XUS GOD TIER MOBILE ARCHIVE 16:9 + DATE HUD v0.01% ====================== */
@media (max-width: 768px) {

    /* === 16:9 LOCK ABSOLU (zéro lettre noire) === */
    .news-image-wrapper {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        aspect-ratio: 16 / 9 !important;           /* moderne + bulletproof */
        overflow: hidden !important;
        border-top: 1px solid rgba(255,40,81,0.45) !important;
        border-bottom: 1px solid rgba(255,40,81,0.45) !important;
        box-shadow: 0 8px 25px rgba(0,0,0,0.75);
    }

    /* fallback vieux navigateurs */
    @supports not (aspect-ratio: 1) {
        .news-image-wrapper {
            padding-bottom: 56.25% !important;
            height: 0 !important;
        }
    }

    .news-thumbnail {
        position: absolute !important;
        inset: 0 !important;
        background-size: cover !important;
        background-position: center center !important;
        filter: brightness(0.9) contrast(1.08) !important;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    }

    .news-thumbnail:hover {
        transform: scale(1.04) !important;
        filter: brightness(1.05) !important;
    }

    /* === KILL LE NOIR MOITIÉ (gradient ultra light) === */
    .news-thumbnail::after {
        height: 22% !important;                    /* plus du tout agressif */
        background: linear-gradient(to bottom, transparent 35%, rgba(10,10,12,0.88) 100%) !important;
    }

    /* === TELEMETRY DATE REWIRE (exactement ce que tu veux) === */
    .news-telemetry-top {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin-bottom: 18px !important;
    }

    .news-date {
        color: var(--text-pure) !important;
        font-size: 0.92rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.1em !important;
    }

    .gt-separator {
        color: var(--cyber-red) !important;
        font-weight: 900 !important;
        font-size: 1.05rem !important;
    }

    .news-tags {
        color: var(--text-mineral) !important;
        font-size: 0.85rem !important;
        letter-spacing: 0.05em !important;
    
} 

/* =========================================================================
   FIX 3 : ISOLATION DU TERMINAL DE COMMENTAIRES (BUREAU / DESKTOP)
   ========================================================================= */

/* 1. Isolation : On coupe l'héritage géant de l'article */
.comments-terminal-wrap h2, 
.comments-terminal-wrap h3, 
.comments-area h2, 
.comments-area h3 {
    font-size: 1.1rem !important;
    font-family: var(--font-mono) !important;
    color: var(--text-pure) !important;
    letter-spacing: 0.1em !important;
    text-align: left !important;
    display: block !important; 
    padding: 0 !important;
    margin-bottom: 1.5rem !important;
    border: none !important;
    text-transform: uppercase !important;
}

/* 2. Destruction des décorations intrusives (Adieu le double "//" et la barre) */
.comments-terminal-wrap h2::before, 
.comments-terminal-wrap h3::before,
.comments-terminal-wrap h2::after, 
.comments-terminal-wrap h3::after,
.comments-area h2::before, 
.comments-area h3::before,
.comments-area h2::after, 
.comments-area h3::after {
    display: none !important;
}

/* 3. Affinage du Cadre du Formulaire (Plus tactique, 0.01%) */
#respond {
    margin-top: 1.5rem !important;
    padding: 25px !important; 
    background: rgba(10,10,12,0.6) !important;
    border: 1px solid rgba(255, 40, 81, 0.3) !important; 
    border-radius: 2px !important;
}

/* 4. Typographie du sous-titre "Transmettre_Log" */
#reply-title {
    font-size: 0.85rem !important;
    margin-bottom: 1.5rem !important;
    color: var(--cyber-red) !important;
}

/* 5. Calibrage des champs de saisie */
.comment-input-wrap input,
.comment-input-wrap textarea {
    padding: 12px 15px !important;
    font-size: 0.85rem !important;
    background: rgba(0,0,0,0.8) !important;
}

.comment-input-row {
    gap: 20px !important; 
}

/* =========================================================================
   FIX 4 : IGNITION DES SÉPARATEURS CINÉTIQUES (LASER SCAN V8)
   ========================================================================= */

/* 1. Construction du moteur d'animation (Le balayage) */
@keyframes liquidScan {
    0% { left: -250px; }
    100% { left: 100%; }
}

/* 2. Blindage de la balise pour forcer le rendu du rayon */
.article-content hr, 
.article-content .wp-block-separator { 
    border: none !important; 
    height: 1px !important; 
    background: rgba(255,255,255,0.05) !important; 
    margin: 2.5rem 0 !important; 
    position: relative !important; 
    overflow: hidden !important; 
}

/* 3. Injection du faisceau laser rouge (Cyber-Red) */
.article-content hr::after, 
.article-content .wp-block-separator::after { 
    content: '' !important; 
    position: absolute !important; 
    top: 0 !important; 
    left: -250px; /* Départ hors champ */
    width: 250px !important; 
    height: 100% !important; 
    
    /* Le dégradé néon */
    background: linear-gradient(90deg, transparent, var(--cyber-red), transparent) !important; 
    box-shadow: 0 0 15px var(--cyber-red) !important; 
    
    /* Le lancement du moteur */
    animation: liquidScan 3s infinite ease-in-out !important; 
}