/* ============================================================
   BREADCRUMBS
   ============================================================ */

.breadcrumbs-section {
    background: transparent;
    padding: 17px 0;
    margin-bottom: 0 !important;
    position: relative;
    z-index: 10;
}

/* Когда хлебные крошки идут перед dealer-героем —
   герой подлезает под крошки, картинка заходит за них */
.breadcrumbs-section + .hero-wrap .hero--dealer,
.hero--dealer.hero--has-breadcrumbs {
    margin-top: -54px;
}

.breadcrumbs-section + .hero-wrap .hero--dealer .hero__container {
    padding-top: 70px; /* компенсируем, чтобы контент не уходил под крошки */
}

.breadcrumbs {
    /* nav-обёртка */
}

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

.breadcrumbs__item {
    display: flex;
    align-items: center;
    font-family: 'Mulish', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
}

/* Разделитель "/" после каждого элемента кроме последнего */
.breadcrumbs__item:not(.breadcrumbs__item--current)::after {
    content: "/";
    margin: 0 8px;
    color: rgba(136, 136, 136, 1);
    font-family: 'Mulish', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
}

/* Ссылки (не последний элемент) */
.breadcrumbs__link {
    color: rgba(136, 136, 136, 1);
    text-decoration: none;
    font-family: 'Mulish', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    transition: color 0.2s ease;
}

.breadcrumbs__link:hover {
    color: rgba(27, 27, 27, 1);
    text-decoration: underline;
}

/* Текущая страница (последний элемент) */
.breadcrumbs__link--current {
    color: rgba(27, 27, 27, 1);
    text-decoration: underline;
    text-decoration-style: solid;
    text-underline-offset: 2px;
    cursor: default;
}