/* 今日工会 样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    padding: 15px 0;
    font-size: 16px;
    color: #333;
    margin-top: 10px;
}

.breadcrumb-item {
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 16px;
    color: #918f8f;
    line-height: 22px;
    text-align: left;
    font-style: normal;
    cursor: pointer;
}

.breadcrumb-item.active {
    color: #bc1906;
}

.breadcrumb-separator {
    margin: 0 8px;
    /* color: #999; */
}

/* 页面标题 */
.page-title {
    background-color: #bc1906;
    /* padding: 10px 15px; */
    /* margin-bottom: 20px; */
    height: 60px;
    line-height: 60px;
}

.page-title h1 {
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 24px;
    color: #2f2e2e;
    letter-spacing: 1px;
    font-style: normal;
    cursor: pointer;
    background: #bc1906;
    color: #fff;
    text-indent: 1.5em;
}

/* 新闻列表 */
.news-list {
    background-color: #fff;
    padding: 30px 20px;
    border: 1px solid #e5e5e5;
    margin-bottom: 30px;
}

.news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 96%;
    margin: 0 auto;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-item-left {
    display: flex;
    align-items: center;
    max-width: 75%;
}

.news-item-dot {
    width: 7px;
    height: 7px;
    background-color: #918f8f;
    border-radius: 50%;
    flex-shrink: 0;
}

.news-item-title {
    margin-left: 5px;
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 20px;
    color: #2f2e2e;
    line-height: 52px;
    text-align: left;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    -webkit-line-clamp: 1;
    /* max-width: 75%; */
}

.news-item-date {
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 18px;
    color: #2f2e2e;
    line-height: 52px;
    text-align: center;
    font-style: normal;
}

.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.news-pagination-info {
    margin-right: 20px;
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
}
.news-pagination-select {
    margin-right: 20px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-bottom: 10px;
}
.news-pagination-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
.news-pagination-button {
    display: flex;
    font-size: 14px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0 5px 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    color: #666;
    text-decoration: none;
    cursor: pointer;
}
.news-pagination-button.active {
    background-color: #bc1906;
    color: #fff;
    border-color: #bc1906;
}
.news-pagination-button.ellipsis {
    border: none;
}

/* 悬停效果 */
.news-item:hover .news-item-title {
    color: #bc1906;
}

.news-item:hover .news-item-dot {
    background-color: #bc1906;
}

.news-item:hover .news-item-date {
    color: #bc1906;
}

@media screen and (max-width:768px) {
    .container{
        width: 95%;
        margin: 0 auto;
        padding: 0;
    }
    .breadcrumb{
        padding: 10px 0;
        font-size: 14px;
    }
    .breadcrumb-item{
        font-size: 14px;
        line-height: 20px;
    }
    .page-title{
        height: 50px;
        line-height: 50px;
    }
    .page-title h1{
        font-size: 22px;
        text-indent: 0.5em;
        letter-spacing: 0.5px;
    }
    .news-list{
        padding: 5px;
        margin-bottom: 15px;
        border: 1px solid #f0f0f0;
    }
    .news-item{
        width: 100%;
        flex-direction: column;
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid #f0f0f0;
        align-items: flex-start;
    }
    .news-item:last-child{
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .news-item-dot{
        display: none;
    }
    .news-item-title{
        font-size: 18px;
        margin-left: 0;
        width: 100%;
        text-align: left;
        line-height: 28px;
        margin-bottom: 5px;
    }
    .news-item-date{
        font-size: 14px;
        width: 100%;
        text-align: right;
        line-height: 15px;
        color: #918f8f;
    }
    .news-item-left{
        display: block;
        width: 100%;
        max-width: 100%;
    }
    .news-pagination{
        margin-top: 15px;
        margin-bottom: 15px;
        padding: 0 10px;
    }
    .news-pagination-info{
        margin-right: 0;
        margin-bottom: 8px;
        font-size: 13px;
    }
    .news-pagination-select{
        margin-right: 0;
        margin-bottom: 8px;
        width: 100%;
        max-width: 200px;
        padding: 6px;
    }
    .news-pagination-button{
        width: 30px;
        height: 30px;
        margin: 0 3px 8px;
        font-size: 13px;
    }
}

@media screen and (max-width:480px) {
    .page-title h1{
        font-size: 20px;
    }
    .news-item-title{
        font-size: 16px;
        line-height: 24px;
    }
    .news-pagination-button{
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}