.ekr-titlebar{
    position: relative;
    height: 310px;              /* 你截图更扁一点 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    /* Full width breakout */
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    max-width: 100vw;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url('../images/title-banner-bg.webp');
}

.ekr-titlebar__overlay{
    position: absolute;
    inset: 0;
    background: #000;
    pointer-events: none;
}

.ekr-titlebar__inner{
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 26px 20px;
    color: #fff;
}

.ekr-titlebar__inner--boxed{
    width: 500px;
    margin: 0 auto;
}

.ekr-titlebar__inner--full{
    max-width: none;
    margin: 0;
}

.ekr-titlebar__title{
    margin: 0;
    padding: 18px 0 10px;  /* 给上下留空间 */
    position: relative;

    font-family: Arial;
    font-weight: 700;
    font-size: 32px;
    color: #fff;
    line-height: 40px;

    display: inline-block;     /* ✅ 关键：让伪元素基于标题宽度居中 */
    text-shadow: 0 2px 12px rgba(0,0,0,.35);
    width: 100%;
    text-align: left;
}

/* 上面：短线 4px，居中 */
.ekr-titlebar__title::before{
    content: "";
    width: 90px;               /* ✅ 短线长度可调 */
    height: 4px;               /* ✅ 4px */
    background: rgba(255,255,255,.92);
    border-radius: 3px;
    display: block;
    margin-bottom: 6px;
}

/* 下面：长线 2px，居中（略长于标题视觉） */
.ekr-titlebar__title::after{
    content: "";
    display: block;
    margin: 10px auto 0;       /* ✅ 居中 */
    width: 100%;              /* ✅ 长线长度可调 */
    height: 2px;               /* ✅ 2px */
    background: rgba(255,255,255,.92);
    border-radius: 2px;
}

/* 面包屑容器：不要继承 center，对齐到右边 */
.ekr-bc{
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content: flex-end;   /* ✅ 右对齐 */
}

/* list 保持 inline-flex 就行 */
.ekr-bc__list{
    list-style: none;
    margin: 0;
    padding: 0;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-size: 18px;
    line-height: 1.2;
    opacity: .95;
}


.ekr-bc__item{
    display: inline-flex;
    align-items: center;
    font-family: Arial;
    font-weight: 400;
    font-size: 18px;
    color: #FFFFFF;
    line-height: 1.2;
}

.ekr-bc__item::after{
    content: ">";
    margin-left: 8px;
    opacity: .7;
}

.ekr-bc__item:last-child::after{
    content: "";
    margin: 0;
}

.ekr-bc__link{
    color: #fff;
    text-decoration: none;
    opacity: .92;
}

.ekr-bc__link:hover{
    text-decoration: underline;
    opacity: 1;
}

.ekr-bc__current{
    color: #ff3b30; /* 最后一项红色 */
    font-weight: 700;
}
.ekr-titlebar__inner{
    text-align: center; /* 标题居中 */

}

.ekr-bc{
    text-align: right;  /* 即使有继承也强制右 */
}

/* ===== Responsive ===== */
@media (max-width: 900px){
    .ekr-titlebar{
        min-height: 150px;
    }
    .ekr-titlebar__inner{
        padding: 22px 16px;
    }
    .ekr-titlebar__title{
        font-size: 22px;
        gap: 6px;
    }
}
