.blog-detail-hero {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover !important;
    background-position: center !important;
}

.blog-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
}

.blog-detail-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.blog-detail-hero .hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
}

.breadcrumb-wrapper {
    font-size: 0.95rem;
}

.breadcrumb-wrapper a:hover {
    text-decoration: underline !important;
}

.blog-content-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.blog-detail-page .blog-content {
    font-size: 1.125rem;
    line-height: 1.9;
    color: #2d3748;
    font-family: 'Georgia', serif;
}

.blog-detail-page .blog-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 3rem 0 1.5rem;
    color: #1a202c;
    line-height: 1.3;
    border-bottom: 3px solid #007bff;
    padding-bottom: 0.5rem;
}

.blog-detail-page .blog-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 2.5rem 0 1.25rem;
    color: #1a202c;
    line-height: 1.4;
    position: relative;
    padding-left: 20px;
}

.blog-detail-page .blog-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #007bff, #0056b3);
    border-radius: 2px;
}

.blog-detail-page .blog-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #2d3748;
}

.blog-detail-page .blog-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: #4a5568;
}

.blog-detail-page .blog-content p {
    margin-bottom: 1.75rem;
    text-align: justify;
}

.blog-detail-page .blog-content p:first-of-type::first-letter {
    font-size: 4rem;
    font-weight: 700;
    float: left;
    line-height: 1;
    margin: 0 0.1em 0 0;
    color: #007bff;
}

.blog-detail-page .blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.blog-detail-page .blog-content ul,
.blog-detail-page .blog-content ol {
    margin-bottom: 1.75rem;
    padding-left: 2.5rem;
}

.blog-detail-page .blog-content li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.blog-detail-page .blog-content ul li::marker {
    color: #007bff;
    font-weight: bold;
}

.blog-detail-page .blog-content ol li::marker {
    color: #007bff;
    font-weight: bold;
}

.blog-detail-page .blog-content blockquote {
    background: #f8f9fa;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: #4a5568;
    border-radius: 0 8px 8px 0;
    position: relative;
}

.blog-detail-page .blog-content blockquote::before {
    content: '\201C';
    font-size: 4rem;
    position: absolute;
    left: 10px;
    top: -10px;
    color: #007bff;
    opacity: 0.3;
}

.blog-detail-page .blog-content a {
    color: #007bff;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.blog-detail-page .blog-content a:hover {
    color: #0056b3;
}

.blog-detail-page .blog-content code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--primary-color-solid);
    font-family: 'Courier New', monospace;
}

.blog-detail-page .blog-content pre {
    background: #2d3748;
    color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
}

.blog-detail-page .blog-content pre code {
    background: none;
    color: #fff;
    padding: 0;
}

.blog-detail-page .blog-content table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
}

.blog-detail-page .blog-content table th,
.blog-detail-page .blog-content table td {
    padding: 12px;
    border: 1px solid #dee2e6;
    text-align: left;
}

.blog-detail-page .blog-content table th {
    background: #007bff;
    color: white;
    font-weight: 600;
}

.blog-detail-page .blog-content table tr:nth-child(even) {
    background: #f8f9fa;
}

.share-section .btn {
    border-radius: 8px;
}

.blog-detail-page .sidebar-sticky {
    position: sticky;
    top: 100px;
}

.popular-post-item a:hover h6 {
    color: #007bff !important;
}



@media (max-width: 768px) {
    .blog-detail-hero {
        min-height: 350px;
    }

    .blog-detail-hero .hero-title {
        font-size: 2rem;
    }

    .blog-content-wrapper {
        padding: 2rem 1.5rem;
        margin-top: -30px;
    }

    .blog-detail-page .blog-content {
        font-size: 1.05rem;
    }

    .blog-detail-page .blog-content h1 {
        font-size: 1.75rem;
    }

    .blog-detail-page .blog-content h2 {
        font-size: 1.5rem;
    }

    .blog-detail-page .blog-content h3 {
        font-size: 1.25rem;
    }

    .blog-detail-page .blog-content p:first-of-type::first-letter {
        font-size: 3rem;
    }

    .blog-detail-page .blog-content p {
        text-align: left;
    }

    .blog-detail-page .sidebar-sticky {
        position: static;
        margin-top: 3rem;
    }
}
