/**
 * Хлебные крошки NEXTALIGNERS (includes/breadcrumbs.php).
 * Оформление перенесено из CLICKALIGNERS. Без фона и отступов: блок встаёт
 * туда, где на странице стоит шорткод [wpseo_breadcrumb].
 */

.next-breadcrumbs {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.next-breadcrumbs::-webkit-scrollbar {
    display: none;
}

.next-breadcrumbs-list {
    display: flex;
    align-items: center;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 8px;
    white-space: nowrap;
}

.next-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    line-height: 1.4;
    color: #64748b;
    margin: 0 !important;
    padding: 0 !important;
}

.next-breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: color 0.18s ease, background 0.18s ease;
    border-radius: 6px;
    padding: 2px 4px;
    margin: -2px -4px;
}

.next-breadcrumb-home-icon {
    display: inline-block;
    color: #94a3b8;
    transition: color 0.18s ease;
    flex-shrink: 0;
}

.next-breadcrumb-link:hover {
    color: var(--ast-global-color-0) !important;
    background: rgba(37, 99, 235, 0.05);
}

.next-breadcrumb-link:hover .next-breadcrumb-home-icon {
    color: var(--ast-global-color-0);
}

.next-breadcrumb-sep {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    line-height: 1;
    opacity: 0.8;
}

.next-breadcrumb-current {
    color: #1e293b;
    font-weight: 600;
    cursor: default;
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .next-breadcrumb-item {
        font-size: 12px;
        gap: 6px;
    }

    .next-breadcrumb-current {
        max-width: 200px;
    }
}
