.breadcrumb {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 28px;
    margin: 0;
    font-size: 13px;
    font-weight: normal;
    line-height: 28px;
    text-align: left;
    color: inherit;
}
.breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
}
.breadcrumb li {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}
.breadcrumb li + li::before {
    content: "›";
    flex: none;
    padding: 0 6px;
    opacity: .6;
}
.breadcrumb li:first-child { flex-shrink: 0; }
.breadcrumb li::after { content: none; }
.breadcrumb a {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    color: inherit;
    opacity: .8;
    text-decoration: none;
}
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.breadcrumb li[aria-current="page"] {
    display: block;
    flex: 0 1 auto;
    max-width: 23em;
    overflow: hidden;
    text-overflow: ellipsis;
}
.breadcrumb li[aria-current="page"]::before { display: inline; }
.theme-dark .breadcrumb, .dark-mode .breadcrumb { color: #ddd; }
.theme-white .breadcrumb { color: #666; }
@media (min-width: 768px) {
    /* 预留现有固定导航的高度，不给面包屑本身增加外边距。 */
    body.use-navbar.has-breadcrumbs #body { padding-top: 0; }
    body.use-navbar.has-breadcrumbs.no-banner #wrap { padding-top: 5.5rem; }
    body.use-navbar.breadcrumb-in-banner #masthead .inner { padding-top: 5.5rem; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    body.use-navbar.has-breadcrumbs.no-banner #wrap { padding-top: 9.5rem; }
    body.use-navbar.breadcrumb-in-banner #masthead .inner { padding-top: 9.5rem; }
}
@media (max-width: 767px) {
    body.breadcrumb-in-banner #body { padding-top: 0; }
    body.breadcrumb-in-banner #masthead .inner { padding-top: 7rem; }
    .breadcrumb { font-size: 12px; }
    .breadcrumb li[aria-current="page"] { max-width: 21em; }
    .breadcrumb li + li::before { padding: 0 4px; }
}
