/* breadcrumbs.css - styled as an extension of the header (uses header.css variables) */

.omni-breadcrumbs {
    margin: 0;
    padding: 8px 30px;                         /* matches header side padding */
    background-color: var(--header-background);
    color: var(--header-text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.85rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.omni-breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.5rem;
    max-width: 1100px;                         /* matches .header-center */
    margin: 0 auto;
    padding: 0;
}

.omni-breadcrumbs li {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

/* Separator lives in CSS, not markup; "/ ''" hides it from screen readers */
.omni-breadcrumbs li + li::before {
    content: "\203A";
    content: "\203A" / "";
    margin-right: 0.5rem;
    color: var(--nav-button-hover-background);
}

.omni-breadcrumbs a {
    color: var(--menu-link-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.omni-breadcrumbs a:hover,
.omni-breadcrumbs a:focus-visible {
    color: var(--menu-dropdown-item-hover-color);
    text-decoration: underline;
}

.omni-breadcrumbs [aria-current="page"] {
    color: var(--header-text-color);
    font-weight: 600;
    max-width: 40ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Inline variant: placed inside a page's own content column */
.omni-breadcrumbs.is-inline {
    padding: 0 0 12px;
    background-color: transparent;
}

.omni-breadcrumbs.is-inline ol {
    max-width: none;
    margin: 0;
}

/* titleoverview.php-style pages: content starts flush under the fixed
   horizontal menu, so nudge the trail clear of its bottom edge */
.game-content-wrapper .omni-breadcrumbs.is-inline {
    margin-top: 15px;
}

@media (max-width: 768px) {
    .omni-breadcrumbs {
        padding: 6px 10px;                     /* matches mobile header padding */
    }
}