/* Blog Section Styles */
.blog-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.blog-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.blog-section .section-title h2 {
    color: #111111;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.blog-section .section-title h2:after {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: 2px;
    width: 70px;
    background: #e7ab3c;
    content: "";
    margin: 0 auto;
}

.blog-slider {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.single-latest-blog {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.single-latest-blog:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.blog-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

.single-latest-blog:hover .blog-img img {
    transform: scale(1.05);
}

.latest-text {
    padding: 25px 30px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tag-list {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.tag-item {
    display: flex;
    align-items: center;
    margin-right: 20px;
    font-size: 14px;
    color: #6f6f6f;
}

.tag-item i {
    margin-right: 5px;
    color: #e7ab3c;
}

.latest-text h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.latest-text h4 a {
    color: #252525;
    transition: all 0.3s;
}

.latest-text h4 a:hover {
    color: #e7ab3c;
}

.latest-text p {
    color: #6f6f6f;
    line-height: 1.6;
    margin-bottom: 0;
    margin-top: auto;
    padding-top: 15px;
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .latest-text {
        padding: 20px 20px 25px;
    }
    
    .latest-text h4 {
        font-size: 18px;
    }
}

@media (max-width: 991px) {
    .blog-section {
        padding: 60px 0;
    }
    
    .blog-img {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .blog-section .section-title {
        margin-bottom: 40px;
    }
    
    .blog-img {
        height: 180px;
    }
    
    .latest-text {
        padding: 20px 15px 25px;
    }
    
    .latest-text h4 {
        font-size: 16px;
    }
    
    .tag-item {
        font-size: 13px;
        margin-right: 15px;
    }
}
