/**
 * Shared SEO breadcrumb trail for route and flight SSR pages.
 * Inline list + ::after separators avoids mobile tap-target min-height bugs.
 */

.ej-breadcrumb {
    margin: 0 0 0.875rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--ej-breadcrumb-muted, #86868b);
}

.ej-breadcrumb__list {
    margin: 0;
    padding: 0;
    list-style: none;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    line-height: 1.35;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.ej-breadcrumb__list::-webkit-scrollbar {
    display: none;
}

.ej-breadcrumb__item {
    display: inline;
}

.ej-breadcrumb__item:not(:last-child)::after {
    content: "/";
    padding: 0 0.375rem;
    color: var(--ej-breadcrumb-muted, #86868b);
    opacity: 0.55;
    pointer-events: none;
}

.ej-breadcrumb__item a,
.ej-breadcrumb__item a:link,
.ej-breadcrumb__item a:visited {
    display: inline;
    min-height: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    color: var(--ej-breadcrumb-muted, #86868b);
    text-decoration: none;
    white-space: nowrap;
    line-height: inherit;
    -webkit-tap-highlight-color: transparent;
}

.ej-breadcrumb__item a:hover {
    color: var(--ej-breadcrumb-text, #1d1d1f);
}

.ej-breadcrumb__item--trail {
    color: var(--ej-breadcrumb-text, #1d1d1f);
}

.ej-breadcrumb__item--trail a {
    display: inline;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    color: var(--ej-breadcrumb-text, #1d1d1f);
}

@media (max-width: 639px) {
    .ej-breadcrumb {
        margin-bottom: 0.5rem;
    }
}
