/* Blog Detail Page Styles */
.blog-detail-page {
    background-color: #f8f4f3;
    padding: 40px 0 80px;
    min-height: 100vh;
}

/* Hero Section */
.blog-hero {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
}

.blog-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    padding: 60px 40px 40px;
}

.blog-hero-title {
    color: white;
    font-size: 42px;
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
}

/* Blog Meta Info */
.blog-detail-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dee2e6;
}

.blog-detail-date,
.blog-detail-author {
    color: #6c757d;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-detail-date i,
.blog-detail-author i {
    color: #f84525;
}

/* Blog Content */
.blog-detail-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 50px;
}

.blog-intro {
    font-size: 17px;
    line-height: 1.8;
    color: #212529;
    margin-bottom: 20px;
    font-weight: 500;
}

.blog-detail-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 20px;
}

.blog-detail-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #212529;
    margin-top: 40px;
    margin-bottom: 20px;
}

.blog-conclusion-title {
    margin-top: 50px;
}

.blog-conclusion {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
}

/* Recent Blogs Section */
.recent-blogs-section {
    margin-top: 60px;
}

.recent-blogs-script {
    font-family: 'Caveat', cursive;
    color: #f84525;
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: 600;
}

.recent-blogs-title {
    font-size: 36px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 15px;
}

.recent-blogs-subtitle {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 30px;
}

.text-highlight {
    color: #f84525;
    font-weight: 600;
}

/* Similar Blog Cards */
.similar-blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.similar-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.similar-blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.similar-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.similar-blog-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px 20px 20px;
}

.similar-blog-title {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.similar-blog-content {
    padding: 20px;
}

.similar-blog-excerpt {
    color: #495057;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Blog Meta (reused styles) */
.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.blog-date {
    color: #6c757d;
    font-size: 13px;
}

.blog-category {
    background-color: #f84525;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.blog-read-more {
    color: #f84525;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: gap 0.3s ease;
}

.blog-read-more:hover {
    gap: 12px;
    color: #d63619;
}

/* Sidebar */
.blog-detail-sidebar {
    position: sticky;
    top: 100px;
}

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

.widget-title {
    font-size: 22px;
    font-weight: 700;
    color:#fff;
    margin-bottom: 25px;
}

/* Widget Search */
.widget-search .form-control {
    border: 1px solid #dee2e6;
    border-radius: 8px 0 0 8px;
    padding: 12px 16px;
    font-size: 14px;
}

.widget-search .form-control:focus {
    border-color: #f84525;
    box-shadow: none;
}

.btn-search {
    background-color: white;
    border: 1px solid #dee2e6;
    border-left: none;
    border-radius: 0 8px 8px 0;
    color: #6c757d;
    padding: 12px 20px;
}

.btn-search:hover {
    background-color: #f8f9fa;
    color: #f84525;
}

/* Widget Subtitle */
.widget-subtitle {
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 20px;
    margin-top: 30px;
}

/* Recent Posts List */
.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.recent-posts-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-posts-list a {
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.recent-posts-list a:hover {
    color: #f84525;
}

/* Categories List */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: 12px;
}

.categories-list a {
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.categories-list a:hover {
    color: #f84525;
}

/* Archives List */
.archives-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.archives-list li {
    margin-bottom: 12px;
}

.archives-list a {
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.archives-list a:hover {
    color: #f84525;
}

/* Responsive Design */
@media (max-width: 991px) {
    .blog-hero {
        height: 400px;
    }
    
    .blog-hero-title {
        font-size: 32px;
    }
    
    .blog-hero-overlay {
        padding: 40px 30px 30px;
    }
    
    .blog-detail-content {
        padding: 30px 25px;
    }
    
    .blog-detail-sidebar {
        margin-top: 40px;
        position: static;
    }
    
    .recent-blogs-script {
        font-size: 30px;
    }
    
    .recent-blogs-title {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .blog-hero {
        height: 300px;
    }
    
    .blog-hero-title {
        font-size: 24px;
    }
    
    .blog-hero-overlay {
        padding: 30px 20px 20px;
    }
    
    .blog-detail-content {
        padding: 25px 20px;
    }
    
    .blog-detail-content h2 {
        font-size: 20px;
    }
    
    .blog-detail-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .recent-blogs-script {
        font-size: 26px;
    }
    
    .recent-blogs-title {
        font-size: 24px;
    }
}
