/**
 * Breadcrumb Component
 *
 * Renders an ordered list of ancestor links built by the PHP Breadcrumb helper.
 * Separators are rendered in markup with aria-hidden to keep them out of
 * the accessibility tree.
 */

.breadcrumb {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
}

/* ── List ─────────────────────────────────────────────────────────────────── */

.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ── Items ────────────────────────────────────────────────────────────────── */

.breadcrumb__item {
    align-items: center;
    color: inherit;
    display: flex;
    font-size: .8125rem;
    font-weight: 400;
    line-height: 1.4;
    position: relative;
}

/* Separator between items */
.breadcrumb__separator {
    margin-inline: .25rem;
    speak: none;
}

/* ── Links ────────────────────────────────────────────────────────────────── */

.breadcrumb__link {
    color: inherit;
    text-decoration: none;
}

.breadcrumb__link:focus-visible {
    outline: 2px solid currentcolor;
    outline-offset: 2px;
    border-radius: 2px;
    opacity: 1;
}

/* ── Current page (last item — not a link) ───────────────────────────────── */

.breadcrumb__current {
    opacity: 1;
}