/* ==========================================================================
   cld-service-tags.css – component: service tags with search
   Load after main CSS and cld-base.css. Uses the shared :root tokens only.
   ========================================================================== */

.cld .service-tags__title {
  margin-bottom: var(--space-xs);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading);
}

.cld .service-tags__count {
  color: var(--color-text-muted);
  font-weight: var(--font-weight-regular);
}

/* 1.6rem on purpose: iOS zooms into inputs smaller than 16px */
/*
.cld .service-tags__search {
  width: 100%;
  margin: 0 0 var(--space-xs);
  padding: var(--space-2xs) var(--space-sm);
  border: var(--border-width-hairline) solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  font-size: var(--font-size-base);
  line-height: var(--line-height-snug);
}

.cld .service-tags__search:focus-visible {
  outline: var(--border-width-thick) solid var(--color-focus);
  outline-offset: 1px;
}
*/
.cld .service-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.cld .service-tags__item {
  padding: 3px var(--space-sm);
  border: var(--border-width-hairline) solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: var(--font-size-md);
  line-height: var(--line-height-snug);
  overflow-wrap: anywhere;
}

.cld .service-tags__empty {
  margin-top: var(--space-2xs);
  color: var(--color-text-muted);
}
