/* 
 * $AIT INTEL PAGES - Modern SEO-Optimized Styling
 * Clean, readable, mobile-first design
 */

:root {
    --primary-green: #00ff00;
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --border-color: #2a2a2a;
    --accent-green: #00ff00;
    --accent-green-dark: #00cc00;
}

/* CRT SCAN LINE EFFECT */
.scan-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 255, 0, 0.02) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.3;
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(4px);
    }
}

/* LAYOUT */
body {
    background: var(--dark-bg);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

body.intel-page {
    background: var(--dark-bg);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
}

/* GLOBAL LINK STYLING - Always green, never blue/purple */
a {
    color: var(--primary-green);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-green-dark);
    text-decoration: none;
}

a:visited {
    color: var(--primary-green);
}

/* NAVIGATION */
.intel-nav {
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 2px solid var(--primary-green);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-green);
    text-decoration: none;
    text-shadow: 0 0 10px var(--primary-green);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-links a:hover {
    color: var(--primary-green);
    text-shadow: 0 0 8px var(--primary-green);
}

/* INTEL NAVIGATION - Matches homepage game nav */
#intel-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 15px 20px 15px 30px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    user-select: none;
    overflow: visible;
    box-sizing: border-box;
}

.intel-nav-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.intel-nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.intel-nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 120px;
    flex-shrink: 0;
    padding-right: 20px;
}

.intel-nav-logo {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 24px;
    color: #00ff00;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.intel-nav-logo:hover {
    color: #ffffff;
    text-shadow: 0 0 15px #00ff00, 0 0 25px #00ff00;
}

.nav-icon {
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    opacity: 0.7;
    color: #00ff00;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-icon:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(0, 255, 0, 0.8));
}

.nav-icon img {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
    max-width: 24px;
    max-height: 24px;
    object-fit: contain;
}

.nav-icon svg {
    flex-shrink: 0;
}

/* Terminal Navigation Styles (copied from style.css) */
.terminal-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 0, 0.2);
    z-index: 1000;
    padding: 12px 0;
}

.terminal-nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.terminal-nav-logo {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 20px;
    color: #00ff00;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.terminal-nav-logo:hover {
    color: #ffffff;
    text-shadow: 0 0 15px #00ff00, 0 0 25px #00ff00;
}

.terminal-nav-title {
    text-align: center;
    text-shadow: 0 0 10px #00ff00;
    font-family: 'VT323', monospace;
    margin: 0;
    font-size: 1.4rem;
    color: #00ff00;
    font-weight: bold;
}

.terminal-nav-links {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-right: 20px;
}

.terminal-nav .nav-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 10px !important;
    opacity: 0.7 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.terminal-nav .nav-icon:hover {
    opacity: 1 !important;
    transform: scale(1.1) !important;
}

.terminal-nav .terminal-icon {
    color: rgba(255, 255, 255, 0.6) !important;
}

.terminal-nav .terminal-icon:hover {
    color: #00ff00 !important;
    filter: drop-shadow(0 0 10px rgba(0, 255, 0, 0.8)) !important;
}

.nav-icon img {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
    max-width: 24px;
    max-height: 24px;
    object-fit: contain;
}

.nav-icon svg {
    flex-shrink: 0;
}

.terminal-icon svg {
    display: block;
}

/* Mobile responsive for terminal nav */
@media (max-width: 768px) {
    .terminal-nav {
        padding: 8px 0;
    }
    
    .terminal-nav-content {
        padding: 0 15px;
    }
    
    .terminal-nav-logo {
        font-size: 18px;
    }
    
    .terminal-nav-title {
        font-size: 1.2rem !important;
    }
    
    .terminal-nav-links {
        gap: 8px !important;
        padding-right: 10px !important;
    }
    
    .terminal-nav .nav-icon {
        padding: 8px 6px !important;
        min-width: 44px;
        min-height: 44px;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .nav-icon img {
        width: 22px !important;
        height: 22px !important;
        max-width: 22px !important;
        max-height: 22px !important;
        object-fit: contain !important;
    }
    
    .nav-icon svg {
        width: 22px !important;
        height: 22px !important;
        max-width: 22px !important;
        max-height: 22px !important;
    }
}

/* iPhone specific fixes */
@media (max-width: 480px) {
    .terminal-nav {
        padding: 6px 0;
    }
    
    .terminal-nav-content {
        padding: 0 10px;
    }
    
    .terminal-nav-logo {
        font-size: 16px;
    }
    
    .terminal-nav-title {
        font-size: 1rem !important;
    }
    
    .terminal-nav-links {
        gap: 6px !important;
        padding-right: 5px !important;
    }
    
    .terminal-nav .nav-icon {
        padding: 6px 4px !important;
        min-width: 40px;
        min-height: 40px;
    }
    
    .nav-icon img {
        width: 20px !important;
        height: 20px !important;
        max-width: 20px !important;
        max-height: 20px !important;
    }
    
    .nav-icon svg {
        width: 20px !important;
        height: 20px !important;
        max-width: 20px !important;
        max-height: 20px !important;
    }
}

.terminal-icon svg {
    display: block;
}

/* TOOLTIP STYLING */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: rgba(0, 0, 0, 0.9);
    color: var(--primary-green);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-family: 'VT323', monospace;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 0, 0.3);
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.2);
    z-index: 10000;
}

[data-tooltip]::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    border: 5px solid transparent;
    border-bottom-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10000;
}

[data-tooltip]:hover::before {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* Logo tooltip position adjustment */
.intel-nav-logo[data-tooltip]::before {
    bottom: -40px;
}

.intel-nav-logo[data-tooltip]::after {
    bottom: -13px;
}

/* SITE HEADER & BREADCRUMB */
.site-header {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 70px; /* Account for fixed nav */
    padding: 1rem 2rem;
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: 'VT323', monospace;
}

.breadcrumb a {
    color: rgba(0, 255, 0, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--primary-green);
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-secondary);
}

.terminal-link-btn {
    background: var(--primary-green);
    color: var(--dark-bg);
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    font-family: 'VT323', monospace;
}

.terminal-link-btn:hover {
    background: #00cc00;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

/* MAIN CONTENT */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
}

.intel-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 3rem;
    background: linear-gradient(135deg, rgba(0, 20, 0, 0.4) 0%, rgba(0, 10, 0, 0.3) 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 0, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 60px rgba(0, 255, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.intel-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
    opacity: 0.5;
}

.page-title {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    line-height: 1.3;
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.content-body {
    font-family: 'VT323', monospace;
    line-height: 1.2;
    font-size: 0.95rem;
    margin: 2rem 0;
    white-space: pre-wrap;
    color: rgba(230, 230, 230, 0.9);
    max-width: 750px;
}

.content-body > * {
    margin-bottom: 1rem;
}

.content-body strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-family: 'VT323', monospace;
}

.content-body h2,
.content-body h3 {
    color: var(--primary-green);
    display: block;
    margin: 2rem 0 0.75rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.content-body h2 {
    font-size: 1.4rem;
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    padding: 1rem 0 0.5rem;
    border-top: 2px solid rgba(0, 255, 0, 0.2);
    margin-top: 2rem;
    margin-bottom: 1rem;
    position: relative;
    letter-spacing: 0.5px;
    font-family: 'Orbitron', sans-serif;
}

.content-body h2::before {
    content: '//';
    color: rgba(0, 255, 0, 0.4);
    margin-right: 10px;
    font-family: 'VT323', monospace;
}

.content-body h2:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.content-body h3 {
    font-size: 1.15rem;
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.25);
    position: relative;
    padding-left: 15px;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-family: 'Orbitron', sans-serif;
}

.content-body h3::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-family: 'VT323', monospace;
}

.content-body em {
    color: rgba(230, 230, 230, 0.85);
    font-style: italic;
}

.content-body p {
    color: rgba(230, 230, 230, 0.9);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.content-body ul,
.content-body ol {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
    color: rgba(230, 230, 230, 0.9);
}

.content-body li {
    margin-bottom: 0.4rem;
    line-height: 1.2;
    position: relative;
}

.content-body li::marker {
    color: var(--primary-green);
    font-weight: bold;
}

.content-body ul > li::marker {
    content: '▸ ';
}

.content-body a {
    color: var(--accent-green-dark);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.content-body a:hover {
    color: var(--primary-green);
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.4);
}

.content-body code {
    background: rgba(0, 255, 0, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Fira Code', 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
    color: var(--primary-green);
}

.content-body blockquote {
    border-left: 3px solid var(--primary-green);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(0, 255, 0, 0.03);
    border-radius: 0 4px 4px 0;
    color: rgba(230, 230, 230, 0.85);
    font-style: italic;
}

/* Subtle reading improvements */
.content-body p + p {
    margin-top: 1rem;
}

.content-body p:first-letter {
    font-size: 1.1em;
    font-weight: 500;
}

/* ARTICLE HEADER */
.article-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 255, 0, 0.2);
}

.article-header h1,
.article-header .page-title {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    line-height: 1.3;
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.article-meta {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 255, 0, 0.03);
    border-left: 3px solid var(--primary-green);
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'VT323', monospace;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.article-meta svg {
    vertical-align: middle;
    margin-right: 6px;
    opacity: 0.7;
}

.meta-date,
.meta-category {
    display: flex;
    align-items: center;
}

.social-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
}

.share-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 255, 0, 0.1);
    color: var(--primary-green);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 0, 0.2);
}

.share-btn:hover {
    background: rgba(0, 255, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.3);
}

.share-btn.twitter:hover {
    background: rgba(29, 155, 240, 0.2);
    border-color: rgba(29, 155, 240, 0.4);
    color: #1DA1F2;
}

.share-btn.facebook:hover {
    background: rgba(24, 119, 242, 0.2);
    border-color: rgba(24, 119, 242, 0.4);
    color: #1877F2;
}

.share-btn.reddit:hover {
    background: rgba(255, 69, 0, 0.2);
    border-color: rgba(255, 69, 0, 0.4);
    color: #FF4500;
}

/* OLD ARTICLE META (keeping for backwards compat) */
.article-meta-old {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.category-badge {
    background: var(--primary-green);
    color: var(--dark-bg);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-weight: bold;
}

/* QUICK FACTS BOX */
.quick-facts {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.1), rgba(0, 191, 255, 0.1));
    border-left: 4px solid var(--primary-green);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.quick-facts h3 {
    color: var(--primary-green);
    margin-top: 0;
}

.quick-facts ul {
    list-style: none;
    padding: 0;
}

.quick-facts li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.quick-facts li:before {
    content: '▸';
    color: var(--primary-green);
    position: absolute;
    left: 0;
}

/* CONTENT SECTIONS */
.content-section {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 3rem 0;
}

.content-section h2 {
    color: var(--accent-blue);
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.content-section h3 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-top: 2rem;
}

.content-section p {
    margin: 1.5rem 0;
}

.content-section ul, .content-section ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content-section li {
    margin: 0.5rem 0;
}

.content-section blockquote {
    border-left: 4px solid var(--primary-green);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-secondary);
}

.content-section a {
    color: rgba(0, 255, 0, 0.8);
    text-decoration: none;
    border-bottom: 1px dotted rgba(0, 255, 0, 0.5);
}

.content-section a:hover {
    color: var(--primary-green);
    border-bottom-color: var(--primary-green);
}

/* CTA CONTAINER & BOXES */
.cta-container {
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cta-inline {
    margin: 2rem 0;
}

.cta-box {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.03) 0%, rgba(0, 255, 0, 0.01) 100%);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-left: 3px solid rgba(0, 255, 0, 0.5);
    border-radius: 4px;
    padding: 1.25rem 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary-green);
    opacity: 0;
    transition: opacity 0.3s;
}

.cta-box:hover {
    border-color: rgba(0, 255, 0, 0.4);
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.05) 0%, rgba(0, 255, 0, 0.02) 100%);
    transform: translateX(3px);
}

.cta-box:hover::before {
    opacity: 1;
}

.cta-box .cta-icon {
    font-size: 2rem;
    opacity: 0.8;
    filter: drop-shadow(0 0 5px rgba(0, 255, 0, 0.3));
}

.cta-box .cta-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cta-box h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-green);
    font-family: 'VT323', monospace;
    letter-spacing: 1px;
}

.cta-box p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-family: 'VT323', monospace;
}

.cta-box a {
    color: #000000;
    background: rgba(0, 255, 0, 0.9);
    font-weight: bold;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(0, 255, 0, 0.5);
    border-radius: 4px;
    transition: all 0.3s;
    white-space: nowrap;
    font-family: 'VT323', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-box a:hover {
    background: var(--primary-green);
    color: #000000;
    border-color: var(--primary-green);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
    transform: translateX(3px);
}

.cta-icon {
    font-size: 1.5rem;
    opacity: 0.7;
    filter: none;
}

.cta-content h3 {
    color: var(--primary-green);
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.cta-button {
    display: inline-block;
    background: var(--primary-green);
    color: var(--dark-bg);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: background 0.3s, transform 0.3s;
}

.cta-button:hover {
    background: #00cc00;
    transform: scale(1.05);
}

/* TERMINAL STYLING OVERRIDES FOR INTEL PAGES */
/* These classes come from terminal.js content but should be toned down for blog readability */

.content-body .terminal-header,
.content-body .terminal-subheader {
    display: block;
    color: var(--primary-green);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    margin: 1.5rem 0 0.75rem;
    font-size: 1.4rem;
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    background: rgba(0, 255, 0, 0.05);
    padding: 0.75rem 1.25rem;
    border-left: 4px solid var(--primary-green);
    border-radius: 0 6px 6px 0;
    letter-spacing: 0.5px;
}

.content-body .terminal-header {
    font-size: 1.4rem;
    background: rgba(0, 255, 0, 0.08);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
}

.content-body .terminal-subheader {
    font-size: 1.2rem;
    border-left-width: 3px;
}

.content-body .terminal-command,
.content-body .terminal-data,
.content-body .terminal-info {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'VT323', monospace;
    font-weight: 400;
    margin: 1rem 0 0.5rem;
    font-size: 1.05rem;
    background: rgba(0, 255, 0, 0.03);
    padding: 0.5rem 1rem;
    border-left: 2px solid rgba(0, 255, 0, 0.3);
    border-radius: 0 4px 4px 0;
}

.content-body .terminal-success {
    display: block;
    color: rgba(0, 255, 100, 1);
    font-family: 'VT323', monospace;
    margin: 1rem 0 0.5rem;
    font-size: 1rem;
    background: rgba(0, 255, 100, 0.05);
    padding: 0.5rem 1rem;
    border-left: 3px solid rgba(0, 255, 100, 0.5);
    border-radius: 0 4px 4px 0;
}

.content-body .terminal-warning {
    display: block;
    color: rgba(255, 180, 0, 1);
    font-family: 'VT323', monospace;
    margin: 1rem 0 0.5rem;
    font-size: 1rem;
    background: rgba(255, 180, 0, 0.05);
    padding: 0.5rem 1rem;
    border-left: 3px solid rgba(255, 180, 0, 0.5);
    border-radius: 0 4px 4px 0;
}

.content-body .terminal-highlight {
    display: block;
    color: rgba(0, 255, 255, 1);
    font-family: 'VT323', monospace;
    margin: 1rem 0 0.5rem;
    font-size: 1rem;
    background: rgba(0, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-left: 3px solid rgba(0, 255, 255, 0.5);
    border-radius: 0 4px 4px 0;
}

.content-body .terminal-separator {
    color: rgba(100, 100, 100, 0.5);
    margin: 1rem 0;
}

/* Keep terminal emoji/icons subtle */
.content-body span:has(> emoji),
.content-body > emoji {
    opacity: 0.7;
}

/* KEY TAKEAWAYS */
.key-takeaways {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    margin: 3rem 0;
    border: 1px solid var(--border-color);
}

.key-takeaways h2 {
    color: var(--primary-green);
    margin-top: 0;
}

.key-takeaways ul {
    list-style: none;
    padding: 0;
}

.key-takeaways li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.key-takeaways li:last-child {
    border-bottom: none;
}

.key-takeaways li:before {
    content: '✓';
    color: var(--primary-green);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

/* FAQ SECTION */
.faq-section {
    margin: 3rem 0;
}

.faq-section h2 {
    color: var(--accent-purple);
}

.faq-item {
    background: var(--card-bg);
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 8px;
    border-left: 4px solid var(--accent-blue);
}

.faq-item h3 {
    color: var(--accent-blue);
    margin-top: 0;
}

.faq-item p {
    margin-bottom: 0;
}

/* RELATED CONTENT */
.related-content {
    margin: 3rem 0;
    padding: 1.5rem;
    background: rgba(26, 26, 26, 0.5);
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 0, 0.2);
}

.related-content h2 {
    color: var(--primary-green);
    margin-top: 0;
    font-size: 1.3rem;
    font-family: 'VT323', monospace;
}

.related-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.related-link {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-left: 3px solid rgba(0, 255, 0, 0.5);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
}

.related-link:hover {
    background: rgba(0, 255, 0, 0.05);
    border-color: var(--primary-green);
    border-left-color: var(--primary-green);
    transform: translateX(4px);
    box-shadow: 0 2px 12px rgba(0, 255, 0, 0.2);
}

.link-title {
    font-size: 1.2rem;
    color: var(--primary-green);
    font-family: 'VT323', monospace;
    font-weight: bold;
}

.link-excerpt {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* RELATED INTEL */
.related-intel {
    margin: 4rem 0;
}

.related-intel h2 {
    color: var(--primary-green);
}

.intel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.intel-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.intel-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0, 255, 0, 0.3);
}

.intel-card h3 {
    color: var(--primary-green);
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.intel-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* SOURCES */
.sources {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 8px;
}

.sources h2 {
    color: var(--accent-blue);
    margin-top: 0;
}

.sources ul {
    list-style: none;
    padding: 0;
}

.sources li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.sources li:last-child {
    border-bottom: none;
}

.sources a {
    color: var(--accent-blue);
}

/* BACK TO TOP */
.back-to-top {
    text-align: center;
    margin: 3rem 0;
}

.back-to-top a {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.back-to-top a:hover {
    color: var(--accent-blue);
}

/* SIDEBAR (Desktop) */
.sidebar {
    display: none;
}

.sidebar-widget {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    color: var(--primary-green);
    margin-top: 0;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
}

.sidebar-widget li {
    padding: 0.5rem 0;
}

.sidebar-widget a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar-widget a:hover {
    color: var(--primary-green);
}

/* COMMENTS SECTION */
.comments-section {
    margin: 3rem 0 2rem;
    padding: 1.5rem;
    background: rgba(26, 26, 26, 0.5);
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 0, 0.2);
}

.comments-section h2 {
    color: var(--primary-green);
    margin-top: 0;
    font-size: 1.3rem;
    font-family: 'VT323', monospace;
}

.comments-intro {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.comments-fallback {
    color: var(--text-secondary);
    padding: 1rem;
    text-align: center;
    background: rgba(0, 255, 0, 0.03);
    border-radius: 4px;
    font-size: 0.9rem;
}

.comments-fallback a {
    color: var(--primary-green);
    font-weight: bold;
}

/* DISCUSSION CTAs */
.discussion-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.discussion-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 8px;
    color: var(--primary-green);
    text-decoration: none;
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    transition: all 0.3s;
    flex: 1;
    min-width: 200px;
    justify-content: center;
}

.discussion-btn:hover {
    background: rgba(0, 255, 0, 0.1);
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.2);
}

.discussion-btn svg,
.discussion-btn img {
    filter: drop-shadow(0 0 5px rgba(0, 255, 0, 0.5));
}

/* FOOTER */
.site-footer {
    background: var(--card-bg);
    border-top: 1px solid rgba(0, 255, 0, 0.2);
    margin-top: 6rem;
    padding: 2rem;
    color: var(--text-secondary);
}

.site-footer p {
    margin: 0.5rem 0;
    text-align: left;
    font-family: 'VT323', monospace;
    font-size: 1rem;
}

.site-footer a {
    color: rgba(0, 255, 0, 0.7);
    text-decoration: none;
    margin: 0 0.5rem 0 0;
    font-family: 'VT323', monospace;
}

.site-footer a:hover {
    color: var(--primary-green);
}

.footer-tagline {
    font-style: italic;
    color: rgba(0, 255, 0, 0.6);
    margin-top: 1rem !important;
    font-family: 'VT323', monospace;
}

.intel-footer {
    background: var(--card-bg);
    border-top: 2px solid var(--primary-green);
    margin-top: 6rem;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin: 0.5rem 0;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* RESPONSIVE DESIGN */
@media (min-width: 1024px) {
    /* Desktop: Show sidebar */
    body.intel-page {
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 3rem;
    }
    
    .intel-nav,
    .breadcrumb,
    .intel-footer {
        grid-column: 1 / -1;
    }
    
    .sidebar {
        display: block;
        padding-top: 2rem;
    }
}

@media (max-width: 768px) {
    #intel-nav {
        padding: 10px 15px;
        grid-template-columns: auto 1fr auto;
    }
    
    .intel-nav-logo {
        font-size: 16px;
    }
    
    .intel-nav-right {
        gap: 10px;
        min-width: 90px;
        padding-right: 15px;
    }
    
    .nav-icon {
        font-size: 1.4rem;
        padding: 6px 10px;
    }
    
    .access-terminal-btn {
        padding: 6px 12px;
        font-size: 1rem;
        margin-right: 6px;
    }
    
    .nav-icon img {
        width: 20px;
        height: 20px;
    }
    
    .nav-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .article-header h1,
    .page-title {
        font-size: 1.65rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .social-share {
        padding-top: 0.5rem;
    }
    
    .content-body {
        font-size: 0.9rem;
    }
    
    .content-body h2 {
        font-size: 1.25rem;
    }
    
    .content-body h3 {
        font-size: 1.05rem;
    }
    
    .intel-content,
    .content-wrapper {
        padding: 1rem;
    }
    
    .site-header {
        padding: 1rem;
    }
    
    .cta-box {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem;
    }
    
    .cta-box .cta-icon {
        font-size: 1.5rem;
        align-self: flex-start;
    }
    
    .cta-box .cta-content {
        gap: 0.25rem;
    }
    
    .cta-box h3 {
        font-size: 1rem;
    }
    
    .cta-box p {
        font-size: 0.9rem;
    }
    
    .cta-box a {
        align-self: stretch;
        text-align: center;
        padding: 0.6rem 1rem;
    }
    
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .intel-grid {
        grid-template-columns: 1fr;
    }
    
    .related-links {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .intel-nav {
        padding: 1rem;
    }
    
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .article-header h1,
    .page-title {
        font-size: 1.4rem;
    }
    
    .site-header {
        padding: 1rem;
    }
    
    .content-body {
        font-size: 0.9rem;
        line-height: 1.65;
    }
    
    .content-body h2 {
        font-size: 1.25rem;
    }
    
    .content-body h3 {
        font-size: 1.1rem;
    }
    
    .intel-content {
        padding: 1.5rem 1.25rem;
    }
    
    .share-btn {
        width: 32px;
        height: 32px;
    }
    
    .share-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* PRINT STYLES */
@media print {
    .intel-nav,
    .sidebar,
    .cta-box,
    .intel-footer,
    .back-to-top {
        display: none;
    }
    
    body.intel-page {
        background: white;
        color: black;
    }
}

