:host,
*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
@media (prefers-reduced-motion: reduce) {
    :host,
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }:host,
*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
@media (prefers-reduced-motion: reduce) {
    :host,
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }/**
  * @prop {string} --text-color - The base color of the text. Defaults to var(--nano-color-primary-1100).
  * @prop {string} --text-color-hover - The hover colour of the text. Defaults to var(--nano-color-primary-1200).
  * @prop {string} --text-color-secondary - The secondary colour (& inactive colour) of the text. Defaults to var(--nano-color-neutral-1400).
  * @prop {string} --text-color-disabled - The disabled colour of the text. Defaults to var(--nano-color-neutral-1000).
  * @prop {string} --border-color - The colour of the border & divider. Defaults to var(--nano-color-neutral-400).
  * @prop {string} --trigger-bg-color - The background colour of the trigger button. Defaults to var(--nano-color-base-0).
  */
:host {
  --text-color: var(--nano-color-primary-1100);
  --text-color-hover: var(--nano-color-primary-1200);
  --text-color-secondary: var(--nano-color-neutral-1400);
  --text-color-disabled: var(--nano-color-neutral-1000);
  --border-color: var(--nano-color-neutral-400);
  --trigger-bg-color: var(--nano-color-base-0);
  display: block;
}

.breadcrumbs {
  inline-size: fit-content;
}

nano-menu.breadcrumbs {
  inline-size: 100%;
}

.breadcrumbs-hidden {
  position: absolute;
  visibility: hidden;
  pointer-events: none;
  block-size: 0;
  overflow: hidden;
}

ol {
  list-style: none;
  padding: var(--nano-spacing-l3) 0;
  margin: 0;
  display: flex;
  flex-direction: row;
}

li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: var(--nano-font-size-xs);
  line-height: var(--nano-line-height-normal);
  letter-spacing: var(--nano-letter-spacing-loose);
  text-wrap: nowrap;
  margin-block-end: 0;
}

li:not(.return-only li)::after,
nano-nav-item::after {
  content: "/";
  margin: 0 var(--nano-spacing-xs);
  color: var(--border-color);
}

a.link {
  color: var(--text-color);
}

a:not(.link) {
  color: var(--text-color-secondary);
}

a:focus-visible {
  outline: var(--nano-focus-ring);
  outline-offset: var(--nano-focus-ring-offset);
  z-index: 1;
}

a.link:hover {
  color: var(--text-color-hover);
}

a.return.link {
  display: flex;
  align-items: center;
  gap: calc(var(--nano-spacing-sm) / 2);
}

.breadcrumbs__dropdown {
  inline-size: 100%;
}
.breadcrumbs__dropdown[open]::part(trigger) {
  box-shadow: var(--nano-shadow-l1);
}

.trigger-button {
  inline-size: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--nano-spacing-l3) var(--nano-spacing-l2);
  color: var(--text-color);
  background-color: var(--trigger-bg-color);
  cursor: pointer;
  text-align: start;
  border: none;
  font-size: var(--nano-font-size-xs);
}
.trigger-button .trigger-button_label {
  text-decoration: underline;
}
.trigger-button .trigger-button_label::after {
  content: "/";
  margin: 0 var(--nano-spacing-xs);
  color: var(--border-color);
}
.trigger-button:focus-visible {
  outline: var(--nano-focus-ring);
  outline-offset: var(--nano-focus-ring-offset);
}

.trigger-icon {
  transform: rotate(0deg);
  transition: var(--nano-transition-x-fast) ease transform;
}
.trigger-icon--open {
  transform: rotate(180deg);
}

nano-nav-item::after {
  display: none !important;
}

.trigger-button_label::after {
  display: inline-block !important;
}

.return-only {
  padding: var(--nano-spacing-l3) var(--nano-spacing-l2) !important;
}