.magenest-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-item {
    background-color: #fff;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -o-border-radius: 12px;
    overflow: hidden;
    border: 1px solid #F6F6F6;
    padding: 8px 8px 12px;
}

.news-thumb {
    height: 265px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    overflow: hidden;
    margin: 0 0 12px;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.news-item:hover .news-thumb img {
    transform: scale(1.05);
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
    gap: 40px;
}

.news-date,
.news-category {
    display: flex;
    align-items: center;
}

.news-date {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.15px;
    color: #4F4F4F;
}

.news-date img {
    margin-right: 8px;
    position: relative;
    bottom: 2px;
}

.news-date span {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.15px;
    color: #4F4F4F;
}

.news-category {
    background-color: #FCF3F9;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    padding: 2px 4px;
}

.news-category img {
    margin-right: 4px;
}

.news-category span {
    color: #D33791;
    font-size: 12px;
    line-height: 16px;
}

.news-title {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.1px;
    color: #262626;
    margin: 0 0 4px;
    text-transform: uppercase;
    min-height: 48px;
}

.news-item:hover .news-title {
    color: #D33791;
}

.news-excerpt {
    color: #4F4F4F;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.15px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

@media (max-width: 1024px) {
    .magenest-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .magenest-news-grid {
        grid-template-columns: 1fr;
    }

    .news-item {
        padding: 8px;
    }
}