/* 政策法规页面专用样式 */




/* 标题部分 */
.title-section {
    margin-top: 10px;
    position: relative;
}

.title-section h1 {
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.title-line {
    width: 50px;
    height: 2px;
    background-color: white;
    margin-top: 10px;
}

/* 标题背景 */
.title-bg {
    display: none;
}




/* 政策法规列表样式 */
.policy-list {
    margin-top: 0;
}

.policy-item {
    background-color: #f8f9fa;
    border: none;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    height: 120px;
    box-sizing: border-box;
}

.policy-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: #f0f0f0;
    border: none;
}

/* 政策法规日期样式 */
.policy-date {
    /* background-color: #d9534f; */
    /* color: white; */
    padding: 10px;
    border-radius: 0;
    text-align: center;
    margin-right: 15px;
    min-width: 60px;
    flex-shrink: 0;
    border-right: 1px solid #D20B17;
}

.date-day {
    display: block;
    color: #D20B17;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    text-align: right;
}

.date-year {
    display: block;
    font-size: 12px;
    margin-top: 5px;
    color: #333333;
}

/* 政策法规内容样式 */
.policy-content {
    flex: 1;
    margin-right: 15px;
}

.policy-category {
    color: orange;
    font-size: 12px;
    margin-bottom: 5px;
}

.policy-title {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 政策法规分享样式 */
.policy-share {
    margin-left: auto;
    flex-shrink: 0;
    color: #999;
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.share-icon {
    cursor: pointer;
    transition: color 0.3s ease;
}

.share-icon:hover {
    color: #d82b2b;
}



/* 响应式设计 - 适配三端 */
@media (max-width: 1200px) {
    
    .policy-item {
        height: auto;
        min-height: 120px;
    }
}

@media (max-width: 768px) {
    /* 平板设备 - 768px */
    .policy-banner {
        height: 250px;
    }
    
    /* 内容区改为单列显示 */
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .policy-item {
        height: auto;
        min-height: 120px;
    }
}

@media (max-width: 375px) {
    
    .title-section h1 {
        font-size: 20px;
    }
    
    /* 卡片宽度自适应，单列堆叠 */
    .policy-item {
        height: auto;
        min-height: 100px;
        padding: 10px;
    }
    
    /* 日期和标题缩小 */
    .date-day {
        font-size: 20px;
    }
    
    .date-year {
        font-size: 9px;
    }
    
    .policy-title {
        font-size: 12px;
    }
}
