.ym-breadcrumbs {
  width: 100%;
  margin: 0 0 clamp(14px, 1.15vw, 22px);
  color: rgba(16, 35, 63, 0.62);
  font-size: clamp(12px, 0.78vw, 14px);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.01em;
}

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

.ym-breadcrumbs__item {
  min-width: 0;
  display: inline-flex;
  align-items: center;
}

.ym-breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin: 0 8px;
  color: rgba(16, 35, 63, 0.34);
}

.ym-breadcrumbs__link {
  color: inherit;
  text-decoration: none;
  transition: color var(--ym-transition), opacity var(--ym-transition);
}

.ym-breadcrumbs__link:hover {
  color: var(--ym-color-blue);
  opacity: 0.82;
}

.ym-breadcrumbs__current {
  max-width: min(58vw, 680px);
  display: inline-block;
  overflow: hidden;
  color: var(--ym-color-blue);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ym-articles-hero__heading,
.ym-media-hero__heading {
  min-width: 0;
}

.ym-articles-hero__heading .ym-breadcrumbs,
.ym-media-hero__heading .ym-breadcrumbs {
  margin-bottom: clamp(12px, 1vw, 18px);
}

.ym-blog-single__shell > .ym-breadcrumbs,
.ym-case-single__shell > .ym-breadcrumbs,
.ym-article-single-page .ym-breadcrumbs,
.ym-media-single-page .ym-breadcrumbs {
  margin-bottom: clamp(18px, 1.4vw, 26px);
}

@media (max-width: 900px) {
  .ym-breadcrumbs {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .ym-breadcrumbs__item:not(:last-child)::after {
    margin: 0 7px;
  }

  .ym-breadcrumbs__current {
    max-width: calc(100vw - 110px);
  }
}

@media (max-width: 480px) {
  .ym-breadcrumbs {
    margin-bottom: 12px;
    font-size: 11.5px;
  }

  .ym-breadcrumbs__current {
    max-width: calc(100vw - 86px);
  }
}
