/* Modern Blog Post Styles */

.blog-post-article {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    position: relative;
    padding: 100px 0 80px;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Featured Image */
.blog-post-featured-image {
    position: relative;
    width: 100%;
    margin: 48px 0 56px;
    border-radius: 20px;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.blog-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(15, 23, 42, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.blog-post-featured-image:hover img {
    transform: scale(1.02);
    box-shadow: 
        0 28px 80px rgba(15, 23, 42, 0.2),
        0 12px 28px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

/* Main Wrapper */
.blog-post-wrapper {
    position: relative;
    padding: 0;
}

.blog-post-container {
    max-width: 840px;
    margin: 0 auto;
    padding: 64px 48px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 36px;
    box-shadow: 
        0 32px 64px rgba(15, 23, 42, 0.12),
        0 8px 16px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset,
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    animation: containerFadeIn 0.8s ease-out 0.2s both;
}

@keyframes containerFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-post-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.05) 0%, 
        rgba(59, 130, 246, 0.03) 30%,
        rgba(147, 197, 253, 0.02) 60%,
        rgba(255, 255, 255, 0.01) 100%);
    opacity: 1;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.blog-post-container > * {
    position: relative;
    z-index: 1;
}

/* Breadcrumb */
.blog-post-breadcrumb {
    margin-bottom: 40px;
    padding-top: 8px;
    animation: fadeInLeft 0.6s ease-out 0.4s both;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.blog-post-breadcrumb__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 16px;
    border-radius: 12px;
    margin-left: -16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.blog-post-breadcrumb__link:hover {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
    transform: translateX(-4px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.blog-post-breadcrumb__link .blog-post-breadcrumb__arrow {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.blog-post-breadcrumb__link:hover .blog-post-breadcrumb__arrow {
    transform: translateX(-2px);
}

/* Header */
.blog-post-header {
    margin-bottom: 0;
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.blog-post-date {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
    padding: 10px 20px;
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.08) 0%, 
        rgba(59, 130, 246, 0.05) 100%);
    border-radius: 14px;
    border: 1px solid rgba(37, 99, 235, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 12px rgba(37, 99, 235, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
    margin-right: -20px;
    flex-shrink: 0;
}

.blog-post-date:hover {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.12) 0%, 
        rgba(59, 130, 246, 0.08) 100%);
    border-color: rgba(37, 99, 235, 0.25);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 16px rgba(37, 99, 235, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.blog-post-date__icon {
    flex-shrink: 0;
    color: var(--primary);
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.2));
}

.blog-post-title {
    font-size: clamp(40px, 6.5vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--fg);
    margin: 0 0 32px;
    background: linear-gradient(135deg, 
        var(--fg) 0%, 
        #374151 50%,
        #4b5563 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    padding-bottom: 16px;
}

.blog-post-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, 
        var(--primary) 0%, 
        #60a5fa 50%,
        transparent 100%);
    border-radius: 3px;
    opacity: 0.6;
}

/* Content */
.blog-post-content {
    font-size: 20px;
    line-height: 1.9;
    color: var(--fg);
    max-width: 100%;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.blog-post-content p {
    margin: 0 0 32px;
    text-align: justify;
    hyphens: auto;
    word-spacing: 0.05em;
}

.blog-post-content p:first-of-type {
    font-size: 22px;
    line-height: 1.85;
    color: var(--fg);
    font-weight: 400;
    margin-bottom: 40px;
    padding: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
}

.blog-post-content h2 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--fg);
    margin: 64px 0 28px;
    letter-spacing: -0.015em;
    position: relative;
    padding-top: 20px;
    padding-left: 20px;
    border-left: 4px solid transparent;
    border-image: linear-gradient(180deg, 
        var(--primary) 0%, 
        #60a5fa 100%) 1;
}

.blog-post-content h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, 
        var(--primary) 0%, 
        #60a5fa 70%,
        transparent 100%);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.blog-post-content h2::after {
    content: '';
    position: absolute;
    top: 0;
    left: -4px;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, 
        var(--primary) 0%, 
        rgba(37, 99, 235, 0.3) 100%);
    border-radius: 2px;
    opacity: 0.6;
}

.blog-post-content h3 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--fg);
    margin: 48px 0 20px;
    letter-spacing: -0.005em;
}

.blog-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--fg);
    margin: 36px 0 16px;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 28px 0;
    padding-left: 0;
    list-style: none;
}

.blog-post-content ul li,
.blog-post-content ol li {
    position: relative;
    padding-left: 32px;
    margin: 16px 0;
    line-height: 1.8;
    color: var(--fg);
}

.blog-post-content ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 20px;
    text-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
    transition: transform 0.2s ease;
}

.blog-post-content ul li:hover::before {
    transform: translateX(2px);
}

.blog-post-content ol {
    counter-reset: list-counter;
}

.blog-post-content ol li {
    counter-increment: list-counter;
}

.blog-post-content ol li::before {
    content: counter(list-counter) '.';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
    text-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.blog-post-content a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 2px solid rgba(37, 99, 235, 0.25);
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        text-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
}

.blog-post-content a:hover {
    color: #1d4ed8;
    border-bottom-color: var(--primary);
    border-bottom-width: 3px;
    text-shadow: 0 1px 2px rgba(37, 99, 235, 0.1);
}

.blog-post-content img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    margin: 48px 0;
    box-shadow: 
        0 24px 72px rgba(15, 23, 42, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.blog-post-content img:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 
        0 32px 96px rgba(15, 23, 42, 0.2),
        0 12px 24px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.blog-post-content blockquote {
    margin: 48px 0;
    padding: 32px 40px;
    border-left: 5px solid var(--primary);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.18) 0%, 
        rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: #374151;
    font-size: 21px;
    line-height: 1.75;
    position: relative;
    box-shadow: 
        0 12px 32px rgba(15, 23, 42, 0.08),
        0 4px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-content blockquote:hover {
    transform: translateX(4px);
    box-shadow: 
        0 16px 40px rgba(15, 23, 42, 0.12),
        0 6px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.15);
}

.blog-post-content blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 64px;
    color: var(--primary);
    opacity: 0.15;
    font-family: var(--font-family-base);
    line-height: 1;
}

.blog-post-content code {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.1) 0%, 
        rgba(59, 130, 246, 0.08) 100%);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.9em;
    font-family: var(--font-family-base);
    color: #1e40af;
    font-weight: 500;
    border: 1px solid rgba(37, 99, 235, 0.15);
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.1);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.blog-post-content code:hover {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.15) 0%, 
        rgba(59, 130, 246, 0.12) 100%);
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.15);
}

.blog-post-content pre {
    background: linear-gradient(135deg, 
        #1f2937 0%, 
        #111827 100%);
    color: #f9fafb;
    padding: 28px;
    border-radius: 16px;
    overflow-x: auto;
    margin: 40px 0;
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.blog-post-content pre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--primary) 0%, 
        #60a5fa 50%,
        var(--primary) 100%);
    border-radius: 16px 16px 0 0;
}

.blog-post-content pre code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: 15px;
    border: none;
    box-shadow: none;
}

.blog-post-content pre code:hover {
    background: none;
    border: none;
    box-shadow: none;
}

.blog-post-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(37, 99, 235, 0.2) 20%,
        var(--border) 50%,
        rgba(37, 99, 235, 0.2) 80%,
        transparent 100%);
    margin: 56px 0;
    position: relative;
}

.blog-post-content hr::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
}

/* Footer */
.blog-post-footer {
    margin-top: 80px;
    animation: fadeInUp 0.6s ease-out 0.8s both;
}


.blog-post-back-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--primary);
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    padding: 16px 32px;
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.08) 0%, 
        rgba(59, 130, 246, 0.05) 100%);
    border: 2px solid rgba(37, 99, 235, 0.2);
    border-radius: 16px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 16px rgba(37, 99, 235, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.blog-post-back-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%);
    transition: left 0.5s ease;
}

.blog-post-back-link:hover::before {
    left: 100%;
}

.blog-post-back-link:hover {
    background: linear-gradient(135deg, 
        var(--primary) 0%, 
        #3b82f6 100%);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateX(-6px) translateY(-2px);
    box-shadow: 
        0 12px 32px rgba(37, 99, 235, 0.35),
        0 4px 12px rgba(37, 99, 235, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.blog-post-back-link .blog-post-back-link__arrow {
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.2));
}

.blog-post-back-link:hover .blog-post-back-link__arrow {
    transform: translateX(-4px);
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.4));
}

/* Responsive */
@media (max-width: 768px) {
    .blog-post-article {
        padding: 60px 0 40px;
    }
    
    .blog-post-breadcrumb {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .blog-post-date {
        margin-right: 0;
        margin-left: auto;
    }
    
    .blog-post-featured-image {
        margin: 32px 0 40px;
        border-radius: 16px;
    }
    
    .blog-post-featured-image img {
        border-radius: 16px;
    }
    
    .blog-post-container {
        padding: 40px 24px;
        border-radius: 28px;
    }
    
    .blog-post-title {
        font-size: 36px;
        padding-bottom: 12px;
    }
    
    .blog-post-title::after {
        width: 60px;
        height: 4px;
    }
    
    .blog-post-content {
        font-size: 18px;
    }
    
    .blog-post-content p:first-of-type {
        font-size: 20px;
    }
    
    .blog-post-content h2 {
        font-size: 30px;
        margin-top: 48px;
        padding-top: 16px;
        padding-left: 16px;
    }
    
    .blog-post-content h2::before {
        width: 60px;
        height: 4px;
    }
    
    .blog-post-content h3 {
        font-size: 24px;
        margin-top: 40px;
    }
    
    .blog-post-content blockquote {
        padding: 24px 28px;
        font-size: 19px;
    }
    
    .blog-post-container,
    .blog-post-featured-image img,
    .blog-post-breadcrumb__link,
    .blog-post-date,
    .blog-post-content img,
    .blog-post-content blockquote,
    .blog-post-content code,
    .blog-post-content pre,
    .blog-post-back-link {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .blog-post-container {
        box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
    }

    .blog-post-featured-image img,
    .blog-post-content img {
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.15);
    }

    .blog-post-content blockquote {
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    }

    .blog-post-content pre {
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    }

    .blog-post-date,
    .blog-post-breadcrumb__link,
    .blog-post-back-link {
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
    }

    .blog-post-content code {
        box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12);
    }

    .blog-post-back-link {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .blog-post-footer {
        margin-top: 60px;
    }
}

/* Dark theme support */
body.theme-dark .blog-post-container {
    background: linear-gradient(135deg, 
        rgba(31, 41, 55, 0.7) 0%, 
        rgba(17, 24, 39, 0.6) 50%,
        rgba(31, 41, 55, 0.5) 100%);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.4),
        0 8px 16px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body.theme-dark .blog-post-container::before {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.08) 0%, 
        rgba(59, 130, 246, 0.05) 30%,
        rgba(147, 197, 253, 0.03) 60%,
        rgba(255, 255, 255, 0.01) 100%);
}

body.theme-dark .blog-post-title {
    background: linear-gradient(135deg, 
        #f9fafb 0%, 
        #e5e7eb 50%,
        #d1d5db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.theme-dark .blog-post-content {
    color: #e5e7eb;
}

body.theme-dark .blog-post-content p:first-of-type {
    color: #e5e7eb;
    background: none;
    border: none;
}

body.theme-dark .blog-post-content blockquote {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.06) 100%);
    border-color: rgba(255, 255, 255, 0.18);
    color: #cbd5e1;
}

body.theme-dark .blog-post-content code {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.2) 0%, 
        rgba(59, 130, 246, 0.15) 100%);
    color: #93c5fd;
    border-color: rgba(37, 99, 235, 0.3);
}

body.theme-dark .blog-post-content code:hover {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.25) 0%, 
        rgba(59, 130, 246, 0.2) 100%);
    border-color: rgba(37, 99, 235, 0.4);
}

body.theme-dark .blog-post-breadcrumb__link {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #d1d5db;
}

body.theme-dark .blog-post-breadcrumb__link:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
    color: #93c5fd;
}

body.theme-dark .blog-post-date {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.12) 0%, 
        rgba(59, 130, 246, 0.08) 100%);
    border-color: rgba(37, 99, 235, 0.2);
    color: #cbd5e1;
}

body.theme-dark .blog-post-date:hover {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.18) 0%, 
        rgba(59, 130, 246, 0.12) 100%);
    border-color: rgba(37, 99, 235, 0.3);
}

@media (max-width: 768px) {
    body.theme-dark .blog-post-container {
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
    }

    body.theme-dark .blog-post-content blockquote {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }

    body.theme-dark .blog-post-content pre {
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    }

    body.theme-dark .blog-post-date,
    body.theme-dark .blog-post-breadcrumb__link,
    body.theme-dark .blog-post-back-link {
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    }
}

/* Dark theme - прозрачный фон body на десктопе, чтобы было видно фоновое изображение */
@media (min-width: 769px) {
    body.theme-dark.template-blogpostpage {
        background: transparent !important;
    }
}

/* Убеждаемся, что контент находится поверх фона */
body.theme-dark.template-blogpostpage .blog-post-article {
    position: relative;
    z-index: 1;
}

