
.header-box{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    background-color: #fff;box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
}
.header-nav{
    width: 1150px;height: 70px;margin: 0 auto;display: flex;align-items: center;
}
.header-nav .back-btn{
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
    margin-right: 15px;
    border-radius: 6px;
    cursor: pointer;
    color: #666;
}

.header-nav .back-btn:hover{
    background-color: #dc3545;
    color: #fff;
}

.header-nav .active{
    background-color: #dc3545;padding: 8px 16px;color: #fff;
}


.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;
}

.factory-list{
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.factory-card {
    padding: 16px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: all .3s ease;
    align-items: stretch;
    background: #fff;
    margin-bottom: 2px;
    position: relative;
}

.factory-card:last-child {
    border-bottom: none;
}

.factory-image{
    width: 160px;
    min-height: 120px;
    margin-right: 12px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    align-self: stretch;
}

.factory-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
}

.factory-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.factory-type {
    font-size: 13px;
    color: #dc3545;
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 3px;
}

.factory-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.factory-area,
.factory-location {
    font-size: 13px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}

.factory-price {
    text-align: right;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    min-width: 100px;
}

.price-text {
    font-size: 18px;
    font-weight: 700;
    color: #dc3545;
}

@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;*/
        padding: 15px 0;
    }
    .factory-image {
        /*width: 100%;*/
        /*height: 200px;*/
        object-fit: cover;
        margin-right: 0;
    }
    .factory-info{
        padding-left: 10px;
        flex: 1;
        overflow: hidden;
    }
    .factory-description{
        -webkit-line-clamp: 3;
        flex: none;
    }
    .factory-price {
        text-align: left;
        margin-left: 0;
        margin-top: 10px;
        min-width: auto;
    }
    .price-text{

        font-size: 14px;
    }
}

/* detial */
.cover {
    max-width: 1200px;
    margin: 0 auto;
    height: 360px;
    overflow: hidden;
    position: relative;
}

.cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cover-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
}

.cover-office-name {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    text-shadow: 2px 2px 0 #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 3px 3px 6px rgba(0, 0, 0, .3);
}

.cover-content {
    font-size: 20px;
    color: #222;
    font-weight: 700;
    text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 2px 2px 4px rgba(0, 0, 0, .2);
}

.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 {
    padding: 20px 20px 20px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-bottom: 1px solid #f0f0f0;
}

.detail-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    display: block;
    line-height: 1.3;
}

.section {
    padding: 30px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.section-bar {
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    margin-right: 12px;
    border-radius: 2px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-right: 12px;
}

.section-subtitle {
    font-size: 14px;
    color: #666;
    margin-left: auto;
}

.intro {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
}


.gallery{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-img{
    width: 100%;
    height: 180px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    transition: all .3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.policy-list{
    /*display: grid;*/
    /*grid-template-columns: 1fr 1fr;*/
    /*gap: 16px;*/
}

.policy-row{
    padding: 16px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    background: #fafafa;
    transition: all .3s ease;
    margin-bottom: 15px;
}

.policy-content{
    display: flex;
    align-items: center;
    gap: 12px;
}

.policy-title{
    color: #0d6efd;
    font-size: 14px;
    font-weight: 500;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    transition: color .3s;
}

.policy-date{
    color: #999;
    font-size: 12px;
    flex-shrink: 0;
}

.sidebar{
    /*background-color: #999;*/
}



/* dynamic */
.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%;
}

.detail-card{
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.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;
}

.introduction{
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.contents{
    color: #333;
    font-size: 15px;
    max-width: 100%;
}



