

/* Tab切换区域 */
.news-tabs {
    display: flex;
    gap: 20px;
    padding-bottom: 0;
}

.tab-item {
    cursor: pointer;
    transition: opacity 0.3s ease;
    position: relative;
    display: inline-block;
    width: 88px;
    height: 48px;
    background: url(../images/newsPage_newsBtn.png) no-repeat;
}
.tab-item:nth-child(2) {
    background-position-x: -88px;
}

.tab-item:nth-child(3) {
    background-position-x: -176px;
}

.tab-item:nth-child(4) {
    background-position-x: -264px;
}


.tab-item:hover {
    background-position-y: -48px;
    filter: brightness(120%);
    opacity: 0.85\0;
}

.tab-item.active {
    background-position-y: -48px;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 38px;
    height: 17px;
    background: url(../images/news-tab-tip.png) no-repeat;
}

/* 新闻列表区域 */
.news-list-container {
    min-height: 600px;
    margin: 30px 0;
}

.news-list {
    display: none;
}

.news-list.active {
    display: block;
}

/* 新闻项样式 */
.news-item {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

/* 新闻内容区域 */
.news-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease;
}

/* 新闻项悬停效果 */
.news-item:hover {
    background: url(../images/news-date-bg.png) no-repeat;
    padding-left: 100px;
}

/* 悬停时内容区域右移 */
.news-item:hover .news-content {
    transform: translateX(20px);
}



/* 图标样式 */
.news-item::before {
    content: '';
    position: absolute;
    width: 61px;
    height: 24px;
    background: url('../images/news-icon.png') no-repeat;
    background-size: contain;
    opacity: 0;
    transition: all 0.3s ease;
}

/* 悬停时显示图标 */
.news-item:hover::before {
    opacity: 1;
    left: 20px;
}

/* 新闻内容 */
.news-content {
        flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.news-title{
    flex: 0.8;
  white-space: nowrap; /* 防止文本换行 */
  overflow: hidden; /* 隐藏溢出的内容 */
  text-overflow: ellipsis; /* 显示省略号 */
}
.news-title p{
    color: #808080;
    font-size: 20px;
    line-height: 1.5;
}
.news-item:hover p{
    color: #9c825e;
    font-weight: bold;
}
.news-title p.news-subtitle {
    font-size: 16px;
}
.news-item:hover p.news-subtitle{
    color: #9c825e;
}
.news-meta {
    display: flex;
    flex-direction: column;
}

.news-year{


     color: #808080;
    font-size: 14px;
    text-align: right;
}
.news-date {
    color: #808080;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
    text-align: right;
}
.news-item:hover .news-year{
    color: #9c825e;
    font-weight: bold;
}
.news-item:hover .news-date{
    color: #9c825e;
    font-weight: bold;
}
/* 分页区域 */
.news-pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    margin: 40px 0;
}

.pagination-btn {
    width: 85px;
    height: 31px;
    background: url(../images/news-page1.png) no-repeat;
    cursor: pointer;
    transition: all 0.3s ease;
}
.pagination-btn:nth-child(2){
    background-position-x: -100px;
}
.pagination-btn:hover:not(:disabled) {
    background: url(../images/news-page2.png) no-repeat;
}
.pagination-btn:hover:not(:disabled):nth-child(2) {
    background-position-x: -100px;
}
.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}






.newsDetail{
    position: relative;
}
.back{
    position: absolute;
    bottom:400px;
    right: 180px;
}


.backPage{
    font-size: 18px;
    color: #9c825f;
    font-weight: bold;
}
.backPage p{
    cursor: pointer;
}


.newsDetail{
    position: relative;
}
.back{
    position: absolute;
    bottom:400px;
    right: 180px;
}


.backPage{
    font-size: 18px;
    color: #9c825f;
    font-weight: bold;
}
.backPage p{
    cursor: pointer;
}
.bost{
    margin-top: 20px;
}

.texted {
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid #897251;
}
.texted h1{
    font-size: 30px;
    line-height: 50px;
}
.texted span{
    font-size: 14px;
    line-height:30px;
}
.dide{
    margin: 30px 0;
}
