:root {
    --light-cream: #EDE7C7;
    --dark-red: #8B0000;
    --maroon: #5B0202;
    --dark-brown: #200E01;
    --text-color: #3A3A3A;
}

/* Blog-specific button styles */
.btn-primary {
    background-color: var(--maroon);
    border-color: var(--maroon);
    color: var(--light-cream);
}

.btn-primary:hover {
    background-color: var(--dark-red);
    border-color: var(--dark-red);
    color: var(--light-cream);
}

.btn-read-more {
    background-color: var(--maroon);
    border-color: var(--maroon);
    color: var(--light-cream);
    padding: 10px 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    background-color: var(--dark-red);
    border-color: var(--dark-red);
    color: var(--light-cream);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 2, 2, 0.3);
}

/* Blog post typography */
.post-title a {
    color: var(--dark-brown);
    transition: color 0.3s ease;
    font-weight: 600;
}

.post-title a:hover {
    color: var(--maroon);
    text-decoration: none;
}

.post-meta {
    color: var(--text-color);
    font-size: 0.9rem;
}

.post-meta span {
    margin-right: 15px;
}

.post-meta i {
    color: var(--maroon);
}

.post-excerpt {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Sidebar widgets */
.sidebar-widget .card {
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.sidebar-widget .card-title {
    color: var(--dark-brown);
    font-weight: 600;
    border-bottom: 2px solid var(--light-cream);
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.sidebar-widget .card-title i {
    color: var(--maroon);
}

.category-list a {
    color: var(--text-color);
    transition: all 0.3s ease;
    padding: 8px 0;
    display: block;
}

.category-list a:hover {
    color: var(--maroon);
    transform: translateX(5px);
    text-decoration: none;
}

.badge.bg-primary {
    background-color: var(--maroon) !important;
}

/* Pagination */
.pagination .page-item.active .page-link {
    background-color: var(--maroon);
    border-color: var(--maroon);
    color: white;
}

.pagination .page-link {
    color: var(--maroon);
    border: 1px solid var(--light-cream);
    padding: 0.5rem 1rem;
}

.pagination .page-link:hover {
    background-color: var(--light-cream);
    color: var(--dark-brown);
    border-color: var(--maroon);
}

/* Recent posts */
.recent-post h6 a {
    color: var(--dark-brown);
    transition: color 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
}

.recent-post h6 a:hover {
    color: var(--maroon);
    text-decoration: none;
}

/* Blog post cards */
.blog-post {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 3rem;
    border: 1px solid rgba(0,0,0,0.05);
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

/* Post image styles */
.post-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post:hover .post-image img {
    transform: scale(1.02);
}

/* Recent posts image size */
.recent-post .flex-shrink-0 {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 6px;
}

.recent-post .flex-shrink-0 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Search form */
.input-group .btn {
    background-color: var(--maroon);
    border-color: var(--maroon);
    color: var(--light-cream);
    transition: all 0.3s ease;
}

.input-group .btn:hover {
    background-color: var(--dark-red);
    border-color: var(--dark-red);
}

.form-control:focus {
    border-color: var(--maroon);
    box-shadow: 0 0 0 0.2rem rgba(91, 2, 2, 0.25);
}

/* Hero section for blog */
.hero-sectionbc {
    
    padding: 80px 0 40px;
    margin-bottom: 40px;
    color: white;
}

.hero-sectionbc h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.breadcrumb {
    background: transparent;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--light-cream);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: white;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* Blog main container */
.blog-main {
    background-color: #f8f9fa;
    min-height: 100vh;
}

/* No posts state */
.no-posts {
    padding: 4rem 2rem;
    text-align: center;
}

.no-posts i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #6c757d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-sectionbc {
        padding: 60px 0 30px;
    }
    
    .hero-sectionbc h1 {
        font-size: 2.5rem;
    }
    
    .blog-post {
        padding: 20px;
        margin-bottom: 2rem;
    }
    
    .post-image {
        height: 200px;
    }
    
    .sidebar-widget .card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-sectionbc h1 {
        font-size: 2rem;
    }
    
    .blog-post {
        padding: 15px;
    }
    
    .btn-read-more {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .post-meta span {
        display: block;
        margin-right: 0;
        margin-bottom: 5px;
    }
}