.learning-path-breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 72px;
  padding-top: 16px;
}

.learning-path-breadcrumb a {
  display: inline-block;
  min-width: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.45;
  transition: color 180ms ease;
}

.learning-path-breadcrumb a:hover,
.learning-path-breadcrumb a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.learning-path-breadcrumb .material-symbols-outlined { color: rgb(255 255 255 / 72%); font-size: 16px; }
.learning-path-breadcrumb__expand { display: none; }

@media (max-width: 1023px) {
  .learning-path-breadcrumb a { display: inline-flex; min-height: var(--tap-min); align-items: center; }
}

@media (max-width: 767px) {
  .learning-path-breadcrumb {
    width: 100%;
    max-width: none;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    margin-bottom: var(--learning-section-space);
    padding-bottom: 3px;
    scrollbar-width: none;
  }
  .learning-path-breadcrumb::-webkit-scrollbar { display: none; }
  .learning-path-breadcrumb__expand {
    display: inline-flex;
    min-width: var(--tap-min);
    max-width: var(--tap-min);
    min-height: var(--tap-min);
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    color: #fff;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    overflow: hidden;
    transition: max-width 320ms ease, min-width 320ms ease, opacity 220ms ease, transform 320ms ease;
  }
  .learning-path-breadcrumb > a:not(:last-of-type),
  .learning-path-breadcrumb > .material-symbols-outlined:not(:last-of-type) { max-width: 0; overflow: hidden; opacity: 0; transform: translateX(10px); transition: max-width 320ms ease, opacity 220ms ease, transform 320ms ease; }
  .learning-path-breadcrumb > .material-symbols-outlined:last-of-type { display: inline-flex; flex: 0 0 auto; margin-inline: 8px; }
  .learning-path-breadcrumb.is-expanded > a:not(:last-of-type) { max-width: 300px; opacity: 1; transform: translateX(0); }
  .learning-path-breadcrumb.is-expanded > .material-symbols-outlined:not(:last-of-type) { min-width: 18px; max-width: 18px; flex: 0 0 18px; margin-inline: 8px; opacity: 1; transform: translateX(0); }
  .learning-path-breadcrumb.is-expanded .learning-path-breadcrumb__expand { min-width: 0; max-width: 0; opacity: 0; pointer-events: none; transform: translateX(-8px); }
  .learning-path-breadcrumb a { display: inline-flex; min-height: var(--tap-min); flex: 0 0 auto; align-items: center; font-size: 12px; white-space: nowrap; }
}
