/*
File: public/assets/css/sections/blog.css
*/

.blog-card {
    border: none;
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.blog-image-wrapper {
    height: 220px; /* Fixed height for consistency */
    overflow: hidden;
}

.blog-image {
    object-fit: cover;
    height: 100%;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.08); /* Image zoom on hover */
}

.image-overlay {
    /* 🚨 FIX: Overlay ko sirf halka dark rakhenge taaki image prominent rahe 🚨 */
    background: rgba(0, 0, 0, 0.2);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.blog-card-body {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.blog-card-title a {
    font-size: 1.2rem;
    line-height: 1.4;
    color: #212529 !important; /* Title ko dark color diya gaya hai */
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #1a965a !important; /* Green on hover */
}

.blog-date {
    font-size: 0.85rem;
    color: #6c757d !important;
}

.blog-read-more {
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
}

.blog-read-more i {
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.blog-read-more:hover i {
    margin-left: 12px; /* Arrow moves on hover */
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .blog-main-heading {
        font-size: 1.8rem;
    }
}

.blog-content {
    /* font-family: 'Inter', sans-serif; */
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

.blog-content img{
    width: 100%;
    height: 50%;
    border-radius: 3%;
    object-fit: cover;
}


