/* Blog List Page Styles */
.blog-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

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

.blog-card-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.blog-card-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

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

.category-badge-wrapper {
    position: relative;
    margin-top: -20px;
    z-index: 1;
}

.category-badge {
    display: inline-block;
    padding: 5px 15px;
    background-color: #007bff;
    color: #fff;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.category-badge:hover {
    background-color: #0056b3;
    color: #fff;
}

.blog-title {
    font-size: 1.5rem;
    margin: 15px 0;
}

.blog-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: #007bff;
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.blog-meta span {
    margin-left: 15px;
}

.blog-meta i {
    margin-left: 5px;
}

/* Blog Detail Page Styles */
.flat-blog-detail {
    background: #fff;
    padding: 30px 0;
}

.blog-post {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.blog-post-image {
    margin-bottom: 30px;
}

.blog-post-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
}

.blog-post-content {
    line-height: 2;
    color: #333;
    text-align: justify;
    text-justify: inter-word;
    font-size: 1.1rem;
}

.blog-post-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 20px auto;
    display: block;
}

.share-buttons h4 {
    color: #333;
    margin-bottom: 15px;
}

.share-buttons .btn {
    padding: 8px 20px;
    border-radius: 25px;
}

.share-buttons .btn i {
    margin-left: 8px;
}

/* Pagination Styles */
.pagination {
    margin-top: 40px;
}

.pagination .page-link {
    color: #007bff;
    border: none;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: #007bff;
    color: #fff;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    color: #fff;
}

/* Page Title Styles */
.tf-page-title {
    background-color: #f8f9fa;
    padding: 60px 0;
    margin-bottom: 40px;
    text-align: center;
}

.tf-page-title .heading {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.tf-page-title p {
    color: #666;
    font-size: 1.1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .blog-card-image img {
        height: 200px;
    }
    
    .tf-page-title .heading {
        font-size: 2rem;
    }
    
    .blog-title {
        font-size: 1.3rem;
    }
    
    .blog-post {
        padding: 20px;
    }
} 