/* 新闻列表页 list.html */

.list-page {
    padding: 20px 20px 30px;
}
.list-breadcrumb {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    padding-bottom: 14px;
}
.list-breadcrumb a {
    color: #666;
}
.list-breadcrumb a:hover {
    color: #1f6032;
}
.list-breadcrumb span {
    color: #1f6032;
}
.list-divider {
    height: 1px;
    background-color: #e0e0e0;
    margin-bottom: 24px;
}
.list-body {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}
.list-sidebar {
    width: 220px;
    flex-shrink: 0;
}
.list-column-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #1f6032 0%, #2a7a42 100%);
    padding: 18px 16px;
    margin: 0;
    line-height: 1.35;
    text-align: center;
    border-radius: 4px;
    letter-spacing: 0.08em;
    box-shadow: 0 3px 10px rgba(31, 96, 50, 0.2);
}
.list-search-wrap {
    margin-top: 20px;
}
.list-search-label {
    font-size: 14px;
    font-weight: 600;
    color: #1f6032;
    margin: 0 0 10px;
    padding-left: 2px;
}
.list-search {
    display: flex;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    overflow: hidden;
    background-color: #f9f9f9;
}
.list-search input {
    flex: 1;
    min-width: 0;
    height: 38px;
    padding: 0 12px;
    border: none;
    outline: none;
    font-size: 13px;
    background: transparent;
}
.list-search button {
    flex-shrink: 0;
    height: 38px;
    padding: 0 14px;
    border: none;
    background-color: #1f6032;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.list-search button:hover {
    background-color: #144723;
}
.list-main {
    flex: 1;
    min-width: 0;
}
.article-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 4px;
    border-bottom: 1px dashed #e5e5e5;
}
.article-list li::before {
    content: "";
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    background-color: #1f6032;
    border-radius: 50%;
}
.article-list li a {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}
.article-list li a:hover {
    color: #1f6032;
}
.article-list .article-date {
    flex-shrink: 0;
    font-size: 13px;
    color: #999;
}
.list-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
    padding-top: 20px;
    font-size: 13px;
}
.list-pagination .page-info {
    color: #888;
    margin-right: 12px;
}
.list-pagination a {
    display: inline-block;
    min-width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border: 1px solid #ddd;
    color: #666;
    border-radius: 2px;
    padding: 0 8px;
}
.list-pagination a:hover:not(.disabled) {
    border-color: #1f6032;
    color: #1f6032;
}
.list-pagination a.active {
    background-color: #1f6032;
    border-color: #1f6032;
    color: #fff;
}
.list-pagination a.disabled {
    color: #ccc;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 768px) {
    .list-body {
        flex-direction: column;
        gap: 20px;
    }
    .list-sidebar {
        width: 100%;
    }
    .list-column-title {
        font-size: 18px;
        padding: 14px 12px;
    }
    .article-list li {
        flex-wrap: wrap;
        gap: 6px;
    }
    .article-list li a {
        width: 100%;
        white-space: normal;
    }
    .article-list .article-date {
        width: 100%;
        padding-left: 14px;
    }
}
