/* 基础与布局 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
}

.w1440 {
    width: 1440px;
    margin: 0 auto;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ===== 仅 IE10/11 生效的回退 ===== */
@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {

    /* 1) Grid → Flex 回退（容器与间距） */
    .cards-grid,
    .resource-grid,
    .cards-grid-5col,
    .news-grid-2x2 {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-left: -10px;
        margin-right: -10px;
        justify-content: space-between;
    }

    .cards-grid-5col {
        justify-content: flex-start !important;
    }

    .cards-grid-5col>a {
        padding-bottom: 40px;
        margin-right: 35px;
    }

    .cards-grid-5col>a:nth-child(5n) {
        margin-right: 0;
    }

    .cards-grid>a {
        width: 24%;
    }

    .news-grid-2x2>a {
        width: 48%;
    }

    .news-grid-2x2>a:nth-child(1),
    .news-grid-2x2>a:nth-child(2) {
        margin-bottom: 38px;
    }

    .resource-grid>a {
        width: 32%;
    }

    /* 大屏列宽（用 flex-basis/max-width + 内边距模拟 gap） */
    @media (min-width: 769px) {
        .cards-grid>* {
            -ms-flex: 0 0 33.333%;
            flex: 0 0 33.333%;
            max-width: 33.333%;
            padding: 0 10px 20px;
            box-sizing: border-box;
        }

        .resource-grid>* {
            -ms-flex: 0 0 33.333%;
            flex: 0 0 33.333%;
            max-width: 33.333%;
            padding: 0 10px 20px;
            box-sizing: border-box;
        }

        .cards-grid-5col>* {
            -ms-flex: 0 0 20%;
            flex: 0 0 20%;
            max-width: 20%;
            padding: 0 10px 24px;
            box-sizing: border-box;
        }

        .news-grid-2x2>* {
            -ms-flex: 0 0 50%;
            flex: 0 0 50%;
            max-width: 50%;
            padding: 0 10px 38px;
            box-sizing: border-box;
        }
    }

    /* 小屏一列 */
    @media (max-width: 768px) {

        .cards-grid>*,
        .resource-grid>*,
        .news-grid-2x2>*,
        .cards-grid-5col>* {
            -ms-flex: 0 0 100%;
            flex: 0 0 100%;
            max-width: 100%;
            padding: 0 10px 18px;
            box-sizing: border-box;
        }
    }

    /* 2) 移动端遮罩：变量与 blur 回退（不覆盖现代浏览器） */
    .nav-overlay {
        top: 70px;
        background: rgba(0, 0, 0, .2);
    }

    @media (max-width: 480px) {
        .nav-overlay {
            top: 60px;
        }
    }

    /* 3) Banner 比例回退（无 aspect-ratio） */
    .banner::before {
        content: "";
        display: block;
        padding-top: 37.03%;
    }

    /* 711/1920 */

    /* 4) 安全区回退（无 env()/max()） */
    @media (max-width: 768px) {
        .mobile-header {
            padding-top: 10px;
        }
    }

    /* 资源项标题：2 行 */
    .resource-item h3 {
        line-height: 2;
        max-height: 4em;
        /* 2 行 x 2em */
        overflow: hidden;
    }

    /* 资源项段落：5 行 */
    .resource-item p {
        line-height: 2;
        max-height: 10em;
        /* 5 行 x 2em */
        overflow: hidden;
        position: relative;
    }


    /* 重要论述卡片标题：2 行 */
    .cards-grid-5col .card .card-title {
        line-height: 1.4;
        max-height: 2.8em;
        /* 2 x 1.4em */
        overflow: hidden;
    }

    /* 重要论述卡片内容：4 行 */
    .cards-grid-5col .card .card-content {
        line-height: 1.6;
        max-height: 6.4em;
        /* 4 x 1.6em */
        overflow: hidden;
        position: relative;
    }


}

/* Banner */
.banner {
    background: url(banner.png) no-repeat center center;
    background-size: cover;
    background-position: center;
    width: 100%;
    aspect-ratio: 1920/711;
    position: relative;
}

/* 头部 */
.desktop-header {
    display: block;
}

/* 头部样式 */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: transparent;
    padding: 20px 0;
}

/* Logo样式 */
.logo {
    width: 49%;
    display: block;
}

/* 手机端头部样式 */
.mobile-header {
    display: none;
    background: rgba(44, 62, 80, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.mobile-header.hidden {
    transform: translateY(-100%);
}

.mobile-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.mobile-logo {
    height: 40px;
    width: auto;
}

/* 汉堡菜单样式 */
.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    width: 30px;
    height: 25px;
    justify-content: space-between;
    padding: 0;
}

/* 汉堡菜单图标颜色 */
.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* 导航（Nav） */
.nav {
    background: #ffd0a6;
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav a {
    display: block;
    padding: 22px 58px;
    text-decoration: none;
    color: #b71411;
    font-size: 22px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    outline: none;
}

.nav a:hover,
.nav a.active {
    color: #8b0000;
    border-bottom-color: #8b0000;
    background-color: rgba(183, 20, 17, 0.1);
}

/* 主要内容区域 */
.section {
    padding-bottom: 80px;
}

/* 标题链接 */
.section-title-link {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 52px 0;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.section-title-link:hover {
    transform: scale(1.05);
}

/* 标题图片 */
.section-title-img {
    display: block;
}

/* 重要论述 Tabs */
#important-discourse .section-content {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 8px 4px rgba(0, 0, 0, 0.12);
    background: #fff;
}

.tabs {
    background: #fff;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
    background: #f5f5f5;
    padding: 38px 36px;
    max-height: 624px;
    overflow-y: auto;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 卡片 */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


.card .date {
    color: #999;
    font-size: 0.9rem;
    margin-top: 10px;
}

.cards-grid-5col a {
    width: 233px;
}

.cards-grid-5col .card .card-content p {
    line-height: 1.6 !important;
    text-align: initial !important;
}

.cards-grid-5col .card .card-content span {
    font-size: 15px !important;

}

/* 学习资料列表 */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.resource-item {
    background: url(zlnrbj.png) no-repeat;
    background-position: top center;
    padding: 0 38px;
    transition: transform 0.3s ease;
    text-align: center;
    min-height: 425px;
}

#learning-materials .resource-item {
    transition: transform .2s ease, box-shadow .2s ease;
}

#learning-materials .resource-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.resource-item h3 {
    font-size: 18px;
    font-weight: normal;
    color: #333;
    padding-top: 80px;
    text-indent: 2em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 2;
}

.resource-item div {
    font-size: 16px;
    color: #666;
    text-indent: 2em;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 2;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #f0eaea;
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #ecf0f1;
}

.footer-section p,
.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: #ecf0f1;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    color: #95a5a6;
}

/* 背景区块 */
/* 重要论述背景 */
.important-discourse-bg {
    background-image: url(lsbj.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 10px;
}

/* 新闻速递背景 */
.news-bulletin-bg {
    background-image: url(xwbj.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 学习资料背景 */
.learning-materials-bg {
    background-image: url(zlbj.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 年份标签 */
.year-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 18px 35px;
}

.year-tabs .tab-button {
    background: none;
    border: none;
    padding: 10px 30px;
    cursor: pointer;
    font-size: 20px;
    color: #dc853f;
    transition: all 0.3s ease;
    border-radius: 20px;
}

.year-tabs .tab-button.active {
    color: #fff !important;
    background-color: #b30c0c !important;
}

.year-tabs .tab-button:hover {
    color: #8b0000;
    background-color: rgba(183, 20, 17, 0.1);
}

/* 重要论述 */
.cards-grid-5col {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    column-gap: 35px;
    row-gap: 50px;
}

/* 卡片样式调整 */
.cards-grid-5col .card {
    background: #fff;
    border: none;
    position: relative;
    padding: 32px 22px;
}

.cards-grid-5col .card::before {
    content: '';
    position: absolute;
    top: -22.5px;
    left: 0;
    right: 0;
    height: 45px;
    background: url(lsnr.png) no-repeat;
    background-position: center;
}

/* 时间样式*/
.cards-grid-5col .card .card-date {
    color: #b78c91;
    font-size: 14px;
    margin-bottom: 4px;
}

/* 标题样式 */
.cards-grid-5col .card .card-title {
    color: #333;
    font-size: 18px;
    font-weight: normal;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 内容样式 */
.cards-grid-5col .card .card-content {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
    text-indent: 2em;
    margin-top: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 悬停效果 */
.cards-grid-5col .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.cards-grid-5col .card:hover .card-title {
    color: #b71411;
}

/* 新闻速递 */
.news-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 38px;
}

/* 新闻项目 */
.news-grid-2x2 .news-item {
    background: #fff;
    padding: 29px 27px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.3);
}

.news-grid-2x2 .news-item h3 {
    color: #333;
    font-size: 18px;
    font-weight: normal;
}

.news-grid-2x2 .news-item:hover {
    transform: translateY(-3px);
}

.news-grid-2x2 .news-item:hover h3 {
    color: #b71411;
}

/* 权威解读 */
#authoritative-interpretation .cards-grid .card {
    padding: 35px;
    text-align: center;
    box-shadow: inset 0 0 20px 8px rgba(0, 0, 0, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 130px;
}

#authoritative-interpretation .cards-grid .card:hover {
    transform: translateY(-3px);
    box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.18);
}

#authoritative-interpretation .cards-grid .card h3 {
    margin: 0;
    font-size: 18px;
    font-weight: normal;
    color: #333;
    line-height: 1.4;
}

/* 学习资料*/
#learning-materials .section-title-link {
    padding-top: 0;
}

/* 页脚 */
footer {
    width: 100%;
    overflow: hidden;
    padding: 64px 0 46px;
    position: relative;
    background-color: #921a26;
}

footer .img_cm {
    position: absolute;
    bottom: 0;
    margin: 0 auto;
    transform: translate(-50%, 0%);
    left: 50%;
}

footer .img_cm img {
    width: auto;
    object-fit: cover;
}

footer svg {
    margin: 0 !important;
}

footer .w1440 {
    overflow: initial;
    z-index: 2;
    position: relative;
}

footer .btm_top {
    margin-bottom: 40px;
}

footer .btm_top .b_imgage {
    height: 117px;
    width: 161px;
    margin: 0 auto;
    margin-bottom: 40px;
}

footer .btm_top .b_imgage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

footer .b_up .select-style h2 {
    letter-spacing: 0px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    cursor: pointer;
}

footer .b_up .select-style h2.active .icon {
    transform: rotate(90deg);
}

footer .b_up .select-style h2 .icon {
    margin-left: 20px !important;
    width: 16px;
    height: 16px;
    transition: all 0.4s;
}

footer .b_up {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 90px;
}

footer .b_up .select-style {
    padding: 0 60px;
    position: relative;
}

footer .b_up .select-style ul {
    display: flex;
    align-items: center;
    position: absolute;
    bottom: -45px;
    width: 500px;
}

footer .b_up .select-style ul li {
    color: #f5abb2;
    margin-right: 35px;
    transition: all 0.4s;
    list-style: none;
    padding: 0;
}

.fnt_14 {
    font-size: 14px;
}

footer .b_up .select-style ul li a {
    color: inherit;
}

footer .b_up .select-style ul li:hover {
    color: #ffffff;
}

footer .b_up .select-style:nth-child(1) {
    border-right: 1px solid rgb(255, 255, 255, 0.4);
}

footer .btm_bottom .fo_cm img {
    height: 17px;
    object-fit: contain;
}

footer .btm_bottom .fo_cm .p_min {
    display: flex;
    align-items: center;
}

footer .btm_bottom .fo_cm {
    display: flex;
    align-items: center;
}

footer .btm_bottom .fo_cm p {
    color: #d3a5a4;
    line-height: 1;
}

footer .btm_bottom .btm_l {
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .btm_bottom .fo_cm .p1 {
    margin-right: 8px;
}

footer .btm_bottom .fo_cm .p2 {
    margin-right: 20px;
}

footer .btm_bottom .btm_l .dz {
    margin-right: 60px;
}

footer .btm_bottom .btm_l p a {
    color: #d3a5a4;
    transition: all 0.4s;
}

footer .btm_bottom .btm_l p a:hover {
    color: #ffffff;
}

footer .btm_bottom .btm_r p a {
    color: #d3a5a4;
    transition: all 0.4s;
}

footer .btm_bottom .btm_r p a:hover {
    color: #ffffff;
}

footer .btm_r {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
}

footer .btm_r p {
    color: #d3a5a4;
    margin: 0 15px;
}

/* 全站：平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 进入视口显隐动画 */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid #b30c0c;
    outline-offset: 3px;
}

.nav a:focus-visible,
.tab-button:focus-visible,
.section-title-link:focus-visible {
    box-shadow: 0 0 0 3px rgba(179, 12, 12, 0.35);
    border-radius: 6px;
}

.card,
.resource-item,
.news-grid-2x2 .news-item {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* 交互微动效 */
.nav a:active,
.tab-button:active,
.section-title-link:active,
.card:active,
.resource-item:active {
    transform: translateY(1px) scale(0.995);
}

/* 移动端导航遮罩 */
.nav-overlay {
    backdrop-filter: blur(2px);
}

/* 变量：手机端头部高度（大屏手机/小屏手机） */
:root {
    --mobile-header-height: 70px;
}

/* =========================
   以下为移动端/自适应（媒体查询）
   ========================= */

/* 移动端总览与导航 */
@media (max-width: 768px) {

    .banner {
        min-height: 150px;
    }

    .nav ul {
        flex-direction: column;
        align-items: center;
    }

    .nav li {
        margin: 5px 0;
    }

    .tab-button {
        margin-right: 0;
        margin-bottom: 5px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .resource-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .logo {
        height: 60px;
    }

    .header {
        padding: 15px 0;
    }

    .mobile-header {
        display: block;
    }

    .desktop-header {
        display: none;
    }

    .banner {
        margin-top: 70px;
    }

    .main-content {
        padding-top: 6px;
    }

    /* 手机端导航样式 */
    .nav {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 70%;
        height: calc(100vh - 60px);
        background: #fff;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        transition: left 0.3s ease;
    }

    .nav.active {
        left: 0;
    }

    .nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0;
        height: 100%;
        overflow-y: auto;
    }

    .nav li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav a {
        padding: 20px 30px;
        width: 100%;
        border-bottom: none;
        border-left: 3px solid transparent;
    }


    .nav a:hover {
        background: transparent !important;
        color: inherit !important;
        border-left-color: transparent !important;
        border-bottom-color: transparent !important;
    }

    .nav a:active {
        background: #f2f3f5 !important;
        color: #b30c0c !important;
        border-left-color: #b30c0c !important;
    }

    /* 遮罩层 */
    .nav-overlay {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .section-title-link {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo {
        height: 50px;
    }

    .header {
        padding: 10px 0;
    }

    .mobile-header {
        padding: 10px 0;
    }

    .mobile-logo {
        height: 35px;
    }


    .nav-overlay {
        top: 60px;
    }

    .banner {
        margin-top: 60px;
    }
}

/* 重要论述 */
@media (max-width: 1200px) {
    .cards-grid-5col {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .cards-grid-5col {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .tab-content {
        padding: 38px 0;
    }

    .year-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 8px;
        padding: 10px 12px;
        overflow-x: auto;
        position: relative;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .year-tabs::-webkit-scrollbar {
        width: 0;
        height: 0;
    }


    .year-tabs .tab-button {
        flex: 0 0 auto;
        padding: 8px 12px;
        font-size: 0.95rem;
        white-space: nowrap;
        border-radius: 9999px;
        border: 1px solid #eee;
        background: #fff;
        color: #8b0000;
        scroll-snap-align: start;
    }

    .year-tabs .tab-button.active {
        background: #b30c0c;
        border-color: #b30c0c;
        color: #fff !important;
    }

    .cards-grid-5col {
        grid-template-columns: repeat(2, 1fr);
        max-height: 400px;
    }

    .cards-grid-5col a {
        width: auto;
    }

    .cards-grid-5col .card .card-date {
        padding: 20px 15px 6px 15px;
        font-size: 0.8rem;
    }

    .cards-grid-5col .card .card-title {
        padding: 0 15px;
        font-size: 1rem;

    }

    .cards-grid-5col .card .card-content {
        padding: 0 15px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {

    .year-tabs .tab-button {
        padding: 8px 10px;
        font-size: 0.9rem;
    }

    .cards-grid-5col {
        grid-template-columns: 1fr;
        max-height: 350px;
    }


    .cards-grid-5col .card .card-title {
        padding: 0 12px;
        font-size: 0.95rem;
    }

    .cards-grid-5col .card .card-content {
        padding: 0 12px;
        font-size: 0.8rem;
    }
}

/* 新闻速递响应式 */
@media (max-width: 768px) {
    .news-grid-2x2 {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        gap: 15px;
        padding: 20px;
    }

    .news-grid-2x2 .news-item {
        min-height: 80px;
        padding: 20px 15px;
    }

    .news-grid-2x2 .news-item h3 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .news-grid-2x2 {
        padding: 15px;
        gap: 12px;
    }

    .news-grid-2x2 .news-item {
        min-height: 70px;
        padding: 15px 12px;
    }

    .news-grid-2x2 .news-item h3 {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 1600px) {
    .w1440 {
        width: 80%;
    }
}

@media screen and (max-width: 1200px) {
    .w1440 {
        width: 90%;
    }
}

@media screen and (max-width: 998px) {
    footer .btm_top {
        padding-bottom: 0px;
    }

    footer .btm_top .footer_t_l {
        display: none;
    }

    footer .btm_top .footer_t_r {
        width: 100%;
        margin-top: 30px;
        flex-direction: column;
        justify-content: center;
    }

    footer .btm_top .footer_t_r .or {
        width: 118px;
    }

    footer .btm_top .footer_t_r .add {
        padding-left: 0;
        margin-top: 30px;
        width: auto;
    }

    footer .btm_top .footer_t_r .add li .ic {
        width: 45px;
        height: 45px;
        padding-top: 0;
    }

    footer .btm_bottom {
        flex-wrap: wrap;
        flex-direction: column-reverse;
        padding-top: 30px;
    }

    footer .btm_bottom .btm_l {
        width: 100%;
        margin-top: 20px;
        padding-bottom: 30px;
    }

    footer .btm_bottom .btm_r {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {

    footer .btm_bottom .btm_l .dz {
        margin-right: 0;
    }

    footer .btm_bottom {
        padding-top: 0;
    }

    footer .btm_bottom .fo_cm {
        margin-right: 0;
        align-items: baseline;
        margin-bottom: 20px;
    }

    footer .btm_bottom .fo_cm p {
        margin-right: 10px;
        width: auto;
        text-align: center;
        line-height: 1;
        margin-right: 0;
        margin-bottom: 10px;
    }

    footer .btm_bottom .fo_cm p:last-child {
        margin-bottom: 0;
    }

    footer .btm_bottom .fo_cm .p3 {
        width: 100%;
    }

    footer .btm_bottom .fo_cm .p1 {
        margin-right: 10px;
    }

    footer .btm_bottom .fo_cm .p2 {
        margin-right: 0;
    }

    footer {
        padding: 40px 0 40px;
    }

    footer .btm_top {
        margin-bottom: 0px;
    }

    footer .b_up {
        margin-bottom: 0px;
    }

    footer .b_up .select-style {
        padding: 0 10px;
    }

    footer .b_up .select-style ul {
        display: flex !important;
        position: unset;
        justify-content: center;
        width: 100%;
    }

    footer .b_up {
        flex-wrap: wrap;
    }

    footer .b_up .select-style {
        margin-bottom: 10px;
        width: 100%;
        margin-bottom: 20px;
    }

    footer .b_up .select-style h2 {
        margin-bottom: 10px;
        justify-content: center;
    }

    footer .b_up .select-style:nth-child(1) {
        border-right: 0px solid rgb(255, 255, 255, 0.4);
    }

    footer .b_up .select-style ul li {
        margin: 0 15px;
    }

    footer .btm_bottom {
        margin-top: 0px;
        padding-bottom: 0px;
        padding-top: 0;
    }

    footer .btm_bottom .btm_l {
        flex-wrap: wrap;
        margin-top: 0px;
        /* padding-bottom: 15px; */
        padding-bottom: 0;
    }

    footer .btm_bottom .btm_l .d0 {
        flex-wrap: wrap;
        margin-top: 0px;
    }

    footer .btm_bottom .btm_r {
        flex-wrap: wrap;
        margin-top: 0;
    }

    footer .btm_top .b_imgage {
        margin-bottom: 20px;
    }

    footer .b_up .select-style h2 .icon {
        display: none;
    }

    footer .img_cm img {
        width: 100%;
    }

    footer .img_cm {
        width: 100%;
    }

    footer .btm_bottom .fo_cm .p_min {
        flex-wrap: wrap;
        justify-content: center;
        display: unset;
    }

    footer .btm_r p {
        line-height: 1;
        margin-bottom: 10px;
    }
}

/* 减少动态（系统偏好） */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* :root 变量（小屏） */
@media (max-width: 480px) {
    :root {
        --mobile-header-height: 60px;
    }
}

/* 通用排版与容器边距（手机端更易读） */
@media (max-width: 768px) {
    .container {
        padding: 0 18px;
    }

    body {
        font-size: 16px;
        line-height: 1.7;
    }

    .section {
        padding-bottom: 48px;
    }

    .section-title-link {
        padding: 28px 0;
    }

    .section-title-img {
        max-width: 220%;
    }
}

@media (max-width: 480px) {
    .section-title-link {
        padding: 24px 0;
    }
}

/* 顶部安全区与导航（iOS 刘海屏、统一高度与全屏导航） */
@media (max-width: 768px) {
    .mobile-header {
        padding-top: max(10px, env(safe-area-inset-top));
    }

    .nav-overlay {
        top: var(--mobile-header-height) !important;
    }

    .nav a {
        padding: 18px 24px;
        font-size: 1.05rem;
    }
}



/* 重要论述卡片：去固定高度，防止内容被裁剪；两列/小屏一列 */
@media (max-width: 768px) {
    .cards-grid-5col {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 18px;
        column-gap: 16px;
        padding: 0 12px;
    }

    .cards-grid-5col .card {
        height: auto !important;
        /* 覆盖原固定高度 */
        padding: 18px 14px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    }

    .cards-grid-5col .card .card-date {
        font-size: 12px;
        margin-bottom: 6px;
        padding: 0;
    }

    .cards-grid-5col .card .card-title {
        font-size: 16px;
        line-height: 1.45;
    }

    .cards-grid-5col .card .card-content {
        font-size: 14px;
        line-height: 1.65;
    }
}

@media (max-width: 576px) {
    .cards-grid-5col {
        grid-template-columns: 1fr;
    }
}

/* 新闻速递：更轻的阴影与间距，避免拥挤 */
@media (max-width: 768px) {
    .news-grid-2x2 {
        gap: 16px;
        padding: 12px;
    }

    .news-grid-2x2 .news-item {
        min-height: 84px;
        padding: 18px 14px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
    }

    .news-grid-2x2 .news-item h3 {
        font-size: 1rem;
    }
}

/* 权威解读 */
@media (max-width: 768px) {
    #authoritative-interpretation .cards-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    #authoritative-interpretation .cards-grid .card {
        padding: 16px 14px;
        box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.12);
    }

    #authoritative-interpretation .cards-grid .card h3 {
        font-size: 16px;
        line-height: 1.45;
    }
}

/* 学习资料 */
@media (max-width: 768px) {
    #learning-materials .resource-item {
        border-radius: 10px;
        background-position: top center;
        background-size: cover;
    }

    #learning-materials .resource-item h3 {
        font-size: 1.05rem;
        line-height: 1.4;
    }

    #learning-materials .resource-item p {
        line-height: 1.7;
    }
}

/* 触控体验 */
@media (max-width: 768px) {

    .nav a,
    .tab-button,
    .news-grid-2x2 .news-item,
    .card,
    .resource-item {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }
}


@media (max-width: 480px) {
    .section {
        padding-bottom: 40px;
    }
}


@media (max-width: 420px) {
    .mobile-header .container {
        padding: 0 10px;
        gap: 8px;
    }

    .mobile-logo {
        width: 250px;
        object-fit: contain;
        z-index: 1;
    }

    .hamburger-menu span {
        height: 2px;
    }
}