.blog-hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.blog-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zm0-30V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: 60px 60px;
    opacity: 0.3;
    z-index: 0;
}

.blog-hero-section .container {
    position: relative;
    z-index: 1;
}

.blog-content-section {
    background-color: var(--background-color);
}

.blog-posts-list {
    margin-bottom: 2rem;
}

.blog-pagination {
    margin-top: 3rem;
}

.blog-pagination .pagination {
    margin-bottom: 0;
}

.blog-pagination .page-link {
    color: var(--secondary-color);
    border-color: #E5E7EB;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.blog-pagination .page-link:hover {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.blog-pagination .page-item.active .page-link {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.blog-pagination .page-item.disabled .page-link {
    color: #9CA3AF;
    background-color: #F9FAFB;
    border-color: #E5E7EB;
    cursor: not-allowed;
}

.blog-post-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15) !important;
}

.blog-post-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-post-card .card-body .btn {
    margin-top: auto;
}

.blog-post-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

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

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

.blog-post-image-placeholder {
    height: 300px;
    background: linear-gradient(135deg, var(--background-color) 0%, #E5E7EB 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.875rem;
    color: #6B7280;
}

.blog-post-meta i {
    color: var(--secondary-color);
}

.blog-post-date,
.blog-post-category,
.blog-post-views {
    display: inline-flex;
    align-items: center;
}

.blog-post-title a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.blog-post-title a:hover {
    color: var(--secondary-color);
}

.blog-post-excerpt {
    line-height: 1.7;
    font-size: 1rem;
}

.blog-empty-state {
    padding: 4rem 2rem;
}

.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    border-radius: 12px;
    overflow: hidden;
}

.sidebar-widget .card-header {
    border: none;
    padding: 1rem 1.25rem;
}

.sidebar-widget .list-unstyled li a {
    color: var(--text-color);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.sidebar-widget .list-unstyled li a:hover {
    color: var(--secondary-color);
    padding-left: 0.5rem;
}

.sidebar-widget .list-unstyled li a i {
    font-size: 0.75rem;
}

@media (max-width: 992px) {
    .blog-sidebar {
        position: static;
        margin-top: 3rem;
    }

    .blog-post-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .blog-hero-section {
        padding: 3rem 0;
    }

    .blog-hero-section h1 {
        font-size: 2rem;
    }

    .blog-post-image {
        height: 200px;
    }

    .blog-post-meta {
        font-size: 0.8rem;
    }

    .blog-post-title {
        font-size: 1.5rem;
    }
}

