.filter-section{
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    font-size: 14px;
}

.filter-row{

}

.filter-label{
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-right: 15px;
    min-width: 60px;
}

.filter-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    flex: 1;
}

.filter-tag{
    text-decoration: none;
    color: #666;
    background-color: #f5f5f5;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

.filter-tag:hover {
    background: #E9ECEF;
    color: #666;
}

.filter-expand{
    padding: 8px 16px;
    background: #007bff;
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all .3s ease;
    flex-shrink: 0 /* 不缩小 */;
}

.filter-expand:hover,
.filter-expand:visited,
.filter-expand:link,
.filter-expand:active
{
    color: #fff;
}

.filter-tag.active {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

.policy-list{
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.policy-card{
    display: flex;
    flex-direction: column;
    padding: 0;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all .3s ease;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .05);
}

.policy-card-header{
    display: flex;
    align-items: flex-start;
    padding: 20px;
    gap: 15px;
    background: linear-gradient(135deg, #f8f9fa, #fff);
    border-bottom: 1px solid #f0f0f0;
}

.policy-icon{
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dc3545, #c82333);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(220, 53, 69, .2);
}

.policy-title-wrapper{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.policy-title{
    font-size: 17px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.5;
    display: block;
    word-break: break-word;
}

.policy-badges{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.policy-badge{
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
    display: inline-block;
    white-space: nowrap;
}

.source-badge{
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
}

.policy-card-body{
    padding: 15px 20px;
    background: #fff;
}

.policy-description{
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.policy-card-footer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: #f8f9fa;
    border-top: 1px solid #f0f0f0;
}

.policy-meta-left{
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-date{
    font-size: 13px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 4px;
}

.policy-meta-right{
    font-size: 13px;
    color: #dc3545;
    font-weight: 500;
    transition: all .3s;
}

@media (max-width: 768px) {
    .filter-label {
        font-size: 14px;
        min-width: 40px;
    }
    .filter-tag {
        font-size: 13px;
        padding: 6px 12px;
    }
    .factory-card{
        flex-direction: column;
    }
    .factory-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
        margin-right: 0;
        margin-bottom: 15px;
    }
    .factory-price {
        text-align: left;
        margin-left: 0;
        margin-top: 10px;
    }
}

/* detial */
.detail-page{
    background: #fff;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    overflow: hidden;
}

.policy-detail{
    padding: 15px;
    background: #f8f9fa;
    min-height: 100%;
}

.content-detail{
    /*margin-top: 15px;*/
}

.detail-card{
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.breadcrumb-wrapper{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb-wrapper .item{
    cursor: pointer ;
    padding: 4px 8px;
    color: rgb(13, 110, 253) ;
    font-size: 14px;
}

.detail-header-nav{
    padding: 10px 20px ;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-bottom: 1px solid #f0f0f0;
}

.detail-header {
    padding: 20px 20px 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.detail-header .title {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.meta-row{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    color: #666;
}

.meta-item{
    font-size: 13px;
}

.detail-body{
    padding: 20px;
    line-height: 1.8;
    color: #333;
    font-size: 15px;
}