/* ============================================================
   STAF GROS — Breadcrumb CSS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

:root {
  --bc-red:   #e63128;
  --bc-dark:  #0d1b2a;
  --bc-mid:   #4a5568;
  --bc-line:  #dde3ea;
  --bc-ease:  cubic-bezier(0.4, 0, 0.2, 1);
  --bc-t:     0.25s;
}

.sg-breadcrumb-nav { width: 100%; }

.sg-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 10px 0 14px;
  margin: 0 0 18px;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--bc-mid);
  list-style: none;
  border-bottom: 1.5px solid var(--bc-line);
  position: relative;
}

.sg-breadcrumb::after {
  content: '';
  position: absolute;
  bottom: -1.5px; left: 0;
  width: 36px; height: 1.5px;
  background: var(--bc-red);
  border-radius: 2px;
}

.sg-breadcrumb__item {
  display: inline-flex;
  align-items: center;
}

.sg-breadcrumb__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--bc-mid);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  transition: color var(--bc-t) var(--bc-ease);
}
.sg-breadcrumb__link:hover { color: var(--bc-red); }
.sg-breadcrumb__link::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 1px;
  background: var(--bc-red);
  transition: width var(--bc-t) var(--bc-ease);
}
.sg-breadcrumb__link:hover::after { width: 100%; }

.sg-breadcrumb__home-icon {
  display: inline-block;
  width: 13px; height: 13px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-size: contain;
}

.sg-breadcrumb__sep-item {
  display: inline-flex;
  align-items: center;
}
.sg-breadcrumb__sep {
  display: inline-block;
  margin: 0 7px;
  color: var(--bc-line);
  font-size: 15px;
  font-weight: 300;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.sg-breadcrumb__current {
  color: var(--bc-dark);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
  pointer-events: none;
  font-family: 'Inter', sans-serif;
}

@media (max-width: 640px) {
  .sg-breadcrumb { font-size: 11.5px; }
  .sg-breadcrumb__current { max-width: 150px; }
}
