@charset "utf-8";
/**
 * 南充机关党建 - 首页样式
 * 主色调：#bd0100（深红）、#bb4235（暗红）
 */

/* ==================== 全局变量 ==================== */
:root {
    --ncjggw-red: #bd0100;
    --ncjggw-red-dark: #bb4235;
    --ncjggw-red-light: #dc3545;
    --ncjggw-bg: #FFF;
    --ncjggw-text: #333;
    --ncjggw-border: #eee;
    --ncjggw-white: #fff;
    --ncjggw-container: 1200px;
}

@font-face {
  font-family: "nc-iconfont"; /* Project id 5128068 */
  src: url('../iconfont/iconfont.woff2?t=1782615948131') format('woff2'),
       url('../iconfont/iconfont.woff?t=1782615948131') format('woff'),
       url('../iconfont/iconfont.ttf?t=1782615948131') format('truetype');
}

.nc-iconfont {
  font-family: "nc-iconfont" !important;
  font-size: 20px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.nc-icon-nav:before {
  content: "\e66b";
}

.nc-icon-backtop:before {
  content: "\e720";
}

.nc-icon-book:before {
  content: "\e64f";
}

.nc-icon-check:before {
  content: "\e654";
}

.nc-icon-close:before {
  content: "\e656";
}

.nc-icon-search:before {
  content: "\e65f";
}

.nc-icon-location:before {
  content: "\e665";
}

.nc-icon-qrcode:before {
  content: "\e8f2";
}



.text-center {
    text-align: center !important;
}

/* ==================== Body ==================== */
.ncjggw-body {
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: var(--ncjggw-text);
    background: var(--ncjggw-bg);
    line-height: 1.6;
}

.ncjggw-body a {
    color: var(--ncjggw-text);
    text-decoration: none;
    transition: color 0.2s;
}
.ncjggw-body a:hover {
    color: var(--ncjggw-red);
}

/* ==================== 容器 ==================== */
.ncjggw-container {
    width: var(--ncjggw-container);
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.ncjggw-section {
    padding: 12px 0;
}

/* ==================== 页头大图 ==================== */
.ncjggw-header {
    width: 100%;
    height: 420px;
    background: url('../images/header_top_20240823.png') center/cover no-repeat;
    background-color: var(--ncjggw-red-dark);
}
.ncjggw-header-inner {
    width: 100%;
    height: 100%;
}

/* ==================== 导航栏 ==================== */
.ncjggw-nav {
    width: 100%;
    height: 125px;
    background: url('../images/nav.jpg') repeat-x;
    background-color: var(--ncjggw-red-dark);
    position: sticky;
    top: 0;
    z-index: 100;
}
.ncjggw-nav-inner {

    max-width: calc(100% -30px); ;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
    height: 125px;
}
@media screen and (min-width: 1200px) {
    .ncjggw-nav-inner {
        width: 1200px;
        margin:0 auto;
        padding: 0 15px;
    }
}
@media screen and (min-width: 1230px) {
    .ncjggw-nav-inner {
        width: 1200px;
        max-width: 1200px;
        margin:0 auto;
        padding: 0 15px;
    }
}



/* 移动端导航 */
.ncjggw-nav-mobile {
    display: none;
    height: 65px;
    align-items: center;
    justify-content: space-between;
}
.ncjggw-mobile-logo img {
    height: 45px;
}
.ncjggw-mobile-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}
.ncjggw-mobile-actions a{
    color: #FFFFFFCC;
}
.ncjggw-mobile-actions a:hover{
    color: #FFFFFFFF;
    opacity: 1;
}
.ncjggw-mobile-actions .layui-icon{
    font-size: 20px;
}
.ncjggw-icon-btn {
    color: #fff;
    font-size: 24px;
    padding: 0 10px;
    display: inline-block;
    line-height: 65px;
}
.ncjggw-icon-btn:hover {
    color: #fff;
    opacity: 0.8;
}

/* PC 导航 */
.ncjggw-nav-pc {
    display: flex;
    align-items: center;
    height: 65px;
    justify-content: space-between;
}
.ncjggw-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    height: 100%;
    margin-left: -10px;
}
.ncjggw-nav-list li {
    margin: 0;
    padding: 0 10px;
}
/*.ncjggw-nav-list li:first-child {
    padding-left: 0;
}*/
.ncjggw-nav-item {
    font-size: 22px;
    height: 65px;
    line-height: 65px;
    padding: 0 12px;
    text-align: center;
    cursor: pointer;
    position: relative;
}
.ncjggw-nav-item a {
    color: #fff;
    display: block;
    white-space: nowrap;
}
.ncjggw-nav-item:hover,
.ncjggw-nav-item.active {
    font-weight: bold;
    color: #fff;
}
.ncjggw-nav-item::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 28px;
    height: 2px;
    background: #fff;
    transition: transform 0.2s;
}
.ncjggw-nav-item.active::after,
.ncjggw-nav-item:hover::after {
    transform: translateX(-50%) scaleX(1);
}
.ncjggw-nav-item a:hover {
    color: #fff;
    font-weight: bold;
}



/* 搜索框 */
.ncjggw-nav-search {
    position: relative;
    width: 150px;
    height: 40px;
    margin-right: 0px;
}
.ncjggw-nav-search form {
    width: 100%;
    height: 100%;
}
.ncjggw-nav-search input {
    width: 100%;
    height: 40px;
    line-height: 40px;
    padding: 0 44px 0 15px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}
.ncjggw-nav-search button {
    position: absolute;
    right: 2px;
    top: 2px;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    color: var(--ncjggw-red-light);
    font-size: 18px;
    cursor: pointer;
    border-left: 1px solid #f0f0f0;
    text-align: center;
    line-height: 36px;
    padding: 0;
}

/* 导航子栏目面板 */
.ncjggw-nav-sub {
    height: 60px;
    overflow: hidden;
    padding-left: 0px;
    margin-left: -10px;
}
.ncjggw-nav-sub-inner {
    height: 60px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.ncjggw-nav-sub-inner .cat-child {
    display: none;
    gap: 8px;
}
.ncjggw-nav-sub-inner .cat-child.active {
    display: flex;
}
.ncjggw-nav-sub-inner .cat-child a {
    color: rgba(0,0,0,0.9);
    font-size: 16px;
    padding: 0 10px;
    height: 60px;
    line-height: 60px;
    white-space: nowrap;
}
/*.ncjggw-nav-sub-inner .cat-child a:first-child {
    padding-left: 0;
}*/
.ncjggw-nav-sub-inner .cat-child a:hover {
    color: var(--ncjggw-red);
}

/* ==================== 头条 ==================== */
.index-toutiao {
    padding-top: 15px;
}
.index-toutiao-row {
    display: flex;
    background: #f8f8f8;
    min-height: 84px;
    border-radius: 6px;
    overflow: hidden;
}
.index-toutiao-icon {
    background: var(--ncjggw-red-light);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 25px;
    min-width: 30px;
    max-width: 35px;
}
.index-toutiao-icon-text {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 8px;
    writing-mode: vertical-lr;
}
.index-toutiao-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 25px;
    background-color: #f8f8f8;
}
.index-toutiao-link {
    font-size: 30px;
    line-height: 42px;
    text-align: center;
    font-weight: bold;
    color: var(--ncjggw-text);
}
.index-toutiao-link:hover {
    color: var(--ncjggw-red);
}

/* ==================== 通知公告（移动端） ==================== */
.ncjggw-notice-mobile {
    display: none;
}

/* ==================== 幻灯片区域 ==================== */

.index-col-slide {
    flex: 0 0 970px;
    max-width: 970px;
    max-height: 400px;
}
.index-col-news {
    flex: 1;
    min-width: 300px;
}

.index-slide-block{
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.index-slide-block img{
    display: block;
    width: 100%;
    height: 100%;
}

.index-slide-block h2{
    width: calc(100% - 30px);
    height: 75px;
    overflow-y: hidden;
    line-height: 30px;
    font-size: 24px;
    color: #fff;
    background-image: url('../images/bg_slide.png');
    position: absolute;
    bottom: 0;
    padding: 0 15px;
    display: flex;
  align-items: flex-end;  /* 交叉轴底部对齐 */
}
.index-slide-block span{
    padding-bottom: 15px;
}

.layui-carousel-ind{
    top: calc(100% - 780px);
}


@media screen and (max-width: 991.98px) {
    .index-col-slide {
        max-height:100%;
    }
    .index-slide-block h2{
        font-size: 18px;
        line-height: 150%;
    }
    .index-col-slide{
        margin-bottom: 30px;
    }
    .layui-carousel-ind{
        top: 10px;
    }
}

/* 幻灯片 */




.index-slider {
    position: relative;
    width: 100%;
    height: 400px;
    background: var(--ncjggw-bg);
    overflow: hidden;
    border-radius: 2px;
}
.index-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}
.index-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s;
}
.index-slide.active {
    opacity: 1;
    z-index: 1;
}
.index-slide a {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}
.index-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.index-slide h2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75px;
    line-height: 75px;
    font-size: 24px;
    color: #fff;
    padding: 0 20px;
    margin: 0;
    background: url('../images/bg_slide.png');
    background-size: cover;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

/* 幻灯片按钮 */
.index-slider-prev,
.index-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 60px;
    background: rgba(0,0,0,0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background 0.3s;
    opacity: 0;
}
.index-slider:hover .index-slider-prev,
.index-slider:hover .index-slider-next {
    opacity: 1;
}
.index-slider-prev:hover,
.index-slider-next:hover {
    background: rgba(0,0,0,0.7);
}
.index-slider-prev {
    left: 0;
    border-radius: 0 4px 4px 0;
}
.index-slider-next {
    right: 0;
    border-radius: 4px 0 0 4px;
}
.index-slider-prev i,
.index-slider-next i {
    font-size: 28px;
}

/* 幻灯片指示点 */
.index-slider-dots {
    position: absolute;
    bottom: 85px;
    width: 100%;
    text-align: center;
    z-index: 5;
}
.index-slider-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    margin: 0 4px;
    cursor: pointer;
    transition: background 0.3s;
}
.index-slider-dots span.active {
    background: rgba(205, 53, 43, 0.9);
}






/* news 模块 */

.index-news-block {
    margin-bottom: 0;
}
.index-col-news-hot{
    margin-top: 0;
}
.index-news-gzdt{
    margin-top: 20px;
}

.index-news-block .news-header {
    width: 100%;
    height: 26px;
    line-height: 26px;
    padding-bottom: 12px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--ncjggw-border);
}
.index-news-block .news-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--ncjggw-red);
    margin: 0;
    white-space: nowrap;
    /*    border-bottom: 2px solid var(--ncjggw-red);*/
}

.index-news-block .news-tabs {
    display: flex;
    flex: 1;
}
.index-news-block .news-tabs a {
    font-size: 16px;
    color: #666;
    padding: 0px 8px;
    position: relative;
}
.index-news-block .news-tabs a:hover {
    color: var(--ncjggw-red);
}

.index-news-block .news-more {
    float: right;
    font-size: 16px;
    color: #666;
    white-space: nowrap;
}
.index-news-block .news-more:hover {
    color: var(--ncjggw-red);
}
.index-news-block .news-more{
    text-align: right;
}

/* A2: 「更多」加 › 箭头，hover 右移 */
.index-news-block .news-more::after,
.index-cat-block .news-more::after {
    content: ' ›';
    font-size: 14px;
    transition: margin 0.2s;
}
.index-news-block .news-more:hover::after,
.index-cat-block .news-more:hover::after {
    margin-left: 4px;
}

.index-news-block .news-list {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.index-news-block .news-item {
    display: flex;
    align-items: center;
    height: 36px;
    line-height: 36px;
    font-size: 16px;
    padding: 0 5px;
    transition: background 0.2s, color 0.2s;
    border-radius: 3px;
}
.index-news-block .news-item:last-child {
    border-bottom: none;
}
.index-news-block .news-item:hover {
    color: var(--ncjggw-red);
    background: #fdf5f5;
}
.index-news-block .news-label {
    font-size: 13px;
    height: 22px;
    line-height: 22px;
    padding: 1px 6px;
    border-radius: 3px;
    margin-right: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}
.index-news-block .label-red {
    background: #fde8e8;
    color: var(--ncjggw-red);
}
.index-news-block .label-blue {
    background: #e8f0fe;
    color: #1a73e8;
}
.index-news-block .label-green {
    background: #e8f5e9;
    color: #2e7d32;
}
.index-news-block .news-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    flex: 1;
}
.index-news-block .news-item-plain {
    padding-left: -2px;
}
.index-news-block .news-item-plain::before {
    content: '•';
    color: var(--ncjggw-red);
    margin-right: 10px;
    flex-shrink: 0;

}

/* ==================== 栏目最新 ==================== */

.index-cat-block{
    margin:10px 0;
}
.index-cat-block .news-header {
    width: 100%;
    height: 26px;
    line-height: 26px;
    overflow: hidden;
    padding-bottom: 12px;
    margin-bottom: 0;
    border-bottom: 2px solid var(--ncjggw-red);
}
.index-cat-block .news-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--ncjggw-red);
    margin: 0;
    white-space: nowrap;
    /*    border-bottom: 2px solid var(--ncjggw-red);*/
}

.index-cat-block .news-tabs {
    width: 100%;
    overflow-y: hidden;
    display: flex;
    flex: 1;
}
.index-cat-block .news-tabs a {
    height: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    overflow: hidden;
    font-size: 16px;
    color: #666;
    padding: 0px 8px;
    position: relative;
}
.index-cat-block .news-tabs a:hover {
    color: var(--ncjggw-red);
}

.index-cat-block .news-more {
    float: right;
    font-size: 16px;
    color: #666;
    white-space: nowrap;
}
.index-cat-block .news-more:hover {
    color: var(--ncjggw-red);
}
.index-cat-block .news-more{
    text-align: right;
}


.index-cat-block .news-body{
    padding: 10px;
    border:1px solid #99999930;
    border-bottom: 2px solid #99999950;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}


/* 缩略图区块 */
.index-cat-block .news-thumb-item {
    display: flex;
    gap: 15px;
    padding: 5px 2px 14px;
}
.index-cat-block .news-thumb-img {
    width: 160px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 3px;
    background-size: cover;
    background-position: center;
    background-color: var(--ncjggw-bg);
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}
.index-cat-block .news-thumb-img:hover {
    transform: scale(1.03);
}
.index-cat-block .news-thumb-info {
    flex: 1;
    min-width: 0;
}
.index-cat-block .news-thumb-info h4 {
    font-size: 18px;
    margin: 0 0 8px;
    line-height: 1.4;
}
.index-cat-block .news-thumb-info h4 a {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.index-cat-block .news-thumb-info p {
    font-size: 16px;
    color: #666;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

@media screen and (max-width: 767.98px) {
    .index-cat-block .news-thumb-item {
        flex-wrap: wrap;
    }
    .index-cat-block .news-thumb-img {
        width: 100%;
        display: block;
    }
    .index-cat-block .news-thumb-info{
        width: 100%;
        display: block;
    }

}

.index-cat-block .news-list {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.index-cat-block .news-item {
    display: flex;
    align-items: center;
    height: 36px;
    line-height: 36px;
    font-size: 16px;
    padding: 0 5px;
    transition: background 0.2s, color 0.2s;
    border-radius: 3px;

}
.index-cat-block .news-item:last-child {
    border-bottom: none;
}
.index-cat-block .news-item:hover {
    color: var(--ncjggw-red);
    background: #fdf5f5;
}
.index-cat-block .news-label {
    font-size: 13px;
    height: 22px;
    line-height: 22px;
    padding: 1px 6px;
    border-radius: 3px;
    margin-right: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}
.index-cat-block .label-red {
    background: #fde8e8;
    color: var(--ncjggw-red);
}
.index-cat-block .label-blue {
    background: #e8f0fe;
    color: #1a73e8;
}
.index-cat-block .label-green {
    background: #e8f5e9;
    color: #2e7d32;
}
.index-cat-block .news-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    flex: 1;
}
.index-cat-block .news-item-plain {
    padding-left: -2px;
}
.index-cat-block .news-item-plain::before {
    content: '•';
    color: var(--ncjggw-red);
    margin-right: 10px;
    flex-shrink: 0;

}



/* ==================== 站内排行 ==================== */

.index-rank-tabs {
    float: right;
    display: flex;
    gap: 0;
}
.index-rank-tab {
    font-size: 14px;
    color: #666;
    padding: 3px 10px;
    background: #dedede;
    border-radius: 0;
    transition: all 0.2s;
}
.index-rank-tab:first-child {
    border-radius: 3px 0 0 3px;
}
.index-rank-tab:last-child {
    border-radius: 0 3px 3px 0;
}
.index-rank-tab.active {
    background: var(--ncjggw-red);
    color: #fff;
}
.index-rank-tab.active:hover {
    color: #fff;
}


.index-rank-block .news-item-plain::before {
    display: none;
}

.index-rank-block .rank-body{
    padding: 8px 10px 7px 10px;
}

.index-rank-block .layui-badge{
    border-radius: 16px;
    box-sizing: border-box;
    background-color: #dc3545;
}
.index-rank-block .rank-text{
    margin-left: 0.6em;
}



/* ==================== 图片新闻 ==================== */
.index-pics-panel {
    border-radius: 6px;
    border: 1px solid #99999933;
    border-bottom: 2px solid #99999933;
}
.index-pics-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid var(--ncjggw-border);
    position: relative;
}
.index-pics-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--ncjggw-red);
    margin: 0;
    padding-left: 12px;
    position: relative;
}
.index-pics-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 3px;
    height: 26px;
    background: var(--ncjggw-red);
}
.index-pics-pages {
    display: flex;
    gap: 6px;
}
.index-pics-pages span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s;
}
.index-pics-pages span.active {
    background: var(--ncjggw-red);
}
.index-pics-body {
    padding: 15px;
}
.index-pics-slider {
    overflow: hidden;
    height: 200px;
}
.index-pics-wrapper {
    display: flex;
    gap: 15px;
    height: 100%;
    will-change: transform;
    /* transition 由 JS requestAnimationFrame 控制，此处注释 */
}
.index-pics-slide {
    flex: 0 0 calc(16.666% - 12.5px);
    min-width: 140px;
    text-align: center;
}
.index-pics-slide a {
    display: block;
}
.index-pics-slide img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 3px;
}
.index-pics-slide h4 {
    font-size: 14px;
    margin: 8px 0 0;
    font-weight: normal;
    color: var(--ncjggw-text);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

}

















/* ==================== 时政要闻 + 工作动态 ==================== */
/*.ncjggw-news-block {
    margin-bottom: 18px;
}
.ncjggw-news-header {
    display: flex;
    align-items: center;
    height: 38px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--ncjggw-border);
    gap: 15px;
}
.ncjggw-news-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--ncjggw-red);
    margin: 0;
    white-space: nowrap;
}
.ncjggw-news-tabs {
    display: flex;
    gap: 8px;
    flex: 1;
}
.ncjggw-news-tabs a {
    font-size: 16px;
    color: #666;
    padding: 2px 8px;
    position: relative;
}
.ncjggw-news-tabs a.active {
    color: var(--ncjggw-red);
    font-weight: bold;
}
.ncjggw-news-tabs a.active::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--ncjggw-red);
}
.ncjggw-news-more {
    font-size: 14px;
    color: #999;
    white-space: nowrap;
}
.ncjggw-news-more:hover {
    color: var(--ncjggw-red);
}
.ncjggw-news-header .ncjggw-news-more{

    float: right;
}
.ncjggw-news-list {
    display: flex;
    flex-direction: column;
}
.ncjggw-news-item {
    display: flex;
    align-items: center;
    height: 40px;
    font-size: 16px;
    border-bottom: 1px dotted #eee;
    padding: 0 5px;
}
.ncjggw-news-item:last-child {
    border-bottom: none;
}
.ncjggw-news-item:hover {
    color: var(--ncjggw-red);
}
.ncjggw-news-label {
    font-size: 13px;
    padding: 1px 6px;
    border-radius: 3px;
    margin-right: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}
.ncjggw-label-red {
    background: #fde8e8;
    color: var(--ncjggw-red);
}
.ncjggw-label-blue {
    background: #e8f0fe;
    color: #1a73e8;
}
.ncjggw-label-green {
    background: #e8f5e9;
    color: #2e7d32;
}
.ncjggw-news-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    flex: 1;
}
.ncjggw-news-item-plain {
    padding-left: 0;
}
.ncjggw-news-item-plain::before {
    content: '•';
    color: var(--ncjggw-red);
    margin-right: 10px;
    flex-shrink: 0;
}
*/
/* ==================== Banner 广告 ==================== */
.ncjggw-banner {
    padding: 12px 0;
}
.ncjggw-banner a,
.ncjggw-banner img {
    display: block;
    width: 100%;
    max-width: 1200px;
    max-height: 120px;
    margin: 0 auto;
}

/* ==================== 栏目最新 ==================== */
.ncjggw-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.ncjggw-grid-2 > * {
    flex: 0 0 calc(50% - 10px);
    min-width: 300px;
}
.ncjggw-grid-3 > * {
    flex: 0 0 calc(33.333% - 13.4px);
    min-width: 250px;
}

.ncjggw-cat-block {
    margin-bottom: 15px;
}
.ncjggw-cat-block-header {
    display: flex;
    align-items: center;
    height: 42px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--ncjggw-border);
    position: relative;
    gap: 10px;
}
.ncjggw-cat-block-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--ncjggw-red);
    margin: 0;
    position: relative;
    white-space: nowrap;
}
.ncjggw-cat-block-title::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--ncjggw-red);
}
.ncjggw-cat-sub-tabs {
    display: flex;
    gap: 8px;
    flex: 1;
    overflow: hidden;
    flex-wrap: wrap;
    max-height: 28px;
}
.ncjggw-cat-sub-tabs a {
    font-size: 16px;
    color: #666;
    white-space: nowrap;
}
.ncjggw-cat-sub-tabs a:hover {
    color: var(--ncjggw-red);
}
.ncjggw-cat-more {
    font-size: 14px;
    color: #999;
    white-space: nowrap;
}
.ncjggw-cat-more:hover {
    color: var(--ncjggw-red);
}

.ncjggw-cat-block-body {
    border: 1px solid var(--ncjggw-border);
    padding: 15px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top: none;
}

/* 缩略图区块 */
.ncjggw-cat-thumb-item {
    display: flex;
    gap: 15px;
    padding: 5px 2px 14px;
}
.ncjggw-cat-thumb-img {
    width: 160px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 3px;
    background-size: cover;
    background-position: center;
    background-color: var(--ncjggw-bg);
    background-repeat: no-repeat;
}
.ncjggw-cat-thumb-info {
    flex: 1;
    min-width: 0;
}
.ncjggw-cat-thumb-info h4 {
    font-size: 18px;
    margin: 0 0 8px;
    line-height: 1.4;
}
.ncjggw-cat-thumb-info h4 a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ncjggw-cat-thumb-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

/* 栏目列表 */
.ncjggw-cat-list {
    display: flex;
    flex-direction: column;
}
.ncjggw-cat-list-item {
    font-size: 16px;
    height: 38px;
    line-height: 38px;
    padding: 0 5px;
    border-bottom: 1px dotted #eee;
}
.ncjggw-cat-list-item:last-child {
    border-bottom: none;
}
.ncjggw-cat-list-item:hover {
    color: var(--ncjggw-red);
}
.ncjggw-cat-list-item::before {
    content: '•';
    color: var(--ncjggw-red);
    margin-right: 10px;
}
.ncjggw-cat-list-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ==================== 站内排行 ==================== */
.ncjggw-rank-block .ncjggw-cat-block-body {
    padding-top: 10px;
}
.ncjggw-rank-tabs {
    display: flex;
    gap: 0;
}
.ncjggw-rank-tab {
    font-size: 14px;
    color: #666;
    padding: 3px 10px;
    background: #dedede;
    border-radius: 0;
    transition: all 0.2s;
}
.ncjggw-rank-tab:first-child {
    border-radius: 3px 0 0 3px;
}
.ncjggw-rank-tab:last-child {
    border-radius: 0 3px 3px 0;
}
.ncjggw-rank-tab.active {
    background: var(--ncjggw-red);
    color: #fff;
}
.ncjggw-rank-content {
    display: block;
}
.ncjggw-rank-panel {
    display: none;
}
.ncjggw-rank-panel.active {
    display: block;
}
.ncjggw-rank-item {
    display: flex;
    align-items: center;
    height: 40px;
    font-size: 16px;
    border-bottom: 1px dotted #eee;
}
.ncjggw-rank-item:last-child {
    border-bottom: none;
}
.ncjggw-rank-item:hover {
    color: var(--ncjggw-red);
}
.ncjggw-rank-num {
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: #bbb;
    color: #fff;
    border-radius: 3px;
    font-size: 13px;
    margin-right: 12px;
    flex-shrink: 0;
    font-weight: bold;
}
.ncjggw-rank-num-hot {
    background: var(--ncjggw-red);
}
.ncjggw-rank-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    flex: 1;
}

/* ==================== 图片新闻 ==================== */
.ncjggw-pics-panel {
    border: 1px solid var(--ncjggw-border);
    border-radius: 4px;
}
.ncjggw-pics-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid var(--ncjggw-border);
    position: relative;
}
.ncjggw-pics-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--ncjggw-red);
    margin: 0;
    padding-left: 12px;
    position: relative;
}
.ncjggw-pics-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 3px;
    height: 18px;
    background: var(--ncjggw-red);
}
.ncjggw-pics-pages {
    display: flex;
    gap: 6px;
}
.ncjggw-pics-pages span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s;
}
.ncjggw-pics-pages span.active {
    background: var(--ncjggw-red);
}
.ncjggw-pics-body {
    padding: 15px;
}
.ncjggw-pics-slider {
    overflow: hidden;
    height: 200px;
}
.ncjggw-pics-wrapper {
    display: flex;
    transition: transform 0.5s;
    gap: 15px;
    height: 100%;
}
.ncjggw-pics-slide {
    flex: 0 0 calc(16.666% - 12.5px);
    min-width: 140px;
    text-align: center;
}
.ncjggw-pics-slide a {
    display: block;
}
.ncjggw-pics-slide img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 3px;
}
.ncjggw-pics-slide h4 {
    font-size: 14px;
    margin: 8px 0 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: normal;
    color: var(--ncjggw-text);
}

/* ==================== 快速入口 ==================== */
.index-quick-card {
    border-radius: 6px;
    overflow: hidden;
    color: #fff;
}
.index-quick-card-header {
    padding: 15px 20px 8px;
}
.index-quick-card-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}
.index-quick-card-body {
    padding: 0 20px 20px;
}
.ncjggw-btn {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
    text-decoration: none;
}
.ncjggw-btn:hover {
    opacity: 0.85;
}
.ncjggw-btn {
    background: rgba(255,255,255,0.5);
    color: #FFFFFF50;
}
.ncjggw-btn:hover{
    background: rgba(255,255,255,0.8);
    color: #FFFFFF;
}

/* ==================== 页脚 ==================== */
.ncjggw-footer {
    background: var(--ncjggw-red-dark);
    color: #fff;
    padding: 30px 0;
    margin-top: 30px;
}
.ncjggw-footer a {
    color: rgba(255,255,255,0.9);
}
.ncjggw-footer a:hover {
    color: #fff;
}
.ncjggw-footer-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}
.ncjggw-footer-item {
    font-size: 15px;
}
.ncjggw-footer-redcon {
    text-align: center;
}
.ncjggw-footer-redcon img {
    width: 80px;
}

/* ==================== 右侧浮动通知 ==================== */
.ncjggw-side-notice {
    position: fixed;
    right: 15px;
    top: 560px;
    z-index: 90;
    width: 160px;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.ncjggw-side-notice-header {
    background: var(--ncjggw-red-light);
    color: #fff;
    padding: 10px 16px;
    font-size: 16px;
    font-weight: bold;
}
.ncjggw-side-notice-item {
    padding: 10px 16px;
    border-bottom: 1px dotted #eee;
}
.ncjggw-side-notice-item a {
    font-size: 14px;
    color: var(--ncjggw-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}
.ncjggw-side-notice-item a:hover {
    color: var(--ncjggw-red);
}
.ncjggw-side-notice-more {
    padding: 10px 16px;
    text-align: right;
}
.ncjggw-side-notice-more a {
    font-size: 14px;
    color: var(--ncjggw-red);
}

/* ==================== 侧边固定条：二维码 + 返回顶部（layui fixbar） ==================== */

/* QR 弹出层容器 */
.fixbar-qr-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}
/* QR 弹出层 - hover 时显示在左侧 */
.fixbar-qr-popup {
    display: none;
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 6px;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
    z-index: 10;
    white-space: nowrap;
    line-height: 0;
}
.fixbar-qr-popup img {
    display: block;
    border-radius: 2px;
}
.fixbar-qr-popup::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right: 0;
    border-left-color: #fff;
}

/* hover 显示二维码 */
.fixbar-qr-inner:hover .fixbar-qr-popup {
    display: block;
}

/* fixbar 自定义条按钮颜色（红色系，与顶部按钮风格统一） */
.layui-fixbar li{
    width: 38px;
    height: 38px;
    line-height: 38px;
    background-color: #FFFFFF50;
    color: #00000030;
    border-radius: 4px;
    margin-bottom: 6px;
    border:1px solid #00000030;
}

.layui-fixbar li:hover {
    background-color: #FFF;
    color: #dc3545;
    border:1px solid #dc3545;
}

.layui-fixbar .layui-fixbar-top {
    display: none;
    font-size: 24px;
}


/* fixbar 容器允许溢出（让二维码弹出层不被裁剪） */

.layui-fixbar,
.layui-fixbar ul {
    overflow: visible !important;
}
.layui-fixbar li {
    position: relative;
}
.layui-fixbar .nc-iconfont {
    font-size: 24px;
}




/* 旧版返回顶部样式保留（兼容其他页面） */
.ncjggw-backtop {
    position: fixed;
    right: 15px;
    bottom: 60px;
    z-index: 100;
    display: none;
}

/* ==================== 移动端菜单抽屉 ==================== */
/* 抽屉外层（layer skin） */
.ncjggw-drawer-mobile {
    border-radius: 0 !important;
    box-shadow: 2px 0 12px rgba(0,0,0,0.15) !important;
}
.ncjggw-drawer-mobile .layui-layer-title {
    display: none;
}
.ncjggw-drawer-mobile .layui-layer-content {
    padding: 0 !important;
    overflow-y: auto;
    overflow-x: hidden;
}

/* 菜单容器 */
.ncjggw-mobile-menu-wrap {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
}

/* 顶部标题栏 */
.ncjggw-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 50px;
    min-height: 50px;
    background: var(--ncjggw-red, #bd0100);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
}
.ncjggw-mobile-menu-header .layui-icon-close {
    font-size: 22px;
    cursor: pointer;
    padding: 4px;
    transition: opacity 0.2s;
}
.ncjggw-mobile-menu-header .layui-icon-close:hover {
    opacity: 0.75;
}

/* 菜单列表 */
.ncjggw-mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* 菜单项 */
.ncjggw-menu-item {
    border-bottom: 1px solid #f0f0f0;
}
.ncjggw-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    user-select: none;
}
.ncjggw-menu-link:active,
.ncjggw-menu-link:hover {
    background: #f8f8f8;
}
.ncjggw-menu-item.active > .ncjggw-menu-link,
.ncjggw-menu-item.open > .ncjggw-menu-link {
    color: var(--ncjggw-red, #bd0100);
    background: rgba(189,1,0,0.04);
}

/* 右侧箭头 */
.ncjggw-menu-arrow {
    font-size: 14px;
    color: #bbb;
    transition: transform 0.25s ease;
    flex-shrink: 0;
    margin-left: 8px;
}
.ncjggw-menu-item.open > .ncjggw-menu-link .ncjggw-menu-arrow {
    transform: rotate(90deg);
    color: var(--ncjggw-red, #bd0100);
}

/* 子菜单容器 */
.ncjggw-mobile-sub {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fafafa;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}
.ncjggw-menu-item.open > .ncjggw-mobile-sub {
    max-height: 800px;
}

/* 子菜单项 */
.ncjggw-sub-item {
    border-bottom: 1px dotted #eee;
}
.ncjggw-sub-item a {
    display: block;
    padding: 12px 20px 12px 44px;
    font-size: 15px;
    color: #555;
    transition: background 0.15s, color 0.15s;
}
.ncjggw-sub-item a:active,
.ncjggw-sub-item a:hover {
    background: #f0f0f0;
    color: var(--ncjggw-red, #bd0100);
}
.ncjggw-sub-item.active a {
    color: var(--ncjggw-red, #bd0100);
    font-weight: bold;
    background: rgba(189,1,0,0.04);
}

/* ==================== 响应式设计 ==================== */

/* 中等屏幕 992px - 1199px */
@media screen and (max-width: 1199px) {
    .ncjggw-header {
        height: 315px;
    }
    .ncjggw-col-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .ncjggw-col-news {
        flex: 0 0 100%;
    }
    .ncjggw-grid-2 > * {
        flex: 0 0 100%;
    }
    .ncjggw-grid-3 > * {
        flex: 0 0 calc(50% - 10px);
    }
    .ncjggw-nav-item {
        font-size: 18px;
        padding: 0 8px;
    }
    .ncjggw-nav-search {
        width: 120px;
    }
    .ncjggw-nav-sub-inner .cat-child a {
        font-size: 14px;
    }
    .ncjggw-pics-slide {
        flex: 0 0 calc(33.333% - 10px);
    }
    .ncjggw-side-notice {
        width: 116px;
        right: 10px;
        top: 550px;
    }
    .ncjggw-side-notice-header {
        padding: 5px 10px;
        font-size: 14px;
    }
    .ncjggw-side-notice-item {
        padding: 8px 10px;
    }
    .ncjggw-side-notice-item a {
        font-size: 13px;
    }
}

/* 小屏幕（平板） 500px - 900px */
@media screen and (max-width: 992px) {
    .ncjggw-header {
        display: none;
    }
    .ncjggw-nav {
        height: 65px;
    }
    .ncjggw-nav-inner {
        height: 65px;
    }
    .ncjggw-nav-mobile {
        display: flex;
    }
    .ncjggw-nav-pc,
    .ncjggw-nav-sub {
        display: none;
    }
    .index-toutiao-icon-text {
        font-size: 20px;
        letter-spacing: 4px;
    }
    .index-toutiao-link {
        font-size: 20px;
        line-height: 32px;
    }
    .ncjggw-slider {
        height: 300px;
    }
    .ncjggw-grid-2 > *,
    .ncjggw-grid-3 > * {
        flex: 0 0 100%;
    }
    .ncjggw-pics-slide {
        flex: 0 0 calc(33.333% - 10px);
    }
    .ncjggw-side-notice {
        display: none;
    }
    .ncjggw-notice-mobile {
        display: block;
    }
    .ncjggw-slide h2 {
        font-size: 18px;
        height: 55px;
        line-height: 55px;
    }
    .ncjggw-slide h2 {
        font-size: 16px;
        line-height: 45px;
    }
    .ncjggw-cat-thumb-item {
        flex-direction: column;
    }
    .ncjggw-cat-thumb-img {
        width: 100%;
        height: 180px;
    }
}

/* 超小屏幕（手机）< 500px */
@media screen and (max-width: 500px) {
    .ncjggw-header {
        display: none;
    }
    .ncjggw-nav {
        height: 50px;
    }
    .ncjggw-nav-inner {
        height: 50px;
    }
    .ncjggw-nav-mobile {
        height: 50px;
    }
    .ncjggw-mobile-logo img {
        height: 35px;
    }
    .ncjggw-icon-btn {
        line-height: 50px;
        font-size: 20px;
        padding: 0 8px;
    }
    .index-toutiao-row {
        border-radius: 5px;
        overflow: hidden;
    }
    .index-toutiao-row {
        min-height: 50px;
    }
    .index-toutiao-icon {
        padding: 12px 16px;
        min-width: 35px;
    }
    .index-toutiao-icon-text {
        font-size: 16px;
        letter-spacing: 2px;
    }
    .index-toutiao-link {
        font-size: 17px;
        line-height: 26px;
        padding: 12px 15px;
    }
    .ncjggw-slider {
        height: 220px;
    }
    .ncjggw-slide h2 {
        font-size: 14px;
        height: 40px;
        line-height: 40px;
    }
    .ncjggw-slider-dots {
        bottom: 45px;
    }
    .ncjggw-pics-slider {
        height: 160px;
    }
    .ncjggw-pics-slide {
        flex: 0 0 calc(50% - 7.5px);
    }
    .ncjggw-pics-slide img {
        height: 110px;
    }
    .ncjggw-pics-slide h4 {
        font-size: 12px;
    }
    .ncjggw-news-title,
    .ncjggw-cat-block-title,
    .ncjggw-pics-title,
    .news-title,
    .index-pics-title {
        font-size: 20px;
    }
    .index-cat-block {
        margin: 6px 0 16px;
    }
    .index-quick-card {
        margin-bottom: 0;
    }
    .ncjggw-slider-prev,
    .ncjggw-slider-next {
        width: 30px;
        height: 45px;
    }
}

/* 卡片通用 */
.ncjggw-card {
    border: 1px solid var(--ncjggw-border);
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}
.ncjggw-card-header-red {
    background: var(--ncjggw-red-light);
    color: #fff;
    padding: 10px 16px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ncjggw-card-header-red a {
    color: #fff;
    font-size: 14px;
    font-weight: normal;
}
.ncjggw-card-body {
    padding: 10px 16px;
}
.ncjggw-notice-item {
    padding: 8px 0;
    border-bottom: 1px dotted #eee;
}
.ncjggw-notice-item:last-child {
    border-bottom: none;
}
.ncjggw-notice-item a {
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

/* 哀悼模式 */
.ncjggw-body.mourn {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

/* ==================== 单页面（page）页面样式 ==================== */
.page_wrapper {
    max-width:calc(var(--ncjggw-container, 1200px) - 30px);
    margin: 20px auto;
    padding: 0 15px;
}

/* ---- 左侧栏目导航 ---- */
.page_sidebar_box {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 4px;
    overflow: hidden;
}

/* 导航标题栏（红色背景） */
.page_sidebar_header {
    background: var(--ncjggw-red, #bd0100);
    color: #fff;
    padding: 14px 20px;
    font-size: 18px;
    line-height: 1.4;
}
.page_sidebar_header strong {
    font-weight: bold;
    letter-spacing: 1px;
}

/* 导航列表 */
.page_sidebar_nav {
    padding: 8px 0;
}
.page_sidebar_item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    font-size: 15px;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.15s, color 0.15s;
    cursor: pointer;
}
.page_sidebar_item:last-child {
    border-bottom: none;
}
.page_sidebar_item:hover {
    background: #fafafa;
    color: var(--ncjggw-red, #bd0100);
}
.page_sidebar_item.active {
    color: var(--ncjggw-red, #bd0100);
    background: rgba(189, 1, 0, 0.04);
    font-weight: bold;
}

/* 导航前小三角标记 */
.page_sidebar_dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #ccc;
    border-right: 2px solid #ccc;
    transform: rotate(45deg);
    margin-right: 12px;
    flex-shrink: 0;
    transition: border-color 0.15s;
}
.page_sidebar_item.active .page_sidebar_dot,
.page_sidebar_item:hover .page_sidebar_dot {
    border-color: var(--ncjggw-red, #bd0100);
}

/* ---- 右侧内容区 ---- */
.page_main_box {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 4px;
    padding: 24px 28px;
    min-height: 400px;
}

/* 面包屑 */
.page_breadcrumb {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px dashed #ebebeb;
    font-size: 14px;
    color: #999;
}
.page_breadcrumb a {
    color: #666;
    transition: color 0.15s;
}
.page_breadcrumb a:hover {
    color: var(--ncjggw-red, #bd0100);
}
.page_breadcrumb_split {
    margin: 0 8px;
    color: #ccc;
    font-style: normal;
}

/* 页面标题 */
.page_title {
    font-size: 24px;
    font-weight: bold;
    color: #222;
    line-height: 1.4;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--ncjggw-red, #bd0100);
}

/* 元信息行 */
.page_meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
    padding: 10px 16px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 14px;
    color: #888;
}
.page_meta_item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.page_meta_split::before {
    content: "|";
    color: #ddd;
    margin-right: 6px;
}

/* 正文内容 */
.page_content {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.page_content p {
    margin-bottom: 1em;
    /* 每段首行空两格（配合 cms_clean_indent 清理手动缩进，缩进统一由 CSS 控制） */
    text-indent: 2em;
}
/* 含图片/视频的段落、列表/引用/表格内的段落不缩进（与 .shows_content 行为一致） */
.page_content p:has(> img),
.page_content p:has(> video),
.page_content li p,
.page_content blockquote p,
.page_content table p {
    text-indent: 0;
}
.page_content img {
    max-width: 100%;
    height: auto !important;
    display: block;
    margin: 16px auto;
    border-radius: 4px;
}
.page_content blockquote {
    margin: 16px 0;
    padding: 12px 20px;
    background: #f8f9fa;
    border-left: 4px solid var(--ncjggw-red, #bd0100);
    color: #555;
    font-size: 15px;
}
.page_content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}
.page_content table th,
.page_content table td {
    border: 1px solid #e0e0e0;
    padding: 8px 12px;
    text-align: left;
}
.page_content table th {
    background: #f5f5f5;
    font-weight: bold;
}

/* 版权声明 */
.page_copyright {
    margin-top: 32px;
    padding: 14px 16px;
    background: #fafafa;
    border-left: 3px solid var(--ncjggw-red, #bd0100);
    border-radius: 4px;
    font-size: 14px;
    color: #999;
    line-height: 1.6;
}
.page_copyright p {
    margin: 0;
}

/* 分享区域 */
.page_share {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

/* ---- 响应式：平板 ---- */
@media screen and (max-width: 1199px) {
    .page_main_box {
        padding: 20px;
    }
    .page_title {
        font-size: 22px;
    }
    .page_content {
        font-size: 15px;
    }
    .page_sidebar_item {
        padding: 10px 16px;
        font-size: 14px;
    }
    .page_sidebar_header {
        padding: 12px 16px;
        font-size: 16px;
    }
}

/* ---- 响应式：手机 ---- */
@media screen and (max-width: 767px) {
    .page_wrapper {
        margin: 10px auto;
        padding: 0 10px;
    }
    .page_wrapper .layui-row {
        margin-left: -5px;
        margin-right: -5px;
    }
    .page_wrapper [class*="layui-col-"] {
        padding-left: 5px;
        padding-right: 5px;
    }

    /* 移动端左侧导航横排展示 */
    .page_sidebar {
        margin-bottom: 12px;
    }
    .page_sidebar_box {
        border-radius: 4px;
    }
    .page_sidebar_header {
        padding: 10px 14px;
        font-size: 15px;
    }
    .page_sidebar_nav {
        display: flex;
        flex-wrap: wrap;
        padding: 6px 8px;
    }
    .page_sidebar_item {
        padding: 6px 12px;
        font-size: 13px;
        border-bottom: none;
        border-radius: 3px;
        margin: 2px;
        background: #f8f8f8;
    }
    .page_sidebar_item .page_sidebar_dot {
        display: none;
    }

    /* 右侧内容区 */
    .page_main_box {
        padding: 16px;
    }
    .page_title {
        font-size: 20px;
        margin-bottom: 12px;
        padding-bottom: 12px;
    }
    .page_content {
        font-size: 15px;
        line-height: 1.75;
    }
    .page_content p {
    }
    .page_breadcrumb {
        padding-bottom: 10px;
        margin-bottom: 12px;
        font-size: 13px;
    }
    .page_meta {
        font-size: 13px;
        padding: 8px 12px;
        margin-bottom: 16px;
    }
    .page_copyright {
        margin-top: 24px;
        font-size: 13px;
    }
}

/* ==================== 列表页（list）页面样式 ==================== */
.list_wrapper {
    max-width:calc(var(--ncjggw-container, 1200px) - 30px);
    margin: 0 auto;
    padding: 20px 15px;
}

/* ---- 面包屑 ---- */
.list_breadcrumb {
    padding: 0 0 16px 0;
    font-size: 14px;
    color: #999;
}
.list_breadcrumb a {
    color: #666;
    transition: color 0.15s;
}
.list_breadcrumb a:hover {
    color: var(--ncjggw-red, #bd0100);
}
.list_breadcrumb_slash {
    margin: 0 8px;
    color: #ccc;
    font-style: normal;
}

/* ---- 左侧栏目导航 ---- */
.list_sidebar_box {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 4px;
    overflow: hidden;
}

/* 导航标题栏（红色背景） */
.list_sidebar_header {
    background: var(--ncjggw-red, #bd0100);
    color: #fff;
    padding: 14px 20px;
    font-size: 18px;
    line-height: 1.4;
}
.list_sidebar_header strong {
    font-weight: bold;
    letter-spacing: 1px;
}

/* 栏目树 */
.list_sidebar_tree {
    padding: 4px 0;
}

/* 栏目树项 */
.list_tree_item {
    border-bottom: 1px solid #f5f5f5;
}
.list_tree_item:last-child {
    border-bottom: none;
}

.list_tree_row {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.list_tree_row:hover {
    background: #fafafa;
}
.list_tree_row.active {
    color: var(--ncjggw-red, #bd0100);
    background: rgba(189, 1, 0, 0.04);
    font-weight: bold;
}

.list_tree_link {
    flex: 1;
    color: inherit;
    text-decoration: none;
}
.list_tree_link:hover {
    color: var(--ncjggw-red, #bd0100);
    text-decoration: none;
}

/* 树箭头标记 */
.list_tree_arrow {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #ccc;
    border-right: 2px solid #ccc;
    transform: rotate(45deg);
    margin-right: 12px;
    flex-shrink: 0;
    transition: border-color 0.15s;
}
.list_tree_row.active .list_tree_arrow,
.list_tree_row:hover .list_tree_arrow {
    border-color: var(--ncjggw-red, #bd0100);
}

/* 子栏目 */
.list_tree_child {
    border-top: 1px solid #f5f5f5;
}

.list_tree_sub {
    padding-left: 40px;
    font-size: 14px;
    background: #fafafa;
    border-bottom: 1px dashed #eee;
}
.list_tree_sub:last-child {
    border-bottom: none;
}

/* ---- 右侧内容区 ---- */
.list_main_box {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 4px;
    overflow: hidden;
    min-height: 500px;
}

/* 栏目标题行 */
.list_header {
    padding: 0 24px;
}
.list_header_title {
    font-size: 18px;
    line-height: 52px;
    color: var(--ncjggw-red, #bd0100);
    font-weight: bold;
    margin: 0;
}
.list_header_line {
    height: 1px;
    background: #ebebeb;
    margin: 0 -24px;
}

/* ---- 文章列表项 ---- */
.list_articles {
    padding: 8px 0;
}

.list_item {
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}
.list_item:last-child {
    border-bottom: none;
}
.list_item:hover {
    background: #fafafa;
}

/* 缩略图 */
.list_item_thumb {
    padding-right: 16px;
}
.list_item_thumb a {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    background: #f5f5f5;
}
.list_item_thumb img {
    width: 100%;
    height: 126px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.list_item_thumb:hover img {
    transform: scale(1.05);
}

/* 文章信息 */
.list_item_body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 126px;
}

.list_item_title {
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 8px 0;
}
.list_item_title a {
    color: #222;
    transition: color 0.15s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.list_item_title a:hover {
    color: var(--ncjggw-red, #bd0100);
    text-decoration: none;
}

.list_item_desc {
    font-size: 14px;
    line-height: 22px;
    color: #888;
    margin: 0 0 5px 0;
    flex: 1;
    max-height: calc(22px * 3);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.list_item_meta {
    font-size: 13px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 10px;
}
.list_meta_split::before {
    content: "|";
    color: #ddd;
    margin-right: 10px;
}

/* ---- 视频列表卡片（视频列表页专用，参考线上 ax-card-block 风格） ---- */
.list_videos {
    padding: 16px 16px 0 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.list_video_item {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 3px;
    box-sizing: border-box;
    min-width: 0;          /* 防止 nowrap 长标题把 grid 列撑开溢出 */
    max-width: 100%;
    overflow: hidden;
    padding: 14px;
    transition: box-shadow 0.2s linear;
}
.list_video_item:hover {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* 视频封面：背景图，hover 时变化 */
.list_video_cover {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-top: 56.25%; /* 16:9 比例，自适应高度 */
    margin-bottom: 14px;
    background-color: #f5f5f5;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    transition: filter 0.2s;
}
.list_video_item:hover .list_video_cover {
    filter: brightness(0.92);
}

/* 无封面时的占位样式 */
.list_video_cover_empty {
    background-color: #e8e8e8;
    background-image: linear-gradient(135deg, #ececec 25%, #f5f5f5 25%, #f5f5f5 50%, #ececec 50%, #ececec 75%, #f5f5f5 75%, #f5f5f5);
    background-size: 24px 24px;
}

/* 视频标题（单行省略号，对齐 ax-ell-title） */
.list_video_title {
    font-size: 16px;
    line-height: 22px;
    margin: 0 0 6px 0;
    font-weight: bold;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 100%;
}
.list_video_title a {
    color: #222;
    transition: color 0.15s;
}
.list_video_title a:hover {
    color: var(--ncjggw-red, #bd0100);
    text-decoration: none;
}

/* 描述（对齐 ax-des：#666, 14px, 2 行省略号） */
.list_video_desc {
    font-size: 13px;
    line-height: 20px;
    color: #666;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: calc(20px * 2);
    word-break: break-all;
}

/* 日期（对齐 ax-from：#666） */
.list_video_meta {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 空数据 */
.list_video_empty {
    grid-column: 1 / -1;
    padding: 60px 0;
    text-align: center;
    color: #999;
    font-size: 15px;
}

/* ---- 响应式：视频列表（平板） ---- */
@media screen and (max-width: 1199px) {
    .list_videos {
        padding: 14px 14px 0 14px;
        gap: 14px;
    }
    .list_video_item {
        padding: 12px;
    }
    .list_video_title {
        font-size: 15px;
    }
}

/* ---- 响应式：视频列表（手机） ---- */
@media screen and (max-width: 767px) {
    .list_videos {
        grid-template-columns: minmax(0, 1fr);
        padding: 10px 10px 0 10px;
        gap: 10px;
    }
    .list_video_item {
        padding: 10px;
    }
    .list_video_cover {
        margin-bottom: 10px;
    }
    .list_video_title {
        font-size: 14px;
    }
    .list_video_desc {
        font-size: 12px;
        -webkit-line-clamp: 1;
        max-height: 20px;
    }
}

/* ---- 分页/加载更多 ---- */
.list_pager {
    padding: 20px 24px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.list_loadmore {
    display: inline-block;
    padding: 10px 36px;
    font-size: 14px;
    color: #666;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    background: #fff;
    transition: all 0.2s;
    cursor: pointer;
}
.list_loadmore:hover {
    color: var(--ncjggw-red, #bd0100);
    border-color: var(--ncjggw-red, #bd0100);
    text-decoration: none;
}
.list_loadmore.loading {
    color: #999;
    border-color: #dcdcdc;
    cursor: not-allowed;
    pointer-events: none;
}

.list_nomore {
    font-size: 14px;
    color: #ccc;
}

.list_empty {
    padding: 40px 0;
    color: #999;
    font-size: 15px;
}

/* ---- 响应式：平板 ---- */
@media screen and (max-width: 1199px) {
    .list_wrapper {
        padding: 15px;
    }
    .list_sidebar_header {
        padding: 12px 16px;
        font-size: 16px;
    }
    .list_tree_row {
        padding: 10px 16px;
        font-size: 14px;
    }
    .list_tree_sub {
        padding-left: 34px;
    }
    .list_header {
        padding: 0 16px;
    }
    .list_header_title {
        font-size: 16px;
        line-height: 44px;
    }
    .list_header_line {
        margin: 0 -16px;
    }
    .list_item {
        padding: 14px 16px;
    }
    .list_item_title {
        font-size: 16px;
    }
    .list_item_desc {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    .list_item_thumb {
        padding-right: 12px;
    }
    .list_item_thumb img {
        height: 100px;
    }
    .list_item_body {
        min-height: 100px;
    }
    .list_pager {
        padding: 16px;
    }
}

/* ---- 响应式：手机 ---- */
@media screen and (max-width: 767px) {
    .list_wrapper {
        padding: 10px;
    }
    .list_wrapper .layui-row {
        margin-left: -5px;
        margin-right: -5px;
    }
    .list_wrapper [class*="layui-col-"] {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .list_breadcrumb {
        padding: 0 5px 12px 5px;
        font-size: 13px;
    }

    /* 移动端左侧栏目横排 */
    .list_sidebar {
        margin-bottom: 12px;
    }
    .list_sidebar_header {
        padding: 10px 14px;
        font-size: 15px;
    }
    .list_sidebar_tree {
        display: flex;
        flex-wrap: wrap;
        padding: 8px;
    }
    .list_tree_item {
        border-bottom: none;
        margin: 2px;
    }
    .list_tree_row {
        padding: 6px 12px;
        font-size: 13px;
        background: #f8f8f8;
        border-radius: 3px;
    }
    .list_tree_row.active {
        background: rgba(189, 1, 0, 0.08);
    }
    .list_tree_arrow {
        display: none;
    }
    .list_tree_child {
        display: none;
    }
    .list_tree_sub {
        padding-left: 12px;
    }

    /* 右侧内容 */
    .list_main_box {
        border-radius: 4px;
    }
    .list_header {
        padding: 0 14px;
    }
    .list_header_title {
        font-size: 16px;
        line-height: 44px;
    }
    .list_header_line {
        margin: 0 -14px;
    }
    .list_item {
        padding: 12px 14px;
    }
    .list_item_thumb {
        padding-right: 0;
        margin-bottom: 10px;
    }
    .list_item_thumb img {
        height: auto;
        max-height: 180px;
    }
    .list_item_title {
        font-size: 16px;
    }
    .list_item_desc {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    .list_item_body {
        min-height: auto;
    }
    .list_pager {
        padding: 14px;
    }
    .list_loadmore {
        padding: 8px 24px;
        font-size: 13px;
    }
}


/*分页*/
.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

.pagination>li {
    display: inline;
}

.pagination>li>a,
.pagination>li>span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #999;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.pagination>li:first-child>a,
.pagination>li:first-child>span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: var(--ncjggw-red-light);
    border-color: var(--ncjggw-red-light);
}

.pagination>.disabled>a,
.pagination>.disabled>a:focus,
.pagination>.disabled>a:hover,
.pagination>.disabled>span,
.pagination>.disabled>span:focus,
.pagination>.disabled>span:hover {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}

/* ==================== 文章详情页（show）页面样式 ==================== */
.shows_wrapper {
    max-width: var(--ncjggw-container, 1200px);
    margin: 0 auto;
    padding: 20px 15px;
}

/* ---- 面包屑 ---- */
.shows_breadcrumb {
    padding: 0 0 16px 0;
    font-size: 14px;
    color: #999;
}
.shows_breadcrumb a {
    color: #666;
    transition: color 0.15s;
}
.shows_breadcrumb a:hover {
    color: var(--ncjggw-red, #bd0100);
}
.shows_breadcrumb_slash {
    margin: 0 8px;
    color: #ccc;
    font-style: normal;
}
.shows_breadcrumb_arrow {
    margin: 0 6px;
    color: #ccc;
    font-size: 12px;
    font-style: normal;
    vertical-align: middle;
}

/* ---- 正文主体 ---- */
.shows_main {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 6px;
    padding: 36px 40px;
}

/* ---- 标题 ---- */
.shows_title {
    font-size: 26px;
    line-height: 1.5;
    color: #222;
    text-align: center;
    margin: 0 0 20px 0;
    font-weight: bold;
}

/* ---- 元信息栏 ---- */
.shows_meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 12px 20px;
    margin-bottom: 24px;
    background: #f8f8f8;
    border-radius: 4px;
    font-size: 14px;
    color: #888;
}
.shows_meta_item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.shows_meta_item .layui-icon {
    font-size: 15px;
    color: #bbb;
}

/* ---- 正文内容 ---- */
.shows_content {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    word-wrap: break-word;
}
.shows_content img {
    max-width: 100%;
    height: auto !important;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}
.shows_content p {
    margin: 0 0 16px 0;
    word-wrap: break-word;
    text-indent: 2em;
}
.shows_content p:has(> img),
.shows_content p:has(> video),
.shows_content li p,
.shows_content blockquote p,
.shows_content table p {
    text-indent: 0;
}

/* 正文富文本层级（P1） */
.shows_content h2,
.shows_content h3,
.shows_content h4 {
    color: #222;
    font-weight: bold;
    line-height: 1.5;
    margin: 28px 0 14px;
}
.shows_content h2 {
    font-size: 20px;
    padding-left: 12px;
    position: relative;
}
.shows_content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 18px;
    background: var(--ncjggw-red, #bd0100);
    border-radius: 2px;
}
.shows_content h3 {
    font-size: 18px;
}
.shows_content h4 {
    font-size: 16px;
}
.shows_content ul,
.shows_content ol {
    margin: 0 0 16px;
    padding-left: 6px;
}
.shows_content ul {
    list-style: none;
}
.shows_content ul > li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
    line-height: 1.8;
}
.shows_content ul > li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--ncjggw-red, #bd0100);
}
.shows_content ol {
    padding-left: 30px;
}
.shows_content ol > li {
    margin-bottom: 6px;
    line-height: 1.8;
}
.shows_content a {
    color: var(--ncjggw-red, #bd0100);
}
.shows_content a:hover {
    text-decoration: underline;
}
.shows_content blockquote {
    margin: 16px 0;
    padding: 10px 16px;
    border-left: 3px solid #ddd;
    background: #f9f9f9;
    color: #666;
    border-radius: 0 4px 4px 0;
}
.shows_content hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 24px 0;
}
.shows_content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 15px;
}
.shows_content th,
.shows_content td {
    border: 1px solid #e5e5e5;
    padding: 8px 12px;
    text-align: left;
    vertical-align: top;
}
.shows_content th {
    background: #fcebeb;
    color: #791f1f;
    font-weight: bold;
}
@media screen and (max-width: 767px) {
    .shows_content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.shows_video{
    width: 100%;
    margin-bottom: 20px;
}
.shows_video_block{
    width: 100%;
    height: 400px;
}


/* ---- 付费墙 ---- */
.shows_pay_wall {
    margin: 24px 0;
    padding: 40px 20px;
    text-align: center;
    background: #fafafa;
    border: 1px dashed #ddd;
    border-radius: 4px;
}
.shows_pay_wall_inner p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}
.shows_pay_wall_inner strong {
    color: var(--ncjggw-red, #bd0100);
    font-size: 20px;
}
.shows_pay_btns .layui-btn + .layui-btn {
    margin-left: 10px;
}

/* ---- 分页页码 ---- */
.shows_pages {
    margin: 24px 0;
    text-align: center;
}
.shows_pages .pagination {
    margin: 0;
}

/* ---- 版权声明 ---- */
.shows_copyright {
    margin-top: 32px;
    padding: 14px 0 0 0;
    border-top: 1px solid #f0f0f0;
    font-size: 13px;
    color: #bbb;
    text-align: center;
}
.shows_copyright p {
    margin: 0;
}

/* ---- 上下篇导航 ---- */
.shows_nav {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}
.shows_nav_item {
    border: 1px solid #ebebeb;
    border-radius: 4px;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.shows_nav_item:hover {
    border-color: var(--ncjggw-red, #bd0100);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.shows_nav_item a {
    display: block;
    padding: 16px 20px;
    color: #555;
    text-decoration: none;
}
.shows_nav_label {
    display: block;
    font-size: 13px;
    color: #999;
    margin-bottom: 6px;
}
.shows_nav_label .layui-icon {
    font-size: 12px;
    vertical-align: middle;
}
.shows_nav_title {
    display: block;
    font-size: 15px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.15s;
}
.shows_nav_item:hover .shows_nav_title {
    color: var(--ncjggw-red, #bd0100);
}
.shows_nav_next {
    text-align: right;
}
.shows_nav_disabled {
    display: block;
    padding: 16px 20px;
}
.shows_nav_disabled .shows_nav_title {
    color: #bbb;
}

/* ---- 响应式：平板 ---- */
@media screen and (max-width: 1199px) {
    .shows_wrapper {
        padding: 15px;
    }
    .shows_main {
        padding: 28px 24px;
    }
    .shows_title {
        font-size: 22px;
    }
    .shows_meta {
        gap: 14px;
        padding: 10px 16px;
        font-size: 13px;
    }
    .shows_content {
        font-size: 15px;
    }
    .shows_nav_item a {
        padding: 14px 16px;
    }
    .shows_nav_title {
        font-size: 14px;
    }
}

/* ---- 响应式：手机 ---- */
@media screen and (max-width: 767px) {
    .shows_wrapper {
        padding: 10px;
    }
    .shows_main {
        padding: 20px 14px;
        border-radius: 6px;
    }
    .shows_title {
        font-size: 20px;
        margin-bottom: 16px;
    }
    .shows_meta {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        padding: 10px 12px;
        font-size: 13px;
        margin-bottom: 18px;
    }
    .shows_content {
        font-size: 15px;
        line-height: 1.8;
    }
    .shows_pay_wall {
        padding: 24px 14px;
    }
    .shows_nav {
        margin-top: 18px;
        padding-top: 16px;
    }
    .shows_nav_item {
        margin-bottom: 10px;
    }
    .shows_nav_item a {
        padding: 12px 14px;
    }
    .shows_nav_title {
        font-size: 14px;
    }
    .shows_nav_next {
        text-align: left;
    }
}

/* ==================== 搜索页（search）页面样式 ==================== */
.search_wrapper {
    max-width: var(--ncjggw-container, 1200px);
    margin: 0 auto;
    padding: 20px 15px;
}

.search_wrapper .layui-card {
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid var(--ncjggw-border, #eee);
}

.search_header{
    font-size: 18px;
    height: auto;
    line-height: 1.5;
    padding: 14px 15px 14px 27px;
    color: var(--ncjggw-red, #bd0100);
    font-weight: bold;
    margin: 0;
    border-bottom: 1px solid var(--ncjggw-border, #eee);
    position: relative;
}
.search_header::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 18px;
    background: var(--ncjggw-red, #bd0100);
    border-radius: 2px;
}

/* 结果区头部：中性色 + 主题红计数 */
.search_header_result {
    color: var(--ncjggw-text, #333);
    font-weight: 500;
}
.search_result_count {
    color: var(--ncjggw-red, #bd0100);
    font-weight: bold;
    margin: 0 2px;
}

.search_body {
    padding: 24px 15px;
}

/* 搜索表单：输入框与按钮同排（移动优先，手机不换行） */
.search-form {
    display: flex;
    gap: 8px;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}
.search-form .search-input {
    flex: 1;
    min-width: 0;
    height: 42px;
    line-height: 42px;
    border-radius: 4px;
}
.search-form .search-btn {
    flex-shrink: 0;
    height: 42px;
    line-height: 42px;
    padding: 0 26px;
    border-radius: 4px;
    background-color: var(--ncjggw-red, #bd0100);
}
.search-form .search-btn:hover {
    background-color: #a80100;
    opacity: 1;
}

/*筛选*/
.filter-container {
    padding-top: 10px;

}

.filter-row {
    margin-bottom: 15px;
}

.filter-category {
    flex-wrap: wrap;
    align-items: center;
}

.filter-category .filter-category-title {
    min-width: 40px;
    font-size: 14px;
    margin-right: 10px;
    color: #666;
    white-space: nowrap;
}

.filter-category .filter-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.filter-category .filter-option a {
    color: #6c757d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 50px;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.filter-category .filter-option a:hover,
.filter-category .filter-option a.active {
    color: #fff;
    background-color: var(--ncjggw-red, #bd0100);
}

.d-flex {
    display: flex !important;
}

/* ---- 搜索文章列表项 ---- */
.search_list_articles {
    padding: 8px 0;
}

.search_list_item {
    padding: 10px 0px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}
.search_list_item:last-child {
    border-bottom: none;
}
.search_list_item:hover {
    background: #fafafa;
}

/* 缩略图 */
.search_list_item_thumb {
    padding-right: 16px;
}
.search_list_item_thumb a {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    background: #f5f5f5;
}
.search_list_item_thumb img {
    width: 100%;
    height: 126px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.search_list_item_thumb:hover img {
    transform: scale(1.05);
}

.search_list_item_body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 126px;
}

.search_list_item_title {
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 8px 0;
}
.search_list_item_title a {
    color: #222;
    transition: color 0.15s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.search_list_item_title a:hover {
    color: var(--ncjggw-red, #bd0100);
    text-decoration: none;
}

.search_list_item_desc {
    font-size: 14px;
    line-height: 22px;
    color: #888;
    margin: 0 0 5px 0;
    flex: 1;
    max-height: calc(22px * 3);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.search_list_item_meta {
    font-size: 13px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 10px;
}
.search_list_meta_split::before {
    content: "|";
    color: #ddd;
    margin-right: 10px;
}

/* 分页与空态 */
.search_pages {
    margin-top: 16px;
}
.no-data {
    text-align: center;
    color: #999;
    font-size: 14px;
    padding: 40px 15px;
}

/* 手机端：搜索页与结果列表收敛 */
@media screen and (max-width: 767px) {
    .search_header {
        font-size: 16px;
        padding: 12px 15px 12px 27px;
    }
    .search_header_result {
        font-size: 15px;
    }
    .search_body {
        padding: 16px 12px;
    }
    .search_list_item_body {
        min-height: 0;
    }
    .search_list_item_title {
        font-size: 15px;
    }
    .search_list_item_thumb {
        padding-right: 10px;
    }
    .search_list_item_thumb img {
        height: 72px;
        border-radius: 4px;
    }
    .search_list_item_desc {
        -webkit-line-clamp: 2;
        max-height: calc(22px * 2);
    }
}
