@use "../../styles/colors" as colors;
@use "../../styles/fonts" as fonts;
@use "../../styles/variables" as vars;

.breadcrumbs {
  margin-bottom: vars.$space-m;

  &__list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: vars.$space-s;
  }

  &__item {
    display: flex;
    align-items: center;
    gap: vars.$space-s;
    font-size: fonts.$font-size-s;

    &--active {
      .breadcrumbs__text {
        color: colors.$breadcrumb-item-active-color;
      }
    }
  }

  &__link {
    color: colors.$breadcrumb-item-active-color;
    text-decoration: none;

    &:hover {
      text-decoration: underline;
    }
  }

  &__text {
    color: colors.$white;
  }

  &__separator {
    color: colors.$breadcrumb-item-separator;
  }
}
