/* ============================================================
   石台县人大常委会网站 - 主样式文件
   主色调: 人大蓝 #A01830 | 金色 #D4AF37
   版本: 20260907
   ============================================================ */

/* ---------- CSS Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background: #f5f0e6 url("../images/guniujiang_bg.jpg") repeat-y center top;
    background-size: 100% auto;
    background-attachment: fixed;
    line-height: 1.7;
    font-size: 15px;
}
a { color: #333; text-decoration: none; transition: color .25s ease; }
a:hover { color: #C41E3A; }
img { max-width: 100%; height: auto; display: block; border: 0; }
ul, ol { list-style: none; }
input, button, textarea, select { font-family: inherit; font-size: inherit; outline: none; }
.clearfix::after { content: ""; display: table; clear: both; }

/* ---------- Layout Container ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* ---------- Top Banner (宣传横幅) ---------- */
.top-banner {
    background: linear-gradient(135deg, #7B0000 0%, #C41E3A 50%, #A01830 100%);
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: relative;
    overflow: hidden;
}
.top-banner::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: .5;
}
.top-banner p {
    position: relative;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 4px;
    text-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.top-banner p span { color: #FFD700; margin: 0 8px; }

/* ---------- Header Overlay (悬浮LOGO和导航) ---------- */
.header-overlay {
    position: relative;
    z-index: 100;
}
.header-overlay.is-home {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}
.header-overlay.is-home .site-header,
.header-overlay.is-home .main-nav {
    pointer-events: auto;
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
}
.header-overlay.is-home .site-header {
    margin: auto 0;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 14px 0;
}
.header-overlay.is-home .site-header .site-logo {
    width: 140px;
    height: 140px;
}
.header-overlay.is-home .site-header .site-title-group h1 {
    font-size: 64px;
    font-weight: 900;
    color: #C41E3A;
    text-shadow: 
        -2px -2px 0 #fff,
        2px -2px 0 #fff,
        -2px 2px 0 #fff,
        2px 2px 0 #fff,
        0 0 8px rgba(255,255,255,.9),
        0 0 20px rgba(255,255,255,.6);
    letter-spacing: 6px;
}
.header-overlay.is-home .site-header .site-title-group .subtitle {
    font-size: 26px;
    color: #C41E3A;
    text-shadow: 
        -1.5px -1.5px 0 #fff,
        1.5px -1.5px 0 #fff,
        -1.5px 1.5px 0 #fff,
        1.5px 1.5px 0 #fff,
        0 0 6px rgba(255,255,255,.9);
    letter-spacing: 2px;
    margin-top: 10px;
    font-style: italic;
    font-weight: 600;
}
.header-overlay.is-home .main-nav {
    background: linear-gradient(180deg, rgba(196,30,58,.95) 0%, rgba(160,24,48,.95) 100%);
    box-shadow: 0 -2px 8px rgba(0,0,0,.2);
    position: relative !important;
    z-index: 100;
}
.header-overlay.is-home .nav-item {
    position: relative;
    z-index: 1;
}
.header-overlay.is-home .dropdown-menu {
    z-index: 99999 !important;
    pointer-events: auto !important;
    position: absolute !important;
    top: 100% !important;
    bottom: auto !important;
    transform: translateX(-50%) translateY(8px) !important;
    margin-top: 0 !important;
}
.header-overlay.is-home .nav-item:hover > .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
    display: block !important;
}

/* ---------- Site Header (网站标题区) ---------- */
.site-header {
    background: linear-gradient(180deg, #fdf6f6 0%, #fff 100%);
    padding: 20px 0;
    border-bottom: 3px solid #C41E3A;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    position: relative;
    overflow: hidden;
}
.site-header::before {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 400px; height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C41E3A' fill-opacity='0.03'%3E%3Cpath d='M100 20 L120 80 L180 80 L130 120 L150 180 L100 140 L50 180 L70 120 L20 80 L80 80 Z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 200px;
    opacity: .6;
    pointer-events: none;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    position: relative;
    z-index: 1;
}
.site-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}
.site-logo {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.site-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.site-title-group h1 {
    font-size: 34px;
    font-weight: normal;
    color: #C41E3A;
    letter-spacing: 4px;
    line-height: 1.3;
    font-family: "FZXiaoBiaoSong-B05S", "方正小标宋简体", "FZXiaoBiaoSong", "STZhongsong", "SimSun", "宋体", serif;
}
.site-title-group .subtitle {
    font-size: 13px;
    color: #C41E3A;
    letter-spacing: 1px;
    margin-top: 6px;
    font-family: "Times New Roman", Georgia, serif;
    font-style: italic;
}
.header-tools {
    display: flex;
    align-items: center;
    gap: 12px;
}
.search-box {
    display: flex;
    border: 2px solid #C41E3A;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
}
.search-box input {
    border: 0;
    padding: 8px 16px;
    width: 200px;
    font-size: 14px;
    background: transparent;
}
.search-box button {
    background: #C41E3A;
    color: #fff;
    border: 0;
    padding: 8px 18px;
    cursor: pointer;
    font-size: 14px;
    transition: background .2s;
}
.search-box button:hover { background: #A01830; }

/* ---------- Main Navigation (主导航栏) ---------- */
.main-nav {
    background: linear-gradient(180deg, #C41E3A 0%, #A01830 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(123,0,0,.25);
}
.main-nav .container { padding: 0; }
.nav-list {
    display: flex;
    justify-content: center;
    align-items: stretch;
}
.nav-item {
    position: relative;
    flex: 1;
    text-align: center;
}
.nav-item > a {
    display: block;
    padding: 16px 8px;
    font-size: 17px;
    font-weight: 700;
    color: rgba(255,255,255,.95);
    position: relative;
    transition: all .25s ease;
    letter-spacing: 2px;
    white-space: nowrap;
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}
.nav-item > a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #F5D76E;
    transition: width .3s ease;
}
.nav-item:hover > a,
.nav-item.active > a {
    background: #A01830;
    color: #F5D76E;
}
.nav-item:hover > a::after,
.nav-item.active > a::after { width: 50%; }

/* CSS小三角箭头（替代文字▾） */
.nav-item.has-dropdown > a { padding-right: 22px; }
.nav-item.has-dropdown > a::before {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #F5D76E;
    transition: all .25s ease;
}
.nav-item.has-dropdown:hover > a::before {
    transform: translateY(-50%) rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 180px;
    background: #A01830;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
    z-index: 999;
    overflow: hidden;
    padding: 6px 0;
}
.dropdown-menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #C41E3A, #F5D76E, #C41E3A);
}
.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    font-size: 17px;
    font-weight: 700;
    color: rgba(255,255,255,.95);
    transition: all .2s;
    text-align: center;
    letter-spacing: 2px;
    position: relative;
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    white-space: nowrap;
}
.dropdown-menu li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: #F5D76E;
    transition: height .2s ease;
}
.dropdown-menu li a:hover {
    background: #7B0000;
    color: #F5D76E;
}
.dropdown-menu li a:hover::before { height: 60%; }

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    padding: 12px 16px;
}

/* ---------- Carousel (轮播图) ---------- */
/* ---------- Site Banner (全站统一顶部Banner) ---------- */
.site-banner {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: visible;
    background: #2c3e50;
    z-index: 1;
}
.site-banner .carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0;
}
.site-banner .carousel-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}
.site-banner .carousel-slide.active { opacity: 1; z-index: 2; }
.site-banner .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 非首页固定背景 */
.banner-fixed-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: 
        linear-gradient(135deg, rgba(123,0,0,.85) 0%, rgba(196,30,58,.9) 50%, rgba(123,0,0,.85) 100%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: cover, 60px;
}

/* 旧的carousel样式保留兼容 */
.carousel {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    background: #2c3e50;
    z-index: 1;
}
.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}
.carousel-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}
.carousel-slide.active { opacity: 1; z-index: 2; }
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel-caption {
    display: none;
}
.carousel-arrow, .carousel-dots {
    display: none !important;
}
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(0,0,0,.4);
    border: 0;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: background .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-arrow:hover { background: rgba(196,30,58,.8); }
.carousel-arrow.prev { left: 20px; }
.carousel-arrow.next { right: 20px; }
.carousel-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    border: 0;
    cursor: pointer;
    transition: all .3s;
}
.carousel-dot.active {
    background: #C41E3A;
    width: 32px;
    border-radius: 6px;
}

/* ---------- Section Common (通用区块) ---------- */
.section {
    padding: 0 0 24px;
}
.section-title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #C41E3A;
    padding-bottom: 10px;
    margin-bottom: 18px;
}
.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #C41E3A;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 22px;
    background: linear-gradient(180deg, #C41E3A, #D4AF37);
    border-radius: 3px;
}
.section-more {
    font-size: 13px;
    color: #2C3E50;
    transition: color .2s;
}
.section-more:hover { color: #C41E3A; }
.section-more::after { content: " +"; font-weight: 700; }

/* Two Column Layout */
.two-col {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.two-col .col {
    flex: 1;
    min-width: 0;
}

/* ---------- 所有新闻栏目统一大框 ---------- */
.all-news-box {
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
}
/* ---------- 第一排三列布局：1/4 + 3/8 + 3/8 ---------- */
.first-row-layout {
    display: flex;
    gap: 24px;
    align-items: stretch;
}
.first-row-left {
    flex: 0 0 25%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.first-row-left .overview-card,
.first-row-left .meeting-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.first-row-middle {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.first-row-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.first-row-middle .col,
.first-row-right .col {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* ===== 首页-第一排通知公告/决议决定卡片透明度 ===== */
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(196,30,58,.2);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(196,30,58,.08);
    padding: 20px;
    min-width: 0;
}
.first-row-middle .col .news-list,
.first-row-right .col .news-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.first-row-middle .col .news-list-item,
.first-row-right .col .news-list-item {
    padding: 10px 16px;
    border-bottom: 1px dashed rgba(196,30,58,.15);
    transition: all .25s;
    border-radius: 4px;
}
.first-row-middle .col .news-list-item:hover,
.first-row-right .col .news-list-item:hover {
    background: rgba(196,30,58,.06);
    padding-left: 24px;
}
.first-row-middle .col .news-list-item:last-child,
.first-row-right .col .news-list-item:last-child {
    border-bottom: none;
}
.first-row-middle .col .news-list-item .title,
.first-row-right .col .news-list-item .title {
    font-size: 16px;
    color: #2C3E50;
    font-weight: 500;
}
.first-row-middle .col .news-list-item .title a,
.first-row-right .col .news-list-item .title a { color: #2C3E50; }
.first-row-middle .col .news-list-item .title a:hover,
.first-row-right .col .news-list-item .title a:hover { color: #C41E3A; }
.first-row-middle .col .news-list-item .date,
.first-row-right .col .news-list-item .date {
    font-size: 13px;
    color: #85929E;
}

.all-news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.all-news-grid .col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    /* ===== 首页-下方各栏目卡片透明度（包裹标题+内容）===== */
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(196,30,58,.2);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(196,30,58,.08);
    padding: 20px;
}
.all-news-grid .col .news-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.all-news-grid .col .news-list-item {
    padding: 10px 16px;
    border-bottom: 1px dashed rgba(196,30,58,.15);
    transition: all .25s;
    border-radius: 4px;
}
.all-news-grid .col .news-list-item:hover {
    background: rgba(196,30,58,.06);
    padding-left: 24px;
}
.all-news-grid .col .news-list-item:last-child {
    border-bottom: none;
}
.all-news-grid .col .news-list-item .title {
    font-size: 16px;
    color: #2C3E50;
    font-weight: 500;
}
.all-news-grid .col .news-list-item .title a { color: #2C3E50; }
.all-news-grid .col .news-list-item .title a:hover { color: #C41E3A; }
.all-news-grid .col .news-list-item .date {
    font-size: 13px;
    color: #85929E;
}

/* ---------- 缩小版图标卡片 ---------- */
.all-news-grid .col.two-cards-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: space-between;
    /* 去掉外层大包裹，让内部两个独立卡片直接显示，和右侧卡片顶部对齐 */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.overview-card, .meeting-card {
    /* ===== 首页-人大概况/会议之窗独立卡片透明度 ===== */
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(196,30,58,.2);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(196,30,58,.08);
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.mini-icon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    align-content: start;
    padding: 16px;
    /* ===== 首页-人大概况/会议之窗区域卡片透明度 ===== */
    background: rgba(255,255,255,.7);
    box-shadow: 0 2px 8px rgba(196,30,58,.08);
    border: 1px solid rgba(196,30,58,.2);
    border-radius: 10px;
}
.mini-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 10px;
    background: linear-gradient(135deg, #E53935 0%, #C62828 100%);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    gap: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(229,57,53,.2);
}
.mini-icon-card::before {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
    transition: left .5s;
    pointer-events: none;
    z-index: 1;
}
.mini-icon-card:hover::before {
    left: 100%;
}
.mini-icon-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(229,57,53,.3);
    background: #fff;
}
.mini-icon-card:hover .mini-icon {
    color: #C41E3A;
}
.mini-icon-card:hover .mini-label {
    color: #C41E3A;
}
.mini-icon-card .mini-icon,
.mini-icon-card .mini-label {
    position: relative;
    z-index: 2;
}
.mini-icon-card::before {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
    transition: left .5s;
}
.mini-icon-card:hover::before {
    left: 100%;
}
.mini-icon-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(229,57,53,.3);
    color: #fff;
}
.mini-icon-card:hover {
    background: rgba(196,30,58,.08);
    border-color: rgba(196,30,58,.4);
    transform: translateY(-2px);
}
.mini-icon {
    font-size: 26px;
    line-height: 1;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,.2));
}
.mini-label {
    font-size: 14px;
    color: #fff;
    font-weight: 600;
    text-align: center;
    letter-spacing: 2px;
    text-shadow: 0 1px 2px rgba(0,0,0,.2);
}

/* ---------- 会议之窗链接 ---------- */
.meeting-links-section {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px dashed rgba(196,30,58,.2);
}
.meeting-links-row {
    display: flex;
    gap: 8px;
    padding-top: 8px;
}
.meeting-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    padding: 16px 8px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #E53935 0%, #C62828 100%);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(229,57,53,.2);
    letter-spacing: 1px;
}
.meeting-line1 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}
.meeting-line2 {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    opacity: .9;
}
.meeting-link::before {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
    transition: left .5s;
}
.meeting-link:hover::before {
    left: 100%;
}
.meeting-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(229,57,53,.3);
    color: #fff;
}
.meeting-icon {
    font-size: 16px;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.2));
}
.meeting-link:hover {
    background: rgba(196,30,58,.12);
    border-color: rgba(196,30,58,.4);
    color: #C41E3A;
    transform: translateY(-1px);
}

/* ---------- Image News (图片新闻) ---------- */
.image-news-section {
    background: transparent;
    padding: 28px 0;
    margin-top: -1px;
}
.image-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.image-news-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,.08);
    transition: transform .3s, box-shadow .3s;
    cursor: pointer;
}
.image-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.image-news-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
.image-news-card .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 14px;
    background: linear-gradient(transparent, rgba(0,0,0,.8));
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    max-height: 60px;
    overflow: hidden;
}

/* ---------- News List (新闻列表) ---------- */
.news-list { background: transparent; padding: 20px; border-radius: 8px; }
.news-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #e8e8e8;
    gap: 12px;
    min-width: 0;
}
.news-list-item:last-child { border-bottom: 0; }
.news-list-item .title {
    flex: 1;
    font-size: 17px;
    font-weight: 500;
    color: #2C3E50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    padding-left: 14px;
}
.news-list-item .title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: #C41E3A;
    border-radius: 50%;
}
.news-list-item .title a { color: #2C3E50; font-weight: 500; }
.news-list-item .title a:hover { color: #C41E3A; }
.news-list-item .date {
    font-size: 13px;
    color: #5D6D7E;
    flex-shrink: 0;
    font-family: "Courier New", monospace;
}
.news-list-item.top-item .title::before {
    width: 8px;
    height: 8px;
    background: #D4AF37;
}

/* 首页文章列表 - 琉璃金标题 */
.home-main-section .news-list-item .title {
    color: #2C3E50;
}
.home-main-section .news-list-item .title a {
    color: #2C3E50;
}
.home-main-section .news-list-item .title a:hover {
    color: #C41E3A;
}
.home-main-section .tab-pane .news-list-item .title {
    color: #2C3E50;
}
.home-main-section .tab-pane .news-list-item .title a {
    color: #2C3E50;
}
.home-main-section .tab-pane .news-list-item .title a:hover {
    color: #C41E3A;
}

/* Featured Article (头条带摘要) */
.featured-article {
    display: flex;
    gap: 18px;
    padding: 16px;
    background: #fdf8f9;
    border-radius: 8px;
    margin-bottom: 16px;
    border-left: 4px solid #C41E3A;
}
.featured-article .thumb {
    width: 160px;
    height: 110px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}
.featured-article .thumb img { width: 100%; height: 100%; object-fit: cover; }
.featured-article .info { flex: 1; min-width: 0; }
.featured-article .info h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #222;
}
.featured-article .info h4 a:hover { color: #C41E3A; }
.featured-article .info .summary {
    font-size: 13px;
    color: #5d6d7e;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.featured-article .info .meta {
    font-size: 12px;
    color: #999;
    margin-top: 6px;
}

/* ---------- Icon Cards (图标卡片入口) ---------- */
.icon-cards-section {
    background: transparent;
    padding: 30px 0;
}
.icon-cards-grid {
    display: grid;
    gap: 20px;
}
.icon-cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.icon-cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 16px;
    background: transparent;
    border: 1px solid rgba(196,30,58,.2);
    border-radius: 12px;
    transition: all .3s;
    cursor: pointer;
    text-align: center;
}
.icon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(196,30,58,.15);
    border-color: #C41E3A;
}
.icon-card .icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C41E3A, #7B0000);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD700;
    font-size: 26px;
    margin-bottom: 14px;
    box-shadow: 0 4px 14px rgba(196,30,58,.3);
}
.icon-card .label {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}
.icon-card .desc {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

/* ---------- Photography Section (摄影作品) ---------- */
.photo-section {
    background: transparent;
    padding: 0 0 24px;
}
/* 横向滚动容器 */
.photo-scroll-wrapper {
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}
.photo-scroll-track {
    display: flex;
    gap: 16px;
    animation: photoScrollLeft 30s linear infinite;
    width: max-content;
}
.photo-scroll-track:hover {
    animation-play-state: paused;
}
@keyframes photoScrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.photo-scroll-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    width: 280px;
    height: 180px;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    transition: transform .3s;
}
.photo-scroll-item:hover {
    transform: translateY(-4px);
}
.photo-scroll-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.photo-scroll-item:hover img { transform: scale(1.08); }
.photo-scroll-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 14px;
    background: linear-gradient(transparent, rgba(0,0,0,.75));
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

/* 灯箱效果 */
.photo-lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.85);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    padding: 40px;
}
.photo-lightbox.active {
    display: flex;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: color .2s;
}
.lightbox-close:hover { color: #F5D76E; }
.lightbox-content {
    max-width: 900px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 65vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,.5);
}
.lightbox-info {
    margin-top: 20px;
    text-align: center;
    color: #fff;
}
.lightbox-info h4 {
    font-size: 22px;
    margin: 0 0 8px;
    color: #F5D76E;
}
.lightbox-info p {
    margin: 4px 0;
    font-size: 15px;
    color: rgba(255,255,255,.85);
}
.lightbox-info #lightboxAward {
    color: #F5D76E;
    font-weight: 600;
}

/* ---------- Footer (页脚) ---------- */
.site-footer {
    background: linear-gradient(135deg, #A01830 0%, #7B0000 50%, #4A0000 100%);
    color: #f5e6d3;
    padding: 40px 0 0;
    margin-top: 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 36px;
    padding-bottom: 30px;
}
.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #5dade2;
    display: inline-block;
}
.footer-col p, .footer-col li {
    font-size: 13px;
    line-height: 2;
    color: #aed6f1;
}
.footer-col a { color: #e8d5b7; }
.footer-col a:hover { color: #D4AF37; }
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}
.footer-contact-item .icon {
    color: #C41E3A;
    flex-shrink: 0;
    width: 18px;
}
.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
}
.footer-bottom {
    border-top: 1px solid rgba(212,175,55,.3);
    padding: 18px 0;
    text-align: center;
    font-size: 13px;
    color: #e8d5b7;
    line-height: 1.8;
}
.footer-bottom a { color: #D4AF37; }
.footer-bottom .beian { margin: 0 10px; }

/* ---------- Breadcrumb (面包屑) ---------- */
.breadcrumb {
    background: #fff;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #5d6d7e;
}
.breadcrumb a { color: #5d6d7e; }
.breadcrumb a:hover { color: #C41E3A; }
.breadcrumb .separator { margin: 0 8px; color: #ccc; }
.breadcrumb .current { color: #C41E3A; font-weight: 600; }

/* ---------- Page Header (内页标题) ---------- */
.page-header {
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.18) 100%), linear-gradient(90deg, #E53935 0%, #C41E3A 40%, #8B0000 100%);
    color: #fff;
    padding: 36px 0;
    position: relative;
    overflow: hidden;
}
.page-header::after {
    content: "";
    position: absolute;
    right: -50px;
    top: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
}
.page-header h2 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 2px;
}
.page-header p {
    font-size: 13px;
    opacity: .8;
    margin-top: 6px;
}

/* ---------- List Page (列表页) ---------- */
.list-layout {
    display: flex;
    gap: 24px;
    padding: 28px 0;
}
.list-main {
    flex: 1;
    min-width: 0;
    /* ===== 列表页(list.php)-主内容区透明度（和首页/详情页保持一致）===== */
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(196,30,58,.2);
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(196,30,58,.08);
}
.list-sidebar {
    width: 280px;
    flex-shrink: 0;
}
.sidebar-widget {
    /* ===== 列表页(list.php)/详情页(detail.php)-右侧侧边栏小部件透明度 ===== */
    background: rgba(255,255,255,.7);
    border-radius: 10px;
    border: 1px solid rgba(196,30,58,.2);
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(196,30,58,.08);
}
.sidebar-widget h3 {
    font-size: 16px;
    color: #C41E3A;
    padding-bottom: 10px;
    border-bottom: 2px solid #C41E3A;
    margin-bottom: 14px;
}
.sidebar-cat-list li a {
    display: block;
    padding: 10px 12px;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    transition: all .2s;
}
.sidebar-cat-list li a:hover,
.sidebar-cat-list li a.active {
    background: #FDEDEC;
    color: #C41E3A;
    padding-left: 18px;
}
.sidebar-hot-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    font-size: 14px;
}
.sidebar-hot-list li:last-child { border-bottom: 0; }
.sidebar-hot-list li .rank {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background: #ddd;
    color: #fff;
    font-size: 11px;
    border-radius: 3px;
    margin-right: 8px;
    font-weight: 700;
}
.sidebar-hot-list li:nth-child(1) .rank { background: #C41E3A; }
.sidebar-hot-list li:nth-child(2) .rank { background: #E05060; }
.sidebar-hot-list li:nth-child(3) .rank { background: #E88090; }

/* List item with summary */
.article-list-item {
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    gap: 18px;
}
.article-list-item:last-child { border-bottom: 0; }
.article-list-item .thumb {
    width: 160px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}
.article-list-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-list-item .content { flex: 1; min-width: 0; }
.article-list-item .content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}
.article-list-item .content h3 a:hover { color: #C41E3A; }
.article-list-item .content .summary {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}
.article-list-item .content .meta {
    font-size: 12px;
    color: #aaa;
}
.article-list-item .content .meta span { margin-right: 14px; }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.pagination a, .pagination .current, .pagination .ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #566573;
    transition: all .2s;
}
.pagination a:hover {
    border-color: #C41E3A;
    color: #C41E3A;
    background: #FDEDEC;
}
.pagination .current {
    background: #C41E3A;
    color: #fff;
    border-color: #C41E3A;
    font-weight: 600;
}
.pagination .ellipsis { border: 0; color: #999; }

/* ---------- Detail Page (文章详情页) ---------- */
.detail-main {
    /* ===== 详情页-主内容区透明度（和首页保持一致）===== */
    background: rgba(255,255,255,.7);
    padding: 36px 40px;
    border-radius: 10px;
    border: 1px solid rgba(196,30,58,.2);
    box-shadow: 0 2px 8px rgba(196,30,58,.08);
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}
.detail-title {
    font-size: 26px;
    font-weight: 700;
    color: #A01830;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 16px;
}
.detail-meta {
    text-align: center;
    font-size: 13px;
    color: #999;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 28px;
}
.detail-meta span { margin: 0 10px; }
.detail-content {
    font-size: 17px;
    line-height: 2.1;
    color: #222;
    overflow-wrap: break-word;
    word-break: break-word;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    font-family: "FangSong_GB2312", "仿宋_GB2312", "FangSong", "仿宋", "STFangsong", "SimSun", "宋体", serif;
    letter-spacing: 0.5px;
}
.detail-content p { margin-bottom: 18px; text-indent: 2em; }
.detail-content img {
    max-width: 100%;
    height: auto;
    margin: 16px auto;
    border-radius: 4px;
    display: block;
}
.detail-content * {
    max-width: 100% !important;
    position: static !important;
    float: none !important;
}
.detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    table-layout: fixed;
    word-break: break-word;
}
.detail-content h1, .detail-content h2, .detail-content h3 {
    margin: 24px 0 12px;
    color: #222;
}
.detail-content ul, .detail-content ol {
    margin: 12px 0 12px 2em;
    list-style: disc;
}
.detail-content table th, .detail-content table td {
    border: 1px solid #ddd;
    padding: 8px 12px;
}
.detail-attachment {
    margin-top: 28px;
    padding: 16px 20px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #C41E3A;
}
.detail-attachment h4 {
    font-size: 15px;
    color: #C41E3A;
    margin-bottom: 10px;
}
.detail-attachment a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #C41E3A;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
}
.detail-attachment a:hover { background: #A01830; color: #fff; }
.detail-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    gap: 20px;
}
.detail-nav a {
    flex: 1;
    font-size: 14px;
    color: #566573;
    padding: 10px 14px;
    background: #f8f9fa;
    border-radius: 4px;
    transition: all .2s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.detail-nav a:hover { background: #FDEDEC; color: #C41E3A; }
.detail-nav .prev { text-align: left; }
.detail-nav .next { text-align: right; }

/* ---------- Search Page ---------- */
.search-header {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.search-header .keyword {
    color: #C41E3A;
    font-weight: 700;
}
.search-result-item {
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
}
.search-result-item:last-child { border-bottom: 0; }
.search-result-item h3 {
    font-size: 17px;
    margin-bottom: 8px;
}
.search-result-item h3 a:hover { color: #C41E3A; }
.search-result-item .highlight {
    background: #fff3cd;
    color: #C41E3A;
    padding: 0 2px;
}
.search-result-item .summary {
    font-size: 14px;
    color: #5d6d7e;
    line-height: 1.7;
}
.search-result-item .meta {
    font-size: 12px;
    color: #aaa;
    margin-top: 6px;
}
.no-result {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}
.no-result .icon { font-size: 48px; margin-bottom: 16px; }

/* ---------- About Page ---------- */
.about-content {
    background: #fff;
    padding: 36px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.about-content h2 {
    font-size: 22px;
    color: #C41E3A;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #C41E3A;
}
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 24px 0;
}
.contact-info-card {
    padding: 24px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #C41E3A;
}
.contact-info-card .label {
    font-size: 13px;
    color: #888;
    margin-bottom: 6px;
}
.contact-info-card .value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}
.map-placeholder {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 16px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}
.map-placeholder::before {
    content: "📍";
    font-size: 48px;
    margin-right: 12px;
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: #C41E3A;
    color: #fff;
    border: 0;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(196,30,58,.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .3s;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover { background: #A01830; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .image-news-grid { grid-template-columns: repeat(3, 1fr); }
    .photo-grid { grid-template-columns: repeat(3, 1fr); }
    .icon-cards-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .top-banner p { font-size: 14px; letter-spacing: 2px; }
    .site-header { padding: 14px 0; }
    .site-logo { width: 52px; height: 52px; font-size: 22px; }
    .site-title-group h1 { font-size: 20px; letter-spacing: 1px; }
    .site-title-group .subtitle { font-size: 11px; }
    .header-tools { width: 100%; }
    .search-box { flex: 1; }
    .search-box input { width: 100%; }

    /* Mobile Nav */
    .mobile-toggle { display: block; }
    .nav-list {
        display: none;
        flex-direction: column;
        max-height: 70vh;
        overflow-y: auto;
    }
    .nav-list.open { display: flex; }
    .nav-item { width: 100%; border-bottom: 1px solid rgba(255,255,255,.12); text-align: left; }
    .nav-item > a { padding: 14px 20px; }
    .nav-item > a::after { display: none; }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: 0;
        border-radius: 0;
        display: none;
        background: rgba(0,0,0,.15);
    }
    .nav-item.mobile-open .dropdown-menu { display: block; }
    .dropdown-menu li a { padding: 10px 20px 10px 36px; color: rgba(255,255,255,.85); border-bottom-color: rgba(255,255,255,.08); }
    .dropdown-menu li a:hover { background: rgba(255,255,255,.1); color: #FFD700; }

    .carousel { height: 240px; }
    .carousel-caption { padding: 16px 20px 36px; }
    .carousel-caption h3 { font-size: 16px; }
    .carousel-caption p { display: none; }
    .carousel-arrow { width: 36px; height: 36px; font-size: 16px; }

    .two-col { flex-direction: column; }
    .image-news-grid { grid-template-columns: repeat(2, 1fr); }
    .image-news-card img { height: 120px; }
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
    .photo-item { height: 140px; }
    .icon-cards-grid.cols-4, .icon-cards-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }

    .featured-article { flex-direction: column; }
    .featured-article .thumb { width: 100%; height: 160px; }

    .list-layout { flex-direction: column; }
    .list-sidebar { width: 100%; }

    .detail-main { padding: 20px 16px; }
    .detail-title { font-size: 20px; }
    .detail-content { font-size: 16px; line-height: 2; }
    .detail-nav { flex-direction: column; }

    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .contact-info-grid { grid-template-columns: 1fr; }

    .section-title { font-size: 17px; }
    .back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; }

    .tab-btn { font-size: 18px; padding: 12px 6px; letter-spacing: 1px; }
    .tab-content { flex: none; height: auto; overflow: visible; }
    .tab-pane .news-list-item { padding: 12px 16px; }
    .tab-pane .news-list-item .title { font-size: 15px; }
    .home-right { display: block; }
    .tab-section { height: auto; }
}

/* ========== 新首页布局 ========== */


/* ========== 宣传横幅（单个展示，4个位置） ========== */
.promo-banner-single {
    padding: 0 0 24px;
}
.promo-banner-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(196,30,58,.12);
}
/* grid中跨两列的横幅 */
.promo-banner-grid {
    grid-column: 1 / -1;
    padding: 4px 0;
}
.promo-banner-grid .promo-banner-img {
    box-shadow: 0 2px 8px rgba(196,30,58,.1);
}

/* 焦点新闻 - 3篇自动切换轮播，整排显示，无图 */
.focus-news-section {
    padding: 24px 0 0;
}
.focus-news-carousel {
    position: relative;
    background: transparent;
    border-radius: 8px;
    padding: 28px 36px 36px;
    min-height: 140px;
    overflow: hidden;
}
.focus-news-slide {
    display: none;
    text-decoration: none;
    color: inherit;
    animation: fadeIn .5s ease;
}
.focus-news-slide.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.focus-news-slide-title {
    font-size: 26px;
    font-weight: 700;
    color: #C41E3A;
    line-height: 1.4;
    margin-bottom: 10px;
    text-align: center;
    transition: color .3s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.focus-news-slide:hover .focus-news-slide-title {
    color: #A01830;
}
.focus-news-slide-summary {
    font-size: 17px;
    color: #566573;
    line-height: 1.8;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.focus-news-dots {
    position: absolute;
    bottom: 14px;
    right: 36px;
    display: flex;
    gap: 8px;
}
.focus-news-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all .3s;
}
.focus-news-dot.active {
    background: #C41E3A;
    width: 24px;
    border-radius: 4px;
}

/* 首页主区域：左右布局 */
.home-main-section {
    padding: 24px 0;
}
.home-main-layout {
    display: flex;
    gap: 24px;
    align-items: stretch;
}
.home-left, .home-right {
    display: flex;
    flex-direction: column;
}
.home-left {
    flex: 0 0 50%;
    display: block;
    min-width: 0;
}
.home-right {
    flex: 1;
    min-width: 0;
    display: flex;
}
.tab-section {
    /* ===== 首页-右侧tab区域卡片透明度（包裹标题+内容）===== */
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(196,30,58,.2);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(196,30,58,.08);
    padding: 16px 24px;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

/* 左侧图片轮播 */
.home-image-carousel {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    flex: 1;
    min-height: 320px;
    height: 100%;
    border: 1px solid rgba(196,30,58,.2);
    box-shadow: 0 2px 8px rgba(196,30,58,.08);
    background: rgba(255,255,255,.7);
}
.home-image-slides {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}
.home-image-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity .8s ease;
}
.home-image-slide.active {
    opacity: 1;
    pointer-events: auto;
}
.home-image-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.home-image-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 36px 20px 18px;
    background: linear-gradient(transparent, rgba(0,0,0,.75));
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .5px;
    text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
.home-image-dots {
    position: absolute;
    bottom: 14px;
    right: 18px;
    display: flex;
    gap: 8px;
    z-index: 5;
}
.home-image-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    cursor: pointer;
    transition: all .3s;
    box-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.home-image-dot:hover {
    background: rgba(255,255,255,.8);
}
.home-image-dot.active {
    background: #fff;
    width: 22px;
    border-radius: 5px;
}

/* 右侧标签切换 */
.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #C41E3A;
    background: transparent;
    padding: 0 10px;
    margin-bottom: 4px;
}
.tab-btns {
    display: flex;
    flex: 1;
    gap: 8px;
}
.tab-btn {
    flex: 1;
    padding: 14px 10px;
    border: none;
    background: none;
    font-size: 17px;
    font-weight: 700;
    color: #7f8c8d;
    cursor: pointer;
    transition: all .3s;
    position: relative;
    letter-spacing: 1px;
    border-radius: 6px 6px 0 0;
}
.tab-btn:hover {
    color: #C41E3A;
    background: rgba(196,30,58,.06);
}
.tab-btn.active {
    color: #C41E3A;
    background: rgba(196,30,58,.08);
}
.tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: #C41E3A;
    border-radius: 2px;
}
.tab-more {
    font-size: 15px;
    color: #2C3E50;
    text-decoration: none;
    padding: 0 8px;
    transition: color .3s;
    white-space: nowrap;
    font-weight: 500;
}
.tab-more:hover {
    color: #C41E3A;
}
.tab-content {
    padding: 4px 0;
    flex: 1;
    overflow: hidden;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.tab-pane {
    display: none;
    min-width: 0;
    width: 100%;
}
.tab-pane.active {
    display: block;
}
.tab-pane .news-list-item {
    padding: 10px 16px;
    border-bottom: 1px dashed rgba(196,30,58,.15);
    transition: all .25s;
    border-radius: 4px;
}
.tab-pane .news-list-item:hover {
    background: rgba(196,30,58,.06);
    padding-left: 24px;
}
.tab-pane .news-list-item:last-child {
    border-bottom: none;
}
.tab-pane .news-list-item .title {
    font-size: 16px;
    color: #2C3E50;
    font-weight: 500;
}
.tab-pane .news-list-item .title a { color: #2C3E50; }
.tab-pane .news-list-item .title a:hover { color: #C41E3A; }
.tab-pane .news-list-item .date {
    font-size: 13px;
    color: #85929E;
}
.home-image-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 30px 20px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
    color: #fff;
    font-size: 17px;
    font-weight: 600;
}

/* 响应式 */
@media (max-width: 900px) {
    .focus-news-carousel { padding: 20px 20px 32px; }
    .focus-news-slide-title { font-size: 20px; }
    .focus-news-slide-summary { font-size: 16px; -webkit-line-clamp: 3; }
    .home-main-layout { flex-direction: column; }
    .home-left { flex: none; width: 100%; display: block; }
    .home-image-carousel { flex: none; display: block; }
    .home-image-slides { flex: none; padding-top: 66.67%; }
    .home-right { display: block; }
    .tab-section { height: auto; display: block; }
    .tab-content { flex: none; height: auto; overflow: visible; }
    .tab-btn { font-size: 18px; padding: 12px 6px; letter-spacing: 1px; }
    .tab-pane .news-list-item { padding: 12px 16px; }
    .tab-pane .news-list-item .title { font-size: 15px; }
}

@media (max-width: 480px) {
    .image-news-grid { grid-template-columns: 1fr; }
    .photo-grid { grid-template-columns: 1fr; }
    .icon-cards-grid.cols-4, .icon-cards-grid.cols-3 { grid-template-columns: 1fr; }
    .article-list-item { flex-direction: column; }
    .article-list-item .thumb { width: 100%; height: 160px; }
}


/* ========== 组织机构架构图 ========== */
.org-chart-container {
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(196,30,58,.2);
    border-radius: 12px;
    padding: 40px 30px;
    margin-bottom: 30px;
}
.org-chart-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #C41E3A;
    margin-bottom: 40px;
    letter-spacing: 4px;
    font-family: '方正小标宋', 'SimSun', serif;
}
.org-level-1, .org-level-2 {
    max-width: 600px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #E53935 0%, #C41E3A 50%, #8B0000 100%);
    color: #fff;
    text-align: center;
    padding: 20px 30px;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 3px;
    box-shadow: 0 4px 15px rgba(196,30,58,.3);
    position: relative;
}
.org-level-1 {
    font-size: 28px;
    padding: 22px 30px;
}
.org-level-2 {
    font-size: 22px;
    padding: 18px 30px;
    margin-top: 20px;
}
.org-level-1::after, .org-level-2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: #C41E3A;
}

.org-level-3-wrapper {
    margin-top: 40px;
    position: relative;
}
.org-level-3-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: #C41E3A;
}
.org-level-3-grid {
    display: flex;
    gap: 12px;
    padding: 0 20px;
    align-items: stretch;
}
.org-item {
    flex: 1;
    background: linear-gradient(180deg, #fff 0%, #fff5f5 100%);
    border: 1px solid rgba(196,30,58,.3);
    border-radius: 6px;
    padding: 10px 8px;
    text-align: center;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    transition: all .3s;
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 4px;
    box-sizing: border-box;
}
.org-item::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: #C41E3A;
}
.org-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(196,30,58,.25);
    background: linear-gradient(180deg, #C41E3A 0%, #A01830 100%);
    color: #fff;
}
@media (max-width: 768px) {
    .org-chart-container { padding: 20px 15px; }
    .org-chart-title { font-size: 18px; margin-bottom: 25px; }
    .org-level-1, .org-level-2 { font-size: 16px; padding: 14px 20px; }
    .org-level-3-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .org-item { font-size: 13px; padding: 15px 8px; min-height: 60px; }
}


/* ========== 组成人员展示 ========== */
.member-container {
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(196,30,58,.2);
    border-radius: 12px;
    padding: 40px 30px;
    margin-bottom: 30px;
}
.member-term-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #C41E3A;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #C41E3A;
    letter-spacing: 3px;
    font-family: '方正小标宋', 'SimSun', serif;
}
.member-group {
    margin-bottom: 30px;
    text-align: center;
}
.member-group-title {
    display: inline-block;
    background: linear-gradient(135deg, #E53935 0%, #C41E3A 100%);
    color: #fff;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 2px;
}
.member-group-title .count {
    font-size: 13px;
    opacity: .8;
    margin-left: 8px;
}
.member-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding-left: 0;
}
.member-item {
    background: linear-gradient(180deg, #fff 0%, #fff5f5 100%);
    border: 1px solid rgba(196,30,58,.3);
    border-radius: 6px;
    padding: 10px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    transition: all .3s;
    min-width: 80px;
    text-align: center;
}
.member-item:hover {
    background: linear-gradient(135deg, #E53935 0%, #C41E3A 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196,30,58,.3);
}
.member-item.director {
    background: linear-gradient(135deg, #C41E3A 0%, #8B0000 100%);
    color: #fff;
    border-color: #8B0000;
    font-size: 18px;
    padding: 12px 30px;
}
.member-item.director:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(196,30,58,.4);
}
@media (max-width: 768px) {
    .member-container { padding: 20px 15px; }
    .member-term-title { font-size: 18px; margin-bottom: 20px; }
    .member-group-title { font-size: 14px; padding: 6px 18px; }
    .member-item { font-size: 14px; padding: 8px 16px; min-width: 60px; }
    .member-item.director { font-size: 16px; padding: 10px 20px; }
}


/* ========== 人大概况独立页面体系 ========== */
.about-layout {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
}
.about-sidebar {
    width: 240px;
    flex-shrink: 0;
}
.about-sidebar-card {
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(196,30,58,.2);
    border-radius: 12px;
    overflow: hidden;
}
.about-sidebar-title {
    background: linear-gradient(135deg, #E53935 0%, #C41E3A 50%, #8B0000 100%);
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 3px;
    font-family: '方正小标宋', 'SimSun', serif;
}
.about-sidebar-nav {
    padding: 10px 0;
}
.about-sidebar-nav a {
    display: block;
    padding: 14px 20px;
    color: #333;
    font-size: 15px;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all .3s;
}
.about-sidebar-nav a:hover {
    background: rgba(196,30,58,.08);
    color: #C41E3A;
    border-left-color: #C41E3A;
    padding-left: 25px;
}
.about-sidebar-nav a.active {
    background: linear-gradient(90deg, rgba(196,30,58,.12) 0%, transparent 100%);
    color: #C41E3A;
    font-weight: 600;
    border-left-color: #C41E3A;
}
.about-content {
    flex: 1;
    min-width: 0;
}

/* 汇总页卡片 */
.about-summary-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.about-card {
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(196,30,58,.2);
    border-radius: 12px;
    padding: 30px;
    text-decoration: none;
    color: #333;
    transition: all .3s;
    display: flex;
    align-items: center;
    gap: 20px;
}
.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(196,30,58,.2);
    border-color: #C41E3A;
}
.about-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #E53935 0%, #C41E3A 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    flex-shrink: 0;
}
.about-card-info h3 {
    font-size: 18px;
    color: #C41E3A;
    margin-bottom: 6px;
    font-weight: 700;
}
.about-card-info p {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
}

/* 人大简介页面 */
.about-intro {
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(196,30,58,.2);
    border-radius: 12px;
    padding: 40px;
}
.about-intro h2 {
    font-size: 24px;
    color: #C41E3A;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #C41E3A;
    font-family: '方正小标宋', 'SimSun', serif;
    letter-spacing: 3px;
}
.about-intro .intro-content {
    font-size: 16px;
    line-height: 2;
    color: #333;
    text-indent: 2em;
}
.about-intro .intro-content p {
    margin-bottom: 15px;
}

/* 委室职责页面 */
.duty-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.duty-item {
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(196,30,58,.2);
    border-radius: 10px;
    padding: 20px 25px;
    transition: all .3s;
}
.duty-item:hover {
    border-color: #C41E3A;
    box-shadow: 0 4px 15px rgba(196,30,58,.15);
}
.duty-item-title {
    font-size: 17px;
    font-weight: 700;
    color: #C41E3A;
    margin-bottom: 10px;
    padding-left: 12px;
    border-left: 4px solid #C41E3A;
}
.duty-item-content {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

@media (max-width: 900px) {
    .about-layout { flex-direction: column; }
    .about-sidebar { width: 100%; }
    .about-summary-cards { grid-template-columns: 1fr; }
    .about-intro { padding: 25px 20px; }
}


/* ========== 人大概况顶部标签导航 ========== */
.about-tabs {
    display: flex;
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(196,30,58,.2);
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    margin-bottom: 0;
}
.about-tab {
    flex: 1;
    text-align: center;
    padding: 18px 10px;
    font-size: 17px;
    font-weight: 600;
    color: #C41E3A;
    text-decoration: none;
    transition: all .3s;
    border-right: 1px solid rgba(196,30,58,.1);
    background: transparent;
}
.about-tab:last-child { border-right: none; }
.about-tab:hover {
    background: rgba(196,30,58,.08);
    color: #A01830;
}
.about-tab.active {
    background: linear-gradient(135deg, #E53935 0%, #C41E3A 50%, #8B0000 100%);
    color: #fff;
}
.about-content-wrap {
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(196,30,58,.2);
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 35px 40px;
    margin-bottom: 30px;
}
@media (max-width: 768px) {
    .about-tab { font-size: 14px; padding: 14px 6px; }
    .about-content-wrap { padding: 20px 15px; }
}
