@charset "utf-8";
/* ==========================================================================
   listview.css - 列表页/详情页专属样式
   依赖：chinatax_ref/base.css、common.css、css3.css
   主色：政务红 #c8161e / 政务蓝 #2d67b9
   容器宽度：1400px（与参考站一致）
   ========================================================================== */

/* ---------- 全站页面背景（参考站 .wrapper.index 顶部渐变 + #fff 底色） ---------- */
body {
    background: url(../img/wrapper_bg_home.png) repeat-x top #fff;
}

/* ---------- 栏目 Banner（列表页/详情页通用） ---------- */
.ctx-list-banner {
    position: relative;
    height: 160px;
    background: transparent;
    overflow: hidden;
}
.ctx-list-banner .container {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.ctx-list-banner h1 {
    font-size: 44px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 6px;
    line-height: 1.2;
    margin-bottom: 12px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.ctx-list-banner p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
    max-width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.ctx-list-banner::after {
    content: "";
    position: absolute;
    right: 60px;
    top: 50%;
    width: 80px;
    height: 80px;
    margin-top: -40px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    pointer-events: none;
}
.ctx-list-banner::before {
    content: "";
    position: absolute;
    right: 30px;
    top: 50%;
    width: 140px;
    height: 140px;
    margin-top: -70px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    pointer-events: none;
}
@media screen and (max-width: 768px) {
    .ctx-list-banner { height: 110px; }
    .ctx-list-banner h1 { font-size: 28px; letter-spacing: 3px; }
    .ctx-list-banner p { display: none; }
    .ctx-list-banner::after,
    .ctx-list-banner::before { display: none; }
}

/* ---------- 面包屑（补充参考站 .crumb） ---------- */
.ctx-crumb {
    background: transparent;
    line-height: 44px;
    font-size: 13px;
    color: #666;
}
.ctx-crumb .container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    padding: 0 20px;
    border-radius: 4px;
    margin-top: 10px;
}
.ctx-crumb .ctx-crumb-icon {
    color: #c8161e;
    font-size: 14px;
    margin-right: 6px;
}
.ctx-crumb a { color: #666; }
.ctx-crumb a:hover { color: #c8161e; }
.ctx-crumb .sep { color: #ccc; margin: 0 6px; }
.ctx-crumb .current { color: #c8161e; font-weight: bold; }

/* ---------- 主体布局（左主体 + 右侧边栏） ---------- */
.ctx-list-main,
.ctx-view-main {
    padding: 20px 0 50px;
    background: transparent;
}
.ctx-list-main .container,
.ctx-view-main .container {
    background: #fff;
    padding: 24px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
/* 右侧边栏与左侧内容之间增加分隔线（不破坏参考站 float 布局） */
.ctx-list-main .col-4,
.ctx-view-main .col-4 {
    border-left: 1px solid #f0f0f0;
}

@media screen and (max-width: 992px) {
    .ctx-list-main .col-8,
    .ctx-list-main .col-4,
    .ctx-view-main .col-8,
    .ctx-view-main .col-4 {
        width: 100%;
        border-left: 0;
        border-top: 1px solid #f0f0f0;
        margin-top: 20px;
        padding-top: 20px;
    }
}

/* ---------- 列表页主体内容区 ---------- */
.ctx-list-content {
    background: #fff;
    min-height: 400px;
}
.ctx-list-content .ctx-content-hd {
    border-bottom: 2px solid #c8161e;
    margin-bottom: 20px;
    padding-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.ctx-list-content .ctx-content-hd h2 {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    position: relative;
    padding-left: 14px;
    line-height: 1.2;
}
.ctx-list-content .ctx-content-hd h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: #c8161e;
}
.ctx-list-content .ctx-content-hd .ctx-count {
    font-size: 13px;
    color: #999;
}
.ctx-list-content .ctx-content-hd .ctx-count em {
    color: #c8161e;
    font-weight: bold;
    font-style: normal;
    margin: 0 2px;
}

/* 列表项样式 */
.ctx-article-list li {
    line-height: 38px;
    font-size: 15px;
    padding: 0 14px 0 18px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ctx-article-list li:last-child { border-bottom: 0; }
.ctx-article-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c8161e;
    transform: translateY(-50%);
}
.ctx-article-list li a {
    color: #333;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 12px;
}
.ctx-article-list li a:hover { color: #c8161e; }
.ctx-article-list li .ctx-date {
    color: #999;
    font-size: 13px;
    flex: 0 0 auto;
}

/* 带缩略图的列表（备用，给 kc/sz 用） */
.ctx-article-list.thumb li {
    padding: 16px 0 16px 18px;
    line-height: 1.6;
    border-bottom: 1px solid #f0f0f0;
    display: block;
    position: relative;
}
.ctx-article-list.thumb li::before { top: 28px; }
.ctx-article-list.thumb li a {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    white-space: normal;
    display: block;
    margin-bottom: 6px;
}
.ctx-article-list.thumb li .ctx-desc {
    color: #777;
    font-size: 13px;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 6px;
}
.ctx-article-list.thumb li .ctx-date { font-size: 12px; }

/* ---------- 详情页主体内容区 ---------- */
.ctx-view-content {
    background: #fff;
    min-height: 400px;
    padding: 0;
}
.ctx-view-content .ctx-article-title {
    text-align: center;
    padding: 24px 0 18px;
    border-bottom: 1px solid #eee;
    margin-bottom: 18px;
}
.ctx-view-content .ctx-article-title h1 {
    font-size: 26px;
    font-weight: bold;
    color: #333;
    line-height: 1.5;
    margin-bottom: 14px;
}
.ctx-view-content .ctx-article-meta {
    text-align: center;
    font-size: 13px;
    color: #999;
    line-height: 1.8;
}
.ctx-view-content .ctx-article-meta span {
    display: inline-block;
    margin: 0 10px;
}
.ctx-view-content .ctx-article-meta span i {
    margin-right: 4px;
    color: #c8161e;
}

/* 文章正文 */
.ctx-article-body {
    padding: 10px 20px 30px;
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    word-wrap: break-word;
}
.ctx-article-body p { margin: 0 0 18px; }
.ctx-article-body h2,
.ctx-article-body h3,
.ctx-article-body h4 {
    font-weight: bold;
    color: #333;
    margin: 24px 0 14px;
    line-height: 1.4;
}
.ctx-article-body h2 { font-size: 22px; }
.ctx-article-body h3 { font-size: 19px; }
.ctx-article-body h4 { font-size: 17px; }
.ctx-article-body img { max-width: 100%; height: auto; margin: 10px auto; display: block; }
.ctx-article-body a { color: #2d67b9; text-decoration: underline; }
.ctx-article-body a:hover { color: #c8161e; }
.ctx-article-body ul,
.ctx-article-body ol { margin: 0 0 18px; padding-left: 28px; }
.ctx-article-body ul li { list-style: disc; margin-bottom: 6px; }
.ctx-article-body ol li { list-style: decimal; margin-bottom: 6px; }
.ctx-article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    font-size: 14px;
}
.ctx-article-body table th,
.ctx-article-body table td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    text-align: left;
}
.ctx-article-body table th {
    background: #f5f5f5;
    font-weight: bold;
    color: #333;
}
.ctx-article-body blockquote {
    margin: 18px 0;
    padding: 12px 20px;
    border-left: 4px solid #c8161e;
    background: #fafafa;
    color: #666;
    font-size: 14px;
}
.ctx-article-body pre {
    background: #f5f5f5;
    padding: 14px 18px;
    border-radius: 2px;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.6;
    margin: 14px 0;
}

/* 上下篇导航 */
.ctx-prev-next {
    margin-top: 30px;
    padding: 18px 20px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 2px;
    font-size: 14px;
    line-height: 2;
}
.ctx-prev-next p { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ctx-prev-next p span { color: #999; margin-right: 6px; }
.ctx-prev-next p a { color: #333; }
.ctx-prev-next p a:hover { color: #c8161e; }

/* ---------- 侧边栏 ---------- */
.ctx-sidebar { padding-left: 0; }
.ctx-sidebar .ctx-side-box {
    margin-bottom: 24px;
    border: 1px solid #eee;
    background: #fff;
}
.ctx-sidebar .ctx-side-box .ctx-side-hd {
    height: 44px;
    line-height: 44px;
    padding: 0 16px;
    background: #f5f5f5;
    border-bottom: 2px solid #c8161e;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ctx-sidebar .ctx-side-box .ctx-side-hd h3 {
    font-size: 16px;
    font-weight: bold;
    color: #c8161e;
}
.ctx-sidebar .ctx-side-box .ctx-side-hd .ctx-side-more {
    font-size: 12px;
    color: #999;
}
.ctx-sidebar .ctx-side-box .ctx-side-hd .ctx-side-more:hover { color: #c8161e; }
.ctx-sidebar .ctx-side-box .ctx-side-bd {
    padding: 10px 16px 14px;
}
.ctx-sidebar .ctx-side-list li {
    line-height: 34px;
    font-size: 14px;
    padding-left: 14px;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-bottom: 1px dashed #f0f0f0;
}
.ctx-sidebar .ctx-side-list li:last-child { border-bottom: 0; }
.ctx-sidebar .ctx-side-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c8161e;
    transform: translateY(-50%);
}
.ctx-sidebar .ctx-side-list li a { color: #555; }
.ctx-sidebar .ctx-side-list li a:hover { color: #c8161e; }
.ctx-sidebar .ctx-side-list li .ctx-date {
    float: right;
    color: #bbb;
    font-size: 12px;
    margin-left: 8px;
}

/* 栏目导航（高亮当前） */
.ctx-sidebar .ctx-side-nav li a {
    display: block;
    padding-left: 14px;
    color: #555;
}
.ctx-sidebar .ctx-side-nav li.on a { color: #c8161e; font-weight: bold; }

/* ---------- 分页（覆盖参考站 .pagination 配色，与主题一致） ---------- */
.ctx-pagination {
    text-align: center;
    padding: 30px 0 10px;
}
.ctx-pagination li {
    display: inline-block;
    margin: 0 3px;
}
.ctx-pagination li a,
.ctx-pagination li span {
    display: inline-block;
    min-width: 34px;
    height: 34px;
    line-height: 34px;
    padding: 0 10px;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #666;
    font-size: 13px;
    border-radius: 2px;
    transition: all 0.2s;
}
.ctx-pagination li a:hover {
    border-color: #c8161e;
    background: #c8161e;
    color: #fff;
}
.ctx-pagination li span.current {
    border-color: #c8161e;
    background: #c8161e;
    color: #fff;
    font-weight: bold;
}
.ctx-pagination li span.disabled {
    color: #ccc;
    background: #f5f5f5;
    border-color: #eee;
    cursor: not-allowed;
}

/* ---------- 单页（lists_single）主体 ---------- */
.ctx-single-content {
    background: #fff;
    padding: 20px 30px 40px;
    min-height: 400px;
    font-size: 16px;
    line-height: 1.9;
    color: #333;
}
.ctx-single-content h1 {
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    color: #333;
    padding-bottom: 18px;
    border-bottom: 1px solid #eee;
    margin-bottom: 24px;
    line-height: 1.5;
}
.ctx-single-content p { margin: 0 0 18px; }
.ctx-single-content img { max-width: 100%; height: auto; }

/* ---------- 空数据提示 ---------- */
.ctx-empty {
    text-align: center;
    padding: 80px 20px;
    color: #999;
    font-size: 14px;
}
.ctx-empty i {
    display: block;
    font-size: 48px;
    color: #ddd;
    margin-bottom: 14px;
}

/* ---------- 移动端适配 ---------- */
@media screen and (max-width: 768px) {
    .ctx-list-banner { height: 100px; }
    .ctx-list-banner h1 { font-size: 20px; letter-spacing: 1px; }
    .ctx-list-content .ctx-content-hd h2 { font-size: 18px; }
    .ctx-article-list li { font-size: 14px; line-height: 32px; }
    .ctx-view-content .ctx-article-title h1 { font-size: 20px; }
    .ctx-article-body { padding: 10px 0 24px; font-size: 15px; }
    .ctx-single-content { padding: 10px 14px 30px; font-size: 15px; }
    .ctx-single-content h1 { font-size: 20px; }
    .ctx-sidebar { padding-left: 0; }
    .ctx-pagination li a,
    .ctx-pagination li span { min-width: 30px; height: 30px; line-height: 30px; padding: 0 8px; }
}
