/* Route-specific styles extracted from landing.css: blog */

/* Blog single post has light gray background (concrete-50) */
body.landing-page:has(.blog-content-wrapper) {
    background-color: #f8fafc !important;
    color: #1e293b;
}

body.landing-page:has(.blog-content-wrapper) .blog-content-wrapper {
    background-color: #f8fafc;
}

/* ============================================
   BLOG SINGLE POST - CINEMATIC STYLE
   ============================================ */

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: #06b6d4;
    z-index: 100;
    width: 0%;
    transition: width 0.1s;
}

/* Article Hero */
.article-hero {
    position: relative;
    min-height: 500px;
    padding-top: 80px; /* Space for fixed navbar */
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #050b14;
}

@media (min-width: 768px) {
    .article-hero {
        min-height: 70vh;
    }
}

.article-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.article-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) contrast(1.1) grayscale(100%);
    transition: transform 2s ease-out;
}

.article-hero:hover .article-hero-bg img {
    transform: scale(1.05);
}

.article-hero-grid {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.1) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    mix-blend-mode: overlay;
}

.article-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #020408 0%, rgba(2,4,8,0.6) 50%, transparent 100%);
    z-index: 1;
}

.article-hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

.article-hero-inner {
    max-width: 900px;
}

.article-meta-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.article-breadcrumb {
    padding: 0.375rem 0.75rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 2px;
    font-size: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s;
}

.article-breadcrumb:hover {
    background: rgba(255,255,255,0.2);
}

.article-meta-dot {
    color: #06b6d4;
    font-size: 1.25rem;
}

.article-category {
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #06b6d4;
    text-decoration: none;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .article-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .article-title {
        font-size: 4rem;
    }
}

.article-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.article-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-right: 1.5rem;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.article-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-author-avatar span {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #050b14;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.article-author-info {
    display: flex;
    flex-direction: column;
}

.article-author-name {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    line-height: 1.2;
}

.article-author-title {
    font-size: 10px;
    font-family: 'JetBrains Mono', monospace;
    color: #06b6d4;
    text-transform: uppercase;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
    color: #cbd5e1;
}

.article-meta-item i {
    color: #06b6d4;
}

.article-share {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.article-share-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.article-share-btn:hover {
    background: #06b6d4;
    color: #000;
}

/* Article Container */
.article-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .article-grid {
        grid-template-columns: 1fr 320px;
    }
}

/* Article Main */
.article-main {
    min-width: 0;
}

/* AI Summary */
.article-summary {
    background: #f0f9ff;
    border-left: 3px solid #06b6d4;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    border-radius: 0 4px 4px 0;
}

.article-summary-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #06b6d4;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #06b6d4;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.article-summary p {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

/* Article Prose - Enhanced Typography */
.article-prose {
    color: #334155;
    font-size: 1.1rem;
    line-height: 1.9;
    max-width: 720px;
}

.article-prose h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    scroll-margin-top: 100px;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #06b6d4;
}

.article-prose h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    scroll-margin-top: 100px;
}

.article-prose h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #334155;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    scroll-margin-top: 100px;
}

.article-prose p {
    margin-bottom: 1.5rem;
}

/* Fix for content with only <br> tags - add spacing */
.article-prose br + br {
    display: block;
    content: '';
    margin-top: 1rem;
}

.article-prose ul,
.article-prose ol {
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style: none;
}

.article-prose ul li,
.article-prose ol li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
}

.article-prose ul li::before {
    content: "→";
    color: #06b6d4;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.article-prose ol {
    counter-reset: list-counter;
}

.article-prose ol li {
    counter-increment: list-counter;
}

.article-prose ol li::before {
    content: counter(list-counter) ".";
    color: #06b6d4;
    position: absolute;
    left: 0;
    font-weight: 700;
}

.article-prose strong {
    color: #0f172a;
    font-weight: 600;
}

.article-prose em {
    font-style: italic;
    color: #475569;
}

.article-prose blockquote {
    border-left: 4px solid #06b6d4;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    font-style: italic;
    color: #475569;
    background: linear-gradient(135deg, #f0f9ff 0%, #f8fafc 100%);
    border-radius: 0 8px 8px 0;
    margin: 2rem 0;
    position: relative;
}

.article-prose blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 4rem;
    color: #06b6d4;
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.article-prose a {
    color: #06b6d4;
    text-decoration: underline;
    text-decoration-color: rgba(6, 182, 212, 0.3);
    text-underline-offset: 2px;
    transition: all 0.2s;
}

.article-prose a:hover {
    color: #0891b2;
    text-decoration-color: #0891b2;
}

.article-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.article-prose figure {
    margin: 2rem 0;
}

.article-prose figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.75rem;
    font-style: italic;
}

.article-prose pre,
.article-prose code {
    font-family: 'JetBrains Mono', monospace;
}

.article-prose pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-prose code {
    background: #f1f5f9;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9em;
    color: #0f172a;
}

.article-prose pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

/* Tables in article */
.article-prose table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.article-prose th,
.article-prose td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.article-prose th {
    background: #f8fafc;
    font-weight: 600;
    color: #0f172a;
    border-bottom: 2px solid #06b6d4;
}

.article-prose tr:hover td {
    background: #f8fafc;
}

/* Horizontal rule */
.article-prose hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #06b6d4, transparent);
    margin: 3rem 0;
}

/* Lead paragraph (first paragraph) */
.article-prose > p:first-of-type {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #475569;
    font-weight: 300;
}

/* Article FAQ */
.article-faq {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid #e2e8f0;
}

.article-faq-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.article-faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.article-faq-item {
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 2px;
    transition: all 0.2s;
}

.article-faq-item[open] {
    box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.5);
}

.article-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    list-style: none;
    transition: color 0.2s;
}

.article-faq-question:hover {
    color: #3b82f6;
}

.article-faq-question::-webkit-details-marker {
    display: none;
}

.article-faq-question i {
    color: #cbd5e1;
    transition: transform 0.2s;
}

.article-faq-item[open] .article-faq-question i {
    transform: rotate(45deg);
}

.article-faq-answer {
    padding: 0 1rem 1rem;
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
}

/* Article CTA */
.article-cta {
    margin-top: 4rem;
    background: #0f172a;
    padding: 3rem;
    border-radius: 4px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.article-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.article-cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.article-cta-text {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.article-cta-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #06b6d4;
    color: #000;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 2px;
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.4);
    transition: all 0.2s;
    position: relative;
    z-index: 1;
}

.article-cta-btn:hover {
    background: #22d3ee;
    transform: translateY(-2px);
}

.article-cta-note {
    font-size: 10px;
    font-family: 'JetBrains Mono', monospace;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

/* Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.sidebar-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sidebar-author-avatar {
    width: 48px;
    height: 48px;
    background: #1e293b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.sidebar-author-name {
    font-weight: 700;
    color: #0f172a;
    font-size: 14px;
}

.sidebar-author-title {
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    color: #64748b;
}

.sidebar-author-bio {
    font-size: 12px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.sidebar-toc-wrapper {
    position: sticky;
    top: 80px;
}

.sidebar-label {
    display: block;
    font-size: 10px;
    font-family: 'JetBrains Mono', monospace;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.sidebar-toc {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-toc .toc-link {
    display: block;
    padding: 0.375rem 0.75rem;
    font-size: 13px;
    color: #475569;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: all 0.2s;
}

.sidebar-toc .toc-link:hover {
    color: #0f172a;
}

.sidebar-toc .toc-link.active {
    color: #06b6d4;
    border-left-color: #06b6d4;
    font-weight: 600;
}

.sidebar-toc .toc-link.toc-sub {
    padding-left: 1.5rem;
    font-size: 12px;
}

/* Related Posts */
.article-related {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #e2e8f0;
}

.article-related-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.article-related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .article-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.related-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s;
}

.related-card:hover {
    border-color: #06b6d4;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.related-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.related-card:hover .related-card-image img {
    transform: scale(1.05);
}

.related-card-content {
    padding: 1.25rem;
}

.related-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    transition: color 0.2s;
}

.related-card:hover .related-card-title {
    color: #06b6d4;
}

.related-card-excerpt {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   BLOG SINGLE POST - CINEMATIC STYLE (React-like)
   ============================================ */

/* Reading Progress Bar */
.blog-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: #06b6d4;
    z-index: 100;
    width: 0%;
    transition: width 0.1s;
}

/* Simple Dark Navbar */
.blog-nav-simple {
    width: 100%;
    background: #020408;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.blog-nav-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none !important;
}

.blog-nav-logo {
    width: 32px;
    height: 32px;
    background: #06b6d4;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    border-radius: 2px;
}

.blog-nav-text {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.blog-nav-text .accent {
    color: #06b6d4;
}

.blog-nav-cta {
    font-size: 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 0.5rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none !important;
    transition: all 0.2s;
}

.blog-nav-cta:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* Article Hero */
.blog-hero {
    position: relative;
    min-height: 500px;
    height: 60vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #050b14;
}

.blog-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    transition: transform 2s ease-out;
}

.blog-hero:hover .blog-hero-bg {
    transform: scale(1.05);
}

.blog-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.5) contrast(1.1) grayscale(1);
}

.blog-hero-grid {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mix-blend-mode: overlay;
    opacity: 0.3;
    z-index: 10;
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #020408, rgba(2,4,8,0.6) 50%, transparent);
    z-index: 10;
}

.blog-hero-content {
    position: relative;
    z-index: 20;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

.blog-hero-inner {
    max-width: 900px;
}

/* Meta Top (Breadcrumbs) */
.blog-hero-meta-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    animation: blogFadeUp 0.8s ease-out forwards;
}

.blog-breadcrumb {
    padding: 0.25rem 0.75rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    font-size: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none !important;
    transition: background 0.2s;
}

.blog-breadcrumb:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.blog-meta-dot {
    color: #06b6d4;
    font-size: 18px;
}

.blog-category-label {
    color: #06b6d4;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Hero Title */
.blog-hero-title {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    animation: blogFadeUp 0.8s ease-out 0.1s forwards;
    opacity: 0;
}

/* Meta Bar */
.blog-hero-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1.5rem;
    animation: blogFadeUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.blog-meta-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-right: 1.5rem;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.blog-meta-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-meta-avatar span {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #050b14;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
}

.blog-meta-author-info {
    display: flex;
    flex-direction: column;
}

.blog-meta-author-name {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
}

.blog-meta-author-title {
    font-size: 10px;
    font-family: 'JetBrains Mono', monospace;
    color: #06b6d4;
    text-transform: uppercase;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #cbd5e1;
}

.blog-meta-item i {
    color: #06b6d4;
}

.blog-meta-share {
    margin-left: auto;
    display: flex;
    gap: 0.75rem;
}

.blog-meta-share button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.blog-meta-share button:hover {
    background: #06b6d4;
    color: #000;
}

/* Content Wrapper */
.blog-content-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    background-color: #f8fafc !important;
}

.blog-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    background: transparent;
}

/* Ensure no white background on blog content area */
.blog-content-wrapper,
.blog-content-grid,
.blog-main,
.blog-prose {
    background-color: transparent !important;
}

@media (min-width: 1024px) {
    .blog-content-grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* Main Content */
.blog-main {
    min-width: 0;
    background: transparent;
}

/* AI Summary */
.blog-ai-summary {
    background: #f0f9ff;
    border-left: 3px solid #06b6d4;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    border-radius: 0 4px 4px 0;
}

.blog-ai-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.blog-ai-dot {
    width: 8px;
    height: 8px;
    background: #06b6d4;
    border-radius: 50%;
    animation: blogPulse 2s infinite;
}

.blog-ai-label span {
    font-size: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #06b6d4;
}

.blog-ai-summary p {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

.blog-ai-summary strong {
    color: #0f172a;
}

/* Article Prose */
.blog-prose {
    color: #1e293b;
    background: transparent;
}

.blog-prose h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 3rem;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    scroll-margin-top: 100px;
}

.blog-prose h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    scroll-margin-top: 100px;
}

.blog-prose h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #334155;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    scroll-margin-top: 100px;
}

.blog-prose p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #334155;
    font-size: 1.05rem;
}

.blog-prose p.lead {
    font-size: 1.25rem;
    color: #475569;
    font-weight: 300;
}

.blog-prose ul,
.blog-prose ol {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.blog-prose li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #334155;
    line-height: 1.7;
}

.blog-prose li::before {
    content: "→";
    color: #06b6d4;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.blog-prose ol {
    counter-reset: list-counter;
}

.blog-prose ol li::before {
    counter-increment: list-counter;
    content: counter(list-counter) ".";
    color: #06b6d4;
    font-weight: 700;
}

.blog-prose strong {
    color: #0f172a;
    font-weight: 600;
}

.blog-prose blockquote {
    border-left: 4px solid #06b6d4;
    padding: 1.5rem;
    font-style: italic;
    color: #475569;
    background: #f1f5f9;
    border-radius: 0 4px 4px 0;
    margin: 1.5rem 0;
}

.blog-prose blockquote p {
    margin: 0;
}

.blog-prose a {
    color: #06b6d4;
    text-decoration: none !important;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.blog-prose a:hover {
    border-bottom-color: #06b6d4;
    color: #0891b2;
}

.blog-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.blog-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 14px;
}

.blog-prose th,
.blog-prose td {
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.blog-prose th {
    background: #f1f5f9;
    font-weight: 600;
    color: #0f172a;
}

.blog-prose tr:nth-child(even) td {
    background: #f8fafc;
}

.blog-prose pre,
.blog-prose code {
    font-family: 'JetBrains Mono', monospace;
}

.blog-prose pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 14px;
}

.blog-prose code {
    background: #f1f5f9;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9em;
    color: #0f172a;
}

.blog-prose pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

.blog-prose hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #cbd5e1, transparent);
    margin: 3rem 0;
}

/* FAQ Section */
.blog-faq {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid #e2e8f0;
}

.blog-faq h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.blog-faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.blog-faq-item {
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 2px;
    transition: all 0.2s;
}

.blog-faq-item[open] {
    box-shadow: 0 0 0 1px rgba(6,182,212,0.5);
}

.blog-faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    font-weight: 500;
    color: #1e293b;
    list-style: none;
    transition: color 0.2s;
}

.blog-faq-item summary::-webkit-details-marker {
    display: none;
}

.blog-faq-item summary:hover {
    color: #3b82f6;
}

.blog-faq-item summary i {
    color: #94a3b8;
    transition: transform 0.2s;
}

.blog-faq-item[open] summary i {
    transform: rotate(45deg);
}

.blog-faq-answer {
    padding: 0 1rem 1rem;
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    border-top: 1px solid rgba(226,232,240,0.5);
    margin-top: 0.5rem;
    padding-top: 0.75rem;
}

/* Final CTA */
.blog-final-cta {
    margin-top: 4rem;
    background: #0f172a;
    color: #fff;
    padding: 3rem 2rem;
    border-radius: 4px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-cta-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(6,182,212,0.15) 0%, transparent 70%);
    opacity: 0.2;
}

.blog-final-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 10;
    color: #fff;
}

.blog-final-cta p {
    color: #94a3b8;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.blog-cta-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #06b6d4;
    color: #000;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none !important;
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(6,182,212,0.3);
    transition: all 0.2s;
    position: relative;
    z-index: 10;
}

.blog-cta-btn:hover {
    background: #22d3ee;
    transform: translateY(-2px);
    color: #000;
}

.blog-cta-note {
    display: block;
    margin-top: 1rem;
    font-size: 10px;
    font-family: 'JetBrains Mono', monospace;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
    z-index: 10;
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-sidebar-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.blog-sidebar-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-sidebar-avatar {
    width: 48px;
    height: 48px;
    background: #1e293b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 50%;
    font-size: 14px;
}

.blog-sidebar-name {
    font-weight: 700;
    color: #0f172a;
    font-size: 14px;
}

.blog-sidebar-title {
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    color: #64748b;
}

.blog-sidebar-bio {
    font-size: 12px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-sidebar-social {
    display: flex;
    gap: 0.75rem;
}

.blog-sidebar-social a {
    color: #94a3b8;
    text-decoration: none !important;
    transition: color 0.2s;
}

.blog-sidebar-social a:hover {
    color: #3b82f6;
}

/* Sticky Sidebar */
.blog-sidebar-sticky {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-sidebar-label {
    display: block;
    font-size: 10px;
    font-family: 'JetBrains Mono', monospace;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

/* TOC */
.blog-toc {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.blog-toc-link {
    display: block;
    padding: 0.375rem 0.75rem;
    font-size: 13px;
    color: #475569;
    text-decoration: none !important;
    border-left: 2px solid transparent;
    transition: all 0.2s;
}

.blog-toc-link:hover {
    color: #0f172a;
}

.blog-toc-link.active {
    color: #06b6d4;
    border-left-color: #06b6d4;
    font-weight: 600;
}

.blog-toc-link.blog-toc-sub {
    padding-left: 1.5rem;
    font-size: 12px;
}

/* Mini Promo */
.blog-sidebar-promo {
    padding: 1.5rem;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 2px;
    color: #fff;
}

.blog-sidebar-promo i {
    font-size: 1.5rem;
    color: #06b6d4;
    margin-bottom: 0.75rem;
    display: block;
}

.blog-sidebar-promo h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.blog-sidebar-promo p {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.blog-sidebar-promo a {
    font-size: 12px;
    font-weight: 700;
    color: #06b6d4;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(6,182,212,0.3);
    padding-bottom: 2px;
    transition: border-color 0.2s;
}

.blog-sidebar-promo a:hover {
    border-bottom-color: #06b6d4;
    color: #fff;
}

/* Simple Footer */
.blog-footer-simple {
    background: #020408;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 0;
    text-align: center;
    color: #64748b;
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
}

/* Animations */
@keyframes blogFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blogPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Responsive */
@media (max-width: 768px) {
    .blog-hero {
        min-height: 400px;
        height: auto;
    }
    
    .blog-hero-title {
        font-size: 1.75rem;
    }
    
    .blog-meta-author {
        padding-right: 0;
        border-right: none;
        width: 100%;
    }
    
    .blog-meta-share {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
    }
    
    .blog-hero-meta-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* ============================================
   CATEGORY PAGE CINEMATIC STYLES
   ============================================ */

.category-cinematic {
    min-height: 100vh;
    background-color: #f8fafc;
    font-family: 'Inter', sans-serif;
}

/* Category Header */
.category-header {
    background-color: #050b14;
    padding: 5rem 0 4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.category-header-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    pointer-events: none;
}

.category-header-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

/* Category breadcrumbs use shared .blog-hero-meta-top, .blog-breadcrumb, .blog-meta-dot styles */

/* Category header uses blog animations */
.category-header .blog-hero-meta-top {
    animation: blogFadeUp 0.8s ease-out forwards;
}

.category-header-main {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    animation: blogFadeUp 0.8s ease-out 0.1s forwards;
    opacity: 0;
}

.category-icon {
    width: 64px;
    height: 64px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #06b6d4;
    font-size: 1.875rem;
    flex-shrink: 0;
}

.category-header-text {
    flex: 1;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .category-title {
        font-size: 2.5rem;
    }
}

.category-description {
    font-size: 14px;
    color: #94a3b8;
    max-width: 42rem;
    line-height: 1.6;
    margin: 0;
}

/* Main Content Area */
.category-main {
    background-color: #f8fafc;
    min-height: 100vh;
    padding: 3rem 0;
}

.category-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .category-grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* Posts Column */
.category-posts-column {
    min-width: 0;
}

/* Toolbar */
.category-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
    gap: 1rem;
}

.category-count {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #64748b;
}

.category-count span {
    color: #0f172a;
    font-weight: 700;
}

.category-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.category-sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 12px;
    color: #475569;
}

.category-sort-select {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-size: 12px;
    color: #0f172a;
    cursor: pointer;
}

.category-sort-select:focus {
    outline: none;
    border-color: #06b6d4;
}

.category-view-toggle {
    display: flex;
    gap: 0.25rem;
}

.category-view-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
}

.category-view-btn:hover {
    color: #0f172a;
}

.category-view-btn.active {
    background: #fff;
    color: #0f172a;
    border-color: #cbd5e1;
}

/* Posts Grid */
.category-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .category-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Post Card */
.category-post-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

.category-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.category-post-image {
    height: 192px;
    background: #0f172a;
    position: relative;
    overflow: hidden;
}

.category-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    opacity: 0.7;
    transition: all 0.5s ease;
}

.category-post-card:hover .category-post-image img {
    filter: grayscale(0%) contrast(1);
    opacity: 1;
    transform: scale(1.05);
}

.category-post-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #334155;
    font-size: 3rem;
    transition: color 0.3s ease;
}

.category-post-card:hover .category-post-placeholder {
    color: #06b6d4;
}

.category-post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-post-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(6, 182, 212, 0.9);
    padding: 0.25rem 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
}

.category-post-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-post-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.category-post-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.category-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.category-post-title a:hover {
    color: #3b82f6;
}

.category-post-excerpt {
    font-size: 12px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-post-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.category-post-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 10px;
    font-weight: 700;
    color: #475569;
}

.category-post-avatar {
    width: 20px;
    height: 20px;
    background: #e2e8f0;
    border-radius: 50%;
}

.category-post-link {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}

.category-post-link:hover {
    color: #3b82f6;
}

/* Pagination */
.category-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
}

.category-page-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s;
}

.category-page-btn:hover:not(.disabled):not(.active) {
    background: #f1f5f9;
    color: #0f172a;
}

.category-page-btn.active {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

.category-page-btn.disabled {
    color: #cbd5e1;
    cursor: not-allowed;
}

.category-page-dots {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

/* Empty State */
.category-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: #94a3b8;
}

.category-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.category-empty p {
    margin: 0;
}

/* Sidebar */
.category-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Widget */
.category-widget {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 1.5rem;
}

.category-widget-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f1f5f9;
}

/* Category Navigation */
.category-nav {
    display: flex;
    flex-direction: column;
}

.category-nav-link {
    display: block;
    padding: 0.625rem 0.75rem;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
    border-left: 2px solid transparent;
    border-radius: 0 4px 4px 0;
    transition: all 0.2s;
}

.category-nav-link:hover:not(.active) {
    background: #f1f5f9;
    color: #0f172a;
}

.category-nav-link.active {
    background: #0f172a;
    color: #fff;
    border-left-color: #06b6d4;
}

/* Tags */
.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-tag {
    padding: 0.25rem 0.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s;
}

.category-tag:hover {
    border-color: #06b6d4;
    color: #06b6d4;
}

.category-tag.active {
    background: #06b6d4;
    border-color: #06b6d4;
    color: #000;
}

/* Newsletter Widget */
.category-newsletter {
    background: #0f172a;
    padding: 1.5rem;
    border-radius: 4px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.category-newsletter-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #06b6d4;
    margin: 0 0 0.5rem 0;
}

.category-newsletter-text {
    font-size: 10px;
    color: #94a3b8;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.category-newsletter-form {
    display: flex;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.category-newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 0.75rem;
    font-size: 12px;
    color: #fff;
}

.category-newsletter-input::placeholder {
    color: #64748b;
}

.category-newsletter-input:focus {
    outline: none;
    border-color: #06b6d4;
}

.category-newsletter-btn {
    background: #06b6d4;
    border: none;
    padding: 0.5rem 0.75rem;
    color: #000;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.category-newsletter-btn:hover {
    background: #22d3ee;
}

.category-newsletter-icon {
    position: absolute;
    bottom: -0.5rem;
    right: -0.5rem;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

/* ============================================
   BLOG INDEX CINEMATIC STYLES
   ============================================ */

.blog-index-cinematic {
    min-height: 100vh;
    background-color: #f8fafc;
    font-family: 'Inter', sans-serif;
}

/* Hero Section */
.blog-index-hero {
    background-color: #050b14;
    padding: 5rem 0 6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.blog-index-hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    pointer-events: none;
}

.blog-index-hero-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

.blog-index-hero-top {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .blog-index-hero-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.blog-index-hero-left {
    flex: 1;
}

.blog-index-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #06b6d4;
    margin-bottom: 1rem;
}

.blog-index-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .blog-index-title {
        font-size: 3rem;
    }
}

/* Search */
.blog-index-search {
    width: 100%;
    max-width: 400px;
}

.blog-index-search-wrapper {
    position: relative;
}

.blog-index-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    transition: color 0.2s;
}

.blog-index-search-wrapper:focus-within .blog-index-search-icon {
    color: #06b6d4;
}

.blog-index-search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: #fff;
    transition: all 0.2s;
}

.blog-index-search-input::placeholder {
    color: #64748b;
}

.blog-index-search-input:focus {
    outline: none;
    border-color: #06b6d4;
    box-shadow: 0 0 0 1px #06b6d4;
}

.blog-index-search-hint {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #475569;
    border: 1px solid #334155;
    padding: 0.125rem 0.375rem;
    border-radius: 2px;
}

/* Filters */
.blog-index-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-index-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-index-filter-btn i {
    font-size: 14px;
}

.blog-index-filter-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.blog-index-filter-btn.active {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

/* Main Content */
.blog-index-main {
    background: #f8fafc;
    position: relative;
    z-index: 20;
    margin-top: -2.5rem;
}

.blog-index-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem 1.5rem;
}

/* Featured Row */
.blog-index-featured-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .blog-index-featured-row {
        grid-template-columns: 2fr 1fr;
    }
}

/* Featured Card */
.blog-index-featured-card {
    display: block;
    position: relative;
    min-height: 450px;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    background: #000;
}

.blog-index-featured-bg {
    position: absolute;
    inset: 0;
}

.blog-index-featured-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: all 0.7s ease;
}

.blog-index-featured-card:hover .blog-index-featured-bg img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.blog-index-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
}

.blog-index-featured-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

@media (min-width: 768px) {
    .blog-index-featured-content {
        padding: 2.5rem;
    }
}

.blog-index-featured-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.blog-index-featured-badge {
    background: #06b6d4;
    color: #000;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.75rem;
}

.blog-index-featured-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #cbd5e1;
}

.blog-index-featured-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem 0;
    line-height: 1.3;
    transition: color 0.2s;
}

@media (min-width: 768px) {
    .blog-index-featured-title {
        font-size: 2.25rem;
    }
}

.blog-index-featured-card:hover .blog-index-featured-title {
    color: #06b6d4;
}

.blog-index-featured-excerpt {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    max-width: 600px;
}

.blog-index-featured-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-index-featured-avatar {
    width: 24px;
    height: 24px;
    background: #06b6d4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #000;
}

.blog-index-featured-divider {
    color: #64748b;
}

/* Sidebar Column */
.blog-index-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Trending Card */
.blog-index-trending-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-index-trending-card:hover {
    border-color: #06b6d4;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.blog-index-trending-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.blog-index-trending-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    text-transform: uppercase;
    color: #94a3b8;
    border: 1px solid #e2e8f0;
    padding: 0.125rem 0.375rem;
    border-radius: 2px;
}

.blog-index-trending-top i {
    color: #cbd5e1;
    transition: color 0.2s;
}

.blog-index-trending-card:hover .blog-index-trending-top i {
    color: #06b6d4;
}

.blog-index-trending-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    transition: color 0.2s;
}

.blog-index-trending-card:hover .blog-index-trending-title {
    color: #3b82f6;
}

.blog-index-trending-excerpt {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Newsletter in sidebar */
.blog-index-newsletter {
    background: #0f172a;
    border-radius: 4px;
    padding: 1.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.blog-index-newsletter-icon {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.5rem;
    opacity: 0.1;
    font-size: 4rem;
}

.blog-index-newsletter-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #06b6d4;
    margin: 0 0 0.5rem 0;
}

.blog-index-newsletter-text {
    font-size: 10px;
    color: #94a3b8;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.blog-index-newsletter-form {
    display: flex;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.blog-index-newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 0.75rem;
    font-size: 12px;
    color: #fff;
}

.blog-index-newsletter-input::placeholder {
    color: #64748b;
}

.blog-index-newsletter-input:focus {
    outline: none;
    border-color: #06b6d4;
}

.blog-index-newsletter-btn {
    background: #06b6d4;
    border: none;
    padding: 0.5rem 0.75rem;
    color: #000;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.blog-index-newsletter-btn:hover {
    background: #22d3ee;
}

/* Section Header */
.blog-index-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    margin-top: 3rem;
    border-bottom: 1px solid #e2e8f0;
}

.blog-index-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.blog-index-section-bar {
    width: 8px;
    height: 32px;
    background: #3b82f6;
}

.blog-index-section-nav {
    display: flex;
    gap: 0.5rem;
}

.blog-index-nav-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-index-nav-btn:hover:not(.disabled) {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.blog-index-nav-btn.disabled {
    color: #cbd5e1;
    cursor: not-allowed;
}

/* Articles Grid */
.blog-index-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .blog-index-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog-index-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Article Card */
.blog-index-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.blog-index-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #06b6d4;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.blog-index-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #06b6d4;
}

.blog-index-card:hover::before {
    transform: scaleX(1);
}

.blog-index-card-link {
    display: block;
    text-decoration: none;
    height: 100%;
}

.blog-index-card-image {
    height: 192px;
    background: #0f172a;
    position: relative;
    overflow: hidden;
}

.blog-index-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    opacity: 0.7;
    transition: all 0.5s ease;
}

.blog-index-card:hover .blog-index-card-image img {
    filter: grayscale(0%) contrast(1);
    opacity: 1;
    transform: scale(1.05);
}

.blog-index-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #334155;
    font-size: 3rem;
    transition: color 0.3s ease;
}

.blog-index-card:hover .blog-index-card-placeholder {
    color: #06b6d4;
}

.blog-index-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-index-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: calc(100% - 192px);
}

.blog-index-card-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.blog-index-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
    transition: color 0.2s;
}

.blog-index-card:hover .blog-index-card-title {
    color: #3b82f6;
}

.blog-index-card-excerpt {
    font-size: 12px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    flex: 1;
}

.blog-index-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.blog-index-card-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-index-card-avatar {
    width: 20px;
    height: 20px;
    background: #e2e8f0;
    border-radius: 50%;
}

.blog-index-card-author span {
    font-size: 10px;
    font-weight: 700;
    color: #475569;
}

.blog-index-card-read {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: transform 0.2s;
}

.blog-index-card-read i {
    color: #3b82f6;
}

.blog-index-card:hover .blog-index-card-read {
    transform: translateX(4px);
}

/* Load More */
.blog-index-load-more {
    margin-top: 4rem;
    text-align: center;
}

.blog-index-load-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-index-load-btn:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

/* Empty State */
.blog-index-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: #94a3b8;
}

.blog-index-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.blog-index-empty p {
    margin: 0;
}


