/* Modern Breadcrumb Styling (Rank Math) */
.rank-math-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.rank-math-breadcrumb .crumb {
  display: inline-flex;
  align-items: center;
}

.rank-math-breadcrumb a {
  color: #4a7ba7;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
}

.rank-math-breadcrumb a:hover {
  color: #2c5282;
  background-color: rgba(203, 213, 225, 0.4);
}

.rank-math-breadcrumb .crumb:last-child {
  font-weight: 500;
  color: #1a202c;
}

.rank-math-breadcrumb span:not(.separator) {
  background-color: rgba(191, 219, 254, 0.5);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  color: #1e3a8a;
  font-weight: 500;
}

.rank-math-breadcrumb .separator {
  margin: 0 0.25rem;
  color: #cbd5e1;
  font-weight: 300;
}

.rank-math-breadcrumb .crumb:first-child a {
  padding: 0.4rem 0.6rem;
}

@media (max-width: 768px) {
  .rank-math-breadcrumb {
    font-size: 0.9rem;
    gap: 0.25rem;
  }
  
  .rank-math-breadcrumb a,
  .rank-math-breadcrumb span:not(.separator) {
    padding: 0.3rem 0.5rem;
  }
}
