/* === BREADCRUMBS === */
.breadcrumb-wrap-bar {
  background: var(--bg-section);
  border-bottom: 1px solid var(--border);
}

.breadcrumbs {
  padding: 14px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--medical-blue);
}

.breadcrumbs span.sep {
  color: var(--border-dark);
}

.breadcrumbs span.current {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.45;
  word-break: break-word;
}

/* On a dark hero (.program-hero-wrap / .uni-hero-wrap), the default
   muted-grey/medical-blue breadcrumb colors are built for a light
   background and become nearly invisible against the dark navy. This
   used to live only in program.css, which isn't loaded on archive.php
   or home.php — moved here so every template that drops breadcrumbs
   into a dark hero gets readable ones. */
.program-breadcrumb-wrap {
  margin-bottom: 32px;
}

.program-breadcrumb-wrap .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.program-breadcrumb-wrap .breadcrumbs a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s;
}

.program-breadcrumb-wrap .breadcrumbs a:hover {
  color: white;
}

.program-breadcrumb-wrap .breadcrumbs .sep {
  color: rgba(255, 255, 255, 0.4);
}

.program-breadcrumb-wrap .breadcrumbs .current {
  color: white;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

/* === AJAX LOADING === */
.ajax-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  gap: 16px;
  color: var(--medical-blue);
  font-weight: 600;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--sky-blue);
  border-top: 4px solid var(--medical-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
