﻿/* Lawana mobile breadcrumb — cream bar, brown/gold text (not MI white-on-dark) */
.breadcrumb__wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem !important;
  padding: 0;
  min-height: 0;
  background: linear-gradient(#fff0d7, #f4dcba) !important;
  border: 1px solid #d9bc8f !important;
  border-radius: 0.125rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.breadcrumb__wrapper > .container {
  width: 100%;
  padding-inline: 0.75rem;
  padding-block: 0.4rem;
}

.breadcrumb__wrapper .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0;
  row-gap: 0.25rem;
  margin: 0;
  padding: 0;
  overflow: visible;
  color: #6e5a3e;
}

.breadcrumb__wrapper .breadcrumb-item {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  min-width: 0;
  padding: 0;
  color: #6e5a3e;
  font-size: 0.875rem;
  line-height: 1.35;
}

.breadcrumb__wrapper .breadcrumb-item:last-child {
  flex: 1 1 12rem;
  max-width: 100%;
  color: #4b3a27;
  font-weight: 700;
}

.breadcrumb__wrapper .breadcrumb-item:last-child > span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: #4b3a27;
  white-space: normal;
  word-break: break-word;
}

.breadcrumb__wrapper .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  float: none;
  padding: 0 0.45rem;
  color: #b9945f;
  font-size: 1.125rem;
  line-height: 1;
  opacity: 0.9;
}

.breadcrumb__wrapper .breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #6e5a3e !important;
  text-decoration: none;
}

.breadcrumb__wrapper .breadcrumb-link:hover,
.breadcrumb__wrapper .breadcrumb-link:focus {
  color: var(--ndx-color-accent) !important;
  text-decoration: none;
}

.breadcrumb__wrapper .breadcrumb-home {
  color: #8f6e2f;
  font-size: 1.15rem;
}

/* Icon only on home — hide label text (icon comes from tpl, not CSS ::before) */
.breadcrumb__wrapper .breadcrumb-item:first-child .breadcrumb-link > span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.breadcrumb__wrapper .breadcrumb-item:first-child .breadcrumb-link::before {
  content: none !important;
}

@media (max-width: 767.98px) {
  .breadcrumb__wrapper {
    height: auto !important;
    min-height: 2.5rem;
    overflow: visible;
  }

  #wrapper > .breadcrumb__wrapper {
    height: auto !important;
  }

  #wrapper > .breadcrumb__wrapper .breadcrumb {
    flex-wrap: wrap !important;
    overflow: visible !important;
  }

  #wrapper > .breadcrumb__wrapper .breadcrumb-item {
    flex: 0 0 auto !important;
  }

  #wrapper > .breadcrumb__wrapper .breadcrumb-item:last-child {
    overflow: visible;
  }
}
