/* Site-wide breadcrumb trail (site/_breadcrumb.blade.php, built by
   BreadcrumbComposer). Site colors: brand #E32D44, text #5A5A67. Two variants:
   default (light bar on content pages) and .crumbs--on-dark (white, inside a
   red hero cover). */

.crumbs { display: block; }
.crumbs__list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 14px;
    line-height: 1.4;
}
.crumbs__item { display: inline-flex; align-items: center; min-width: 0; }
.crumbs__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #5A5A67;
    text-decoration: none;
    padding: 4px 9px;
    border-radius: 8px;
    transition: color .18s ease, background .18s ease;
    white-space: nowrap;
}
.crumbs__link:hover {
    color: #E32D44;
    background: rgba(227, 45, 68, .07);
    text-decoration: none;
}
.crumbs__link svg { flex: none; }
.crumbs__current {
    color: #E32D44;
    padding: 4px 9px;
    font-weight: 600;
    max-width: 46ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.crumbs__sep { color: #c7c7cf; flex: none; margin: 0 1px; }

/* on a red hero cover */
.crumbs--on-dark { position: relative; z-index: 2; }
.crumbs--on-dark .crumbs__list { margin-bottom: 0; }
.crumbs--on-dark .crumbs__link { color: rgba(255, 255, 255, .82); }
.crumbs--on-dark .crumbs__link:hover { color: #fff; background: rgba(255, 255, 255, .16); }
.crumbs--on-dark .crumbs__current { color: #fff; }
.crumbs--on-dark .crumbs__sep { color: rgba(255, 255, 255, .5); }

@media (max-width: 575px) {
    .crumbs__list { font-size: 13px; }
    .crumbs__current { max-width: 22ch; }
}
