.latest-articles-wrap {
    padding: 100px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.latest-article {
    width: 285px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.latest-article:hover {
    transform: translateY(-5px);
}

.latest-article-image {
    position: relative;
    overflow: hidden;
}

.latest-article-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.latest-article:hover .latest-article-image img {
    transform: scale(1.1);
}

.latest-article-title {
    display: flex;
    font-size: 1.2rem;
    margin: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.latest-article-content {
    padding: 0 20px 20px;
    font-size: 0.8rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.read-more {
 display: flex;
    margin: 10px 0;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 1rem;
    color: #fff;
    background-color: #2b2a37;
    opacity: 0.8;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    transform: translateX(50%);
    margin-top: auto;
    width: max-content;
}

.read-more:hover {
    color: #ff9800;
}

@media (max-width: 768px) {
    .latest-article {
        width: 100%;
    }
}
