/* JLog Breadcrumb Navigation — breadcrumbs.css */

.jlog-breadcrumb {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 24px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

.jlog-breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.jlog-breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: #64748b;
}

.jlog-breadcrumb li a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s;
}

.jlog-breadcrumb li a:hover {
  color: #334155;
  text-decoration: underline;
}

.jlog-breadcrumb .separator {
  color: #cbd5e1;
  margin: 0 8px;
  font-weight: 400;
  font-size: 14px;
  user-select: none;
}

.jlog-breadcrumb .current {
  color: #0f172a;
  font-weight: 500;
}

/* Dark mode */
html:not(.jn-light) .jlog-breadcrumb {
  background: var(--jl-surface, #1e293b);
  border-bottom-color: var(--jl-border, #334155);
}

html:not(.jn-light) .jlog-breadcrumb li {
  color: #94a3b8;
}

html:not(.jn-light) .jlog-breadcrumb li a {
  color: #94a3b8;
}

html:not(.jn-light) .jlog-breadcrumb li a:hover {
  color: #e2e8f0;
}

html:not(.jn-light) .jlog-breadcrumb .separator {
  color: #475569;
}

html:not(.jn-light) .jlog-breadcrumb .current {
  color: #f1f5f9;
}

/* Mobile */
@media (max-width: 768px) {
  .jlog-breadcrumb {
    font-size: 12px;
    padding: 8px 16px;
  }

  .jlog-breadcrumb .separator {
    margin: 0 6px;
  }
}
