/* საერთო card სტილი */
#news-section .card {
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
    padding: .5rem !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    box-shadow: none !important;
}

/* hover effect */
#news-section .card:hover {
    transform: translateY(-4px);
}

/* ყველა card-ის სურათი */
#news-section .card img {
    border-radius: .5rem !important;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* მთავარი დიდი ბოქსი */
.card-img-big {
    width: 100% !important;
    aspect-ratio: 4 / 3; /* ✅ კვადრატული პროპორცია */
    object-fit: cover;
    border-radius: .75rem !important;
}

/* ტექსტები */
#news-section h4 {
    font-size: 1.3rem;
    line-height: 1.5;
}

#news-section h6 {
    font-size: 1rem;
    color: var(--color-primary-500);
}

#news-section p {
    font-size: 0.875rem;
    color: #6c757d;
}

/* responsive optimization */
@media (max-width: 991.98px) {
    #news-section .card-img-top {
        height: auto;
    }
}


#news-masonry .card {
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: .5rem !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    box-shadow: none !important;
}

#news-masonry .card:hover {
    transform: translateY(-4px);
}

#masonry .card img {
    border-radius: .5rem !important;
    width: 100%;
    height: auto;

}




#news-masonry .card-body {
    padding: 1rem;
}

#news-masonry h6 {
    font-size: 1rem;
    color: var(--color-primary-500);
}

#news-masonry p {
    font-size: 0.875rem;
    color: #6c757d;
}


