/* Widget 4 — breadcrumbs. Values from the design-system sample (line 64-72):
   13px, gap 8, margin-bottom 22, 600-weight pink links, chevron separators at
   #c1c7ce, current item muted and CSS-truncated at 280px. */

.hc-breadcrumbs {
  font-size: 13px;
  margin: 0 0 22px;
}

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

.hc-breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

/* Chevron separator via CSS so the DOM stays a clean ol/li while matching the
   sample's 9x9 stroked chevron at #c1c7ce. */
.hc-breadcrumbs__item + .hc-breadcrumbs__item::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 24 24' fill='none' stroke='%23c1c7ce' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.hc-breadcrumbs__list a {
  font-weight: 600;
  color: var(--hc-pink);
  text-decoration: none;
}
.hc-breadcrumbs__list a:hover { color: var(--hc-pink-hover); }

.hc-breadcrumbs__current {
  color: var(--hc-mut);
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .hc-breadcrumbs { margin-bottom: 16px; }
  .hc-breadcrumbs__current { max-width: 180px; }
}
