/* 主要信息区域样式 */
.main-info {
    margin: 10px 0;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    padding: 15px 10px; /* 调整左右内边距 */
}

.info-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap; /* 修改为不换行 */
    width: 100%;
}

.info-column {
    flex: 1; /* 修改为flex: 1让三个板块平均分配空间 */
    padding: 0 10px; /* 添加内边距 */
    box-sizing: border-box;
    min-width: 0; /* 确保flex项可以缩小到比内容更小 */
}

.info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.info-title {
    font-size: 18px;
    font-weight: bold;
    color: #0056b3;
    position: relative;
    padding-left: 10px;
}

.info-title:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 18px;
    background-color: #0056b3;
}

/* 信息公开和党群工作列表样式 */
.info-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.info-list li {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    position: relative;
    padding-left: 15px;
    line-height: 1.4;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li:before {
    content: '•';
    color: #0056b3;
    position: absolute;
    left: 0;
    top: 8px;
    font-size: 16px;
    line-height: 1;
}

.info-list li a {
    display: inline-block;
    width: calc(100% - 95px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
    color: #333;
    text-decoration: none;
}

.info-list li a:hover {
    color: #0056b3;
}

.info-list li span {
    display: inline-block;
    width: 85px;
    text-align: right;
    color: #999;
    font-size: 14px;
    white-space: nowrap;
}

/* 院内工作卡片样式 */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.info-card {
    flex: 0 0 48%;
    margin-bottom: 10px;
    text-align: center;
    padding: 10px 5px;
    border-radius: 5px;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.card-icon {
    width: 50px; /* 减小图标尺寸 */
    height: 50px;
    margin: 0 auto 5px; /* 减小底部间距 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-title {
    font-size: 14px; /* 减小字体大小 */
    color: #333;
    margin-top: 5px;
}

/* 响应式样式调整 */
@media screen and (max-width: 992px) {
    .info-row {
        flex-wrap: wrap; /* 平板尺寸下允许换行 */
    }
    
    .info-column {
        flex: 0 0 49%;
        margin-bottom: 20px;
    }
    
    .info-column:last-child {
        flex: 0 0 100%;
    }
}

@media screen and (max-width: 768px) {
    .info-column {
        flex: 0 0 100%;
    }
    
    .info-list li a {
        width: calc(100% - 85px);
        font-size: 14px;
    }
    
    .info-list li span {
        font-size: 12px;
    }
    
    .info-card {
        flex: 0 0 48%;
    }
}

@media screen and (max-width: 576px) {
    .info-card {
        flex: 0 0 100%;
    }
}