/* 页面最外层容器
   原为固定 1920×3638，现改为：宽度自适应 + 水平居中，高度由内容自动撑开；
   max-width 保留 1920，避免超宽屏把内容拉散。 */
.jcdc-content .page {
    background-color: rgba(255, 255, 255, 1);
    position: relative;
    width: 100%;
    max-width: 1920px;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
}

.jcdc-content .text_11 {
    width: 75px;
    height: 19px;
    overflow-wrap: break-word;
    color: rgba(153, 153, 153, 1);
    font-size: 14px;
    font-family: MiSans-Regular;
    font-weight: normal;
    text-align: left;
    white-space: nowrap;
    line-height: 19px;
    margin: 16px 0 0 260px;
}

.jcdc-content .box_6 {
    margin: 24px 0 0 260px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(216, 216, 216, 1);
}

.jcdc-content .section_6 {
    height: 22px;
    margin-top: 7px;
    width: 8px;
}

.jcdc-content .text_12 {
    height: 29px;
    overflow-wrap: break-word;
    color: rgba(51, 51, 51, 1);
    font-size: 24px;
    font-family: AlimamaShuHeiTi-Bold;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
    line-height: 29px;
    margin-left: 14px;
}

.jcdc-content .section_7 {
    height: 22px;
    width: 8px;
}

.jcdc-content .section_8 {
    width: 7px;
    height: 22px;
    margin-left: 7px;
}

.jcdc-content .box_7 {
    width: 1400px;
    height: 1px;
    margin: 22px 0 0 260px;
}

.jcdc-content .block_2 {
    background-color: rgba(216, 216, 216, 1);
    width: 1020px;
    height: 1px;
}

.jcdc-content .block_3 {
    background-color: rgba(216, 216, 216, 1);
    width: 332px;
    height: 1px;
}

/* 友情链接样式已迁移至子模板 common/friend-links.html */

/* =====================================================================
   响应式与居中适配（追加覆盖，请勿删除）
   背景：原稿按 1920px 画布导出，内容区宽 1400px，靠 margin-left: 260px
   做左侧偏移。这里统一改为水平居中，并让宽度随窗口自适应。
   ===================================================================== */

/* 1) 图片统一：铺满父容器并按比例裁切，避免比例不一致时变形
      （当前页面暂无 img 标签，此规则为后续替换图片预留） */
.jcdc-content .page img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 2) 宽度等于内容区（1400px）的行：用 auto 水平居中 */
.jcdc-content .box_6,
.jcdc-content .box_7 {
    margin-left: auto;
    margin-right: auto;
}

/* 3) 内容区内的窄元素：左边缘对齐 1400px 内容区左边界
   calc(50% - 700px) 在 1920px 画布下正好等于原来的 260px，
   窗口变窄时也会跟随内容区左边界，不会错位。 */
.jcdc-content .text_11 {
    margin-left: calc(50% - 700px);
}

/* =====================================================================
   两栏布局
   内容区总宽 1400 = 左栏 1020 + 间距 48 + 右栏自适应（约 332）
   左栏 .jcdc-main：面包屑、栏目标题行、分割线、友情链接
   右栏 .jcdc-side：right-top（侧栏新闻子模板）
   ===================================================================== */
.jcdc-layout {
    position: relative;
    display: flex;
    align-items: flex-start;
    column-gap: 48px;
    width: 1400px;
    max-width: 100%;
    margin: 0 auto;
}

/* 左栏占满整行，实际内容宽度由 .jcdc-main-inner 控制 */
.jcdc-main {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
}

/* 左栏内容：固定 1020（1400 - 48 间距 - 332 侧栏） */
.jcdc-main-inner {
    width: 1020px;
    max-width: 100%;
}

/* 右栏：绝对定位贴右，宽度 332 */
.jcdc-side {
    position: absolute;
    top: 0;
    right: 0;
    width: 332px;
    min-width: 0;
}

/* 左栏：原本按 1400px 内容区排版的整行元素，统一收窄为左栏宽度 */
.jcdc-main .box_6,
.jcdc-main .box_7 {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* 左栏：原本靠 margin-left 相对 1920 画布定位的元素，改为左对齐 */
.jcdc-main .text_11 {
    margin-left: 0;
}

/* ---------------- 右栏 ---------------- */

/* 顶部细分隔线（原 .box_7 内右侧的 .block_3，随 section_13 一起进入右栏） */
.jcdc-side .block_3 {
    width: 100%;
    flex: none;
}

/* =====================================================================
   栏目页动态内容（?cid=xxx）
   1) 栏目标题图标  2) 面包屑
   ===================================================================== */

/* 1) 栏目标题左侧图标：改用背景图 */
.jcdc-content .section_6 {
    background: url("/main/images/biaohi.png") no-repeat center center;
    background-size: 100% 100%;
}

/* 2) 面包屑：宽高随内容自适应，首页与栏目均可点击 */
.jcdc-content .text_11 {
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.jcdc-content .text_11 a {
    color: rgba(153, 153, 153, 1);
}

.jcdc-content .text_11 a:hover,
.jcdc-content .text_11 .crumb-current {
    color: rgba(202, 6, 9, 1);
}

.jcdc-content .text_11 .crumb-sep {
    margin: 0 6px;
}

/* 左栏“更多”图标靠右（原固定 998px 偏移会在左栏内溢出） */
.jcdc-main .section_7 {
    width: 44px;
    height: 19px;
    overflow-wrap: break-word;
    color: rgba(153, 153, 153, 1);
    font-size: 14px;
    font-family: MiSans-Regular;
    font-weight: normal;
    text-align: left;
    white-space: nowrap;
    line-height: 19px;
}

/* =====================================================================
   轮播图（jcdc-swiper）：左图右文，宽 1020、高 360，底色 #F2F3F4
   左图 540×360，右侧内容内边距 40px 32px 0，分页器在右侧
   ===================================================================== */
.jcdc-swiper {
    position: relative;
    width: 1020px;
    max-width: 100%;
    height: 360px;
    margin-top: 24px;
    overflow: hidden;
    background: #F2F3F4;
}

.jcdc-swiper .swiper-slide {
    height: 100%;
}

.jcdc-slide {
    display: flex;
    height: 100%;
    text-decoration: none;
}

/* 左侧图片：固定 540×360，图片铺满由 .jcdc-content .page img 统一处理 */
.jcdc-slide-pic {
    flex: none;
    display: block;
    width: 540px;
    height: 360px;
    overflow: hidden;
    background-color: rgba(216, 216, 216, 1);
}

/* 右侧内容区：上内边距 40，左右 32 */
.jcdc-slide-text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 40px 32px 0 32px;
}

.jcdc-slide-title {
    color: #333333;
    font-size: 20px;
    font-family: MiSans-Medium;
    font-weight: 600;
    line-height: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jcdc-slide-desc {
    margin-top: 20px;
    color: #666666;
    font-size: 16px;
    font-family: MiSans-Regular;
    font-weight: 400;
    line-height: 26px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jcdc-slide-date {
    color: #666666;
    font-size: 16px;
    font-family: MiSans-Regular;
    font-weight: 400;
    line-height: 22px;
    position: absolute;
    bottom: 72px;
}

/* 分页器：位于右侧内容区右下角 */
.jcdc-pagination {
    position: absolute;
    left: 569px !important;
    bottom: 24px !important;
    z-index: 5;
    display: flex;
    align-items: center;
    width: 200px !important;
}

.jcdc-swiper .jcdc-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin: 0 5px;
    border-radius: 50%;
    background: rgba(216, 216, 216, 1);
    opacity: 1;
    transition: width 0.3s, border-radius 0.3s;
}

/* 当前项：40×6 红色长条 */
.jcdc-swiper .jcdc-pagination .swiper-pagination-bullet-active {
    width: 40px;
    border-radius: 3px;
    background: rgba(202, 6, 9, 1);
}

/* =====================================================================
   稿件列表（jcdc-card-list）：三列网格
   卡片图 324×216，左右间距 24，上下间距 32（324×3 + 24×2 = 1020）
   ===================================================================== */
.jcdc-card-list {
    display: grid;
    grid-template-columns: repeat(3, 324px);
    column-gap: 24px;
    row-gap: 32px;
    margin-top: 32px;
    min-height: 1500px;
}

.jcdc-card {
    display: block;
    text-decoration: none;
}

.jcdc-card-pic {
    display: block;
    width: 324px;
    height: 216px;
    overflow: hidden;
    background: #D8D8D8;
}

.jcdc-card-title {
    display: block;
    margin-top: 16px;
    color: #333333;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
}

/* “加载更多”胶囊按钮 */
.jcdc-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.jcdc-more-btn {
    width: 120px;
    height: 40px;
    border: 1px solid #CA0609;
    border-radius: 20px;
    background: #ffffff;
    color: #CA0609;
    font-size: 14px;
    font-family: MiSans-Regular;
    cursor: pointer;
}

.jcdc-more-btn:hover {
    background: #CA0609;
    color: #ffffff;
}