css
    /* ==================== 基础样式（大屏默认：≥1200px）==================== */
    /* 导航栏样式 */
.cm-navbar .navbar-nav .nav-link {
    font-size: 18px;
    padding-left: 16px;
    padding-right: 16px;
    color: #212529;
}

.cm-navbar .navbar-nav .nav-link.active {
    color: #007bff;
}

.navbar-nav-scroll {
    max-width: 100%;
    height: 2.5rem;
    overflow: hidden;
}

.navbar-nav-scroll .navbar-nav {
    overflow-x: auto;
    white-space: nowrap;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    -webkit-overflow-scrolling: touch;
}

/* 通用工具类 */
.cm-hidden {
    display: none;
}

.cm-pointer {
    cursor: pointer;
}

.cm-ff-yh {
    font-family: "Microsoft YaHei", 微软雅黑, "MicrosoftJhengHei", serif;
    margin-top: 20px;
}

.cm-block-head-bottom {
    border-bottom: solid 2px #007bff;
    display: inline-block;
    padding-bottom: 0.3rem;
}

.cm-trans-bottom {
    width: 100%;
    bottom: 0;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.4);
}

.cm-media-img {
    max-width: 180px;
    max-height: 120px;
}

.cm-link {
  color: #333;
  text-decoration: none;
}
.cm-link:hover {
  color: #007bff; !important;
text-decoration: none;
}

.es-highlight em {
    color: #dc3545;
    font-style: normal;
}

.disin {
    display: inline-block;
    position: relative;
}

.disin .btn-primary {
    color: #fff;
    background-color: #157BF2;
    border-color: #157BF2;
}

.disin .btn-link {
    font-weight: 400;
    color: #157BF2;
    text-decoration: none;
}

.text-r {
    text-align: right;
}

.a {
    color: #333 !important;
    text-decoration: none;
    background-color: transparent;
}

/* 新闻模块（左右分栏） */
.news-module {
    display: flex;
    align-items: stretch;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    font-family: "Microsoft YaHei", sans-serif;
    max-width: 1400px; /* 大屏最大宽度 */
    margin: 40px auto; /* 居中 */
    height: 400px; /* 大屏固定高度 */
}

.module-left {
    flex: 0 0 45%; /* 大屏左侧占比45% */
    background: url("https://via.placeholder.com/400x300/4A90E2/FFFFFF?text=Banner+Background") center/cover no-repeat;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px; /* 补充内边距，避免文字贴边 */
}

.module-left .title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
}

.module-left .date {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

.module-right {
    flex: 1; /* 右侧占满剩余空间 */
    padding: 20px;
    background: #fff;
    display: flex; /* 原代码缺失display，补充后才能生效flex布局 */
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.module-right .btn {
    background: #f6f6f6;
    margin-right: 10px;
    border: 1px dashed #ddd;
}

.news-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #333;
    margin-top: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

}

.news-desc {
    width: 80%;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-top: 24px;
}

.news-date {
    font-size: 12px;
    color: #999;
    margin: 0 0 12px;
    position: absolute;
    bottom: 50px;
}

.btn-group {
    align-self: flex-end;
    position: absolute;
    right: 20px; /* 补充右内边距，避免贴边 */
    bottom: 20px;
}

.btnww {
    border: 1px solid #ccc;
    background: #f8f9fa;
    color: #666;
    font-size: 14px;
    padding: 6px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 8px;
}

.btnww:hover {
    background: #e9ecef;
}

/* 新闻列表项 */
.news-item {
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #ebeef5;
    padding: 12px 0;
    font-family: "Microsoft YaHei", sans-serif;
    box-shadow: 0px 5.87px 11.73px 0px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    background: #fff;
}

.news-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
    margin-right: 29px;
    border-right: 1px solid #ABABAB;
    padding: 8px 27px;
    margin: 24px;

}

.news-meta .day {
    font-size: 48px;
    font-weight: 700;
    color: #157BF2;
    line-height: 1;
}

.news-meta .month-year {
    font-size: 16px;
    color: #999;
    margin-top: 10px;
    font-weight: bold;
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 24px;
    font-weight: 600;
    color: #1f2d3d;
    margin: 0 0 8px;
    line-height: 1.4;
    margin-top: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-desc {
    font-size: 16px;
    color: #999;
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 大Banner */
.bigBanner {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

/* 卡片列表 */
.card-list {
    display: flex;
    gap: 20px; /* 卡片间距 */
    flex-wrap: wrap; /* 大屏自动换行 */
    justify-content: left; /* 补充居中，避免左侧贴边 */
    max-width: 1400px; /* 大屏限制最大宽度，避免卡片过宽 */
    margin: 0 auto; /* 居中 */
    padding-bottom: 20px;
}

.newsCard {
    height: 430px;
    width: 286px; /* 大屏卡片宽度 */
    padding: 20px;
    border: 1px solid #efefef;
    text-align: center;
}

.newsAvatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
}

.newsName {
    margin: 10px 0 5px;
    font-size: 24px;
    font-weight: bold;
    text-align: left;
}

.newsfu {
    font-size: 16px;
    color: #999;
    text-align: left;
}

.newsDesc {
    font-size: 16px;
    color: #999;
    line-height: 40px;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fr {
    float: right;
}

.media-body {
    width: 1000px;
}

/* ==================== 中屏适配（平板：768px ≤ 屏幕宽度 < 1200px）==================== */
@media screen and (max-width: 1199px) and (min-width: 768px) {
    /* 1. 导航栏：缩小字体和内边距 */
    .cm-navbar .navbar-nav .nav-link {
        font-size: 16px;
        padding-left: 12px;
        padding-right: 12px;
    }

    /* 2. 新闻模块：调整左右占比、高度和内边距 */
    .news-module {
        max-width: 90%; /* 中屏占屏幕90%，避免过宽 */
        height: 350px; /* 降低高度，适配中屏 */
    }

    .module-left {
        flex: 0 0 40%; /* 左侧占比缩小到40% */
        padding: 15px;
    }

    .module-left .title {
        font-size: 20px;
    }

    /* 缩小标题字体 */
    .module-right {
        padding: 15px;
    }

    .news-title {
        font-size: 15px;
    }

    /* 内容标题缩小 */
    .news-desc {
        width: 90%; /* 描述宽度放宽，避免换行过多 */
        font-size: 13px;
        margin-top: 20px;
    }

    .news-date {
        font-size: 11px;
        bottom: 45px; /* 调整日期位置 */
    }

    .btnww {
        font-size: 13px;
        padding: 5px 10px; /* 缩小按钮 */
    }

    /* 3. 新闻列表项：缩小间距和字体 */
    .news-meta {
        padding: 20px 22px; /* 减少日期区域内边距 */
    }

    .news-meta .day {
        font-size: 40px;
    }

    /* 日期数字缩小 */
    .news-meta .month-year {
        font-size: 14px;
    }

    .news-title {
        font-size: 20px;
    }

    /* 列表标题缩小 */
    .news-desc {
        font-size: 14px;
        line-height: 1.5;
    }

    /* 4. 卡片列表：调整卡片宽度和高度 */
    .card-list {
        gap: 15px;
    }

    /* 缩小卡片间距 */
    .newsCard {
        width: 240px; /* 卡片宽度缩小 */
        height: 400px; /* 卡片高度降低 */
        padding: 15px;
    }

    .newsAvatar {
        width: 140px;
        height: 140px;
    }

    /* 头像缩小 */
    .newsName {
        font-size: 20px;
    }

    .newsfu {
        font-size: 14px;
    }

    .newsDesc {
        font-size: 14px;
        line-height: 35px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.media-body {
    width: 1000px;
}

/* ==================== 小屏适配（手机：≤767px）==================== */
@media screen and (max-width: 767px) {
    /* 1. 导航栏：进一步缩小，避免横向滚动 */
    .cm-navbar .navbar-nav .nav-link {
        font-size: 14px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .navbar-nav-scroll {
        height: auto;
    }

    /* 取消固定高度，允许纵向滚动 */
    .navbar-nav-scroll .navbar-nav {
        white-space: normal; /* 取消强制不换行，改为纵向排列 */
        overflow-x: hidden; /* 隐藏横向滚动 */
        margin: 0; /* 取消负边距 */
    }

    /* 2. 媒体图片：原代码已适配，补充确保生效 */
    .cm-media-img {
        max-width: 120px;
        max-height: 80px;
    }

    /* 3. 新闻模块：从左右分栏改为纵向排列（核心调整） */
    .news-module {
        flex-direction: column; /* 纵向排列 */
        max-width: 95%; /* 占屏幕95%，贴近边缘 */
        height: auto; /* 取消固定高度，自适应内容 */
        margin: 20px auto; /* 减少上下间距 */
    }

    .module-left {
        flex: none; /* 取消固定占比 */
        height: 200px; /* 固定左侧Banner高度 */
        padding: 15px;
    }

    .module-left .title {
        font-size: 18px;
    }

    .module-left .date {
        font-size: 12px;
    }

    .module-right {
        padding: 15px;
        position: relative;
    }

    .news-title {
        font-size: 14px;
    }

    .news-desc {
        width: 100%; /* 描述占满宽度 */
        font-size: 12px;
        margin-top: 15px;
        margin-bottom: 40px; /* 给按钮和日期留空间 */
    }

    .news-date {
        position: absolute;
        bottom: 15px;
        left: 15px; /* 日期移到左侧，避免与按钮重叠 */
        font-size: 11px;
    }

    .btn-group {
        right: 15px;
        bottom: 15px;
    }

    .btnww {
        font-size: 12px;
        padding: 4px 8px;
        margin-left: 5px;
    }

    /* 4. 新闻列表项：纵向排列，简化布局 */
    .news-item {
        flex-direction: column; /* 日期和内容纵向排列 */
        padding: 15px; /* 增加内边距，提升手感 */
        margin-bottom: 15px;
    }

    .news-meta {
        border-right: none; /* 取消右侧边框 */
        border-bottom: 1px solid #ABABAB; /* 改为底边框 */
        padding: 10px 0;
        margin-right: 0;
        margin-bottom: 10px;
        min-width: auto;
        width: 100%; /* 占满宽度 */
    }

    .news-meta .day {
        font-size: 36px;
    }

    .news-meta .month-year {
        font-size: 13px;
    }

    .news-title {
        font-size: 16px;
    }

    .news-desc {
        font-size: 13px;
        line-height: 1.4;
    }

    /* 5. 卡片列表：单列排列（手机核心适配） */
    .card-list {
        flex-direction: column; /* 纵向排列 */
        align-items: left; /* 卡片居中 */
        gap: 15px;
        padding: 0 10px; /* 左右留边距 */
    }

    .newsCard {
        width: 100%; /* 卡片占满屏幕宽度 */
        max-width: 300px; /* 限制最大宽度，避免在大屏手机上过宽 */
        height: auto; /* 取消固定高度，自适应内容 */
        padding: 15px;
    }

    .newsAvatar {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }

    /* 头像居中 */
    .newsName {
        font-size: 18px;
        text-align: center;
    }

    /* 姓名居中 */
    .newsfu {
        font-size: 13px;
        text-align: center;
    }

    /* 副标题居中 */
    .newsDesc {
        font-size: 13px;
        line-height: 30px;
        text-align: center;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* 描述居中 */
    /* 6. 通用调整：取消浮动，避免错乱 */
    .fr {
        float: none;
        text-align: center;
    }

    /* 右侧浮动改为居中 */
    .text-r {
        text-align: center;
    }

    /* 右对齐改为居中 */
}

.news-moduleNew {

    align-items: stretch;
    overflow: hidden;
    font-family: "Microsoft YaHei", sans-serif;
    width: 1400px;
    margin: 20px auto;
    height: 400px;
}

.news-moduleNew .carousel-item img {
    height: 400px;
    width: 686px;
}

.rightImgZiNew {
    padding: 20px;
    position: absolute;
    top: 0;
    z-index: 100;
    right: 0;
    width: 712px;
    background: #fff;
    height: 400px;
}

.rightImgTime1 {
    text-align: LEFT;
    color: #999999;
    font-size: 14px;
    position: absolute;
    bottom: 20px;

}

.rightjiantou {
    position: absolute;
    right: 20px;
    bottom: 30px;
}

.rightjiantou .carousel-control-prev-icon {
    width: 38px;
    height: 32px;
    background-image: url(/pension-gov-home/templates/1/default/_files/img/leftIcon.png);
    transition: background-image 0.3s ease;
}

.rightjiantou .carousel-control-next-icon {
    width: 38px;
    height: 32px;
    background-image: url(/pension-gov-home/templates/1/default/_files/img/rightIcon.png);
    transition: background-image 0.3s ease;
}

.rightjiantou .carousel-control-prev-icon:hover {
    background-image: url(/pension-gov-home/templates/1/default/_files/img/leftIconHover.png);
}

.rightjiantou .carousel-control-next-icon:hover {
    background-image: url(/pension-gov-home/templates/1/default/_files/img/rightIconHover.png);
}

.news-moduleNew .carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 0px;
    left: 0;
    top: 360px;
    z-index: 15;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 0;
    margin-right: 0;
    margin-left: 0;
    list-style: none;
    width: 686px;
}


.imgContent {
    height: 502px;
    width: 686px;
    background: #fff;
}

.imgContent_top {
    width: 686px;
    height: 300px;
}

.imgContent_bottom {
    widht: 606px;
    height: 202px;
    margin-left: 20px;
}

.lookBtn {
    border: 1px solid #157BF2;
    border-radius: 60px;
    padding: 5px 20px;
    color: #157BF2;
    font-weight: 500;
}
.lookBtn:hover{
  color:#333
}
.media-body {
    width: 500px;
}