body{
    max-width: 100vw !important;
    overflow-x: hidden;
}
/* 园林党建页面样式 */
.main-content {
    min-height: 600px;
    background-color: #f8f9fa;
}

/* 标签页导航样式 */
.tabs-navigation {
    background: white;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 0;
}

.tab-nav-list {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
}

.tab-nav-btn {
    background: transparent;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.tab-nav-btn:hover {
    color: #d32f2f;
    background-color: #f8f9fa;
}

.tab-nav-btn.active {
    color: #d32f2f;
    border-bottom-color: #d32f2f;
    background-color: white;
    font-weight: 600;
}

/* 面包屑导航 */
.breadcrumb-nav {
    padding: 10px 0;
    color: #666;
    font-size: 14px;
    cursor: pointer;
}

.breadcrumb-item {
    color: #666;
}

.breadcrumb-item.active {
    color: #38A660;
    font-weight: 500;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #ccc;
}

/* 标签页内容区域 */
.tab-content {
    background: white;
    overflow: hidden;
    padding: 0px;
}

/* 党建内容区域 */
.party-content {
    padding: 10px 40px;
}

.party-section {
 
    
}

/* 章节标题 */
.section-title {
    color: #4f4f4f;
    font-size: 18px;
    font-weight: 700;
    font-family: PingFangSC-regular;
    margin: 0 0 20px 0;
    border-left: 4px solid #38A660;
    padding-left: 10px;
    position: relative;
}



/* 活动标题 */
.activity-title {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    font-family: PingFangSC-regular;
    margin: 30px 0 15px 0;
    line-height: 1.4;
}

/* 文本内容 */
.content-text {
    line-height: 1.8;
    color: #444;
    font-size: 15px;
    margin-bottom: 20px;
}

.content-text p {
    margin-bottom: 15px;
    text-indent: 2em;
    font-size: 15px;
    line-height: 28px;
    font-family: PingFangSC-regular;
}

.content-text p:last-child {
    margin-bottom: 0;
}

/* 活动区域 */
.activity-section {
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.activity-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* 单张图片 */
.activity-image {
    text-align: center;
    margin: 10px 0;
}

.activity-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.activity-image .image-caption {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
    font-style: italic;
}

/* 多张图片 */
.activity-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 10px 0;
}

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

.image-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.image-item .image-caption {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
    font-style: italic;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tab-nav-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .party-content {
        padding: 20px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .activity-title {
        font-size: 16px;
    }
    
    .content-text {
        font-size: 14px;
    }
    
    .activity-images {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .image-item img {
        height: 180px;
    }
    
    /* 活动卡片响应式 */
    .activity-header {
        flex-direction: column;
    }
    
    .activity-info {
        margin-bottom: 0px;
    }
    
    .activity-image-preview {
        width: 100%;
    }
    
    .activity-image-preview img {
        width: 100%;
        height: 200px;
    }
    
    .activity-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .activity-meta span {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .tab-nav-list {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-nav-btn {
        white-space: nowrap;
        min-width: 100px;
    }
    
    .party-content {
        padding: 0px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .activity-title {
        font-size: 15px;
    }
    
    .content-text {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .content-text p {
        text-indent: 1.5em;
    }
    
    .image-item img {
        height: 160px;
    }
    
    .activity-image-preview img {
        height: 150px;
    }
    
    .activity-summary {
        font-size: 13px;
        line-height: 1.5;
    }
}

/* 活动图文列表样式 */
.activity-list {
 
}

.activity-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #f0f0f0;
}

.activity-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-2px);
    border-color: #38A660;
}

.activity-header {
    display: flex;
    padding: 20px;
    gap: 20px;
    align-items: flex-start;
}

.activity-info {
    flex: 1;
}

.activity-title {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.activity-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.activity-meta span {
    font-size: 13px;
    color: #666;
    padding: 4px 8px;

    display: inline-flex;
    align-items: center;
}

.activity-date {
    background: #e8f5e8 !important;
    color: #38A660 !important;
    font-weight: 500;
}

.activity-category {
    background: #e3f2fd !important;
    color: #1976d2 !important;
}

.activity-participants {
    background: #fff3e0 !important;
    color: #f57c00 !important;
}

.activity-summary {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.activity-image-preview {
    width: 150px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

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

.activity-card:hover .activity-image-preview img {
    transform: scale(1.05);
}

.activity-detail {
    padding: 0 20px 20px;
    border-top: 1px solid #f0f0f0;
    margin-top: 10px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 1000px;
    }
}

.activity-detail .content-text {
    margin-top: 15px;
    margin-bottom: 15px;
}

.activity-detail .activity-images {
    margin-top: 20px;
}

/* 添加党建活动列表样式 */
.activity-list {
 
}
.activity-item {
    display: flex;
    background: #fff;
    margin-bottom: 5px;
    padding: 16px;
    align-items: flex-start;
    transition: all 0.3s ease;
    cursor: pointer;
}
.activity-item:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #f9f9f9;
}
.activity-img {
    overflow: hidden;
    border-radius: 4px;
}
.activity-img img {
    width: 220px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.5s ease;
}
.activity-item:hover .activity-img img {
    transform: scale(1.05);
}
.activity-info {
    flex: 1;
    margin-left: 24px;
}
.activity-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
    transition: color 0.3s ease;
}
.activity-item:hover .activity-title {
    color: #38a660;
}
.activity-summary {
    color: #555;
    margin-bottom: 12px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.activity-meta {
    color: #888;
    font-size: 14px;
}
.activity-pagination {
    text-align: center;
    margin-top: 16px;
}
.activity-pagination button {
    margin: 0 8px;
    padding: 4px 16px;
    border: 1px solid #ccc;
    background: #f8f8f8;
    border-radius: 4px;
    cursor: pointer;
}
.activity-pagination button:disabled {
    color: #aaa;
    border-color: #eee;
    background: #fafafa;
    cursor: not-allowed;
}

/* 活动列表响应式优化 */
@media (max-width: 992px) {
    /* 平板端样式 */
    .activity-item {
        padding: 12px;
    }
    .activity-img img {
        width: 180px;
        height: 100px;
    }
    .activity-info {
        margin-left: 16px;
    }
    .activity-title {
        font-size: 16px;
        margin-bottom: 6px;
    }
    .activity-summary {
        font-size: 14px;
        -webkit-line-clamp: 2;
        margin-bottom: 8px;
    }
}

@media (max-width: 768px) {
    /* 手机端样式 */
    .activity-item {
        flex-direction: column;
        padding: 10px;
        position: relative;
    }
    .activity-img {
        width: 100%;
        margin-bottom: 12px;
    }
    .activity-img img {
        width: 100%;
        height: 160px;
    }
    .activity-info {
        margin-left: 0;
    }
    .activity-title {
        font-size: 16px;
    }
    .activity-meta {
        display: flex;
        flex-direction: row;
    }
    .activity-meta span {
        margin-bottom: 4px;
        margin-right: 0px !important;
    }
    .activity-meta span:last-child {
        margin-left: 0 !important;
    }
    
    /* 分页器在手机端的样式 */
    .pagination .page-text {
        display: none;
    }
    .pagination .page-item:not(.active):not(:first-child):not(:last-child) {
        display: none;
    }

    .mobile-indicator {
        display: flex;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
}

.activity-meta span {
    color: #888;
    font-size: 14px;
    margin-right: 20px;
}

.meta-date i, .meta-dept i {
    margin-right: 5px;
    color: #38a660;
}

.mobile-indicator {
    display: none;
    color: #38a660;
    font-size: 18px;
    align-items: center;
}
