/**
 * 面包屑导航增强样式
 * Enhanced Breadcrumb Navigation Styles
 */

/* 面包屑容器优化 */
.location {
    background: white;
    padding: 20px 0;
    margin-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.location h3 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
}

.location h3:before {
    content: '';
    width: 4px;
    height: 28px;
    background: linear-gradient(180deg, #0085cd, #00b4d8);
    margin-right: 12px;
    border-radius: 2px;
}

/* 面包屑路径样式 */
.sitepath {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0;
}

.sitepath .eytb {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230085cd"><path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/></svg>') no-repeat center;
    background-size: contain;
    vertical-align: middle;
    margin-right: 5px;
}

.sitepath a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
    padding: 4px 8px;
    border-radius: 4px;
    position: relative;
}

.sitepath a:hover {
    color: #0085cd;
    background: rgba(0, 133, 205, 0.08);
}

.sitepath a:after {
    content: '›';
    margin-left: 10px;
    color: #ccc;
    font-weight: 700;
    font-size: 16px;
}

.sitepath a:last-of-type:after {
    display: none;
}

.sitepath span,
.sitepath em {
    color: #0085cd;
    font-weight: 600;
    font-style: normal;
    padding: 4px 8px;
    background: rgba(0, 133, 205, 0.08);
    border-radius: 4px;
}

/* 浮动位置调整 */
.sitepath.fr {
    margin-top: -8px;
}

/* 响应式设计 */
@media (max-width: 991px) {
    .location {
        padding: 18px 0;
    }

    .location h3 {
        font-size: 24px;
    }

    .location h3:before {
        height: 24px;
    }

    .sitepath {
        font-size: 13px;
        margin-top: 0 !important;
    }
}

@media (max-width: 767px) {
    .location {
        padding: 15px 0;
        margin-bottom: 20px;
    }

    .location h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .location h3:before {
        width: 3px;
        height: 20px;
        margin-right: 10px;
    }

    .sitepath {
        font-size: 12px;
        width: 100% !important;
        float: none !important;
        margin-top: 8px !important;
        gap: 5px;
    }

    .sitepath .eytb {
        width: 16px;
        height: 16px;
        margin-right: 3px;
    }

    .sitepath a,
    .sitepath span,
    .sitepath em {
        padding: 3px 6px;
        font-size: 12px;
    }

    .sitepath a:after {
        margin-left: 5px;
        font-size: 14px;
    }
}

/* 产品详情页特定样式 */
.cpright .location {
    border-radius: 8px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.cpright .location h3 {
    font-size: 32px;
}

@media (max-width: 767px) {
    .cpright .location {
        padding: 18px 15px;
    }

    .cpright .location h3 {
        font-size: 22px;
    }
}

/* 新闻、案例页面样式 */
.content .location {
    margin-bottom: 30px;
}

/* 打印样式 */
@media print {
    .sitepath .eytb {
        display: none;
    }

    .sitepath a:after {
        content: ' / ';
        margin: 0 5px;
    }

    .location {
        border-bottom: 1px solid #ddd;
        padding: 10px 0;
    }
}
