@charset "utf-8";

:root {
    --red: #b41710;
    --red-dark: #8f0f10;
    --text: #3f3e3e;
    --muted: #777;
    --line: #e7e7e7;
    --bg: #f6f2ee;
    --card: #fff;
    --shadow: 0 0.12rem 0.28rem rgba(0, 0, 0, .08);
}
/* 文本超出省略号公共样式 */
.text-ellipsis-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-ellipsis-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all;
}

.text-ellipsis-3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    word-break: break-all;
}
body {
    background-color: #f0f0ee;
    min-height: 100vh;
       display: flex;
    flex-direction: column;
}

.site-header {
    background-color: #f0f0ee;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.24rem 0;
    position: relative;

    background-image: url("../images/topbg.png");
    background-repeat: no-repeat;
    background-position: calc(100% - 1rem) top ;
    background-size: auto;

}

.brand {
    display: flex;
    align-items: center;
}

.brand-logo img {
    height: 0.82rem;

}


.search {
    display: flex;
    align-items: center;
    width: 2.4rem;
    height: 0.44rem;
    border: 1px solid #dcdcdc;
    border-radius: 0.1rem;
    background: #fff;
    overflow: hidden;
}

.search-input {
    flex: 1;
    height: 100%;
    padding: 0 0.14rem;
    font-size: 0.16rem;
    color: var(--text);
    width: 100%;
}

.search-input::placeholder {
    color: #b2b2b2;
}

.search-btn {
    width: 0.48rem;
    height: 100%;
    background: var(--red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.search-btn:hover {
    background: var(--red-dark);
}

.search-btn img {
    width: 0.22rem;
    height: 0.22rem;
}

.site-nav {
    background: var(--red);
    position: relative;
    z-index: 50;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    height: 0.56rem;
}

.nav-item {
    flex: 1;
    min-width: 1rem;
    text-align: center;
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 0.56rem;
    font-size: 0.18rem;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.01rem;
    gap: 0.08rem;
}

.nav-link:hover,
.nav-link.is-active {
    background: rgba(255, 255, 255, .14);
}

.caret {
    width: 0;
    height: 0;
    border-left: 0.05rem solid transparent;
    border-right: 0.05rem solid transparent;
    border-top: 0.06rem solid rgba(255, 255, 255, .92);
    margin-top: 0.02rem;
}

.subnav {
    position: absolute;
    top: 0.56rem;
    left: 50%;
    transform: translateX(-50%);
    min-width: 1.9rem;
    padding: 0.12rem;
    background: #fff;
    border-radius: 0.12rem;
    box-shadow: var(--shadow);
    display: none;
    z-index: 50;
}

.subnav::before {
    content: "";
    position: absolute;
    top: -0.08rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 0.1rem solid transparent;
    border-right: 0.1rem solid transparent;
    border-bottom: 0.1rem solid #fff;
}

.subnav li + li {
    border-top: 1px dashed #eee;
}

.subnav-link {
    display: block;
    padding: 0.12rem 0.08rem;
    font-size: 0.15rem;
    color: var(--text);
    white-space: nowrap;
}

.subnav-link:hover {
    color: var(--red);
}

@media screen and (min-width: 1025px) {
    .nav-item.has-sub:hover > .subnav {
        display: block;
    }
}

.site-main {
    padding: 0.26rem 0 0.7rem;
    background: url("../images/bannerbg.png") center calc(100% + 0.9rem)   no-repeat;
    background-size: auto;
        flex: 1 0 auto;
}

.hero-grid{
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.24rem;
}

.hero-left {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
}

.panel {
    background: var(--card);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.panel-hero {
    border-radius: 0.12rem;
}

.panel-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.2rem 0.2rem 0.08rem;
    background: url("../images/titbg.png")  right calc(100% + 0.01rem) no-repeat;
    background-size: contain;
    margin: 0 auto;
    position: relative;
}
.panel-hd::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0.2rem;
    width: calc(100% - 0.4rem);
    height: 0.01rem;
    background: var(--red);
}




.panel-title {
    font-size: 0.22rem;
    font-weight: 800;
    color: var(--text);
    position: relative;
}
.panel-title::before {
    content: "";
    position: absolute;
    bottom: -0.09rem;
    left: -0.03rem;
    width: calc(100% + 0.06rem);
    height: 0.03rem;
    background: var(--red);
}
.panel-more {
    display: inline-flex;
    align-items: center;
    gap: 0.08rem;
    font-size: 0.16rem;
    color: #8a8a8a;
}

.panel-more img {
    width: 0.16rem;
    height: 0.16rem;
}

.panel-more:hover {
    color: var(--red);
    font-weight: 600;
}

.panel-bd {
    padding: 0.2rem;
}

.hero-swiper {
    width: 6.62rem;
    height: 3.94rem;
}

.hero-card {
    display: block;
    overflow: hidden;
    position: relative;
}

.hero-img {
    width: 100%;
    height: 3.94rem;
    object-fit: cover;
    display: block;
}

.hero-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.14rem 1.3rem 0.14rem 0.16rem;
    font-size: 0.16rem;
    color: #fff;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .9) 100%);
    width: 100%;
}

.hero-swiper .swiper-pagination {
    text-align: right;
    padding-right: 0.14rem;
    bottom: 0.14rem !important;
}

.hero-swiper .swiper-pagination-bullet {
    width: 0.08rem;
    height: 0.08rem;
    background: rgba(255, 255, 255, .6);
    opacity: 1;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: #fff;
}

.hero-right {
    flex: 1;
    min-width: 0;
    min-height: 3.94rem;
    display: flex;
    flex-direction: column;
    padding-top: 0.02rem;
}

.hero-right-news {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.news-feature {
    flex: 0 0 auto;
    padding-bottom: 0.12rem;
    margin-bottom: 0.12rem;
    border-bottom: 1px dashed #ccc;
}

.news-feature-head {
    display: flex;
    align-items: flex-start;
    gap: 0.1rem;
}

.news-feature-dot {
    width: 0.06rem;
    height: 0.06rem;
    background: var(--red);
    border-radius: 0.02rem;
    margin-top: 0.12rem;
    flex: 0 0 auto;
}

.news-feature-title {
    flex: 1;
    min-width: 0;
    font-size: 0.18rem;
    font-weight: 800;
    color: var(--red);
    line-height: 1.45;
}

.news-feature-title:hover {
    color: var(--red);
    text-decoration: underline;
}

.news-feature-summary {
    margin-top: 0.08rem;
    padding-left: 0.16rem;
    font-size: 0.16rem;
    color: #6b6a6a;
    line-height: 1.6;
}

.news-rows {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
    gap: 0.02rem;
}

.news-row {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 0;
    padding: 0.04rem 0;
}

.news-row-date {
    flex: 0 0 0.95rem;
    font-size: 0.15rem;
    color: #6b6a6a;
    line-height: 1.4;
}

.news-row-bar {
    flex: 0 0 0.01rem;
    width: 0.01rem;
    min-height: 0.18rem;
    background: var(--red);
    margin-right: 0.1rem;
}

.news-row-link {
    flex: 1;
    min-width: 0;
    font-size: 0.17rem;
    color: var(--text);
    line-height: 1.5;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.news-row-link:hover {
    color: var(--red);
}

.section {
    margin-top: 0.22rem;
}

.home-grid-inner{
    display: flex;
    gap: 0.22rem;
    justify-content: space-between;
}

.home-left{
    flex: 1;
    width: 100%;
}
.home-left-stack{
    display: flex;
    gap: 0.22rem;
    flex-direction: column;
}

.home-left-block{
    background: #fff;
    box-shadow: var(--shadow);
    padding: 0.06rem 0.1rem;
}

.home-left-row{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.22rem;
    align-items: stretch;
}

.panel.panel-plain{
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    min-width: 0;
}

.panel.panel-plain .panel-bd{
    padding: 0.1rem 0.2rem 0.1rem;
}

.home-right{
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
    width: 3.57rem;
}

.bullet-list li {
    padding: 0.12rem 0;
    border-bottom: 1px dashed #e6e6e6;
}

.bullet-list li:last-child {
    border-bottom: 0;
}

.bullet-list > div {
    padding: 0.1rem 0;
    border-bottom: 1px dashed #e6e6e6;
}


.bullet-list a {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    min-width: 0;
    font-size: 0.16rem;
    color: #3f3e3e;
    line-height: 1.5;
}

.bullet-list a > .text-ellipsis-1 {
    flex: 1;
    min-width: 0;
}

.bullet-list a:hover {
    color: var(--red);
}

.dot {
    width: 0.06rem;
    height: 0.06rem;
    border-radius: 50%;
    background: var(--red);
    flex: 0 0 auto;
}


.report-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.05rem 0.14rem;
    border-radius: 0.16rem;
    font-size: 0.14rem;
    color: #fff;
    background: var(--red);
    font-weight: 700;
}

.report-btn:hover {
    background: var(--red-dark);
}
.panel-report .panel-bd{
    background: url("../images/boxbg.png") bottom center no-repeat;
    background-size: auto;
}
.report-list {
    display: grid;
    gap: 0.15rem;
    font-size: 0.16rem;
    color: #3f3e3e;
    line-height: 1.6;
}
.report-list li{
    display: flex;
    align-items: self-start;
    flex-wrap: wrap;
}
.report-k {
    color: #8a8a8a;
    display: flex;
    align-items: center;
    gap: 0.05rem;
}
.report-k img{
    width: 0.15rem;
}
.report-v {
    color: var(--text);
}

/* 旧的 bottom 布局已合并到 home-grid */

.panel-links .panel-bd {
    padding-top: 0.14rem;
}

.select-wrap {
    margin-top: 0.12rem;
}

.link-select {
    width: 100%;
    height: 0.44rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.08rem;
    padding: 0 0.14rem;
    font-size: 0.15rem;
    background: #fff;
    color: var(--text);
}

.quick-list {
    display: grid;
    gap: 0.12rem;
}

.quick-item {
    display: block;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.quick-item img {
    width: 100%;
    height: 0.66rem;
    object-fit: cover;
    display: block;
}

.quick-item:hover {
    transform: translateY(-0.02rem);
}

.site-footer {
    background: var(--red);
    padding: 0.25rem 0;
    margin-top: auto;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-text {
    font-size: 0.16rem;
    color: rgba(255, 255, 255, .9);
}

/* ---------- 新闻列表页 newslist.html（常规机关站风格） ---------- */
.newslist-page {
    padding: 0.28rem 0 0.48rem;
    background: white;
    flex: 1 0 auto;
}

.newslist-layout {
    display: grid;
    grid-template-columns: minmax(2.4rem, 20%) 1fr;
    gap: 0.2rem;
    align-items: start;
}

.newslist-side {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ddd;
    overflow: hidden;
}

.newslist-side-cap {
    background: var(--red);
    color: #fff;
    text-align: center;
    font-size: 0.18rem;
    font-weight: 700;
    padding: 0.2rem 0.16rem 0.22rem;
    line-height: 1.3;
    position: relative;
}

.newslist-side-cap::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.1rem;
    transform: translateX(-50%);
    width: 0.36rem;
    height: 0.02rem;
    background: #fff;
}

.newslist-side-nav {
    flex: 1;
    background: #f7f7f7;
    border-top: 1px solid #e5e5e5;
}

.newslist-side-link {
    display: block;
    padding: 0.12rem 0.18rem;
    font-size: 0.15rem;
    color: #333;
    border-bottom: 1px solid #e8e8e8;
}

.newslist-side-link:last-child {
    border-bottom: 0;
}

.newslist-side-link:hover {
    color: var(--red);
    background: #fafafa;
}

.newslist-side-link.is-active {
    color: var(--red);
    font-weight: 700;
    background: #fff;
    border-left: 0.03rem solid var(--red);
    padding-left: 0.15rem;
}

.newslist-main {
    background: #fff;
    padding: 0 0.24rem 0.28rem;
    min-width: 0;
}

.newslist-main.news-page {
    padding-bottom: 0.4rem;
}

.newslist-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.06rem;
    font-size: 0.14rem;
    color: #666;
    padding: 0.12rem 0.2rem 0.12rem 0.34rem;
    margin-bottom: 0.12rem;
    border-bottom: 1px solid #ddd;
    background: url("../images/home.png") 0.12rem center no-repeat;
    background-size: 0.15rem 0.15rem;
}

.newslist-breadcrumb a {
    color: #555;
}

.newslist-breadcrumb a:hover {
    color: var(--red);
    text-decoration: underline;
}

.newslist-bc-sep {
    color: #aaa;
    margin: 0 0.04rem;
}

.newslist-bc-current {
    color: #333;
    font-weight: 600;
}

.newslist-list {
    padding-top: 0.02rem;
}

.newslist-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.16rem;
    padding: 0.15rem 0;
    border-bottom: 1px dotted #ccc;
}

.newslist-row:last-child {
    border-bottom: 0;
}

.newslist-row:hover {
    background: #fafafa;
}

.newslist-row-main {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.1rem;
    color: #333;
    text-decoration: none;
    font-size: 0.15rem;
    font-weight: 400;
}

.newslist-dot {
    flex: 0 0 auto;
    width: 0.06rem;
    height: 0.06rem;
    border-radius: 50%;
    background: var(--red);
}

.newslist-row-main .text-ellipsis-1 {
    flex: 1;
    min-width: 0;
}

.newslist-row-main:hover {
    color: var(--red);
    text-decoration: underline;
}

.newslist-row-main:hover .text-ellipsis-1 {
    color: inherit;
}

.newslist-row-date {
    flex: 0 0 auto;
    font-size: 0.14rem;
    font-variant-numeric: tabular-nums;
    color: #999;
    white-space: nowrap;
}

/* ---------- 文章详情 news.html ---------- */
.article-detail {
    padding: 0 0.08rem;
}

.article-title {
    text-align: center;
    font-size: 0.32rem;
    font-weight: 700;
    color: #2b2b2b;
    line-height: 1.45;
    padding: 0.16rem 0.2rem 0.1rem;
    letter-spacing: 0.02rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.1rem 0.28rem;
    font-size: 0.14rem;
    color: #999;
    padding: 0.06rem 0.12rem 0.18rem;
}

.article-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.06rem;
    font-size: 0.16rem;

}

.article-meta-item img{
    width: 0.15rem;
    height: 0.15rem;
    flex-shrink: 0;
    opacity: 0.72;
}

.article-divider {
    height: 1px;
    background: #ddd;
    margin: 0 0 0.24rem;
}

.article-lead {
    text-align: center;
    padding: 0 0.16rem 0.28rem;
}

.article-lead p {
    margin: 0;
}

.article-lead-line1 {
    font-size: 0.17rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 0.12rem !important;
}

.article-lead-line2,
.article-lead-line3 {
    font-size: 0.2rem;
    font-weight: 800;
    color: #222;
    line-height: 1.55;
}

.article-lead-line2 {
    margin-bottom: 0.06rem !important;
}

.article-body {
    padding: 0 0.08rem 0.12rem;
}

.article-body p {
    font-size: 0.16rem;
    line-height: 1.95;
    color: #333;
    text-align: justify;
    text-justify: inter-ideograph;
    text-indent: 2em;
    margin: 0 0 0.18rem;
}

@media screen and (max-width: 1024px) {
    .newslist-layout {
        grid-template-columns: 1fr;
    }

    .article-title {
        font-size: 0.26rem;
    }
}