/* Post Page Background - Subtle Grid with Console Theme */
html, body {
    background-image: 
        /* Fewer stars for cleaner reading */
        radial-gradient(0.8px 0.8px at 67px 23px, rgba(255,255,255,0.6), transparent),
        radial-gradient(0.6px 0.6px at 189px 134px, rgba(255,255,255,0.5), transparent),
        radial-gradient(0.7px 0.7px at 156px 89px, rgba(255,255,255,0.4), transparent),
        radial-gradient(0.9px 0.9px at 223px 178px, rgba(255,255,255,0.6), transparent),
        radial-gradient(0.5px 0.5px at 134px 45px, rgba(255,255,255,0.5), transparent) !important;
    background-size: 
        280px 190px,
        320px 210px,
        300px 180px,
        290px 200px,
        310px 180px !important;
    background-color: #000 !important;
    background-attachment: fixed !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Post Page Grid Overlay - Same as home but with proper alignment */
html::before, body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' viewBox='-100 -100 1200 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cfilter id='postGlow'%3E%3CfeGaussianBlur stdDeviation='1' result='coloredBlur'/%3E%3CfeMerge%3E%3CfeMergeNode in='coloredBlur'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cg%3E%3C!-- Horizontal lines - subtle for readability --%3E%3Cg stroke='rgba(255,0,0,0.25)' stroke-width='1' filter='url(%23postGlow)'%3E%3Cline x1='-80' y1='-80' x2='1080' y2='-80'/%3E%3Cline x1='-80' y1='-40' x2='1080' y2='-40'/%3E%3Cline x1='-80' y1='0' x2='1080' y2='0'/%3E%3Cline x1='-80' y1='40' x2='1080' y2='40'/%3E%3Cline x1='-80' y1='80' x2='1080' y2='80'/%3E%3Cline x1='-80' y1='120' x2='1080' y2='120'/%3E%3Cline x1='-80' y1='160' x2='1080' y2='160'/%3E%3Cline x1='-80' y1='200' x2='1080' y2='200'/%3E%3Cline x1='-80' y1='240' x2='1080' y2='240'/%3E%3Cline x1='-80' y1='280' x2='1080' y2='280'/%3E%3Cline x1='-80' y1='320' x2='1080' y2='320'/%3E%3Cline x1='-80' y1='360' x2='1080' y2='360'/%3E%3Cline x1='-80' y1='400' x2='1080' y2='400'/%3E%3Cline x1='-80' y1='440' x2='1080' y2='440'/%3E%3Cline x1='-80' y1='480' x2='1080' y2='480'/%3E%3Cline x1='-80' y1='520' x2='1080' y2='520'/%3E%3Cline x1='-80' y1='560' x2='1080' y2='560'/%3E%3Cline x1='-80' y1='600' x2='1080' y2='600'/%3E%3Cline x1='-80' y1='640' x2='1080' y2='640'/%3E%3Cline x1='-80' y1='680' x2='1080' y2='680'/%3E%3C/g%3E%3C!-- Vertical lines - perfectly flush with top and bottom horizontals --%3E%3Cg stroke='rgba(255,0,0,0.2)' stroke-width='1' filter='url(%23postGlow)'%3E%3Cline x1='-80' y1='-80' x2='-80' y2='680'/%3E%3Cline x1='-40' y1='-80' x2='-40' y2='680'/%3E%3Cline x1='0' y1='-80' x2='0' y2='680'/%3E%3Cline x1='40' y1='-80' x2='40' y2='680'/%3E%3Cline x1='80' y1='-80' x2='80' y2='680'/%3E%3Cline x1='120' y1='-80' x2='120' y2='680'/%3E%3Cline x1='160' y1='-80' x2='160' y2='680'/%3E%3Cline x1='200' y1='-80' x2='200' y2='680'/%3E%3Cline x1='240' y1='-80' x2='240' y2='680'/%3E%3Cline x1='280' y1='-80' x2='280' y2='680'/%3E%3Cline x1='320' y1='-80' x2='320' y2='680'/%3E%3Cline x1='360' y1='-80' x2='360' y2='680'/%3E%3Cline x1='400' y1='-80' x2='400' y2='680'/%3E%3Cline x1='440' y1='-80' x2='440' y2='680'/%3E%3Cline x1='480' y1='-80' x2='480' y2='680'/%3E%3Cline x1='520' y1='-80' x2='520' y2='680'/%3E%3Cline x1='560' y1='-80' x2='560' y2='680'/%3E%3Cline x1='600' y1='-80' x2='600' y2='680'/%3E%3Cline x1='640' y1='-80' x2='640' y2='680'/%3E%3Cline x1='680' y1='-80' x2='680' y2='680'/%3E%3Cline x1='720' y1='-80' x2='720' y2='680'/%3E%3Cline x1='760' y1='-80' x2='760' y2='680'/%3E%3Cline x1='800' y1='-80' x2='800' y2='680'/%3E%3Cline x1='840' y1='-80' x2='840' y2='680'/%3E%3Cline x1='880' y1='-80' x2='880' y2='680'/%3E%3Cline x1='920' y1='-80' x2='920' y2='680'/%3E%3Cline x1='960' y1='-80' x2='960' y2='680'/%3E%3Cline x1='1000' y1='-80' x2='1000' y2='680'/%3E%3Cline x1='1040' y1='-80' x2='1040' y2='680'/%3E%3Cline x1='1080' y1='-80' x2='1080' y2='680'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transform: perspective(1200px) rotateX(45deg) translateY(-15%) scale(0.8) !important;
    transform-origin: center center !important;
    filter: drop-shadow(0 0 1px rgba(255, 0, 0, 0.2)) !important;
    z-index: 1 !important;
    pointer-events: none !important;
    opacity: 0.4 !important;
}

/* Post content styling - Console green theme */
.post-content {
    background: transparent !important;
    color: #00ff00 !important;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace !important;
    line-height: 1.6 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 0 0 6px rgba(0, 255, 0, 0.4) !important;
    position: relative !important;
    z-index: 10 !important;
}

.post-header h1 {
    color: #00ff00 !important;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 0 0 8px rgba(0, 255, 0, 0.6) !important;
    font-size: 2.0em !important;
    font-weight: normal !important;
    border-bottom: 1px solid rgba(0, 255, 0, 0.3) !important;
    padding-bottom: 8px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 0 0 0 !important;
}

.post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 {
    color: #00ff00 !important;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 0 0 8px rgba(0, 255, 0, 0.6) !important;
    font-weight: normal !important;
    border-bottom: 1px solid rgba(0, 255, 0, 0.3) !important;
    padding-bottom: 5px !important;
    margin-top: 30px !important;
    margin-bottom: 15px !important;
}

.post-content p, .post-content li, .post-content div, .entry-content p, .entry-content li, .entry-content div {
    color: #00ff00 !important;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 0 0 6px rgba(0, 255, 0, 0.4) !important;
}

.post-content a, .entry-content a {
    color: #00ffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 0 0 5px rgba(0, 255, 255, 0.5) !important;
    text-decoration: underline !important;
}

.post-content a:hover, .entry-content a:hover {
    color: #00ffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 255, 255, 0.8) !important;
}

.post-meta {
    color: #00aa00 !important;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace !important;
    font-size: 0.8em !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9), 0 0 2px rgba(0, 255, 0, 0.3) !important;
    border: none !important;
    padding: 5px 0 !important;
    margin: 5px 0 0 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}

.post-meta time {
    color: #00aa00 !important;
}

.tags .tag {
    background: rgba(0, 255, 0, 0.05) !important;
    color: #00aa00 !important;
    padding: 1px 4px !important;
    border-radius: 2px !important;
    font-size: 0.6em !important;
    margin-right: 2px !important;
    border: 1px solid rgba(0, 255, 0, 0.2) !important;
    display: inline-block !important;
}

/* Code blocks */
.post-content pre, .post-content code, .entry-content pre, .entry-content code {
    background: rgba(0, 0, 0, 0.7) !important;
    color: #00cc00 !important;
    border: 1px solid rgba(0, 255, 0, 0.2) !important;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace !important;
    text-shadow: 0 0 2px rgba(0, 255, 0, 0.4) !important;
    padding: 10px !important;
    border-radius: 5px !important;
}

/* Blockquotes */
.post-content blockquote, .entry-content blockquote {
    border-left: 3px solid rgba(0, 255, 0, 0.5) !important;
    background: rgba(0, 0, 0, 0.6) !important;
    color: #00dd00 !important;
    font-style: italic !important;
    padding: 15px 20px !important;
    margin: 20px 0 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 0 0 3px rgba(0, 255, 0, 0.3) !important;
}

/* Lists */
.post-content ul, .post-content ol, .entry-content ul, .entry-content ol {
    color: #00ff00 !important;
}

.post-content li, .entry-content li {
    color: #00ff00 !important;
    margin-bottom: 5px !important;
}

/* Horizontal rules */
.post-content hr, .entry-content hr {
    border: none !important;
    border-top: 1px solid rgba(0, 255, 0, 0.3) !important;
    margin: 30px 0 !important;
}

/* Compact categories styling */
.categories, .category {
    display: inline !important;
    font-size: 0.6em !important;
    color: #00aa00 !important;
}

.categories .category {
    background: rgba(0, 255, 0, 0.05) !important;
    color: #00aa00 !important;
    padding: 1px 4px !important;
    border-radius: 2px !important;
    font-size: 0.6em !important;
    margin-right: 2px !important;
    border: 1px solid rgba(0, 255, 0, 0.2) !important;
    display: inline-block !important;
}

/* Make the entire post meta section very compact */
.post-meta time {
    color: #00aa00 !important;
    font-size: 0.7em !important;
}

/* Compact any author info */
.post-meta .author {
    font-size: 0.6em !important;
    color: #008800 !important;
}

/* Post header container spacing */
.post-header {
    margin-top: -100px !important;
    margin-bottom: 0 !important;
    margin-left: -5px !important;
    padding: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
