/* Blog Details Page Styles */
.blog-details-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/nature.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
}

.blog-details-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'SolaimanLipi', 'Tiro Bangla', serif;
}

.blog-details-header .breadcrumb {
    margin-bottom: 30px;
    font-size: 0.9rem;
    justify-content: center;
}

.blog-details-header .breadcrumb a {
    color: #ddd;
    text-decoration: none;
}

.blog-details-header .breadcrumb span {
    color: #fff;
    font-weight: 500;
}

.blog-details-header .blog-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    font-size: 0.9rem;
}

.blog-details-header .blog-meta span {
    display: flex;
    align-items: center;
}

.blog-details-header .blog-meta i {
    margin-right: 5px;
    font-size: 0.8rem;
}

/* Blog Content Styles */
.blog-details-container {
    padding-bottom: 60px;
}

.blog-details-content .featured-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-details-content .featured-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.blog-details-content .featured-image:hover img {
    transform: scale(1.02);
}

.blog-details-content .image-caption {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

.blog-details-content .blog-categories {
    margin-bottom: 20px;
}

.blog-details-content .blog-categories .badge {
    font-size: 0.75rem;
    padding: 5px 10px;
    margin-right: 8px;
    font-weight: 500;
    border-radius: 4px;
}

.blog-details-content .content {
    font-family: 'SolaimanLipi', 'Tiro Bangla', serif;
    line-height: 1.8;
    color: #444;
    font-size: 1.05rem;
}

.blog-details-content .content p {
    margin-bottom: 1.5rem;
}

.blog-details-content .content .lead {
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
    margin-bottom: 2rem;
}

.blog-details-content .section-title {
    font-size: 1.5rem;
    margin: 2.5rem 0 1.5rem;
    color: #2c3e50;
    position: relative;
    padding-bottom: 10px;
    font-family: 'SolaimanLipi', 'Tiro Bangla', serif;
}

.blog-details-content .section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: #3498db;
}

.blog-details-content blockquote {
    border-left: 4px solid #3498db;
    padding: 20px;
    background: #f8f9fa;
    margin: 25px 0;
    font-style: italic;
    color: #555;
}

.blog-details-content blockquote footer {
    font-size: 0.9rem;
    color: #777;
    margin-top: 10px;
}

.blog-details-content .modern-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.blog-details-content .modern-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.blog-details-content .modern-features i {
    color: #3498db;
    margin-right: 10px;
    font-size: 1.1rem;
}

.blog-details-content .comparison-table {
    margin: 30px 0;
    overflow-x: auto;
}

.blog-details-content .comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.blog-details-content .comparison-table th {
    background: #3498db;
    color: #fff;
    padding: 12px;
    text-align: left;
}

.blog-details-content .comparison-table td {
    padding: 12px;
    border: 1px solid #dee2e6;
}

.blog-details-content .comparison-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.blog-details-content ol,
.blog-details-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.blog-details-content ol li,
.blog-details-content ul li {
    margin-bottom: 10px;
}

.blog-details-content .conclusion-box {
    background: #f0f7ff;
    border-left: 4px solid #3498db;
    border-radius: 0 4px 4px 0;
}

.blog-details-content .conclusion-box h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.blog-details-content .conclusion-box i {
    color: #3498db;
}

.blog-details-content .blog-tags {
    margin: 30px 0;
}

.blog-details-content .blog-tags .tag {
    display: inline-block;
    padding: 5px 12px;
    background: #f1f1f1;
    border-radius: 30px;
    margin-right: 8px;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-details-content .blog-tags .tag:hover {
    background: #3498db;
    color: #fff;
}

/* Author Box Styles */
.author-box {
    background: #f8f9fa;
    border-radius: 8px;
    margin: 40px 0;
}

.author-box .author-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.author-box h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.author-box .author-bio {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.author-box .author-social a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #e9ecef;
    color: #555;
    border-radius: 50%;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.author-box .author-social a:hover {
    background: #3498db;
    color: #fff;
}

/* Navigation Buttons */
.navigation-buttons .btn-outline-primary {
    border-color: #3498db;
    color: #3498db;
    padding: 8px 20px;
}

.navigation-buttons .btn-outline-primary:hover {
    background: #3498db;
    color: #fff;
}

/* Related Posts */
.related-posts .card {
    border: none;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.related-posts .card:hover {
    transform: translateY(-5px);
}

.related-posts .card-img-top {
    height: 180px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.related-posts .card-body {
    padding: 20px;
}

.related-posts .card-title {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.related-posts .card-text {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
}

.related-posts .btn-primary {
    padding: 5px 15px;
    font-size: 0.8rem;
}

/* Comments Section */
.comments-section h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.comments-section h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: #3498db;
}

.comment-form h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.comment-form .form-control {
    margin-bottom: 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 12px 15px;
}

.comment-form textarea {
    min-height: 150px;
}

.comment-form .btn-primary {
    padding: 10px 25px;
}

.comment-list .comment {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.comment-list .comment:last-child {
    border-bottom: none;
}

.comment-header {
    margin-bottom: 15px;
}

.comment-author img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.comment-author h5 {
    font-size: 1rem;
    margin-bottom: 0;
    color: #2c3e50;
}

.comment-date {
    font-size: 0.8rem;
    color: #777;
}

.comment-body p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 10px;
}

.reply-btn {
    font-size: 0.85rem;
    color: #3498db;
    text-decoration: none;
}

.reply-btn:hover {
    text-decoration: underline;
}

.comment-reply {
    border-left: 3px solid #eee;
    padding-left: 15px;
    margin-top: 15px;
}

.comment-reply .comment-author img {
    width: 40px;
    height: 40px;
}

.comment-reply .comment-author h6 {
    font-size: 0.9rem;
}

/* Sidebar Styles */
.sidebar {
    background: #fff;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f1f1;
    font-family: 'SolaimanLipi', 'Tiro Bangla', serif;
}

.search-form {
    position: relative;
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 0.9rem;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 35px;
    height: 35px;
    border: none;
    background: #3498db;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list li a {
    display: flex;
    justify-content: space-between;
    color: #555;
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    transition: all 0.3s ease;
}

.category-list li a:hover {
    color: #3498db;
    padding-left: 5px;
}

.category-list li a span {
    background: #f1f1f1;
    padding: 2px 8px;
    border-radius: 30px;
    font-size: 0.7rem;
}

.popular-post {
    display: flex;
    margin-bottom: 15px;
}

.popular-post-img {
    width: 80px;
    height: 80px;
    min-width: 80px;
    margin-right: 15px;
    border-radius: 4px;
    overflow: hidden;
}

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

.popular-post-content h5 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    color: #2c3e50;
    line-height: 1.4;
}

.popular-post-content p {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 0;
}

.popular-post-content i {
    margin-right: 3px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags-container .tag {
    display: inline-block;
    padding: 5px 12px;
    background: #f1f1f1;
    border-radius: 30px;
    font-size: 0.8rem;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tags-container .tag:hover {
    background: #3498db;
    color: #fff;
}

.newsletter-form {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
}

.newsletter-form p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.newsletter-input-group {
    display: flex;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 0.9rem;
}

.newsletter-btn {
    padding: 0 20px;
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #2980b9;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .blog-details-header {
        padding: 100px 0 60px;
    }
    
    .blog-details-header h1 {
        font-size: 2rem;
    }
    
    .blog-details-header .blog-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .author-box .col-md-3 {
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .blog-details-header {
        padding: 80px 0 50px;
    }
    
    .blog-details-header h1 {
        font-size: 1.8rem;
    }
    
    .navigation-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .navigation-buttons .btn {
        width: 100%;
    }
    
    .related-posts .col-md-4 {
        margin-bottom: 20px;
    }
    
    .comment-reply {
        margin-left: 20px;
    }
}