/*
  Breadcrumb 02 — Segmented Breadcrumb — standalone HTML/CSS
  implementation. No build step, no framework, no external dependency:
  copy index.html and this file into any project as-is.
*/

:root {
  --breadcrumb-accent: #39ff14;
}

.breadcrumb02 {
  display: flex;
  min-width: 0;
  align-items: stretch;
  overflow-x: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family:
    Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji";
  font-size: 0.875rem;
}

.breadcrumb02 li + li {
  margin-left: -10px;
}

.breadcrumb02__segment {
  display: flex;
  height: 2rem;
  align-items: center;
  padding: 0 1.25rem 0 1rem;
  white-space: nowrap;
  font-weight: 500;
  color: oklch(0.45 0 0);
  background-color: oklch(0.96 0 0);
  text-decoration: none;
  outline: none;
  transition: background-color 150ms ease-out, color 150ms ease-out;
}

.breadcrumb02 li + li .breadcrumb02__segment {
  padding-left: 1.25rem;
}

.breadcrumb02__segment:hover {
  background-color: oklch(0.9 0 0);
  color: oklch(0.145 0 0);
}

.breadcrumb02__segment:focus-visible {
  outline: 2px solid oklch(0.145 0 0);
  outline-offset: 2px;
}

.breadcrumb02__segment--first {
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
}

.breadcrumb02__segment--mid {
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%);
}

.breadcrumb02__segment--current {
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
  background-color: oklch(0.205 0 0);
  color: #ffffff;
  font-weight: 600;
}

.breadcrumb02__segment--current::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 0.4375rem;
  border-radius: 9999px;
  background-color: var(--breadcrumb-accent);
}

/*
  Page layout — the canvas this resource is presented on. Adjust or drop it
  when placing the resource inside your own layout.
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(to bottom, #fafafa, #f4f4f5);
}
.breadcrumb02-layout {
  display: flex;
  min-height: 11rem;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
}
.breadcrumb02-layout__panel {
  width: 100%;
  max-width: 51.25rem;
  border: 1px solid oklch(0.9 0 0);
  border-radius: 1rem;
  background: #ffffff;
  padding: 2rem;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 16px 40px -16px rgba(0, 0, 0, 0.14);
}
.breadcrumb02-layout__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: oklch(0.5 0 0);
}
