.article-item {
    transition: all 0.3s ease;
    &:hover {
        .article-item__title a {
            color: var(--color-3);
        }
        .article-item__img img {
            transform: scale(1.1);
        }
    }
}

.article-item__img {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 60%;
}

.article-item__img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-item__tag {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
}

.article-item__author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-item__avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    overflow: hidden;
}

.article-item__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-item__name {
    font-weight: 500;
}

.article-item__name a {
    color: inherit;
    text-decoration: none;
}

.article-item__name a:hover {
    color: var(--color-2);
}

.article-item__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-2);
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-item__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-item__desc {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-item.type2 {
    background: #d9d9d9;
    border-radius: 10px;
    .article-item__desc {
        display: none;
    }
    .article-item__info {
        padding: 0 10px 15px;
        display: flex;
        flex-direction: column;
    }
    .article-item__boximg {
        order: 1;
    }
    .article-item__title {
        order: 1;
    }
    .article-item__tag {
        order: 2;
        margin-bottom: 0;
    }
    &:hover {
        background: var(--color-2);
        color: white;
        * {
            color: inherit;
        }
        .article-item__title {
            a {
                color: inherit;
            }
        }
    }
}
