/* Blog Detail CSS */

.blog-detail-hero {
    height: 70vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
    color: var(--pure-white);
}

.blog-detail-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.4) 100%);
}

.blog-detail-hero .container {
    position: relative;
    z-index: 2;
}

.blog-detail-hero h1 {
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.2;
    max-width: 900px;
}

.blog-meta-top {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .blog-meta-top {
        font-size: 0.75rem;
    }
}

.blog-meta-top span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Content Area */
.blog-content-wrapper {
    padding: 40px 0;
    background: #fff;
}

.blog-main-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.blog-main-content h1, 
.blog-main-content h2, 
.blog-main-content h3 {
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.blog-main-content p {
    margin-bottom: 25px;
}

.blog-main-content img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    margin: 30px 0;
}

.blog-main-content blockquote {
    background: #f0f7ff;
    border-left: 5px solid var(--primary-blue);
    padding: 30px 40px;
    margin: 40px 0;
    border-radius: 0 20px 20px 0;
    font-style: italic;
    font-size: 1.4rem;
    color: #113d48;
}

.blog-main-content ul, 
.blog-main-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.blog-main-content li {
    margin-bottom: 10px;
}

/* Sidebar Placeholder (Future-ready) */
.blog-sidebar {
    padding-left: 30px;
}

.sidebar-widget {
    background: #f8fbff;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.sidebar-widget h4 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.recent-post-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-info h5 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.recent-post-info span {
    font-size: 0.8rem;
    color: #888;
}

@media (max-width: 991px) {
    .blog-detail-hero h1 {
        font-size: 2.8rem;
    }
    .blog-sidebar {
        padding-left: 0;
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .blog-detail-hero h1 {
        font-size: 2.22rem;
    }
    .blog-detail-hero {
        height: 400px;
    }
}
