/* Gathr — breadcrumbs (app bar + variantes) */

.gathr-breadcrumb-bar {
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
}

.gathr-breadcrumb-bar--app {
  padding: 0 1rem 0.75rem;
  margin-bottom: 0.25rem;
}

@media (max-width: 1200px) {
  .gathr-breadcrumb-bar--app {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 998;
    min-height: 76px;
    display: flex;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 10px;
    padding-left: calc(15px + 44px + 12px);
    padding-right: 12px;
    background: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 0;
  }

  body.has-app-breadcrumb .wrapper > .main-content {
    padding-top: calc(76px + 0.75rem) !important;
  }

  body.page-home.has-app-breadcrumb .wrapper > .main-content {
    padding-top: calc(76px + 0.75rem) !important;
  }
}

@media (min-width: 1201px) {
  /* Espaço superior na barra (evita colar no topo em páginas que zeram .main-content) */
  body.has-app-breadcrumb .wrapper > .main-content {
    padding-top: 0 !important;
  }

  .main-content-wrapper > .gathr-breadcrumb-bar--app {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-top: 1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 0.75rem;
    box-sizing: border-box;
  }
}

.gathr-breadcrumb .breadcrumb {
  font-size: 0.85rem;
  background: transparent;
  padding: 0;
  margin: 0;
  flex-wrap: nowrap;
  overflow: hidden;
}

.gathr-breadcrumb .breadcrumb-item {
  max-width: 14rem;
}

.gathr-breadcrumb--on-light .breadcrumb-item a {
  color: #481389;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gathr-breadcrumb--on-light .breadcrumb-item a:hover {
  color: #2e0854;
}

.gathr-breadcrumb--on-light .breadcrumb-item.active {
  color: #2e0854;
}

.gathr-breadcrumb--on-light .breadcrumb-item + .breadcrumb-item::before {
  color: #6b7280;
}

.gathr-breadcrumb--on-dark .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.gathr-breadcrumb--on-dark .breadcrumb-item a:hover {
  color: #ffd700;
}

.gathr-breadcrumb--on-dark .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.5);
}

.gathr-breadcrumb--on-dark .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

/* Hero / páginas públicas no mobile: espaço para o menu */
@media (max-width: 1200px) {
  .gathr-breadcrumb--in-hero {
    padding-left: 3.25rem;
  }
}
