/* ===================== Category Page ===================== */
.category-page-title {
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    padding-left: 12px;
    border-left: 3px solid var(--accent-red);
    margin-bottom: 20px;
}
.p-catHeader__desc {
    background: #f8f8f8;
    padding: 20px 0;
    font-weight: 600;
}

/* ===================== Article List ===================== */
.list-items {
    display: flex;
    flex-direction: column;
}

.list-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #eeeeee;
    align-items: flex-start;
}

.list-item:first-child {
    padding-top: 0;
}

.list-item:last-child {
    border-bottom: none;
}

.list-item__img {
    flex-shrink: 0;
    width: 130px;
    height: 120px;
    overflow: hidden;
    border-radius: 3px;
}

.list-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-item__body {
    flex: 1;
    min-width: 0;
}
.list-item__body .time{
    font-size: 14px;
    color: var(--text-muted);
    margin-top:4px;
}

.list-item__cat {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.8px;
    display: block;
    margin-bottom: 6px;
}

.list-item__title {
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    margin: 0 0 8px;
}

.list-item__title a {
    color: var(--text-main);
}

.list-item__title a:hover {
    color: var(--primary);
}

.list-item__excerpt {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin: 0;
}

/* ===================== Responsive ===================== */
@media (max-width: 600px) {
    .list-item {
        flex-direction: column;
    }

    .list-item__img {
        width: 100%;
        height: 180px;
    }
}
