.cma-breadcrumbs {
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
  font-size: calc(var(--e-global-typography-text-font-size) * .9);
  font-weight: var(--e-global-typography-text-font-weight);
  line-height: var(--e-global-typography-text-line-height);
  color: #000;
  margin-bottom: 1em;
}

.cma-breadcrumbs ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5em;
}

.cma-breadcrumbs li {
  display: inline-flex;
  align-items: center;
}

.cma-breadcrumbs li:not(.cma-breadcrumbs-prefix):not(:last-child)::after {
  content: "›";
  opacity: .5;
  margin: 0 0 0 6px;
  font-size: calc(var(--e-global-typography-text-font-size) * 1.1);
}

.cma-breadcrumbs li:last-child::after {
  content: "";
}

.cma-breadcrumbs li a {
  text-decoration: none;
  color: #000;
  font-weight: normal;
}

.cma-breadcrumbs li a:hover {
  opacity: .75;
}

.cma-breadcrumbs li:last-child {
  font-weight: bold;
  color: #000;
}

.cma-breadcrumbs-prefix {
  font-weight: bold;
  color: #000;
  margin-right: .5em;
  pointer-events: none;
}

@media (max-width: 480px) {
  .cma-breadcrumbs strong {
    display: none;
  }

  .cma-breadcrumbs li {
    display: none;
  }

  .cma-breadcrumbs li:first-child,
  .cma-breadcrumbs li:last-child {
    display: flex;
  }

  .cma-breadcrumbs li:first-child::after {
    content: "…";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 -6px 0 12px;
    padding: 0 .4rem;
    border-radius: 2px;
    background: #dfeaf4;
    color: #334155;
  }

  .cma-breadcrumbs li:last-child {
    position: relative;
  }

  .cma-breadcrumbs li:last-child::before {
    content: "›";
    opacity: .5;
    margin-right: 6px;
  }

  .cma-breadcrumbs.is-expanded li {
    display: flex;
  }

  .cma-breadcrumbs.is-expanded li:first-child::after {
    content: "";
    display: none;
  }
  
  .cma-breadcrumbs.is-expanded li:last-child::before {
    content: "";
    display: none;
  }
}