.article-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
}
.article-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    width: calc(33.333% - 20px);
    display: flex;
    flex-direction: column;
}
.article-img {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.article-img a {
    display: block;
    height: 100%;
}

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

.article-img a:hover img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: yellow;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 0.8rem;
    border-radius: 5px;
    z-index: 2;
}
.article-content {
    padding: 15px;
}
.article-title {
    color: #d2006b;
    font-weight: bold;
    font-size: 1.1rem;
}
.article-title a:hover {
    color: #f97316;
    transition: color 0.3s ease;
}
.article-excerpt {
    color: #444;
    font-size: 0.95rem;
    margin-top: 8px;
}
@media (max-width: 768px) {
    .article-card {
        width: calc(50% - 20px);
    }
}
@media (max-width: 480px) {
    .article-card {
        width: 100%;
    }
}


