/* ==========================================================================
   jtjsWeb 二级页面样式（page.css）
   文章列表、文章详情、单栏目等二级页面共用
   需在 common.css 之后加载
   ========================================================================= */

/* ==========================================================================
   1. 子页 Banner
   ========================================================================== */
.subBanner {
    height: 130px;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   2. 主容器
   ========================================================================== */
.main_container {
    width: 100%;
    margin: 0 auto;
    background: url(../images/bodybg-2.jpg) repeat-x left top #fff;
}

#indexCont {
    max-width: 1210px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 4px #9EACAF;
    display: flex;
}

/* 左侧栏 */
#indexCont .menu {
    width: 280px;
    background-color: #F1F1F1;
    padding: 15px;
    flex-shrink: 0;
}

/* 右侧内容区 */
.listRight {
    flex: 1;
    min-height: 550px;
    padding-top: 15px;
    width: calc(100% - 280px);
}

/* ==========================================================================
   3. 左侧栏面板
   ========================================================================== */
.panel-my {
    border: 1px solid #0062AD;
    border-radius: 5px 5px 0 0;
}

.panel-my-heading {
    background-color: #0062AD;
    color: #fff;
    font-size: 23px;
    padding-left: 15px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.leftMenuUl2 {
    padding: 15px 15px 15px;
    list-style: none;
}

.leftMenuUl2 > li {
    padding: 7px 10px;
}

.leftMenuUl2 > li > a {
    font-size: 16px;
    color: #4e4e4e;
    text-decoration: none;
}

.leftMenuUl2 > li > a:hover {
    color: red;
    font-width: normal;
}

.leftMenuUl2 > li > a > i, .leftMenuUl3 > li > a > i { margin-right: 1px;font-size: 12px; }
.panel-my-heading > i { margin-right: 2px; }

.leftMenuUl3 {
    list-style: none;
    padding-left: 15px;
}

.leftMenuUl3 > li > a {
    font-size: 14px;
    color: #6e6e6e;
    text-decoration: none;
    display: block;
    padding-top: 13px;
}

/* ==========================================================================
    4. 面包屑
    ========================================================================== */
.listRight .alert {
    background-color: #F1F1F1;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    width: calc(100% - 20px);
    margin: 0 auto;
    padding: 5px 10px;
}

/* 搜索限流提示（/searchlist.html、/msglistSearchShow2_*.html）
   注意：不能只写 .alert-warning —— 上面 .listRight .alert 的选择器更具体，
   会把 Bootstrap 5.3 的 --bs-alert-bg 变量覆盖成灰底灰字，导致警告色完全不生效。
   所以这里用独立类，不与页面其他 .alert 混用，避免改动它们的现有外观。
   宽度不写死：ul.tlist 有 padding-left:32px，用 width:100% 才能与列表左右边缘对齐。 */
.rate-limit-tip {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0 0 8px;
    padding: 12px 16px;
    background-color: #FFF4E5;
    border: 1px solid #FFD8A8;
    border-left: 4px solid #F0A020;
    border-radius: 4px;
    color: #8A5200;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.rate-limit-tip i {
    font-size: 18px;
    flex: none;
}
.bread-gzgs {
    padding: 8px 10px;
    margin: 0;
    list-style: none;
}

.bread-gzgs li {
    display: inline-block;
    font-size: 15px;
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}

.bread-gzgs li a {
    color: #0062AD;
    text-decoration: none;
}

.bread-gzgs li a:hover {
    color: red;
}

.bread-gzgs li + li:before {
    content: "/";
    color: #bdbdbd;
    margin: 0 5px;
}

/* ==========================================================================
   5. 分页
   ========================================================================== */
.pageNav {
    text-align: center;
    padding: 18px 0;
    font-size: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.pageNav span, .pageNav a, .pageNav b {
    font-size: 14px;
    margin-right: 5px;
    padding: 3px 8px;
}

.pageNav a {
    border: 1px solid #CCDBE4;
    cursor: pointer;
    text-decoration: none;
    color: #333;
}

.pageNav a:hover {
    background: #f0f6ff;
}

.pageNav b {
    color: #000;
    font-weight: bold;
}

/* ==========================================================================
    6. 文章列表
    ========================================================================== */
.tlist {
    margin-top: 8px;
}

.tlist li {
    line-height: 15px;
    margin: 0 5px;
    border-bottom: 1px #E6E2D9 dashed;
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tlist li a {
    font-size: 16px;
    line-height: 30px;
    color: #4e4e4e;
    text-decoration: none;
    display: inline-block;
    width: calc(100% - 115px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tlist li a:hover {
    color: red;
}

.indexList {
    margin-top: 5px;
    padding-left: 0;
}

.indexList li {
    line-height: 15px;
    margin: 0 5px;
    padding-top: 1px;
    padding-bottom: 1px;
    font-size: 14px;
    border-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.datetime {
    color: #999;
    font-size: 16px;
    line-height: 30px;
    flex-shrink: 0;
    text-align: center;
}

/* ==========================================================================
    7. 移动端适配
    ========================================================================== */
@media (max-width: 767px) {
    .subBanner {
        height: 80px;
        background-size: cover;
    }

    .main_container {
        width: auto;
    }

    #indexCont {
        flex-direction: column;
    }

    #indexCont .menu {
        width: 100%;
        min-height: auto;
        padding-bottom: 15px;
    }

    .listRight {
        width: 100%;
        min-height: auto;
        padding-top: 10px;
    }

    .bread-gzgs {
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .pageNav {
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .pageNav a, .pageNav b {
        padding: 3px 6px;
        font-size: 13px;
    }

    .article-content {
        overflow-x: auto;
    }

    .article-content img {
        max-width: 100%;
        height: auto;
    }

    .tlist li {
        white-space: normal;
    }

    .tlist li a {
        width: calc(100% - 60px);
    }
}

/* ==========================================================================
   6. 文章内容显示页（无左侧栏整幅版式，与各子站 pageShow 一致）
   ========================================================================== */
#artCont {
    margin: 2px auto;
    border: 1px #ccc solid;
    padding: 20px 10px;
    background-color: #fff;
    box-shadow: 0 0 10px #E0E2E4;
    max-width: 1100px;
}

.artShowTitle {
    height: 35px;
    line-height: 35px;
    font-size: 20px;
    margin: 10px 0;
    color: #3D3A3A;
    font-weight: bold;
}

@media (max-width: 767px) {
    #artCont {
        margin: 2px;
        padding: 15px 8px;
        box-shadow: none;
    }

    .artShowTitle {
        height: auto;
        line-height: 1.5;
    }
}
