
.blog-title {
    color: #fff!important;
}

/* Section Title Enhancement */
.blog-section .sec-title {
    position: relative;
}

.blog-section .sec-title h5 {
    color: #e63946;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.blog-section .sec-title h2 {
    position: relative;
    display: inline-block;
}

.blog-section .sec-title h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #e63946;
    border-radius: 2px;
}

/* Blog Intro Text */
.blog-intro {
    max-width: 650px;
    margin: 0 auto 35px;
    color: #666;
    font-size: 15px;
    line-height: 1.8;
}

/* Filter Bar Enhancement */
.blog-filter-bar {
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.blog-filter-bar .filter-btn {
    padding: 10px 28px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    background: transparent;
    color: #555;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.blog-filter-bar .filter-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #e63946;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.blog-filter-bar .filter-btn:hover {
    border-color: #e63946;
    color: #e63946;
    background: rgba(230, 57, 70, 0.05);
}

.blog-filter-bar .filter-btn.active {
    background: linear-gradient(135deg, #e63946, #c1121f);
    border-color: #e63946;
    color: #fff;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.35);
}

/* Blog Card Enhanced */
.blog-card {
    opacity: 1;
    transition: opacity 0.4s ease;
}

.blog-card.hidden-card {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

.blog-card .card-inner {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.blog-card .card-inner:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* Card Image */
.blog-card .card-image {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.blog-card .card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.15), transparent);
    pointer-events: none;
    z-index: 1;
}

.blog-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Date Badge */
.blog-card .date-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #e63946, #c1121f);
    color: #fff;
    padding: 10px 16px;
    border-radius: 10px;
    text-align: center;
    line-height: 1.2;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.35);
}

.blog-card .date-badge .day {
    display: block;
    font-size: 24px;
    font-weight: 700;
}

.blog-card .date-badge .month {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* Card Body */
.blog-card .card-body {
    padding: 24px 24px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Tags */
.blog-card .card-tags {
    margin-bottom: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.blog-card .card-tags span {
    display: inline-block;
    background: #fde8ea;
    color: #e63946;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
}

.blog-card .card-inner:hover .card-tags span {
    background: #e63946;
    color: #fff;
}

/* Title */
.blog-card .card-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.blog-card .card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card .card-title a:hover {
    color: #e63946;
}

/* Excerpt */
.blog-card .card-excerpt {
    font-size: 13.5px;
    line-height: 1.75;
    color: #777;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Footer */
.blog-card .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
}

.blog-card .read-more {
    font-size: 13px;
    font-weight: 700;
    color: #e63946;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 6px 0;
}

.blog-card .read-more:hover {
    gap: 12px;
    color: #c1121f;
}

.blog-card .read-more i {
    font-size: 11px;
    transition: transform 0.3s ease;
    background: #fde8ea;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.blog-card .read-more:hover i {
    transform: translateX(3px);
    background: #e63946;
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .blog-card .card-image {
        height: 200px;
    }
}

@media (max-width: 575px) {
    .blog-filter-bar .filter-btn {
        padding: 8px 18px;
        font-size: 12px;
    }
    .blog-card .card-body {
        padding: 20px;
    }
    .blog-card .card-title {
        font-size: 16px;
    }
}

/* Pagination */
.blog-pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.blog-pagination ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-pagination ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-pagination ul li a:hover {
    border-color: #e63946;
    color: #e63946;
    background: rgba(230, 57, 70, 0.05);
}

.blog-pagination ul li a.active {
    background: linear-gradient(135deg, #e63946, #c1121f);
    border-color: #e63946;
    color: #fff;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.35);
}

.blog-pagination ul li a.prev,
.blog-pagination ul li a.next {
    border: none;
    background: transparent;
    color: #999;
    min-width: auto;
    height: auto;
    padding: 8px;
}

.blog-pagination ul li a.prev:hover,
.blog-pagination ul li a.next:hover {
    color: #e63946;
    background: transparent;
    border: none;
}

@media (max-width: 575px) {
    .blog-pagination ul li a {
        min-width: 38px;
        height: 38px;
        font-size: 13px;
    }
}
