body {
    background-color: #f0f2f5;
}

.wrapper-home {
    width: min(1190px, calc(100% - 24px));
    margin: 10px auto;
}

.news {
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
}

.news .newsContentLeft {
    width: 630px;
    background-color: aqua;
    position: relative;
}

.news .newsContentLeft span {
    position: absolute;
    z-index: 5;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 48px;
    line-height: 18px;
    color: #c1c1c1;
    background: #C81B02;
}

.news .newsContentLeft span a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    line-height: 44px;
    font-family: "微软雅黑";
    padding-left: 23px;
}

.news .newsContentLeft span a:hover {
    color: #eae272;
    cursor: pointer;
}

.news .newsContentRight {
    background-color: #fff;
    width: 547px;
}

.news .newsContentRight .new {
    padding: 5px 15px;
    height: 190px;
}

.news .newsContentRight .newTop a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news .newsContentRight .newTop a img {
    margin-right: 25px;
    height: 30px;
}

.news .newsContentRight .newTop .more {
    font-size: 12px;
    padding-right: 10px;
    font-weight: 300;
    color: #000000;
}

.news .newsContentRight .news_line {
    border-top: 1px dashed #a6a6a6;
    padding-top: 6px;
    margin: 5px 9px;
}

.news .newsContentRight .news_line li {
    position: relative;
    padding-left: 10px;
    overflow: hidden;
    margin-bottom: 5px;
    line-height: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news .newsContentRight .news_line li .black19_2 {
    font-size: 16px;
    max-width: 380px;
    color: #4a4e4f;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.news .newsContentRight .news_line li .black19_2:hover {
    cursor: pointer;
    color: #000000;
    font-weight: bold;
}

/* 标题收缩省略、日期完整显示，避免被 li 的 overflow:hidden 裁切 */
.news .newsContentRight .news_line li > span:first-child {
    min-width: 0;
    flex: 1;
}

.news .newsContentRight .news_line li .time {
    width: 75px;
    flex-shrink: 0;
    font-size: 14px;
    color: #999999;
}

.plateTwo {
    overflow: hidden;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

.plateTwo .notification {
    width: 390px;
    background: #fff;
    height: 342px;
}

.plateTwo .img-new {
    width: 390px;
    background: #fff;
    height: 342px;
}

.plateTwo .notice {
    width: 390px;
    background: #fff;
    height: 342px;
}

.plateTwo .Ntop {
    overflow: hidden;
    border-bottom: 1px solid #dfdfdf;
    border-top: 2px solid #b8030b;
}

.plateTwo .Ntop a {
    cursor: pointer;
    font-size: 14px;
    color: #7a7a7a;
    display: block;
    float: right;
    height: 56px;
    line-height: 56px;
}

.newsli span {
    font-size: 14px;
    color: #BFBDBD;
    display: block;
}

.plateTwo .Nbottom {
    padding: 13px 10px 10px 10px;
    width: 100%;
    box-sizing: border-box;
}

.plateTwo .Nbottom span {
    font-size: 14px;
    color: #BFBDBD;
    display: block
}

.plateTwo .Nbottom span a {
    font-weight: normal;
    color: #4a4e4f;
    cursor: pointer;
    font-size: 16px;
    display: block;
    float: left;
    max-width: 290px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 10px;
    line-height: 30px;
}

.plateTwo .Nbottom span a:hover {
    color: #000000;
    font-weight: bold;
}

.plateTwo .Nbottom .time {
    width: 70px;
    float: right;
    font-size: 12px;
    color: #999999;
    line-height: 30px;
}

.plateTwo .Nbottom .newsli {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 8px;
}

.plateTwo .img-new .Nbottom .rslides {
    width: 100%;
}

.plateTwo .img-new .Nbottom .rslides li {
    width: 100%;
}

.plateTwo .img-new .Nbottom {
    position: relative;
}

.plateTwo .img-new .Nbottom .rslides {
    position: relative;
    width: 100%;
    height: 324px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.plateTwo .img-new .Nbottom .rslides li {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    list-style: none;
}

.plateTwo .img-new .Nbottom .rslides li.rslides_on {
    opacity: 1;
    z-index: 1;
}

.plateTwo .img-new .Nbottom .rslides_tabs {
    position: absolute;
    right: 22px;
    bottom: 64px;
    z-index: 2;
    margin: 0;
    padding: 0;
}

.plateTwo .img-new .Nbottom .rslides_tabs li {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 6px;
    background: #d4d4d4;
    cursor: pointer;
    list-style: none;
}

.plateTwo .img-new .Nbottom .rslides_tabs li.rslides_here {
    background: #ffffff;
}

.plateTwo .img-new .Nbottom ul li a {
    cursor: pointer;
    color: #000000;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 30px;
}

.plateTwo .img-new .Nbottom ul li a img {
    width: 100%;
    height: 240px;
}

.plateTwo .img-new .Nbottom ul li .rls-bom {
    width: 100%;
    height: 40px;
    background-color: #C81B02;
}

.plateTwo .img-new .Nbottom ul li .rls-bom a {
    cursor: pointer;
    color: #000000;
    font-size: 16px;
    display: block;
    float: left;
    max-width: 290px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 10px;
    font-weight: bold;
    padding-left: 23px;
}

.plateThree {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

.plateThree .notification {
    width: 585px;
    background-color: #ffffff;
}

.plateThree .notification-rig {
    width: 585px;
    background-color: #ffffff;
}

.plateThree ul {
    display: flex;
    flex-wrap: wrap;
    padding: 14px 12px;
}

.plateThree li {
    width: 175px;
    height: 53px;
    cursor: pointer;
    border: 1px solid #626262;
    margin: 5px;
}

.plateThree ul li a {
    display: flex;
    cursor: pointer;
}

.plateThree ul li a img {
    display: block;
    width: 36px;
    height: 36px;
    margin: 10px 2px 0px 5px;
    border: none;
}

.plateThree ul li a span {
    height: 55px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    color: #0c71c6;
    font-size: 10px;
    width: 120px;
    word-break: break-all;
    overflow-wrap: break-word;
}

/* ===== 政策法规 + 视频新闻 ===== */
.plateFour {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

.plateFour .newList {
    background: #fff;
    width: 750px;
    height: 342px;
    box-sizing: border-box;
}

.plateFour .newList .Ntop {
    border-bottom: 1px solid #dfdfdf;
    border-top: 2px solid #b8030b;
}

.plateFour .newList .Ntop img {
    display: block;
    width: 100%;
}

.plateFour .newList ul {
    padding: 0 10px;
}

.plateFour .newList ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 38px;
    border-bottom: 1px solid #f3f6f8;
    cursor: pointer;
}

.plateFour .newList ul li a {
    width: 75%;
    font-size: 16px;
    color: #535353;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.plateFour .newList ul li a:hover {
    color: #b8030b;
    font-weight: bold;
}

.plateFour .newList ul li .time {
    width: 75px;
    font-size: 14px;
    color: #999999;
    text-align: right;
}

.plateFour .videoDiv {
    background: #fff;
    width: 427px;
    height: 342px;
    box-sizing: border-box;
}

.plateFour .videoDiv .Ntop {
    border-bottom: 1px solid #dfdfdf;
    border-top: 2px solid #b8030b;
}

.plateFour .videoDiv .Ntop img {
    display: block;
}

.plateFour .videoDiv .videoBox {
    display: block;
}

.plateFour .videoDiv .Nbottom {
    position: relative;
    height: 282px;
}

.plateFour .videoDiv .Nbottom .videoThumb {
    display: block;
    width: 100%;
    height: 282px;
    object-fit: cover;
}

.plateFour .videoDiv .Nbottom .videoMask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.plateFour .videoDiv .Nbottom .playBtn {
    width: 75px;
    height: 73px;
}

.plateFour .videoDiv .Nbottom span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    line-height: 50px;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    padding-left: 18px;
    font-size: 16px;
    box-sizing: border-box;
}

/* ===== 中国科学十大进展 + 投稿系统 横幅 ===== */
.plateFive {
    margin-top: 10px;
    overflow: hidden;
}

.plateFive .imgFour {
    position: relative;
    /* display: flex;
    justify-content: space-between;
    gap: 20px; */
}

.plateFive .imgFour.jyxc {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.plateFive .imgFour a {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.plateFive .imgFour a img {
    display: block;
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
}

.plateFive .imgFour .text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.plateFive .imgFour .text h1 {
    color: #fff;
    font-size: 60px;
    font-weight: initial;
    text-align: center;
}

.plateFive .imgFour .text span {
    color: #fbff00;
    font-size: 42px;
    letter-spacing: 5px;
    text-align: center;
}

/* ===== 友情链接 ===== */
.plateSix {
    width: 100%;
    /* height: 215px; */
    margin-top: 10px;
    background: #fff;
    box-sizing: border-box;
}

.plateSix h1 {
    height: 50px;
    line-height: 50px;
    border-top: 2px solid #252525;
    font-size: 18px;
    color: #0f0f0f;
    font-weight: 600;
    padding-left: 10px;
}

.plateSix .news_line_div {
    display: flex;
    flex-wrap: wrap;
    padding: 4px 8px;
}

.plateSix .shouyea {
    width: 223px;
    height: 58px;
    border: 1px solid #9a9a9a;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.plateSix .shouyea a {
    cursor: pointer;
    color: #0f0f0f;
    font-size: 16px;
    text-decoration: none;
}

/* ===== 建言献策 ===== */
.jyxc-card {
    flex: 1;
    min-width: 0;
    background: #fff;
    padding: 26px 16px 60px;
    box-sizing: border-box;
}

.jyxc-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin: 0 0 30px;
}

.jyxc-intro {
    font-size: 16px;
    line-height: 1.85;
    color: #333;
    text-indent: 2em;
    text-align: justify;
    margin: 0 0 24px;
}

.jyxc-divider {
    height: 2px;
    background: #e9e9e9;
    margin: 0 0 24px;
}

.jyxc-note {
    font-size: 14px;
    color: #333;
    margin: 0 0 26px;
}

.jyxc-note a {
    color: #b60015;
    text-decoration: none;
}

.jyxc-note a:hover {
    text-decoration: underline;
}

.jyxc-section {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    color: #b60015;
    margin: 0 0 28px;
}

.jyxc-section span {
    display: inline-block;
    width: 5px;
    height: 20px;
    background: #C81B02;
    margin-right: 8px;
}
.jyxc-form {
    margin-right: 70px;
}
.jyxc-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 42px;
}

.jyxc-label {
    width: 170px;
    flex-shrink: 0;
    padding-right: 10px;
    box-sizing: border-box;
    text-align: right;
    font-size: 15px;
    color: #333;
    line-height: 40px;
}

.jyxc-label i {
    font-style: normal;
    color: #b60015;
    margin-right: 2px;
}

.jyxc-field {
    flex: 1;
    min-width: 0;
}

/* 输入框 / 下拉 / 文本域 */
.jyxc-field input[type="text"],
.jyxc-field select,
.jyxc-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    background: #fff;
    font-family: inherit;
    font-size: 15px;
    color: #333;
    outline: none;
}

.jyxc-field input[type="text"] {
    height: 36px;
    line-height: 36px;
    padding: 0 14px;
}

.jyxc-field textarea {
    height: 205px;
    line-height: 1.7;
    padding: 10px 14px 26px;
    resize: none;
    display: block;
}

.jyxc-field select {
    height: 40px;
    padding: 0 34px 0 14px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.jyxc-field input[type="text"]:focus,
.jyxc-field textarea:focus,
.jyxc-field select:focus {
    border-color: #b60015;
}

.jyxc-field input::placeholder,
.jyxc-field textarea::placeholder {
    color: #999;
}

/* 字数统计 */
.jyxc-field-count {
    position: relative;
}

.jyxc-field-count input[type="text"] {
    padding-right: 70px;
}

.jyxc-count {
    position: absolute;
    right: 14px;
    top: 20px;
    transform: translateY(-50%);
    font-size: 14px;
    color: #a6a6a6;
    pointer-events: none;
}

.jyxc-field-area .jyxc-count {
    top: auto;
    bottom: 10px;
    transform: none;
}

/* 分类复选 */
.jyxc-checks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    height: 40px;
}

.jyxc-checks label {
    display: flex;
    align-items: center;
    margin-right: 46px;
    font-size: 15px;
    color: #333;
    cursor: pointer;
}

.jyxc-checks label:last-child {
    margin-right: 0;
}

.jyxc-checks input[type="checkbox"] {
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin: 0 6px 0 0;
    border: 1px solid #c9c9c9;
    border-radius: 2px;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.jyxc-checks input[type="checkbox"]:checked {
    border-color: #b60015;
    background: #b60015;
}

.jyxc-checks input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.jyxc-tip {
    font-size: 14px;
    color: #666;
    margin: 10px 0 0;
}

/* 身份下拉箭头 */
.jyxc-select {
    position: relative;
}

.jyxc-select::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    margin-top: -2px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #333;
    pointer-events: none;
}

/* 验证码 */
.jyxc-captcha {
    display: flex;
    align-items: center;
}

.jyxc-captcha input[type="text"] {
    width: 183px;
    flex-shrink: 0;
}

.jyxc-captcha-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 36px;
    margin-left: 10px;
    box-sizing: border-box;
    border: 1px solid #121212;
    background: #f7f7f7;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #1b5e20;
    cursor: pointer;
    user-select: none;
}
.jyxc-captcha-img img {
    width: 100%;
    height: 100%;
}

.jyxc-captcha-btn {
    width: 78px;
    height: 36px;
    margin-left: 12px;
    box-sizing: border-box;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    background: #eee;
    font-family: inherit;
    font-size: 15px;
    color: #333;
    cursor: pointer;
}

.jyxc-captcha-btn:hover {
    border-color: #b60015;
    color: #b60015;
}

/* 提交 / 重置 */
.jyxc-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 58px;
}

.jyxc-submit,
.jyxc-reset {
    width: 118px;
    height: 42px;
    border: none;
    border-radius: 4px;
    font-family: inherit;
    font-size: 17px;
    letter-spacing: 2px;
    cursor: pointer;
}

.jyxc-submit {
    background: #b60015;
    color: #fff;
}

.jyxc-submit:hover {
    background: #a90015;
}

.jyxc-reset {
    margin-left: 96px;
    background: #e3e3e3;
    color: #333;
}

.jyxc-reset:hover {
    background: #d6d6d6;
}

/* 右侧悬浮：建言献策入口 */
.jyxc-float {
    position: fixed;
    top: 50%;
    right: max(12px, calc(50% - 595px - 32px - 74px));
    z-index: 99;
    width: 74px;
    height: 74px;
    padding: 16px;
    box-sizing: border-box;
    border-radius: 10px;
    background: #b60015;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
    font-weight: 600;
    letter-spacing: 1px;
}


/* ===== 建言献策：留言服务返回的校验提示 ===== */
/* 字段错误提示：默认收起，服务端返回错误时加 is-show 展开 */
.jyxc-field-error {
    display: none;
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: #d0021b;
}

.jyxc-field-error.is-show {
    display: block;
}

/* 被标记为出错的控件描红 */
.jyxc-field input.is-invalid,
.jyxc-field textarea.is-invalid,
.jyxc-field select.is-invalid {
    border-color: #d0021b;
}

.jyxc-checks.is-invalid input[type="checkbox"] {
    border-color: #d0021b;
}

/* 整体结果提示：居中弹框（成功 / 失败） */
.jyxc-modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    /* 要盖住头部导航（1000）与下拉层（9999） */
    z-index: 10000;
}

.jyxc-modal.is-show {
    display: block;
}

.jyxc-modal-mask {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
}

.jyxc-modal-panel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    max-width: calc(100% - 40px);
    box-sizing: border-box;
    padding: 44px 40px 30px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
    text-align: center;
}

/* 状态图标：沿用原提示条的绿 / 红配色 */
.jyxc-modal-icon {
    display: block;
    width: 52px;
    height: 52px;
    margin: 0 auto 22px;
    border: 1px solid transparent;
    border-radius: 50%;
    font-size: 30px;
    font-weight: bold;
    line-height: 50px;
    text-align: center;
}

.jyxc-modal.is-success .jyxc-modal-icon {
    color: #1f7a3d;
    background: #effaf3;
    border-color: #b7e1c4;
}

.jyxc-modal.is-error .jyxc-modal-icon {
    color: #a8071a;
    background: #fff1f0;
    border-color: #ffc7c4;
}

.jyxc-modal-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    word-break: break-all;
}

.jyxc-modal-btn {
    width: 118px;
    height: 42px;
    margin-top: 34px;
    border: none;
    border-radius: 4px;
    background: #b60015;
    color: #fff;
    font-family: inherit;
    font-size: 17px;
    letter-spacing: 2px;
    cursor: pointer;
}

.jyxc-modal-btn:hover {
    background: #a90015;
}

/* ================= 缩放适配：窗口变窄时收缩，避免横向撑出 ================= */

/* 各板块标题图片不超出容器 */
.Ntop img {
    max-width: 100%;
    height: auto;
}

/* 固定宽度列允许随容器收缩（flex 项默认 min-width:auto 会被内容卡住） */
.news > div,
.plateTwo > div,
.plateThree > div,
.plateFour > div,
.plateFive .imgFour.jyxc a {
    min-width: 0;
}

/* 窄屏：各板块改为上下堆叠 */
@media (max-width: 768px) {
    .news {
        height: auto;
        flex-wrap: wrap;
    }

    .news .newsContentLeft {
        width: 100%;
        height: 240px;
    }

    .news .newsContentRight {
        width: 100%;
    }

    .news .newsContentRight .new {
        height: auto;
    }

    .plateTwo {
        flex-wrap: wrap;
    }

    .plateTwo .notification,
    .plateTwo .img-new,
    .plateTwo .notice {
        width: 100%;
        height: auto;
    }

    .plateThree {
        flex-wrap: wrap;
    }

    .plateThree .notification,
    .plateThree .notification-rig {
        width: 100%;
    }

    .plateFour {
        flex-wrap: wrap;
    }

    .plateFour .newList,
    .plateFour .videoDiv {
        width: 100%;
        height: auto;
    }

    .plateFour .videoDiv .Nbottom {
        height: 220px;
    }

    .plateFive .imgFour.jyxc {
        flex-wrap: wrap;
    }

    .plateFive .imgFour a img {
        height: 100%;
    }

    .plateSix {
        height: auto;
    }

    .plateSix .shouyea {
        width: calc(50% - 10px);
    }
}
