* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto !important;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
}

body {
    font-family: "Microsoft YaHei", "SimSun", serif, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 顶部导航栏 */
.header {
    background: linear-gradient(135deg, rgba(26, 61, 122, 0.95) 0%, rgba(37, 86, 168, 0.95) 100%);
    backdrop-filter: blur(10px);
    color: white;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.header-container {
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 80px;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    height: 45px;
    flex-shrink: 0;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 45px;
    align-items: center;
    list-style: none;
    margin: 0 auto;
}

.nav-item {
    position: relative;
}

.nav-menu > li > a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    display: block;
    padding: 8px 0;
    font-weight: 500;
}

.nav-menu > li > a:hover {
    color: white;
}

/* 下拉菜单 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    margin-top: 10px;
    padding: 8px 0;
    list-style: none;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 5px;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-size: 14px;
    transition: all 0.3s;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: #f5f5f5;
    color: #13227a;
}

/* 搜索框和搜索按钮 */
.search-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.search-input-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 200px;
    padding: 8px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    width: 240px;
}

.search-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
    font-size: 16px;
}

.search-icon-btn:hover {
    background: rgba(0, 212, 255, 0.8);
    border-color: rgba(0, 212, 255, 1);
    transform: scale(1.05);
}

/* 首屏Banner */
.hero-section {
    margin-top: 75px;
    height: calc(100vh - 75px);
    min-height: 600px;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
    perspective: 1500px;
    perspective-origin: center center;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    transform-origin: bottom left;
    transform-style: preserve-3d;
    will-change: transform, opacity;
}

.hero-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide.peeling {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    /* 增加阴影，模拟纸张翻起时的投影 */
    box-shadow: -20px 20px 50px rgba(0,0,0,0.5);
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
}

.detail-btn-hero {
    position: absolute;
    bottom: 80px;
    left: 80px;
    z-index: 10;
    background: rgba(19, 34, 122, 0.9);
    color: white;
    padding: 15px 45px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.detail-btn-hero:hover {
    background: #13227a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* 内容区域通用样式 */
.section {
    padding: 70px 0;
    scroll-snap-align: start;
    height: calc(100vh - 75px);
}

.section-container {
    max-width: 92vw;
    margin: 0 auto;
    padding: 0 2vw 0 5vw;
}

.section-title {
    font-size: 38px;
    font-weight: 300;
    margin-bottom: 12px;
    letter-spacing: 3px;
}

.section-subtitle {
    font-size: 15px;
    color: #777;
    margin-bottom: 35px;
    letter-spacing: 1px;
}

/* 最新资讯区域 */
.news-section {
    background: url('../static/img/ditu.webp') center/cover no-repeat;
    position: relative;
    padding: 80px 0;
    height: calc(100vh - 75px);
}

.news-layout {
    display: flex;
    gap: 80px;
    width: 100%;
    min-height: calc(100vh - 160px);
    position: relative;
}

.news-sidebar {
    width: 280px;
    flex-shrink: 0;
    align-self: flex-start;
}

.news-sidebar-header {
    margin-bottom: 40px;
}

.news-sidebar-header .subtitle {
    font-size: 18px;
    color: #999;
    letter-spacing: 4px;
    margin-bottom: 8px;
    font-weight: 300;
}

.news-sidebar-header h2 {
    font-size: 28px;
    font-weight: 400;
    color: #2d2d2d;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 15px;
}

.news-sidebar-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #13227a;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    padding: 18px 0;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
    color: #555;
    letter-spacing: 0.5px;
}

.sidebar-menu li.active {
    color: #13227a;
    font-weight: 500;
    border-bottom: 3px solid #13227a;
}

.sidebar-menu li:hover {
    color: #13227a;
    padding-left: 5px;
}

.sidebar-nav-btn {
    width: 45px;
    height: 45px;
    background: #2563c8;
    color: white;
    border-radius: 50%;
    display: none; /* 隐藏左箭头 */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: 30px;
    font-size: 20px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.sidebar-nav-btn:hover {
    background: #1e4fa3;
    transform: scale(1.05);
}

.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-grid.is-empty {
    align-content: center;
}

.news-item {
    background: white;
    padding: 28px 30px;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

.news-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.news-date {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
    color: #666;
    font-size: 13px;
}

.date-box {
    text-align: left;
    border-left: 4px solid #2563c8;
    padding-left: 12px;
    min-width: 70px;
}

.date-month {
    font-size: 20px;
    font-weight: 600;
    color: #2d2d2d;
    letter-spacing: 1px;
    line-height: 1.2;
}

.date-year {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

.news-item h4 {
    font-size: 16px;
    margin-bottom: 12px;
    line-height: 1.6;
    color: #2d2d2d;
    font-weight: 500;
    letter-spacing: 0.3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 52px; /* 约两行高度 */
}

.news-item p {
    font-size: 13px;
    color: #999;
    line-height: 1.9;
    letter-spacing: 0.3px;
}

/* 招商项目区域 - 3D翻页轮播升级版 */
.investment-section {
    padding: 0;
    margin: 0;
    position: relative;
    height: calc(100vh - 75px);
    overflow: hidden;
    background: linear-gradient(135deg, #001428 0%, #002147 50%, #001428 100%);
}

/* Canvas粒子背景 */
.particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}

.investment-layout {
    display: flex;
    gap: clamp(40px, 5vw, 80px);
    align-items: flex-start;
    padding: clamp(60px, 8vh, 100px) clamp(0px, 0vw, 60px);
    position: relative;
    z-index: 10;
}

.investment-sidebar {
    width: 17vw;
    min-width: 250px;
    max-width: 320px;
    flex-shrink: 0;
    position: relative;
    background: transparent;
}

.investment-sidebar-content {
    position: relative;
    display: flex;
    flex-direction: column;
}

.investment-sidebar-header {
    margin-bottom: clamp(25px, 4vh, 50px);
}

.investment-sidebar-header .subtitle {
    font-size: clamp(14px, 1.2vw, 18px);
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: clamp(2px, 0.3vw, 4px);
    margin-bottom: clamp(6px, 1vh, 10px);
    font-weight: 300;
    text-transform: uppercase;
    white-space: nowrap;
}

.investment-sidebar-header h2 {
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 400;
    color: #ffffff;
    letter-spacing: clamp(1px, 0.2vw, 2px);
    position: relative;
    padding-bottom: clamp(12px, 2vh, 20px);
}

.investment-sidebar-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #ffffff;
}

.investment-menu {
    list-style: none;
}

.investment-menu li {
    padding: clamp(10px, 1.8vh, 18px) 0;
    cursor: pointer;
    font-size: clamp(14px, 1.1vw, 18px);
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.investment-menu li::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #0099ff);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.investment-menu li.active {
    color: #ffffff;
    font-weight: 500;
    border-bottom: 2px solid transparent;
}

.investment-menu li.active::before {
    width: 100%;
}

.investment-menu li:hover {
    color: #ffffff;
    padding-left: 8px;
    transform: translateX(5px);
}

.investment-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    perspective: 2000px;
}

.project-display {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transform-style: preserve-3d;
    transition: none;
    will-change: transform, opacity, filter;
}

.project-display img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

/* Ken Burns效果 - 背景图缓慢缩放 */
.project-display.active {
    opacity: 1;
    visibility: visible;
    animation: flipInSmooth 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes kenBurns {
    0% {
        background-size: 100%;
    }
    100% {
        background-size: 110%;
    }
}

/* 交叉淡入淡出 - 无黑屏切换 */
@keyframes flipInSmooth {
    0% {
        transform: perspective(2000px) rotateY(-90deg) translateZ(-400px) scale(0.9);
        opacity: 0;
        filter: blur(15px) brightness(0.6);
    }
    40% {
        opacity: 0.6;
        filter: blur(8px) brightness(0.85);
    }
    100% {
        transform: perspective(2000px) rotateY(0deg) translateZ(0) scale(1);
        opacity: 1;
        filter: blur(0) brightness(1);
    }
}

/* 分屏擦除效果 - 优化 */
.project-display::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(0, 20, 40, 0.95) 0%, 
        rgba(0, 20, 40, 0.95) 45%, 
        transparent 50%, 
        rgba(0, 20, 40, 0.95) 55%, 
        rgba(0, 20, 40, 0.95) 100%);
    background-size: 200% 100%;
    background-position: 0% 0%;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
}

.project-display.active::after {
    animation: wipeEffectSmooth 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes wipeEffectSmooth {
    0% {
        opacity: 1;
        background-position: 0% 0%;
    }
    60% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        background-position: 100% 0%;
    }
}

/* 退出动画 - 交叉过渡 */
.project-display.exit {
    animation: flipOutSmooth 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    z-index: 0;
}

@keyframes flipOutSmooth {
    0% {
        transform: perspective(2000px) rotateY(0deg) translateZ(0) scale(1);
        opacity: 1;
        filter: blur(0) brightness(1);
    }
    100% {
        transform: perspective(2000px) rotateY(70deg) translateZ(-300px) scale(0.85);
        opacity: 0;
        filter: blur(12px) brightness(0.7);
        visibility: hidden;
    }
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.3) 0%, 
        rgba(19, 34, 122, 0.4) 50%,
        rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

/* 光束扫描效果 */
.project-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 212, 255, 0.3) 50%,
        transparent 100%);
    z-index: 5;
    pointer-events: none;
}

.project-display.active .project-overlay::before {
    animation: lightSweep 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

@keyframes lightSweep {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* 视差层叠效果 */
.project-info {
    position: absolute;
    bottom: clamp(80px, 12vh, 120px);
    right: clamp(40px, 6vw, 80px);
    max-width: clamp(400px, 35vw, 550px);
    background: rgba(19, 34, 122, 0.5);
    padding: clamp(25px, 3vh, 40px) clamp(30px, 3vw, 45px);
    border-radius: 16px;
    backdrop-filter: blur(25px) saturate(180%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 100px rgba(19, 34, 122, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
    transform: translateZ(50px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-display.active .project-info {
    opacity: 1;
    animation: slideInRight 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

@keyframes slideInRight {
    0% {
        transform: translateX(100px) translateY(30px) translateZ(50px) rotateY(-15deg);
        opacity: 0;
    }
    100% {
        transform: translateX(0) translateY(0) translateZ(50px) rotateY(0deg);
        opacity: 1;
    }
}

.project-info h4 {
    display: none;
}

.project-info p {
    font-size: clamp(13px, 1.1vw, 16px);
    line-height: clamp(1.6, 2vh, 2);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: clamp(20px, 3vh, 30px);
    letter-spacing: 0.8px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 按钮磁吸效果 */
.project-info .detail-btn {
    background: #2563c8;
    color: #ffffff;
    padding: clamp(10px, 1.5vh, 14px) clamp(30px, 4vw, 45px);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: clamp(13px, 1vw, 15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 1.5px;
    box-shadow: 0 8px 25px rgba(37, 99, 200, 0.5);
    font-weight: 500;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    transform-origin: center;
}

.project-info .detail-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.project-info .detail-btn:hover::before {
    width: 300px;
    height: 300px;
}

.project-info .detail-btn:hover {
    background: #1e4fa3;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(30, 79, 163, 0.7),
                0 0 40px rgba(30, 79, 163, 0.4);
}

/* 轮播进度指示器 */
.project-progress {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #00d4ff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-dot.active {
    background: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8),
                0 0 40px rgba(0, 212, 255, 0.4);
    transform: scale(1.3);
}

.progress-dot.active::before {
    width: 24px;
    height: 24px;
    opacity: 0.3;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        width: 24px;
        height: 24px;
        opacity: 0.3;
    }
    50% {
        width: 32px;
        height: 32px;
        opacity: 0.1;
    }
}

.progress-dot:hover {
    background: rgba(0, 212, 255, 0.6);
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

/* 党建建设区域 */
.party-section {
    background: #fcfcfc;
    position: relative;
    padding: 80px 0;
    height: calc(100vh - 75px);
}

.party-layout {
    display: flex;
    gap: 60px;
    width: 100%;
    position: relative;
    min-height: calc(100vh - 160px);
}

.party-sidebar {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    top: 0;
    left: 0;
}

.party-sidebar-header {
    margin-bottom: 20px;
}

.party-sidebar-header .subtitle {
    font-size: 18px;
    color: #999;
    letter-spacing: 4px;
    margin-bottom: 8px;
    font-weight: 300;
    text-transform: uppercase;
}

.party-sidebar-header h2 {
    font-size: 28px;
    font-weight: 400;
    color: #2d2d2d;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 15px;
}

.party-sidebar-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #13227a;
}

.party-content, .news-content, .about-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(60px);
}

.party-content.animate-in, .news-content.animate-in, .about-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.party-content.animate-out, .news-content.animate-out, .about-content.animate-out {
    opacity: 0;
    transform: translateY(60px);
}

.party-content {
    margin-left: 380px;
}

.party-content.is-single-row, .news-content.is-single-row {
    padding-top: 105px;
}

.party-news-grid, .news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: min-content;
    gap: 25px 30px;
    border: none;
    flex: 1;
    align-content: center;
}

.is-single-row .party-news-grid, .is-single-row .news-grid {
    align-content: start;
}

.party-image-container {
    width: 100%;
    height: auto;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.party-image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.party-image-container:hover img {
    transform: scale(1.02);
}

.party-news-item {
    background: white;
    padding: 28px 30px;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s;
    cursor: default;
    display: flex;
    flex-direction: column;
    min-height: 180px;
}

.party-news-item:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.party-news-item .date-box {
    text-align: left;
    border-left: 4px solid #13227a;
    padding-left: 12px;
    min-width: 70px;
    margin-bottom: 15px;
}

.party-news-item .date-box .date-month {
    font-size: 20px;
    font-weight: 600;
    color: #2d2d2d;
    letter-spacing: 1px;
    line-height: 1.2;
}

.party-news-item .date-box .date-year {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

.party-news-item .news-text {
    flex: 1;
}

.party-news-item h5 {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.6;
    color: #2d2d2d;
    font-weight: 500;
    letter-spacing: 0.3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.party-news-item p {
    font-size: 13px;
    color: #999;
    line-height: 1.9;
    letter-spacing: 0.3px;
}

/* 关于我们区域 */
.about-section {
    background: url('../static/img/other/aboutUs.webp') center/cover no-repeat;
    background-attachment: fixed;
    color: white;
    height: calc(100vh - 75px);
    position: relative;
    padding: 100px 0 80px;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.about-section .section-container {
    position: relative;
    z-index: 1;
    width: 100%;
    height: calc(100vh - 180px);
}

.about-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: 100%;
    position: relative;
}

.about-sidebar {
    position: absolute;
    top: 0;
    left: 0;
}

.about-sidebar .subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 4px;
    margin-bottom: 8px;
    font-weight: 300;
    text-transform: uppercase;
}

.about-sidebar h3 {
    font-size: 32px;
    margin-bottom: 0;
    letter-spacing: 2px;
    font-weight: 400;
    line-height: 1.4;
}

.about-content {
    margin-left: auto;
    margin-top: clamp(100px, 18vh, 220px);
    max-width: 100%;
    transition: opacity 0.8s ease, transform 0.8s ease;
    opacity: 0;
    transform: translateY(50px);
}

.about-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.about-content.animate-out {
    opacity: 0;
    transform: translateY(-50px);
}

.about-text-box {
    background: rgba(19, 34, 122, 0.65);
    backdrop-filter: blur(20px);
    padding: clamp(25px, 4vh, 45px) clamp(30px, 4vw, 50px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.about-text {
    font-size: clamp(13px, 1.2vw, 16px);
    line-height: clamp(1.8, 2.2vh, 2.2);
    opacity: 1;
    letter-spacing: 0.5px;
    text-indent: 0;
    color: rgba(255, 255, 255, 0.95);
}

/* 联系我们区域 - 特殊处理，不占满屏，与 Footer 合并显示 */
.contact-section {
    background: #f5f6f8;
    height: auto;
    min-height: calc(100vh - 75px);
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    scroll-snap-align: start;
}

.contact-layout {
    display: flex;
    gap: 0;
    align-items: flex-start;
    padding: 80px 200px 0 0;
}

.contact-sidebar {
    width: 200px;
    flex-shrink: 0;
}

.contact-sidebar .subtitle {
    font-size: 18px;
    color: #999;
    letter-spacing: 4px;
    margin-bottom: 8px;
    font-weight: 300;
    text-transform: uppercase;
}

.contact-sidebar h3 {
    font-size: 28px;
    margin-bottom: 0;
    color: #2d2d2d;
    font-weight: 400;
    letter-spacing: 2px;
}

.contact-content {
    flex: 1;
    display: flex;
    gap: clamp(50px, 12vw, 220px);
    justify-content: flex-start;
    align-items: center;
}

.contact-qrs {
    display: flex;
    gap: 5vw;
    flex: 0 0 auto;
    justify-content: flex-start;
}

.qr-item {
    text-align: center;
}

.qr-code {
    width: clamp(120px, 10vw, 180px);
    height: clamp(120px, 10vw, 180px);
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.qr-label {
    font-size: 14px;
    color: #555;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-left: 0;
    border-left: none;
    width: auto;
    flex-shrink: 0;
}

.contact-detail-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-detail-item i {
    font-size: 20px;
    color: #13227a;
    margin-top: 3px;
    width: 25px;
    text-align: center;
}

.contact-detail-info h4 {
    font-size: 18px;
    color: #2d2d2d;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-detail-info p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* 二维码模态框 */
.qr-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.qr-modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
    animation: modalScale 0.3s ease-out;
}

@keyframes modalScale {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.qr-modal-img {
    width: 250px;
    height: 250px;
    margin: 0 auto 20px;
    background-size: cover;
    background-position: center;
    border: 1px solid #eee;
    border-radius: 8px;
}

.qr-modal-label {
    font-size: 20px;
    color: #2d2d2d;
    font-weight: 600;
    margin-bottom: 5px;
}

.qr-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
}

.qr-modal-close:hover {
    color: #333;
}

/* 底部Footer - 合并到联系我们模块内 */
.footer {
    background: #2d2d2d;
    color: #999;
    padding: 40px 0 20px;
    width: 100%;
    margin-top: auto;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

.footer-content {
    display: flex;
    flex-direction: column;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    color: #e0e0e0;
    font-size: 15px;
    margin-bottom: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    padding: 5px 0;
    transition: all 0.3s;
}

.footer-column li a {
    font-size: 13px;
    color: #999;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all 0.3s;
}

.footer-column li:hover a {
    color: #e0e0e0;
    padding-left: 3px;
}

.footer-contact {
    text-align: left;
}

.footer-contact p {
    font-size: 13px;
    margin: 12px 0;
    letter-spacing: 0.3px;
    color: #999;
}

.footer-contact i {
    margin-right: 8px;
    color: #ffffff;
}

.footer-record {
    font-size: 12px;
    color: #777;
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 30px;
}

.footer-record p {
    margin: 5px 0;
}

.footer-record a {
    color: #777;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-record a:hover {
    color: #999;
}

/* 暂无数据样式 */
.no-data-placeholder {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 450px;
    grid-column: 1 / -1;
    text-align: center;
}
.no-data-placeholder img {
    width: 120px;
    height: auto;
    margin-bottom: 15px;
    opacity: 0.7;
}
.no-data-placeholder p {
    color: #999;
    font-size: 16px;
    letter-spacing: 2px;
}

/* 向下滑动标签 */
.scroll-down-hint {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    color: #ffffff;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0,0,0,0.5), 0 2px 4px rgba(0,0,0,0.8);
    font-weight: 500;
}

.scroll-down-hint i {
    font-size: 28px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(10px); }
    60% { transform: translateY(5px); }
}

.scroll-down-hint.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 20px);
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    .nav-menu {
        display: none;
    }

    .hero-section {
        height: 400px;
    }

    .detail-btn-hero {
        margin: 0 0 40px 20px;
        padding: 12px 30px;
        font-size: 14px;
    }

    .section-container {
        padding: 0 20px;
    }

    .news-layout,
    .investment-layout,
    .party-layout,
    .about-layout,
    .contact-layout {
        flex-direction: column;
        gap: 30px;
        min-height: auto;
    }

    .news-sidebar,
    .investment-sidebar,
    .party-sidebar,
    .about-sidebar,
    .contact-sidebar {
        width: 100%;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .investment-layout {
        min-height: auto;
    }

    .project-display {
        position: relative;
        min-height: 500px;
    }

    .project-info {
        bottom: 20px;
        right: 20px;
        left: 20px;
        max-width: none;
        padding: 25px;
    }

    .about-image {
        height: 250px;
    }

    .contact-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }
}

/* 空状态占位居中逻辑修正 */
.news-grid.is-empty {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    width: 100%;
    min-height: 400px;
    position: relative;
}

/* 当 grid 被隐藏时，is-empty 也不应显示 */
.news-grid[style*="display: none"].is-empty {
    display: none !important;
}

/* 关键：使用绝对定位让图片相对于整个右侧内容区居中 */
.empty-placeholder-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.empty-placeholder {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.empty-placeholder img {
    width: 120px;
    opacity: 0.6;
    margin-bottom: 20px;
}

.empty-placeholder p {
    color: #999;
    font-size: 16px;
    letter-spacing: 1px;
}

/* 布局修正：确保不影响标题位置 */
.news-content, .party-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* 标题始终靠顶 */
}
