/* Guides index — search + category chips (shared; copy into each site.css) */

.guides-toolbar {
  margin: 1.5rem 0 2rem;
}

.guides-search-wrap label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.guides-search {
  display: block;
  width: 100%;
  max-width: 28rem;
  padding: 0.55rem 0.75rem;
  font-size: 1rem;
  border: 1px solid var(--rule, #cbd5e1);
  border-radius: 4px;
  background: var(--card, #fff);
  color: var(--ink);
}

.guides-search:focus {
  outline: 2px solid var(--focus, var(--navy, #0f766e));
  outline-offset: 1px;
}

.guides-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.guides-chip {
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--rule, #cbd5e1);
  border-radius: 999px;
  background: var(--card, #fff);
  color: var(--ink-soft, var(--ink));
  cursor: pointer;
}

.guides-chip:hover {
  background: var(--wash, var(--paper-2, #f1f5f9));
}

.guides-chip.is-active {
  background: var(--navy, #0f766e);
  border-color: var(--navy, #0f766e);
  color: #fff;
}

.guides-category {
  margin-bottom: 2rem;
}

.guides-category-title {
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  color: var(--muted, var(--ink-soft));
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.guides-index--flat .guides-category-title {
  display: none;
}

.guides-empty {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: var(--paper-2, #f1f5f9);
  border-radius: 4px;
  font-size: 0.92rem;
}

.guides-empty[hidden],
.guide-item[hidden],
.guides-category[hidden] {
  display: none;
}

.guides-index .guide-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.guides-index .guide-list li {
  margin: 0 0 1.4rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--rule, #cbd5e1);
}

.guides-index .guide-list li:last-child {
  border-bottom: 0;
}

.guides-index .guide-list h2,
.guides-index .guide-list h3 {
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
}

.guides-index .guide-list p {
  margin: 0;
  color: var(--ink-soft);
}
