/* index.css - 首页特定样式 */

/* 轮播图 */
.banner {
    height: calc(100vh - 80px);
    min-height: 520px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    background-color: #f5f5f5;
}

.swiper-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: pointer;
}

.slide-content {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 8s ease;
}

.swiper-slide-active .slide-content img {
    transform: scale(1);
}

/* 轮播图文字相关样式已移除 */

/* 导航按钮 */
.banner .swiper-button-prev,
.banner .swiper-button-next {
    width: 60px !important;
    height: 60px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-top: 0 !important;
    color: transparent !important;
    opacity: 1 !important;
}

.banner .swiper-button-prev {
    left: 30px !important;
    right: auto !important;
}

.banner .swiper-button-next {
    right: 30px !important;
    left: auto !important;
}

/* 隐藏默认的Swiper图标 */
.banner .swiper-button-prev:after,
.banner .swiper-button-next:after {
    display: none !important;
    content: '' !important;
}

/* 使用CSS绘制箭头 */
.banner .swiper-button-prev::before,
.banner .swiper-button-next::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transition: all 0.3s ease;
}

.banner .swiper-button-prev::before {
    transform: rotate(-135deg);
    margin-left: 2px;
}

.banner .swiper-button-next::before {
    transform: rotate(45deg);
    margin-right: 2px;
}

/* 移除旧的nav-line样式 */
.nav-line {
    display: none;
}

.banner .swiper-button-prev:hover,
.banner .swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.banner .swiper-button-disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
}

/* 分页器 */
.swiper-pagination {
    bottom: 30px !important;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #fff;
    border-color: var(--primary-color);
    transform: scale(1.2);
}

/* 进度条 */
.swiper-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
    --progress: 0%; /* Initialize custom property */
}

.swiper-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--progress); /* Use custom property for width */
    background: var(--primary-color);
    transition: none; /* Keep none for immediate updates */
}

/* 移动端适配 */
@media screen and (max-width: 1199px) {
    .banner {
        height: calc(100vh - 60px);
        min-height: 460px;
        margin-top: 60px;
    }

    /* 平板设备轮播图文字样式已移除 */

    .banner .swiper-button-prev,
    .banner .swiper-button-next {
        width: 50px !important;
        height: 50px !important;
        opacity: 0.8 !important;
    }

    /* 响应式箭头调整 */
    .banner .swiper-button-prev::before,
    .banner .swiper-button-next::before {
        width: 10px;
        height: 10px;
        border-width: 2px;
    }

    /* 业务板块响应式 */
    .business-list {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
        padding: 0 5px;
    }

    .business-item {
        padding: 10px 8px;
    }

    .business-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }

    /* 暂时移除响应式 */
}

@media screen and (max-width: 767px) {
    .banner {
        height: clamp(320px, 58vh, 520px);
        min-height: 0;
        margin-top: 50px;
    }

    .banner .slide-content {
        background: #f5f5f5;
    }

    .banner .slide-content img {
        object-fit: contain;
        object-position: center center;
        transform: none !important;
    }

    /* 移动端轮播图文字样式已移除 */

    .banner .swiper-button-prev,
    .banner .swiper-button-next {
        width: 36px !important;
        height: 36px !important;
        opacity: 0.9 !important;
    }

    .banner .swiper-button-prev {
        left: 10px !important;
    }

    .banner .swiper-button-next {
        right: 10px !important;
    }

    /* 小屏幕箭头调整 */
    .banner .swiper-button-prev::before,
    .banner .swiper-button-next::before {
        width: 8px;
        height: 8px;
        border-width: 1.5px;
    }

    .swiper-pagination {
        bottom: 12px !important;
    }

    .swiper-pagination-bullet {
        width: 7px;
        height: 7px;
    }

    /* 移动端轮播图遮罩样式已移除 */

    /* 业务板块响应式 */
    .business-list {
        grid-template-columns: 1fr !important;
        gap: 8px;
        padding: 0 2px;
    }

    .business-item {
        padding: 8px 5px;
    }

    .business-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }

    .business-item h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .business-item p {
        font-size: 14px;
        line-height: 1.4;
    }

    /* 暂时移除响应式 */

    .party-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
        padding: 0 20px;
    }
    
    .party-img {
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .party-img img {
        height: 250px;
        border-radius: 12px;
    }
    
    .party-text {
        flex: none;
        padding-left: 0;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .party-text h3 {
        font-size: 24px;
        text-align: center;
    }
    
    .party-text h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .party-text p {
        font-size: 15px;
        text-align: center;
        margin-bottom: 18px;
    }
}

@media screen and (max-width: 480px) {
    .banner {
        height: clamp(300px, 54vh, 460px);
        min-height: 0;
        margin-top: 50px;
    }

    /* 超小屏幕轮播图文字样式已移除 */

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }

    .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
    }

    /* 业务板块超小屏幕适配 */
    .business-item {
        padding: 8px;
    }

    .business-icon {
        width: 50px;
        height: 50px;
    }

    .business-item h3 {
        font-size: 16px;
    }

    .business-item p {
        font-size: 13px;
    }

    /* 暂时移除响应式 */

    .party-content {
        gap: 20px;
        padding: 0 15px;
    }
    
    .party-img {
        max-width: 350px;
    }
    
    .party-img img {
        height: 220px;
        border-radius: 10px;
    }
    
    .party-text {
        max-width: 400px;
    }
    
    .party-text h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .party-text p {
        font-size: 14px;
        margin-bottom: 16px;
        line-height: 1.6;
    }
    
    .party-text .more-btn {
        padding: 12px 24px;
        font-size: 13px;
    }
}

/* 下属企业样式 - 左右布局 */
.subsidiaries-main-wrapper {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px;
    align-items: flex-start;
    min-height: 400px;
}

/* 左侧企业图片区域 */
.subsidiaries-slider-box {
    flex: 0 0 55% !important;
    width: 55% !important;
    position: relative;
}

.subsidiaries-img {
    position: relative;
    height: 400px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.subsidiaries-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subsidiaries-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 30px 20px 20px;
    text-align: center;
}

.subsidiaries-overlay h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.subsidiaries-overlay p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

/* 右侧企业列表 */
.subsidiaries-sidebar {
    flex: 0 0 42% !important;
    width: 42% !important;
    height: 400px;
}

.subsidiaries-sidebar-header {
    background: var(--primary-color);
    color: white;
    padding: 12px 0;
    margin-bottom: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.subsidiaries-sidebar-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: white;
}

.subsidiaries-sidebar-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    padding-left: 15px;
}

.subsidiaries-sidebar-list {
    height: 350px;
    overflow-y: auto;
    background: white;
}

.subsidiaries-list-row {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.subsidiaries-list-row:hover {
    background-color: #f8f9fa;
}

.subsidiaries-list-row:last-child {
    border-bottom: none;
}

.subsidiaries-row-content {
    flex: 1;
    min-width: 0;
    padding: 0 15px;
}

.subsidiaries-row-content h4 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color);
    margin: 0 0 5px 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.subsidiaries-row-content h4:hover {
    color: var(--primary-color);
}

.subsidiaries-row-content p {
    font-size: 11px;
    color: var(--light-text);
    margin: 0;
    line-height: 1.4;
}

/* 旧的下属企业样式保留 */
.subsidiaries {
    background-color: #ffffff;
    padding: 80px 0;
}

.subsidiaries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.company-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    font-size: 14px;
    color: var(--text-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    line-height: 1.4;
}

.company-item:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 响应式设计 */
@media screen and (max-width: 1199px) {
    .subsidiaries-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        padding: 0 15px;
    }
    
    .company-item {
        padding: 15px 12px;
        font-size: 13px;
    }
}

@media screen and (max-width: 767px) {
    .subsidiaries {
        padding: 60px 0;
    }
    
    .subsidiaries-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        padding: 0 15px;
    }
    
    .company-item {
        padding: 12px 10px;
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .subsidiaries {
        padding: 50px 0;
    }
    
    .subsidiaries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
    }
    
    .company-item {
        padding: 10px 8px;
        font-size: 11px;
    }
}

/* 党的建设部分整体样式 */
.party.section {
    padding-top: 0 !important;
    background: #ffffff;
}

/* 确保在所有屏幕尺寸下都没有上方padding */
@media screen and (max-width: 767px) {
    .party.section {
        padding-top: 0 !important;
    }
}

/* 党建横幅样式 */
.party-banner {
    padding: 0;
    margin-bottom: 40px;
    background: transparent;
}

.banner-image {
    width: 100%;
    text-align: center;
}

.banner-image img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 响应式设计 */
@media screen and (max-width: 767px) {
    .banner-image img {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 480px) {
    .banner-image img {
        width: 100%;
        height: auto;
    }
}

/* 集团业务 - 左右布局 */
.business-main-wrapper {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px;
    align-items: flex-start;
    min-height: 400px;
}

/* 左侧业务轮播区域 */
.business-slider-box {
    flex: 0 0 55% !important;
    width: 55% !important;
    position: relative;
}

.business-swiper {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.business-slider-card {
    position: relative;
    height: 100%;
    width: 100%;
}

.business-slider-image {
    height: 100%;
    width: 100%;
    position: relative;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.business-slider-image img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.business-slider-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 40px 20px 20px;
    text-align: center;
}

.business-slider-overlay h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.business-slider-overlay p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

.business-dots {
    bottom: 15px !important;
}

.business-dots .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    width: 8px;
    height: 8px;
}

.business-dots .swiper-pagination-bullet-active {
    background: white;
}

/* 右侧业务列表 */
.business-sidebar {
    flex: 0 0 42% !important;
    width: 42% !important;
    height: 400px;
}

.business-sidebar-header {
    background: var(--primary-color);
    color: white;
    padding: 12px 0;
    margin-bottom: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.business-sidebar-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: white;
}

.business-sidebar-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    padding-left: 15px;
}

.business-sidebar-list {
    height: 350px;
    overflow-y: auto;
    background: white;
}

.business-list-row {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.business-list-row:hover {
    background-color: #f8f9fa;
}

.business-list-row:last-child {
    border-bottom: none;
}

.business-row-icon {
    flex: 0 0 40px;
    margin-right: 12px;
    margin-left: 10px;
}

.business-row-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.business-row-content {
    flex: 1;
    min-width: 0;
    padding-right: 10px;
}

.business-row-content h4 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color);
    margin: 0 0 5px 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.business-row-content h4 a {
    color: inherit;
    text-decoration: none;
}

.business-row-content h4:hover,
.business-row-content h4 a:hover {
    color: var(--primary-color);
}

.business-row-content p {
    font-size: 12px;
    color: var(--light-text);
    margin: 0;
    line-height: 1.4;
}

/* 旧的业务样式保留（用于其他页面） */
.business-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 15px;
    padding: 0 10px;
    justify-content: unset;
}

.business-item {
    min-width: 0;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 10px;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.business-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.business-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f5;
    flex-shrink: 0;
}

.business-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: 100%;
    height: auto;
}

.business-item h3 {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 15px;
}

.business-item p {
    color: var(--light-text);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 项目展示 - 左右布局 */
.projects-main-wrapper {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px;
    align-items: flex-start;
    min-height: 400px;
}

/* 左侧项目轮播区域 */
.projects-slider-box {
    flex: 0 0 55% !important;
    width: 55% !important;
    position: relative;
}

.projects-swiper {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.projects-slider-card {
    position: relative;
    height: 100%;
    width: 100%;
}

.projects-slider-image {
    height: 100%;
    width: 100%;
    position: relative;
}

.projects-slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.projects-slider-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 30px 20px 20px;
}

.projects-slider-overlay h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.projects-slider-overlay p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

.projects-dots {
    bottom: 15px !important;
}

.projects-dots .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    width: 8px;
    height: 8px;
}

.projects-dots .swiper-pagination-bullet-active {
    background: white;
}

/* 右侧项目列表 */
.projects-sidebar {
    flex: 0 0 42% !important;
    width: 42% !important;
    height: 400px;
}

.projects-sidebar-header {
    background: var(--primary-color);
    color: white;
    padding: 12px 0;
    margin-bottom: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.projects-sidebar-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: white;
}

.projects-sidebar-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    padding-left: 15px;
}

.projects-sidebar-list {
    height: 350px;
    overflow-y: auto;
    background: white;
}

.projects-list-row {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.projects-list-row:hover {
    background-color: #f8f9fa;
}

.projects-list-row:last-child {
    border-bottom: none;
}

.projects-row-image {
    flex: 0 0 60px;
    margin-right: 12px;
    margin-left: 10px;
}

.projects-row-image img {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
}

.projects-row-content {
    flex: 1;
    min-width: 0;
    padding-right: 10px;
}

.projects-row-content h4 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color);
    margin: 0 0 3px 0;
    cursor: pointer;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.projects-row-content h4 a {
    color: inherit;
    text-decoration: none;
}

.projects-row-content h4:hover,
.projects-row-content h4 a:hover {
    color: var(--primary-color);
}

.projects-row-content p {
    font-size: 11px;
    color: var(--lighter-text);
    margin: 0 0 3px 0;
}

.project-status {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 500;
}

.project-status.completed {
    background: #e8f5e8;
    color: #2e7d2e;
}

/* 旧的项目样式保留 */
.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-item {
    width: 100%;
}

.project-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-img {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    height: 250px;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-item:hover .project-img img {
    transform: scale(1.1);
}

.project-overlay h3 {
    font-size: 18px;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 10px;
    text-align: center;
}

.project-overlay p {
    color: #ccc;
    margin-bottom: 15px;
}

.detail-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    font-size: 14px;
}

.detail-btn:hover {
    background-color: var(--primary-color-dark);
}

/* 集团讯息样式 */
.news.section,
.home-article-section.section {
    padding: 40px 0;
    background: #ffffff;
}

.news.section .container,
.home-article-section.section .container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.news-main-wrapper {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px;
    align-items: flex-start;
    min-height: 400px;
}

/* 左侧轮播区域 */
.news-slider-box {
    flex: 0 0 55% !important;
    width: 55% !important;
    position: relative;
}

.slider-swiper {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.slider-card {
    position: relative;
    height: 100%;
    width: 100%;
}

.slider-image {
    height: 100%;
    width: 100%;
    position: relative;
}

.slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 30px 20px 20px;
}

.slider-overlay h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.slider-dots {
    bottom: 15px !important;
}

.slider-dots .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    width: 8px;
    height: 8px;
}

.slider-dots .swiper-pagination-bullet-active {
    background: white;
}

/* 右侧新闻列表 */
.news-sidebar {
    flex: 0 0 42% !important;
    width: 42% !important;
    height: 400px;
}

.sidebar-header {
    background: #DCDCDC;
    color: var(--text-color);
    padding: 12px 0;
    margin-bottom: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.sidebar-header.news-tab-header {
    background: transparent;
    padding: 0;
}

.sidebar-header.news-tab-header::before {
    display: none;
}

.news-tabs {
    display: flex;
    width: 100%;
    gap: 2px;
}

.news-tab {
    flex: 1;
    min-width: 0;
    border: none;
    background: #DCDCDC;
    color: var(--text-color);
    padding: 12px 6px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.news-tab.active {
    background: var(--secondary-color);
    color: #fff;
}

.news-tab-panel {
    display: none;
}

.news-tab-panel.active {
    display: block;
}

.sidebar-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-color);
}

.sidebar-header h2,
.sidebar-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    padding-left: 15px;
}

.sidebar-more {
    color: var(--primary-color);
    font-size: 12px;
    text-decoration: none;
    padding-right: 15px;
}

.sidebar-list {
    height: 350px;
    overflow-y: auto;
    background: white;
}

.list-row {
    display: flex;
    align-items: flex-start;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.list-row:hover {
    background-color: #f8f9fa;
}

.list-row:last-child {
    border-bottom: none;
}

.row-content {
    flex: 1;
    min-width: 0;
}

.row-content h4 {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-color);
    margin: 0 0 2px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    cursor: pointer;
    transition: color 0.3s ease;
}

.row-content h4:hover {
    color: var(--primary-color);
}

/* 新闻摘要 */
.row-content .news-summary {
    font-size: 11px;
    color: #999;
    line-height: 1.4;
    margin: 4px 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.content-time {
    font-size: 11px;
    color: var(--lighter-text);
    display: block;
    margin-top: 4px;
}

/* 强制保持新闻模块横向布局 - 覆盖所有响应式 */
@media screen and (max-width: 1199px) {
    .news-main-wrapper {
        display: flex !important;
        flex-direction: row !important;
        gap: 20px !important;
    }
    
    .news-slider-box {
        flex: 0 0 55% !important;
        width: 55% !important;
    }
    
    .news-sidebar {
        flex: 0 0 42% !important;
        width: 42% !important;
    }
}

@media screen and (max-width: 767px) {
    .news-main-wrapper {
        display: flex !important;
        flex-direction: row !important;
        gap: 15px !important;
    }
    
    .news-slider-box {
        flex: 0 0 55% !important;
        width: 55% !important;
    }
    
    .news-sidebar {
        flex: 0 0 42% !important;
        width: 42% !important;
    }
    
    .slider-swiper {
        height: 350px;
    }
    
    .sidebar-list {
        height: 310px;
    }
}

@media screen and (max-width: 480px) {
    .news-main-wrapper {
        display: flex !important;
        flex-direction: row !important;
        gap: 10px !important;
    }
    
    .news-slider-box {
        flex: 0 0 55% !important;
        width: 55% !important;
    }
    
    .news-sidebar {
        flex: 0 0 42% !important;
        width: 42% !important;
    }
    
    .slider-swiper {
        height: 300px;
    }
    
    .slider-overlay h3 {
        font-size: 14px;
    }
    
    .sidebar-header h2,
    .sidebar-header h3 {
        font-size: 14px;
    }

    .news-tab {
        padding: 10px 4px;
        font-size: 12px;
    }
    
    .sidebar-list {
        height: 260px;
    }
    
    .list-row {
        padding: 8px 12px;
    }
    
    .row-content h4 {
        font-size: 12px;
    }
}

/* 党建部分样式 - 左右布局 */
.party-main-wrapper {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px;
    align-items: flex-start;
    min-height: 400px;
}

/* 左侧党建图片区域 */
.party-slider-box {
    flex: 0 0 55% !important;
    width: 55% !important;
    position: relative;
}

/* 右侧党建列表 */
.party-sidebar {
    flex: 0 0 42% !important;
    width: 42% !important;
    height: 400px;
}

.party-sidebar-header {
    background: var(--primary-color);
    color: white;
    padding: 12px 0;
    margin-bottom: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.party-sidebar-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: white;
}

.party-sidebar-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    padding-left: 15px;
}

.party-sidebar-list {
    height: 350px;
    overflow-y: auto;
    background: white;
}

.party-list-row {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.party-list-row:hover {
    background-color: #f8f9fa;
}

.party-list-row:last-child {
    border-bottom: none;
}

.party-row-content {
    flex: 1;
    min-width: 0;
    padding: 0 15px;
}

.party-row-content h4 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color);
    margin: 0 0 8px 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.party-row-content h4:hover {
    color: var(--primary-color);
}

.party-row-content p {
    font-size: 12px;
    color: var(--light-text);
    margin: 0;
    line-height: 1.5;
}

/* 旧的党建样式保留 */
.party-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.party-img {
    flex: 0 0 45%;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.party-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.party-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.party-img:hover img {
    transform: scale(1.05);
}

.party-text {
    flex: 1;
    padding-left: 20px;
}

.party-text h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.3;
    position: relative;
}

.party-text h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    border-radius: 2px;
}

.party-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 20px;
    text-align: justify;
}

.party-text .more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.party-text .more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.party-text .more-btn:hover::before {
    left: 100%;
}

.party-text .more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.4);
}

/* 平板设备适配 */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .business-item {
        width: 31.33%;
    }

    .project-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .party-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding: 0 30px;
    }
    
    .party-img {
        flex: none;
        width: 100%;
        max-width: 500px;
    }
    
    .party-img img {
        height: 300px;
    }
    
    .party-text {
        flex: none;
        padding-left: 0;
        max-width: 600px;
    }
    
    .party-text h3 {
        font-size: 28px;
        text-align: center;
    }
    
    .party-text h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .party-text p {
        font-size: 15px;
        text-align: center;
    }
}

@media screen and (min-width: 1200px) {
    .business-list {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 20px;
        padding: 0;
    }
    
    .party-content {
        gap: 50px;
        padding: 0 40px;
    }
    
    .party-img img {
        height: 400px;
    }
    
    .party-text h3 {
        font-size: 36px;
    }
}

/* 通用sidebar样式 */
.sidebar-more {
    color: white;
    font-size: 12px;
    text-decoration: none;
    padding-right: 15px;
    transition: opacity 0.3s ease;
}

.sidebar-more:hover {
    opacity: 0.8;
}

/* 红色横幅样式 */
.red-banner {
    padding: 0;
    margin: 0;
    background: transparent;
}

.red-banner-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.red-banner-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* 集团业务大图切换 */
.business-showcase.section {
    position: relative;
    min-height: 520px;
    padding: 0;
    overflow: hidden;
    background: #1f252b;
}

.business-showcase-bg {
    position: absolute;
    inset: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: background-image 0.25s ease, opacity 0.25s ease;
    z-index: 0;
}

.business-showcase-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
    z-index: 1;
}

.business-showcase .container {
    position: relative;
    z-index: 2;
}

.business-showcase-content {
    min-height: 520px;
    padding: 70px 0;
    color: #fff;
}

.business-showcase-title {
    margin-bottom: 32px;
}

.business-showcase-title h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 6px 0;
    line-height: 1.2;
}

.business-showcase-title h2::after {
    content: '';
    display: block;
    width: 88px;
    height: 2px;
    background: #fff;
    margin-top: 8px;
}

.business-showcase-title span {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0;
}

.business-showcase-body {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 80px;
    align-items: flex-start;
}

.business-showcase-tabs {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.business-showcase-tab {
    width: 100%;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.86);
    padding: 0 0 8px 0;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.business-showcase-tab.active,
.business-showcase-tab:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.business-showcase-panel {
    display: none;
    max-width: 760px;
}

.business-showcase-panel.active {
    display: block;
}

.business-description {
    font-size: 17px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.9);
    max-height: 240px;
    overflow: hidden;
}

.business-description.empty-message {
    color: rgba(255, 255, 255, 0.82);
}

.business-detail-link {
    display: inline-block;
    margin-top: 26px;
    padding: 8px 22px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.business-detail-link:hover {
    background: #fff;
    color: var(--primary-color);
}

/* 业务产品和公示公告样式 */
.business-announcement.section {
    padding: 40px 0;
    background: #fff;
}

.business-announcement-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.business-products {
    flex: 0 0 55%;
}

.announcements {
    flex: 0 0 42%;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.section-header h2,
.section-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    position: relative;
}

.section-header h2::before,
.section-header h3::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--secondary-color);
}

.section-header .more-link {
    color: var(--primary-color);
    font-size: 14px;
    text-decoration: none;
}

.section-header .more-link:hover {
    color: var(--primary-color-dark);
}

/* 业务产品网格 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.product-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-3px);
}

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

/* 公示公告列表 */
.announcement-list {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    height: 430px;
    max-height: 430px;
    overflow-y: auto;
}

.announcement-item {
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.announcement-item:last-child {
    border-bottom: none;
}

.announcement-item:hover {
    background-color: rgba(var(--primary-color-rgb), 0.05);
}

.announcement-item h4 {
    font-size: 14px;
    color: var(--text-color);
    margin: 0 0 5px 0;
    line-height: 1.4;
    cursor: pointer;
    transition: color 0.3s ease;
}

.announcement-item h4 a {
    color: inherit;
    text-decoration: none;
}

.announcement-item h4:hover,
.announcement-item h4 a:hover {
    color: var(--primary-color);
}

/* 公告摘要 */
.announcement-summary {
    font-size: 12px;
    color: #999;
    margin: 5px 0;
    line-height: 1.5;
}

.announcement-date {
    font-size: 12px;
    color: var(--lighter-text);
    display: inline-block;
}

/* 带封面图的公告样式 */
.announcement-item.with-cover {
    padding: 10px 0;
}

.announcement-item.with-cover .announcement-link {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.announcement-item.with-cover:hover .announcement-cover img {
    transform: scale(1.05);
}

.announcement-cover {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    background: #f5f5f5;
}

.announcement-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.announcement-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.announcement-content h4 {
    margin: 0 0 4px 0;
}

.announcement-content .announcement-summary {
    margin: 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.announcement-content .announcement-date {
    margin-top: 4px;
}

/* 联系方式横幅 */
.contact-banner {
    padding: 0;
    margin: 0 0 60px 0;
    background: transparent;
}

.contact-banner .banner-image {
    width: 100%;
    text-align: center;
}

.contact-banner .banner-image img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 0 auto;
}


/* 响应式布局 */
@media screen and (max-width: 1199px) {
    .news-main-wrapper,
    .business-announcement-wrapper,
    .party-main-wrapper {
        gap: 20px;
    }
    
    .news-slider-box, .news-sidebar,
    .business-products, .announcements,
    .party-slider-box, .party-sidebar {
        flex: 0 0 48% !important;
        width: 48% !important;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .product-item img {
        height: 150px;
    }

    .business-showcase-content {
        padding: 56px 0;
    }

    .business-showcase-body {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 48px;
    }

    .business-showcase-tab {
        font-size: 16px;
    }
    
    
    .contact-banner .banner-image img {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 767px) {
    .news-main-wrapper,
    .business-announcement-wrapper,
    .party-main-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .news-slider-box, .news-sidebar,
    .business-products, .announcements,
    .party-slider-box, .party-sidebar {
        flex: none !important;
        width: 100% !important;
    }
    
    .slider-swiper {
        height: 250px;
    }
    
    .sidebar-list {
        height: auto;
        max-height: 300px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-item img {
        height: 120px;
    }
    
    .announcement-list {
        max-height: 300px;
        padding: 15px;
    }

    .business-showcase.section {
        min-height: auto;
    }

    .business-showcase-content {
        min-height: auto;
        padding: 42px 0;
    }

    .business-showcase-title {
        margin-bottom: 24px;
    }

    .business-showcase-title h2 {
        font-size: 24px;
    }

    .business-showcase-body {
        display: block;
    }

    .business-showcase-tabs {
        flex-direction: row;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 12px;
        margin-bottom: 22px;
    }

    .business-showcase-tab {
        flex: 0 0 auto;
        width: auto;
        min-width: 92px;
        padding: 8px 12px;
        border: 1px solid rgba(255, 255, 255, 0.45);
        border-radius: 2px;
        text-align: center;
        font-size: 14px;
        background: rgba(0, 0, 0, 0.18);
    }

    .business-showcase-tab.active {
        background: rgba(255, 255, 255, 0.92);
        color: var(--primary-color);
        border-color: rgba(255, 255, 255, 0.92);
    }

    .business-description {
        font-size: 15px;
        line-height: 1.8;
        max-height: none;
    }
    
    
    .contact-banner .banner-image img {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 480px) {
    .slider-swiper {
        height: 200px;
    }
    
    .slider-overlay h3 {
        font-size: 14px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .product-item img {
        height: 150px;
    }
    
    .product-label {
        font-size: 13px;
        padding: 8px;
    }

    .business-showcase-content {
        padding: 36px 0;
    }

    .business-showcase-title h2 {
        font-size: 22px;
    }

    .business-showcase-tab {
        min-width: 84px;
        font-size: 13px;
    }
    
    .announcement-item h4 {
        font-size: 13px;
    }
    
    .announcement-date {
        font-size: 11px;
    }
    
    .section-header h2,
    .section-header h3 {
        font-size: 16px;
    }
    
    .contact-banner .banner-image img {
        width: 100%;
        height: auto;
    }
    
}

/* Common styles for main section titles */
.section-main-title {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 10px;
}

.section-sub-title {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
}

.section-title-line {
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 40px;
}

/* 首页一屏式栏目布局 */
@media screen and (min-width: 1200px) {
    html {
        scroll-snap-type: y proximity;
    }

    .banner,
    .news.section,
    .home-article-section.section,
    .business-showcase.section {
        scroll-snap-align: start;
        scroll-margin-top: 80px;
    }

    .news.section,
    .home-article-section.section {
        height: calc(100vh - 80px);
        min-height: 680px;
        padding: 0;
        display: flex;
        align-items: center;
        background: #fff;
    }

    .news.section .container,
    .home-article-section.section .container {
        width: 100%;
        max-width: 1480px;
        padding-left: clamp(32px, 5vw, 92px);
        padding-right: clamp(32px, 5vw, 92px);
    }

    .home-section-heading {
        margin-bottom: clamp(24px, 3.5vh, 42px);
    }

    .home-section-heading span {
        display: block;
        height: 0;
        overflow: visible;
        color: rgba(var(--primary-color-rgb), 0.06);
        font-size: clamp(42px, 5vw, 76px);
        font-weight: 800;
        line-height: 0.8;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .home-section-heading h2 {
        position: relative;
        margin: 0;
        padding-bottom: 16px;
        color: #111;
        font-size: clamp(30px, 2.3vw, 42px);
        font-weight: 700;
        line-height: 1.2;
    }

    .home-section-heading h2::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 76px;
        height: 3px;
        background: var(--primary-color);
    }

    .news-main-wrapper {
        display: flex !important;
        align-items: stretch;
        gap: clamp(38px, 4.5vw, 78px) !important;
        height: clamp(430px, 25vw, 560px);
        min-height: 0;
    }

    .news-slider-box {
        flex: 0 0 56% !important;
        width: 56% !important;
        min-width: 0;
    }

    .slider-swiper {
        height: 100% !important;
        border-radius: 4px;
    }

    .slider-card,
    .slider-image {
        height: 100%;
    }

    .news-sidebar {
        flex: 1 1 auto !important;
        width: auto !important;
        height: 100%;
        min-width: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .news-tabs {
        min-height: 52px;
    }

    .news-tab {
        font-size: 15px;
        padding: 16px 10px;
    }

    .news-tab-panel {
        min-height: 0;
    }

    .news-tab-panel.active {
        display: flex;
        flex: 1 1 auto;
        min-height: 0;
    }

    .sidebar-list {
        flex: 1 1 auto;
        height: auto !important;
        min-height: 0;
        overflow-y: auto;
    }

    .list-row {
        padding: 16px 18px;
    }

    .row-content h4 {
        font-size: 16px;
        line-height: 1.5;
    }

    .row-content .news-summary {
        font-size: 13px;
        line-height: 1.6;
        margin: 6px 0 8px 0;
    }

    .content-time {
        font-size: 13px;
    }

    .business-showcase.section {
        height: calc(100vh - 80px);
        min-height: 680px;
    }

    .business-showcase .container {
        width: 100%;
        max-width: 1480px;
        padding-left: clamp(32px, 5vw, 92px);
        padding-right: clamp(32px, 5vw, 92px);
    }

    .business-showcase-content {
        min-height: calc(100vh - 80px);
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .business-showcase-title {
        margin-bottom: clamp(36px, 5vh, 64px);
    }

    .business-showcase-title h2 {
        font-size: clamp(32px, 2.6vw, 46px);
    }

    .business-showcase-title span {
        font-size: 15px;
    }

    .business-showcase-body {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: clamp(72px, 8vw, 150px);
        align-items: center;
    }

    .business-showcase-tabs {
        gap: 28px;
    }

    .business-showcase-tab {
        font-size: 20px;
    }

    .business-showcase-panel {
        max-width: 820px;
    }

    .business-description {
        max-height: 360px;
        font-size: 18px;
        line-height: 2.1;
    }
}

@media screen and (max-width: 1199px) {
    html {
        scroll-snap-type: none;
    }

    .home-section-heading {
        margin-bottom: 24px;
    }

    .home-section-heading span {
        display: none;
    }

    .home-section-heading h2 {
        position: relative;
        margin: 0;
        padding-bottom: 12px;
        font-size: 28px;
        line-height: 1.2;
    }

    .home-section-heading h2::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 58px;
        height: 3px;
        background: var(--primary-color);
    }

    .news.section,
    .home-article-section.section {
        min-height: auto;
        padding: 42px 0;
    }

    .news.section .container,
    .home-article-section.section .container {
        max-width: 960px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .news-main-wrapper {
        align-items: stretch;
    }

    .slider-swiper {
        aspect-ratio: 16 / 9;
        height: auto !important;
    }

    .news-sidebar {
        height: auto;
    }

    .business-showcase.section {
        min-height: 560px;
    }

    .business-showcase-content {
        min-height: 560px;
    }
}

@media screen and (max-width: 767px) {
    .news.section,
    .home-article-section.section {
        padding: 36px 0;
    }

    .home-section-heading h2 {
        font-size: 24px;
    }

    .news-main-wrapper {
        flex-direction: column !important;
        gap: 18px !important;
    }

    .news-slider-box,
    .news-sidebar {
        flex: none !important;
        width: 100% !important;
    }

    .news-tabs {
        overflow-x: auto;
    }

    .news-tab {
        flex: 0 0 auto;
        min-width: 86px;
        padding: 12px 10px;
        font-size: 13px;
    }

    .sidebar-list {
        height: auto !important;
        max-height: 320px;
    }

    .business-showcase.section,
    .business-showcase-content {
        min-height: auto;
    }
}

/* 首页党的建设专题 */
.home-party-section.section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(128, 0, 0, 0.94) 0%, rgba(198, 57, 53, 0.96) 52%, rgba(112, 8, 8, 0.98) 100%);
    color: #fff;
}

.home-party-section.section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 100%),
        linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 100%);
    background-size: 72px 72px;
    opacity: 0.22;
    pointer-events: none;
}

.home-party-section.section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 8px;
    background: linear-gradient(90deg, #caa15a 0%, #f3d28a 45%, #caa15a 100%);
}

.home-party-section .container {
    position: relative;
    z-index: 1;
}

.party-home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(340px, 0.85fr);
    gap: clamp(34px, 4vw, 72px);
    align-items: stretch;
}

.party-home-main,
.party-home-list-panel {
    min-width: 0;
}

.party-home-heading {
    margin-bottom: clamp(24px, 3vh, 38px);
}

.party-home-heading span {
    display: block;
    height: 0;
    overflow: visible;
    color: rgba(255, 255, 255, 0.14);
    font-size: clamp(44px, 5.2vw, 82px);
    font-weight: 800;
    line-height: 0.8;
    text-transform: uppercase;
    white-space: nowrap;
}

.party-home-heading h2 {
    position: relative;
    margin: 0;
    padding-bottom: 18px;
    color: #fff;
    font-size: clamp(34px, 2.7vw, 48px);
    font-weight: 700;
    line-height: 1.18;
}

.party-home-heading h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 92px;
    height: 4px;
    background: linear-gradient(90deg, #f5d07c, #fff0b8);
}

.party-home-swiper {
    height: clamp(350px, 24vw, 500px) !important;
    border: 1px solid rgba(255, 230, 170, 0.32);
    border-radius: 4px;
    background: rgba(100, 0, 0, 0.32);
    box-shadow: 0 24px 60px rgba(60, 0, 0, 0.24);
}

.party-feature-link {
    display: grid;
    grid-template-columns: minmax(0, 58%) minmax(280px, 42%);
    height: 100%;
    color: #fff;
    text-decoration: none;
}

.party-feature-link.no-image {
    grid-template-columns: minmax(0, 1fr);
}

.party-feature-image {
    height: 100%;
    min-width: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.party-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.party-feature-link:hover .party-feature-image img {
    transform: scale(1.04);
}

.party-feature-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(28px, 3vw, 48px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06));
}

.party-feature-date {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 18px;
    padding: 7px 12px;
    border: 1px solid rgba(245, 208, 124, 0.72);
    color: #ffe6a6;
    font-size: 13px;
    line-height: 1;
}

.party-feature-content h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(22px, 2vw, 34px);
    font-weight: 700;
    line-height: 1.35;
}

.party-feature-content p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
    line-height: 1.8;
}

.party-dots {
    bottom: 18px !important;
}

.party-dots .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.58);
}

.party-dots .swiper-pagination-bullet-active {
    background: #f5d07c;
}

.party-home-list-panel {
    align-self: end;
    overflow: hidden;
    border: 1px solid rgba(255, 230, 170, 0.32);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 50px rgba(60, 0, 0, 0.22);
}

.party-home-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 20px;
    background: linear-gradient(90deg, #8f1511, #c63935);
}

.party-home-list-header span {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.party-home-list-header a {
    color: #ffe6a6;
    font-size: 14px;
    text-decoration: none;
}

.party-home-list {
    max-height: 428px;
    overflow-y: auto;
}

.party-home-item {
    display: flex;
    gap: 16px;
    padding: 17px 20px;
    border-bottom: 1px solid rgba(198, 57, 53, 0.12);
    color: #222;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.party-home-item:last-child {
    border-bottom: none;
}

.party-home-item:hover {
    background: rgba(198, 57, 53, 0.07);
}

.party-home-item-date {
    flex: 0 0 54px;
    color: #c63935;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.party-home-item-body {
    min-width: 0;
}

.party-home-item-body strong {
    display: block;
    color: #222;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.45;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.party-home-item-body em {
    display: block;
    margin-top: 6px;
    color: #777;
    font-size: 13px;
    font-style: normal;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media screen and (min-width: 1200px) {
    .home-party-section.section {
        height: calc(100vh - 80px);
        min-height: 680px;
        padding: 0;
        display: flex;
        align-items: center;
        scroll-snap-align: start;
        scroll-margin-top: 80px;
    }

    .home-party-section .container {
        width: 100%;
        max-width: 1480px;
        padding-left: clamp(32px, 5vw, 92px);
        padding-right: clamp(32px, 5vw, 92px);
    }

    .party-home-layout {
        min-height: clamp(500px, 34vw, 620px);
    }

    .party-home-list-panel {
        margin-top: auto;
        margin-bottom: 18px;
    }
}

@media screen and (max-width: 1199px) {
    .home-party-section.section {
        padding: 56px 0;
    }

    .home-party-section .container {
        max-width: 960px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .party-home-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .party-home-heading span {
        display: none;
    }

    .party-home-heading h2 {
        padding-bottom: 14px;
        font-size: 30px;
    }

    .party-home-swiper {
        height: auto !important;
        aspect-ratio: 16 / 9;
    }

    .party-home-list-panel {
        align-self: stretch;
    }

    .party-home-list {
        max-height: 360px;
    }
}

@media screen and (max-width: 767px) {
    .home-party-section.section {
        padding: 42px 0;
    }

    .party-home-heading {
        margin-bottom: 20px;
    }

    .party-home-heading h2 {
        font-size: 24px;
    }

    .party-home-swiper {
        aspect-ratio: auto;
        height: 460px !important;
    }

    .party-feature-link {
        display: flex;
        flex-direction: column;
    }

    .party-feature-image {
        flex: 0 0 52%;
    }

    .party-feature-content {
        flex: 1 1 auto;
        padding: 20px;
    }

    .party-feature-date {
        margin-bottom: 12px;
        font-size: 12px;
    }

    .party-feature-content h3 {
        font-size: 18px;
        line-height: 1.4;
    }

    .party-feature-content p {
        margin-top: 10px;
        font-size: 13px;
        line-height: 1.6;
    }

    .party-home-list-header {
        height: 48px;
        padding: 0 14px;
    }

    .party-home-list-header span {
        font-size: 15px;
    }

    .party-home-item {
        gap: 12px;
        padding: 14px;
    }

    .party-home-item-date {
        flex-basis: 48px;
        font-size: 16px;
    }

    .party-home-item-body strong {
        white-space: normal;
    }

    .party-home-item-body em {
        display: none;
    }
}

/* 首页项目中心 */
.home-projects.section {
    background: #fff;
}

.home-projects-main-wrapper {
    display: flex;
    align-items: stretch;
}

.home-projects-tabs {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 18px;
}

.home-projects-tab {
    min-width: 132px;
    height: 44px;
    padding: 0 22px;
    border: 0;
    background: #DCDCDC;
    color: var(--text-color);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.home-projects-tab.active,
.home-projects-tab:hover {
    background: var(--primary-color);
    color: #fff;
}

.home-projects-panel {
    display: none;
}

.home-projects-panel.active {
    display: block;
}

.home-projects-slider-box {
    min-width: 0;
    order: 2;
}

.home-projects .projects-slider-card a {
    display: block;
    width: 100%;
    height: 100%;
}

.home-projects .projects-slider-image {
    background: #f5f5f5;
}

.home-projects-sidebar {
    min-width: 0;
    background: #fff;
    order: 1;
}

.project-center-header {
    display: flex;
    align-items: stretch;
    width: 100%;
    gap: 2px;
    margin-bottom: 2px;
}

.project-center-title {
    flex: 1;
    min-width: 0;
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    font-weight: 600;
}

.project-center-more {
    flex: 0 0 110px;
    background: #DCDCDC;
    color: var(--text-color);
    text-align: center;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.project-center-more:hover {
    background: var(--primary-color);
    color: #fff;
}

.home-projects-list {
    background: #fff;
    overflow-y: auto;
}

.home-project-row {
    display: flex;
    gap: 14px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.home-project-row:hover {
    background-color: #f8f9fa;
}

.home-project-row:last-child {
    border-bottom: none;
}

.home-project-row-image {
    flex: 0 0 116px;
    height: 78px;
    overflow: hidden;
    background: #f5f5f5;
}

.home-project-row-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-project-row-content {
    flex: 1;
    min-width: 0;
}

.home-project-row-content h4 {
    margin: 0;
    color: var(--text-color);
    font-weight: 600;
}

.home-project-row-content h4 a {
    color: inherit;
    text-decoration: none;
}

.home-project-row-content h4 a:hover {
    color: var(--primary-color);
}

.home-project-row-content p {
    color: #888;
    margin: 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-project-row-content span {
    color: var(--lighter-text);
    display: block;
}

@media screen and (min-width: 1200px) {
    .home-projects.section {
        height: calc(100vh - 80px);
        min-height: 680px;
        padding: 0;
        display: flex;
        align-items: center;
        scroll-snap-align: start;
        scroll-margin-top: 80px;
    }

    .home-projects .container {
        width: 100%;
        max-width: 1480px;
        padding-left: clamp(32px, 5vw, 92px);
        padding-right: clamp(32px, 5vw, 92px);
    }

    .home-projects-main-wrapper {
        gap: clamp(38px, 4.5vw, 78px);
        height: clamp(430px, 25vw, 560px);
    }

    .home-projects-tabs {
        margin-bottom: clamp(16px, 2vh, 24px);
    }

    .home-projects-slider-box {
        flex: 0 0 56%;
        width: 56%;
    }

    .home-projects .projects-swiper {
        height: 100%;
        border-radius: 4px;
        overflow: hidden;
    }

    .home-projects-sidebar {
        flex: 1 1 auto;
        height: 100%;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .project-center-title,
    .project-center-more {
        height: 52px;
        line-height: 52px;
        font-size: 15px;
    }

    .home-projects-list {
        flex: 1 1 auto;
        min-height: 0;
    }

    .home-project-row {
        padding: 16px 18px;
    }

    .home-project-row-content h4 {
        font-size: 16px;
        line-height: 1.45;
    }

    .home-project-row-content p {
        font-size: 13px;
        line-height: 1.6;
    }

    .home-project-row-content span {
        font-size: 13px;
    }
}

@media screen and (max-width: 1199px) {
    .home-projects.section {
        padding: 42px 0;
    }

    .home-projects .container {
        max-width: 960px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .home-projects-main-wrapper {
        gap: 20px;
    }

    .home-projects-tabs {
        margin-bottom: 16px;
    }

    .home-projects-slider-box,
    .home-projects-sidebar {
        flex: 0 0 48%;
        width: 48%;
    }

    .home-projects .projects-swiper {
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .project-center-title,
    .project-center-more {
        height: 46px;
        line-height: 46px;
        font-size: 14px;
    }

    .home-projects-list {
        max-height: 320px;
    }

    .home-project-row {
        padding: 12px;
    }

    .home-project-row-image {
        flex-basis: 92px;
        height: 64px;
    }

    .home-project-row-content h4 {
        font-size: 14px;
        line-height: 1.4;
    }

    .home-project-row-content p,
    .home-project-row-content span {
        font-size: 12px;
    }
}

@media screen and (max-width: 767px) {
    .home-projects.section {
        padding: 36px 0;
    }

    .home-projects-main-wrapper {
        flex-direction: column;
        gap: 18px;
    }

    .home-projects-tabs {
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .home-projects-tab {
        flex: 0 0 auto;
        min-width: 104px;
        height: 40px;
        padding: 0 16px;
        font-size: 14px;
    }

    .home-projects-slider-box,
    .home-projects-sidebar {
        order: initial;
    }

    .home-projects-slider-box,
    .home-projects-sidebar {
        flex: none;
        width: 100%;
    }

    .project-center-more {
        flex-basis: 86px;
    }

    .home-projects-list {
        max-height: 340px;
    }
}

@media screen and (max-width: 480px) {
    .home-project-row-image {
        display: none;
    }
}
