/* Page header / breadcrumb section */
.bg-breadcrumb {
  padding: 2rem 0;
  background-color: #f0f4f8;
}

/* Custom breadcrumb with background image (image set via inline style in Blade) */
.bg-breadcrumb-custom {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #f0f4f8;
  aspect-ratio: 3 / 1;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image-only mode: no nav/h1, so the background image is visible */
.bg-breadcrumb-image-only .page-header-inner {
  min-height: 180px;
}

.breadcrumb-nav ol {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.5rem;
  font-size: 0.9rem;
}

.breadcrumb-nav a {
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
}

.breadcrumb-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

.breadcrumb-nav .current {
  font-weight: 600;
}

.page-header-title {
  margin: 0;
  font-weight: 600;
}

/* Mobile-friendly breadcrumb */
@media (max-width: 767px) {
  .bg-breadcrumb {
    padding: 1.25rem 0;
  }

  .bg-breadcrumb-custom {
    min-height: 140px;
    aspect-ratio: 2 / 1;
  }

  .bg-breadcrumb-image-only .page-header-inner {
    min-height: 140px;
  }

  .breadcrumb-nav ol {
    font-size: 0.85rem;
    gap: 0.2rem 0.4rem;
  }
}

@media (max-width: 575px) {
  .bg-breadcrumb-custom {
    min-height: 120px;
  }

  .bg-breadcrumb-image-only .page-header-inner {
    min-height: 120px;
  }
}
