/* ===== SENIFLIRT ARTICLES PLUGIN ===== */
.sfart-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.sfart-item {
    background: transparent;
}

.sfart-item a {
    text-decoration: none;
    display: block;
}

/* 🔥 IMAGE FIX */
.sfart-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    background: #111; /* fallback propre */
}

.sfart-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

/* hover clean */
.sfart-item:hover img {
    transform: scale(1.05);
}

/* content */
.sfart-content {
    padding-top: 10px;
}

.sfart-content h3 {
    font-size: 15px;
    line-height: 1.3;
    margin: 0 0 6px;
}

.sfart-content p {
    font-size: 13px;
    color: #888;
    margin: 0;
}

/* responsive */
@media (max-width: 1024px) {
    .sfart-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .sfart-wrap {
        grid-template-columns: 1fr;
    }

    .sfart-img {
        height: 200px;
    }
}