/* ==========================
   ARTICLES PAGE STYLES
========================== */

.article-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--slate-100);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.article-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.article-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image {
    transform: scale(1.05);
}

.article-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.article-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--slate-900);
    line-height: 1.5;
    transition: color 0.2s ease;
}

.article-card:hover .article-title {
    color: var(--primary);
}

.article-excerpt {
    color: var(--slate-600);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--slate-100);
    font-size: 13px;
    color: var(--slate-500);
}

.article-meta i {
    margin-left: 5px;
    color: var(--primary);
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.article-card:hover .read-more i {
    transform: translateX(-5px);
}