@charset "utf-8";


/* ========== 精简版：仅新闻主体、列表、分页（无头部/底部/全局重置） ========== */

/* 横幅图片区 */
.banner_list img {
    width: 100%;
    display: block;
}

/* 新闻主体布局 */
.news-main {
    max-width: 1400px;
    margin: 40px auto;
    display: flex;
    gap: 30px;
}

/* 左侧菜单（直角背景图片，桌面端） */
.news-main .left-menu {
    flex: 0 0 240px;
    position: relative;
    background:url(../images/nahh.png) no-repeat;
    background-size: 100% 100%;
	max-height: 650px;
 box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.news-main .menu-title {
    font-size: 22px;
    font-weight: bold;
    line-height: 180%;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    flex-wrap: wrap;
}

.news-main .menu-category {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background:url(../images/nabaid.png) no-repeat bottom;
    background-size: 100% 100%;
    margin-left: 10px;
    padding-top: 20px;
    padding-bottom: 30px;
}

.news-main .menu-category li {
    font-size: 18px;
    font-weight: 500;
    color: #2c3e4e;
    cursor: pointer;
    transition: .5s;
    padding: 0 0.26rem;
    position: relative;
}

.news-main .menu-category li p {
    padding: 15px 10px 10px 15px;
    height: 100%;
    border-bottom: 1px dashed #ddd;
    transition: 0.5s;
    position: relative;
    z-index: 1;
}

.news-main .menu-category li p::before {
    content: "";
    position: absolute;
    left: -5px;
    right: -2px;
    border-radius: 0px 16px 16px 0px;
    background: linear-gradient(270deg, #fee9e6 0%, rgba(255, 247, 246, 0) 100%);
    height: 100%;
    opacity: 0;
    bottom: 0;
    z-index: -1;
}

.news-main .menu-category li.active-cat p::before,
.news-main .menu-category li:hover p::before {
    opacity: 1;
}

.news-main .menu-category li p::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 25px;
    border-radius: 2px;
    background: #ECC474;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
}

.news-main .menu-category li.active-cat p::after,
.news-main .menu-category li:hover p::after {
    opacity: 1;
}

.news-main .menu-category li p a {
    font-size: 18px;
    cursor: pointer;
    width: 100%;
    color: #333;
    transition: .5s;
    line-height: 200%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
}

.news-main .menu-category li:hover p a,
.news-main .menu-category li.active-cat p a {
    color: #a5150c;
    font-weight: bold;
}

/* 右侧内容区 */
.news-main .right-content {
    flex: 1;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    padding: 20px 28px 32px 28px;
    border-radius: 0;
}

/* 页面头部（新闻区内部标题） + 面包屑 */
.news-main .page-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    border-bottom: 2px solid #eee9e8;
    padding-bottom: 16px;
    margin-bottom: 28px;
}

.news-main .page-header h2 {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #1e2a3e, #2d3e50);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin: 0;
    border-left: 5px solid #a2211f;
    padding-left: 16px;
}

.news-main .breadcrumb {
    font-size: 14px;
    padding: 5px 12px;
}

.news-main .breadcrumb a,
.news-main .breadcrumb span {
    color: #333 !important;
    text-decoration: none;
    font-weight: 500;
}

.news-main .breadcrumb a:hover {
    color: #a5150c !important;
}

/* 新闻列表 — 标题省略号（桌面端） */
.news-list-container {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-item {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid #eee9e8;
    transition: all 0.2s ease;
    cursor: pointer;
}

.news-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-decoration: none;
    flex-wrap: nowrap;
    gap: 12px;
}

.news-title {
    flex: 1;
    min-width: 0;
    font-size: 1rem;
    font-weight: 500;
    color: #1f2e3a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
    text-align: left;
	max-width:750px;
}

.news-date {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 18px;
    color: #666;
    padding: 4px 0 4px 8px;
}

.news-item:hover .news-title {
    color: #a5150c;
    text-underline-offset: 4px;
}

.news-item:hover {
    background: #fefaf8;
    padding-left: 12px;
    padding-right: 12px;
    margin: 0 -12px;
}

/* 分页组件 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 38px;
    flex-wrap: wrap;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.page-btn:hover {
    background: #fef4f2;
    border-color: #a2211f;
    color: #b22217;
    transform: translateY(-2px);
}

.page-btn.active-page {
    background: #a2211f;
    border-color: #a2211f;
    color: white;
    box-shadow: 0 4px 10px rgba(218, 62, 42, 0.25);
}
/*新闻详细*/
.list_xx .tit{font-size: 22px;
    color: #222;
    text-align: center;
    line-height: 1.3;
    font-weight: bold;
}
.list_xx .conttime {
    padding: 10px 0px;
    margin: 15px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F5F5F5;
} 
.text-list p {
    font-size: 18px !important;
    color: #333 !important;
    line-height: 200% !important;
    text-align: justify;
    margin-bottom: 20px;
    text-indent: 2em;
}
.text-list p img {
    height: auto !important;
    max-width: 60% !important;
    margin: 0 auto;
    display: block;
}
/* ========= 响应式布局（仅涉及新闻主体部分，已去除头部/底部相关） ========= */

/* 平板端（≤1024px）：左侧菜单转为横向纯色按钮 */
@media screen and (max-width: 1024px) {
    .news-main {
        margin: 30px auto;
    }
    .news-main .left-menu {
        background: #f8f9fa !important;
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        flex: auto;
        width: 100%;
        margin-bottom: 20px;
    }
    .news-main .menu-title {
        font-size: 20px;
        height: 52px;
        background: transparent;
        color: #a2211e;
    }
    .news-main .menu-category {
        background: none !important;
        padding: 16px 16px 24px 16px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: flex-start;
        margin-left: 0;
        padding-bottom: 20px;
    }
    .news-main .menu-category li {
        flex: 0 0 auto;
        background: #ffffff;
        border-radius: 32px;
        margin: 0;
        padding: 0;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    }
    .news-main .menu-category li p {
        padding: 8px 20px;
        border-bottom: none;
        background: transparent;
    }
    .news-main .menu-category li p::before,
    .news-main .menu-category li p::after {
        display: none;
    }
    .news-main .menu-category li p a {
        font-size: 15px;
        color: #2c3e4e;
        line-height: 1.4;
        white-space: nowrap;
    }
    .news-main .menu-category li.active-cat {
        background: #a2211e;
        box-shadow: 0 2px 8px rgba(162, 33, 30, 0.3);
    }
    .news-main .menu-category li.active-cat p a {
        color: white;
        font-weight: 500;
    }
}

/* 中小屏幕（≤860px）：新闻区域垂直排列，标题允许换行 */
@media (max-width: 860px) {
    .news-main {
        flex-direction: column;
        gap: 24px;
        padding: 0 16px;
        margin: 24px auto;
    }
    .news-main .left-menu {
        width: 100%;
    }
    .news-title {
        white-space: normal;
        word-break: break-word;
        font-size: 0.95rem;
    }
    .news-date {
        font-size: 0.7rem;
        padding: 2px 10px;
    }
    .page-header h2 {
        font-size: 1.4rem;
    }
    .right-content {
        padding: 18px 20px;
    }
}

/* 移动端（≤768px）：新闻项垂直布局 */
@media (max-width: 768px) {
    .news-item a {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .news-title {
        width: 100%;
        font-size: 0.95rem;
        line-height: 1.4;
        white-space: normal;
        word-break: break-word;
    }
    .news-date {
        margin-left: 0;
        padding-left: 0;
        font-size: 0.7rem;
        color: #888;
    }
    .news-item:hover {
        padding-left: 0;
        padding-right: 0;
        margin: 0;
    }
    .pagination {
        gap: 6px;
        margin-top: 28px;
    }
    .page-btn {
        min-width: 38px;
        height: 38px;
        font-size: 0.8rem;
    }
}

/* 超小屏手机（≤480px）精细调整 */
@media (max-width: 480px) {
    .news-main .menu-category {
        gap: 8px;
        padding: 12px 12px 20px 12px;
    }
    .news-main .menu-category li p {
        padding: 6px 14px;
    }
    .news-main .menu-category li p a {
        font-size: 13px;
        white-space: nowrap;
    }
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .breadcrumb {
        padding-left: 0;
    }
    .news-title {
        font-size: 0.88rem;
    }
    .news-date {
        font-size: 0.65rem;
    }
    .page-btn {
        min-width: 34px;
        height: 34px;
        font-size: 0.75rem;
    }
}

/* 桌面端强制保持标题单行省略号 */
@media (min-width: 769px) {
    .news-item a {
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
    }
    .news-title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .news-date {
        flex-shrink: 0;
        margin-left: 12px;
    }
}
@media screen and (min-width: 1025px) {
    .news-main .left-menu {
        display: flex;
        flex-direction: column;
        max-height: none;
        /* 外框背景维持原有 */
    }

    .news-main .menu-category {
        flex: 1;                     /* 自动撑满剩余高度（除去标题栏） */
        background:url(../images/nabaid.png) no-repeat center;
        background-size: 100% 100%;  /* 拉伸填满整个 menu-category 区域 */
        margin-left: 10px;
        padding-top: 20px;
        padding-bottom: 30px;
		margin-bottom: 7px;
    }

    /* 确保标题栏与菜单区之间没有空隙导致背景断裂 */
    .news-main .menu-title {
        flex-shrink: 0;
    }
}


@media (min-width: 1400px) {
    .news-main {
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }
}