/* Breadcrumb navigation */
body .navigation-pathway {
  background: #000;
  padding: 1.5rem 0 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}
.navigation-pathway::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(64, 150, 255, 0.02) 0%, transparent 70%);
  pointer-events: none;
}
body .pathway-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
  width: var(--content-fluid);
  container-type: inline-size;
}

@container (min-width: 1024px) {
  body .pathway-container {
    padding: var(--space-xl);
  }
}
body .pathway-hierarchy {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem 2rem;
  align-items: start;
  justify-content: center;
  justify-items: center;
}
body .hierarchy-section {
  position: relative;
  text-align: center;
}
body .section-header {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
body .section-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}
.section-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  padding: 0.6rem 1rem;
  position: relative;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
}
.section-links a::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 1px;
  transition: all 0.3s ease;
  opacity: 0;
}
.section-links a:hover::before {
  opacity: 1;
  background: rgba(255, 255, 255, 0.6);
}
.section-links a:hover {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.05);
}
.hierarchy-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: -1rem;
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
}
.hierarchy-section:last-child::after {
  display: none;
}

@media (max-width: 1200px) {
  body .pathway-hierarchy {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem 1.5rem;
  }
}

@media (max-width: 900px) {
  body .pathway-hierarchy {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }
  .hierarchy-section::after {
    display: none;
  }
}

@media (max-width: 640px) {
  body .pathway-hierarchy {
    grid-template-columns: 1fr !important;
    gap: var(--space-sm) ;
  }
  body .hierarchy-section {
    width: 100%;
    padding: var(--space-sm) ;
  }
}

@media (max-width: 600px) {
  body .navigation-pathway {
    padding: 2rem 0;
  }
  body .pathway-container {
    padding: 0 1rem;
  }
  body .pathway-hierarchy {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  body .section-header {
    font-size: 0.8rem;
  }
  .section-links a {
    font-size: 0.85rem;
  }
}
