/* news-list.css - Styles for news list pages */

.news-list-banner {
    width: 100vw;
    height: 28vw;
}

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

.main {
    height: auto;
    min-height: 700px;
    width: 100%;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.main .inner {
    width: 1280px;
    position: relative !important;
    top: 0;
    margin: 0 auto;
    transform: none;
    display: flex;
    justify-content: space-around;
    left: 0;
    padding: 30px 0;
}

.main .inner .main-left {
    float: left;
    width: 200px;
    height: 60%;
    position: relative;
    z-index: 20;
}

.main .inner .main-right {
    margin-top: 0;
    width: calc(100% - 230px);
}

.main .inner .main-right .right-tt {
    border-bottom: 1px solid #dbdbdb;
    height: 50px;
    margin-bottom: 20px;
}

.main .inner .main-right .right-tt div.crumbs {
    display: flex;
    align-items: center;
    flex-direction: row;
    float: right;
    font-size: 14px;
    line-height: 50px;
    color: #888888;
    margin: 0;
}

/* Left sidebar category menu */
.col_menu_head {
    background-color: #0664de;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 30px;
    width: 100%;
    padding: 10px;
    color: #fff;
    text-align: center;
    font-size: 26px;
}

.col_menu_head .Column_Anchor {
    font-weight: 500;
}

.wp_listcolumn {
    border-top: 0px solid #2867A0;
    border-bottom: 1px solid #fff;
    display: block;
    width: 100%;
}

.main .inner .main-left ul li {
    list-style: none;
    position: relative;
    padding: 10px 0;
    line-height: 50px;
    font-size: 20px;
    text-align: center;
    border-bottom: none;
}

.wp_column {
    display: block;
    width: 100%;
    vertical-align: bottom;
}

.wp_column:not(:last-child) {
    border-bottom: 1px dashed #7f7f7f !important;
}

.wp_column a.selected {
    color: #1677ff;
    background: none;
}

.wp_column a {
    color: #333333;
    background: none;
}

/* News List */
.news-list-container {
    width: 100%;
}

.news-list {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
}



.news-list li {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0 15px 20px;
    border-bottom: 1px dashed #ddd;
}

.news-list li::before {
    content: "◎";
    display: block;
    font-size: 1.2em;
    position: absolute;
    left: 0;
    color: #00c3d4;
}

.news-list li a {
    flex: 1;
    text-align: left;
    justify-content: flex-start;
    font-size: 16px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 20px;
}

.news-list li a:hover {
    color: #1677ff;
}

.news-list li .time {
    color: #7f7f7f;
    min-width: 80px;
    text-align: right;
}

/* Pagination */
.wp_paging {
    margin-top: 20px;
    float: right;
    width: 100%;
    justify-content: space-between;
    display: flex;
    flex-wrap: wrap;
}

.pages_count,
.page_nav,
.page_jump {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1em;
    margin: 10px 0;
}

.pages_count {
    color: #7f7f7f;
    width: 220px;
}

.page_nav {
    width: 300px;
}

.page_jump {
    color: #6f768f;
    width: 200px;
}

.page_jump input {
    width: 60px;
    height: 25px;
    border: 1px solid #ddd;
    text-align: center;
    margin: 0 5px;
}

/* Responsive styles */
@media (max-width: 1280px) {
    .main .inner {
        width: 100%;
        padding: 30px 15px;
    }
}

@media (max-width: 992px) {
    .main .inner {
        flex-direction: column;
    }

    .main .inner .main-left {
        width: 100%;
        margin-bottom: 30px;
    }

    .main .inner .main-right {
        width: 100%;
    }

    .col_menu_head {
        height: 80px;
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .news-list-banner {
        height: 40vw;
    }

    .main .inner .main-right .right-tt div.crumbs {
        float: none;
        line-height: 1.5;
        margin: 15px 0;
    }

    .wp_paging {
        flex-direction: column;
        align-items: center;
    }

    .pages_count,
    .page_nav,
    .page_jump {
        width: 100%;
        justify-content: center;
        margin: 5px 0;
    }
}