.list-posts-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.list-posts-tabs a {
    padding: 6px 14px;
    border-radius: 5px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}
.list-posts-tabs a.active {
    background: #222;
    color: #fff;
}

.list-posts-grid .posts-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.post-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.post-item .thumb {
    width: 100%;
    aspect-ratio: 16/9;
    background: #eee;
    overflow: hidden;
    display: block;
    border-radius: 8px;
}
.post-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.post-item .no-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    background: #ddd;
}
.post-item .info {
    padding: 10px 0 0;
}
.post-item .title {
    font-size: 16px;
    margin: 5px 0;
}
.post-item .title a {
    color: #333;
    text-decoration: none;
}
.post-item .title a:hover {
    text-decoration: underline;
}
.post-item .meta {
    font-size: 12px;
    color: #999;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.post-item .desc {
    font-size: 13px;
    color: #555;
    margin-top: 8px;
    line-height: 1.4;
}
