/* BLOG POST ENHANCEMENTS */

/* Hero Image */
.blog-hero-wrap {
    width: 100%;
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    background: #000;
}

.blog-hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background: #000;
}

.blog-hero-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    display: block;
}

/* Dope Content Styling */
.blog-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    line-height: 1.3;
    margin-top: 60px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-weight: 700;
}

.blog-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    line-height: 1.3;
    margin-top: 40px;
    color: var(--accent2);
    margin-bottom: 15px;
    font-weight: 600;
}

/* Cinematic Pull Quotes */
.blog-content blockquote {
    margin: 50px 0;
    padding: 30px 40px;
    border-left: 4px solid var(--accent);
    background: linear-gradient(90deg, rgba(112,0,255,0.08), transparent);
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
    font-style: italic;
    color: #fff;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Feature Grids (AI will use this) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.feature-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 25px;
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.feature-card strong {
    display: block;
    font-size: 1.1rem;
    color: var(--accent2);
    margin-bottom: 8px;
}

/* Stat/Data Boxes */
.stat-box {
    display: inline-flex;
    flex-direction: column;
    margin: 20px 20px 20px 0;
    padding: 20px 30px;
    border-left: 3px solid var(--success);
    background: linear-gradient(90deg, rgba(0,255,170,0.05), transparent);
    border-radius: 0 12px 12px 0;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--success);
    line-height: 1.2;
    overflow: visible;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.6);
    margin-top: 5px;
}

/* Enhanced Lists */
.blog-content ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.blog-content li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 18px;
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
}

.blog-content li::before {
    content: "➤";
    position: absolute;
    left: 0;
    color: var(--accent2);
    font-size: 0.9rem;
    top: 4px;
    text-shadow: 0 0 10px var(--accent2);
}

/* Responsive Media Embeds */
.media-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    margin: 50px 0;
    background: #000;
}

.media-container iframe,
.media-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.blog-content strong {
    color: #fff;
    font-weight: 700;
}

/* Lead Paragraph */
.blog-content p.lead {
    font-size: 1.35rem;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 40px;
    font-weight: 300;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

/* Hacker-Tier Code Snippets */
.blog-content pre {
    background: #050508;
    border: 1px solid var(--admin-border, rgba(255, 255, 255, 0.1));
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
    overflow-x: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    position: relative;
}

.blog-content pre::before {
    content: "● ● ●";
    display: block;
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.blog-content code {
    font-family: 'SFMono-Regular', Consolas, 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    color: #e6edf3;
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 6px;
    border-radius: 6px;
}

.blog-content pre code {
    background: transparent;
    padding: 0;
    color: var(--accent2, #00ffcc); /* Terminal Cyan Accent */
    text-shadow: 0 0 5px rgba(0, 236, 255, 0.3);
}

[data-theme="light"] .blog-content pre {
    background: #f6f8fa;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

[data-theme="light"] .blog-content pre::before {
    color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .blog-content code {
    color: #24292e;
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .blog-content pre code {
    color: #032f62;
    text-shadow: none;
}

[data-theme="light"] .blog-content p.lead {
    color: #111;
    border-bottom-color: rgba(0,0,0,0.1);
}

[data-theme="light"] .blog-content li {
    color: #444;
}

[data-theme="light"] .stat-label {
    color: #555;
}

[data-theme="light"] .feature-card {
    background: #fbfbfb;
    border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .feature-card:hover {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}