/* 党群工作部分样式 */

.dangqun-section {
    margin: 10px 0;
    min-height: 400px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* 标题区域 - 修改为与专栏专题一致的样式 */
.dangqun-section .section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 15px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #fff; /* 改为白色背景 */
    color: #333;
    
}

.dangqun-section .title-text {
    font-size: 18px;
    font-weight: bold;
    position: relative;
    padding-left: 10px;
    color: #cc0000 !important;
}

/* 添加与专栏专题一致的左侧蓝色边框 */
.dangqun-section .title-text:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background-color: #cc0000; /* 从蓝色 #0066cc 改为红色 #cc0000 */
}

.dangqun-section .more-link {
    color: #999; /* 修改为灰色 */
    text-decoration: none;
    font-size: 14px;
    color: #cc0000;
    
}

/* 党群工作主体区域 */
.dangqun-main {
    display: flex;
    flex-direction: column; /* 修改为纵向排列 */
    flex: 1;
}

/* 修改导航标题间距

我将修改党群工作模块的导航标题之间的间距，使它们不会完全连在一起。

/* 导航区域 - 顶部导航 */
.dangqun-nav {
    width: 100%;
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 10px; /* 添加左右内边距 */
    justify-content: space-between; /* 均匀分布各项 */
}

.dangqun-nav-item {
    padding: 20px 15px; /* 增加上下内边距 */
    cursor: pointer;
    background-color: #fff0f0; /* 从淡蓝色 #f0f6ff 改为淡红色 #fff0f0 */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    border-right: none; /* 移除右边框 */
    margin: 10px 5px; /* 添加外边距 */
    border-radius: 4px; /* 添加圆角 */
    height: 60px; /* 设置固定高度 */
    box-sizing: border-box;
    
}

.dangqun-nav-item:last-child {
    border-right: none;
}

.dangqun-nav-item:hover, .dangqun-nav-item.active {
    background-color: #cc0000; /* 从蓝色 #0066cc 改为红色 #cc0000 */
    color: #fff;
}

.dangqun-nav-item img {
    width: 28px; /* 增大图标尺寸 */
    height: 28px; /* 增大图标尺寸 */
    margin-right: 10px;
}

.dangqun-nav-item h3 {
    margin: 0;
    font-size: 17px; /* 增大字体 */
    font-weight: 600;
}

/* 内容区域 */
.dangqun-content-area {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.dangqun-content-panel {
    display: none;
}

.dangqun-content-panel.active {
    display: block;
}

.dangqun-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 修改列表项样式，添加蓝色圆点 */
.dangqun-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #e0e0e0;
    position: relative;
    padding-left: 15px;
}

.dangqun-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 20px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #cc0000; /* 从蓝色 #0066cc 改为红色 #cc0000 */
}

.dangqun-list li:last-child {
    border-bottom: none;
}

/* 增大字体 */
.dangqun-list li a {
    color: #333;
    text-decoration: none;
    font-size: 16px; /* 增大字体 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 70%;
}

.dangqun-list li a:hover {
    color: #cc0000; /* 从蓝色 #0066cc 改为红色 #cc0000 */
}

.dangqun-list li span {
    color: #999;
    font-size: 14px; /* 增大日期字体 */
}

/* 响应式调整 */
@media (max-width: 992px) {
    .dangqun-nav {
        flex-wrap: wrap;
    }
    
    .dangqun-nav-item {
        width: 50%;
        flex: none;
        box-sizing: border-box;
        border-bottom: 1px solid #e0e0e0;
    }
}

@media (max-width: 768px) {
    .dangqun-nav-item {
        width: 100%;
    }
}