/* =========================================
   BLOG & TRANSMISSION STYLES (Mobile Fixed)
   ========================================= */

body.blog-body {
    background-color: #09090b;
    color: #e4e4e7;
    font-family: 'Inter', sans-serif;
}

/* CONTAINER */
.blog-container, .article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 20px 80px 20px;
    min-height: 80vh;
}

.article-container { max-width: 700px; } 

/* HEADERS */
.sys-label {
    display: block; font-family: 'Courier Prime', monospace;
    color: #bef264; font-size: 0.75rem; letter-spacing: 1px;
    margin-bottom: 15px;
}

.blog-header h1, .article-header h1 {
    font-size: 3rem; font-weight: 900; letter-spacing: -0.05em;
    margin: 0 0 15px 0; line-height: 1.1; color: #fff;
}
.blog-header p { color: #a1a1aa; font-size: 1.1rem; }

/* GRID */
.blog-grid {
    display: grid; grid-template-columns: 1fr; gap: 30px;
    margin-top: 60px;
}

/* CARDS */
.blog-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    transition: all 0.2s ease;
}
.blog-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: #bef264;
    transform: translateY(-2px);
}

.card-link {
    display: block; padding: 30px; text-decoration: none; color: inherit;
}

.card-meta {
    display: flex; gap: 15px; margin-bottom: 15px;
    font-size: 0.75rem; color: #666; font-family: 'Courier Prime', monospace;
}

.card-cat { color: #bef264; text-transform: uppercase; }

.blog-card h2 {
    font-size: 1.5rem; margin: 0 0 10px 0; font-weight: 800; color: #fff;
}
.blog-card p {
    color: #a1a1aa; font-size: 1rem; line-height: 1.6; margin: 0 0 20px 0;
}
.read-more {
    font-size: 0.8rem; font-weight: 700; color: #fff; text-transform: uppercase;
}

/* ARTICLE CONTENT (Typography) */
.article-header { margin-bottom: 50px; text-align: left; border-bottom: 1px solid #333; padding-bottom: 40px; }

.article-content { font-size: 1.1rem; line-height: 1.8; color: #d4d4d8; }

.article-content h2 { font-size: 1.8rem; margin: 50px 0 20px 0; color: #fff; }
.article-content h3 { font-size: 1.4rem; margin: 40px 0 15px 0; color: #fff; }
.article-content p { margin-bottom: 25px; }
.article-content ul { margin-bottom: 30px; padding-left: 20px; }
.article-content li { margin-bottom: 10px; color: #a1a1aa; }
.article-content a { color: #bef264; text-decoration: underline; }
.article-content blockquote {
    border-left: 3px solid #bef264; padding-left: 20px;
    margin: 40px 0; font-style: italic; color: #fff; font-size: 1.2rem;
}
.article-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 30px 0; }

.article-footer {
    margin-top: 80px; padding-top: 40px; border-top: 1px solid #333;
    text-align: center; font-family: 'Courier Prime', monospace; color: #666;
}
.share-actions { margin-top: 20px; }

/* Filter Bar (Moved for Mobile Fix) */
.filter-bar {
    display: flex; justify-content: center; gap: 15px;
    margin-bottom: 60px; border-bottom: 1px solid var(--border-color); padding-bottom: 30px;
}

.filter-btn {
    background: transparent; border: 1px solid var(--border-color); color: var(--text-muted);
    padding: 10px 25px; border-radius: 50px; text-decoration: none;
    font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    transition: all 0.2s ease;
}

.filter-btn:hover { border-color: #fff; color: #fff; }
.filter-btn.active { background: #fff; color: #000; border-color: #fff; }
.filter-btn.active-signal.active { background: #bef264; color: #000; border-color: #bef264; }

/* --- MOBILE ADJUSTMENTS --- */
@media (max-width: 768px) {
    /* [FIX] Push content down so Nav doesn't cover it */
    .blog-container, .article-container { 
        padding-top: 100px; 
    }

    .blog-header h1 { font-size: 2.5rem; }
    .article-header h1 { font-size: 2rem; }

    /* [FIX] Wrap filter buttons gracefully */
    .filter-bar {
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 40px;
    }
    
    .filter-btn {
        flex: 1 1 auto;
        text-align: center;
        padding: 10px 15px;
        font-size: 0.75rem;
    }
}