/* 新闻列表样式 */
.news-list {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.news-list-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-list-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #2c3e50;
}

.news-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.news-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-date {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #2c3e50;
    line-height: 1.4;
}

.news-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: #2980b9;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-btn {
    padding: 10px 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(.disabled) {
    background-color: #3498db;
    color: #fff;
    border-color: #3498db;
}

.pagination-btn.disabled {
    color: #ccc;
    cursor: not-allowed;
    background-color: #f5f5f5;
}

.pagination-numbers {
    display: flex;
    gap: 5px;
}

.pagination-number {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.pagination-number:hover {
    background-color: #3498db;
    color: #fff;
    border-color: #3498db;
}

.pagination-number.active {
    background-color: #3498db;
    color: #fff;
    border-color: #3498db;
}

.show_t {
    width: 100%;
    text-align: center;
    font-size: 38px;
    color: #4E5969;
    margin-top: 60px;
}

.con_line {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    font-size: 18px;
    color: #383838;
}

.con_id {
    width: 90%;
    margin: 30px auto;
    line-height: 1.8;
    color: #333;
    font-size: 16px;
}

.con_id * {
    max-width: 100%;
    box-sizing: border-box;
}

.con_id p {
    margin-bottom: 20px;
    text-align: justify;
    background-color: #fff!important;
}

.con_id span {
    background-color: #fff!important;
}

.con_id img {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.con_id h1,
.con_id h2,
.con_id h3,
.con_id h4,
.con_id h5,
.con_id h6 {
    margin: 30px 0 15px;
    color: #2c3e50;
    font-weight: 600;
}

.con_id h1 {
    font-size: 24px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.con_id h2 {
    font-size: 22px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
}

.con_id h3 {
    font-size: 20px;
}

.con_id h4 {
    font-size: 18px;
}

.con_id h5 {
    font-size: 16px;
}

.con_id h6 {
    font-size: 14px;
}

.con_id ul,
.con_id ol {
    margin: 15px 0;
    padding-left: 30px;
}

.con_id li {
    margin-bottom: 8px;
}

.con_id ul li {
    list-style-type: disc;
}

.con_id ol li {
    list-style-type: decimal;
}

.con_id blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-left: 4px solid #3498db;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #666;
}

.con_id a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.con_id a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.con_id table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    overflow-x: auto;
    display: block;
}

.con_id th,
.con_id td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.con_id th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.con_id tr:hover {
    background-color: #f8f9fa;
}

.prenext-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .news-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .news-list-title {
        font-size: 2rem;
    }

    .news-items {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-image {
        height: 180px;
    }

    .news-title {
        font-size: 1.1rem;
    }

    .pagination {
        display: none;
        flex-wrap: wrap;
        gap: 5px;
    }

    .pagination-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .pagination-number {
        width: 35px;
        height: 35px;
        font-size: 13px;
    }

    .con_id {
        width: 95%;
        font-size: 15px;
        line-height: 1.7;
    }

    .con_id h1 {
        font-size: 22px;
    }

    .con_id h2 {
        font-size: 20px;
    }

    .con_id h3 {
        font-size: 18px;
    }

    .con_id img {
        border-radius: 6px;
    }
}