/* 文章列表页面样式 */
.listwith {
    width: 100%;
    background: linear-gradient(-45deg, #000, #333);
    padding: 80px 0;
}

.ok-list {
    width: 100%;
    margin: 0 auto;
}

.ok-list li {

    align-items: flex-start;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.ok-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.ok-list-img {
    width: 280px;
    height: 180px;
    margin-right: 30px;
    overflow: hidden;
    border-radius: 12px;
}

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

.ok-list-img:hover img {
    transform: scale(1.05);
}

.ok-list-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
}

.ok-list-title {
    margin-bottom: 15px;
}

.ok-list-title a {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ok-list-title a:hover {
    color: #bcff2f;
}

.ok-list-desc {
    color: #bbb;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.ok-list-info {
    color: #888;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.ok-list-info span {
    margin-right: 20px;
}

.ok-list-date::before {
    content: '📅';
    margin-right: 5px;
}

.ok-list-views::before {
    content: '👁️';
    margin-right: 5px;
}

.ok-list-author::before {
    content: '✍️';
    margin-right: 5px;
}

/* 分页导航样式 */
.pagination {
    margin-top: 50px;
    text-align: center;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a {
    background: rgba(255, 255, 255, 0.1);
}

.pagination a:hover {
    background: #bcff2f;
    color: #000;
}

.pagination .current {
    background: #bcff2f;
    color: #000;
}

/* 响应式设计 */
@media only screen and (max-width: 768px) {
    .ok-list li {
        flex-direction: column;
        padding: 20px 0;
    }

    .ok-list-img {
        width: 100%;
        height: 200px;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .ok-list-content {
        min-height: auto;
    }

    .ok-list-title a {
        font-size: 20px;
    }

    .ok-list-desc {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .ok-list-info {
        flex-wrap: wrap;
    }

    .ok-list-info span {
        margin-bottom: 5px;
    }
}