/**
 * Elementor Breadcrumb 优化样式
 */

.custom-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
    line-height: 1.6;
    padding: 12px 0;
    color: #666;
}

.custom-breadcrumb span[property="itemListElement"] {
    display: inline-flex;
    align-items: center;
}

/* 链接样式 */
.custom-breadcrumb a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 2px 0;
}

.custom-breadcrumb a:hover {
    color: #0073aa;
}

.custom-breadcrumb a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #0073aa;
    transition: width 0.3s ease;
}

.custom-breadcrumb a:hover::after {
    width: 100%;
}

/* 首页图标 */
.custom-breadcrumb .home i {
    margin-right: 4px;
    font-size: 13px;
}

/* 分隔符样式 */
.custom-breadcrumb .separator {
    margin: 0 8px;
    color: #999;
    opacity: 0.7;
    font-weight: 300;
    user-select: none;
}

/* 当前项样式（非链接） */
.custom-breadcrumb span[property="name"]:not(a span) {
    color: #666;
    font-weight: 500;
}

/* Schema 元数据隐藏 */
.custom-breadcrumb meta {
    display: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .custom-breadcrumb {
        font-size: 13px;
        padding: 10px 0;
    }
    
    .custom-breadcrumb .separator {
        margin: 0 6px;
    }
}

@media (max-width: 480px) {
    .custom-breadcrumb {
        font-size: 12px;
        padding: 8px 0;
    }
    
    .custom-breadcrumb .separator {
        margin: 0 4px;
    }
}

/* 打印样式 */
@media print {
    .custom-breadcrumb {
        color: #000;
    }
    
    .custom-breadcrumb a {
        color: #000;
        text-decoration: underline;
    }
    
    .custom-breadcrumb a::after {
        display: none;
    }
}
