﻿.article-card {
    transition: all 0.3s ease;
    border-radius: 18px
}

    .article-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 35px rgb(0 0 0 / .08)
    }

.article-img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease
}

.article-card:hover .article-img {
    transform: scale(1.05)
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / .55);
    opacity: 0;
    transition: all 0.3s ease
}

.article-card:hover .overlay {
    opacity: 1
}

.description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.Title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}
.slider-img {
    width:100%;
    height:70vh;
}
@media (max-width:768px){
    .slider-img {
        width: 100%;
        height: 22vh;
    }
}