/* Blog Header */
.blog-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a6e 100%);
    padding: 80px 0;
}

/* Blog Cards */
.blog-post-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-post-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.blog-post-card .card-title {
    margin-top: 0.75rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.blog-post-card .card-text {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Featured Post */
.featured-post {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.featured-post .card-img-top {
    height: 400px;
    object-fit: cover;
}

.featured-post .card-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.featured-post .card-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Sidebar */
.blog-sidebar .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.blog-sidebar .card-body {
    padding: 1.5rem;
}

.blog-sidebar h3 {
    color: var(--primary-color);
    font-weight: 600;
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Popular Posts */
.popular-post img {
    object-fit: cover;
}

.popular-post h4 {
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.popular-post a:hover h4 {
    color: var(--primary-color);
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-color);
    border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-color);
}

.pagination .page-link:hover {
    color: var(--primary-color);
    background-color: #f8f9fa;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .featured-post .card-img-top {
        height: 300px;
    }
    
    .featured-post .card-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .blog-header {
        padding: 60px 0;
    }
    
    .featured-post .card-img-top {
        height: 250px;
    }
    
    .blog-post-card .card-img-top {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .featured-post .card-title {
        font-size: 1.5rem;
    }
    
    .featured-post .card-text {
        font-size: 1rem;
    }
}



/*Blog POST*/

/* Blog Post Header */
.blog-post-header {
    background-color: #fff;
    padding-top: 80px;
}

.blog-post-header h1 {
    color: var(--dark-color);
    line-height: 1.3;
}

/* Featured Image */
.featured-image img {
    max-height: 500px;
    width: 100%;
    object-fit: cover;
}

/* Article Content */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.article-content h2 {
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.article-content ul, .article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
}

.article-content table {
    margin: 2rem 0;
}

.article-content table th {
    background-color: var(--light-color);
}

/* Author Bio */
.author-bio {
    background-color: var(--light-color);
}

.author-bio img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

/* Comments */
.comment {
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

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

.comment-reply {
    padding-left: 1.5rem;
    margin-left: 1.5rem;
    border-left: 2px solid var(--primary-color);
}

.comment-form {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
}

/* Related Posts */
.related-posts .card {
    transition: transform 0.3s ease;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .blog-post-header {
        padding-top: 60px;
    }
    
    .blog-post-header h1 {
        font-size: 2rem;
    }
    
    .featured-image img {
        max-height: 300px;
    }
    
    .article-content {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .author-bio {
        flex-direction: column;
    }
    
    .author-bio img {
        margin-bottom: 1rem;
        margin-right: 0;
    }
}