/* ==========================================================================
 * HIZIRBEY DESIGN SYSTEM — EVENT CHIP
 * Dosya: themes/default/assets/css/hds/components/event-chip/base.css
 * Tarih: 31.10.2026 · Sürüm: 1.1.0
 * Ownership: Canonical public HDS EventChip (takvim ay hücresi etkinlik kartı)
 * Kanca: --hds-event-chip-color (işaret + başlık rengi); --hds-event-chip-background / -radius / -padding-x (isteğe bağlı hafif zemin)
 * ========================================================================== */

.hds-event-chip {
  --hds-event-chip-color: var(--color-accent, #2f80ed);
  display: flex;
  align-items: center;
  gap: 0.375rem;
  min-width: 0;
  margin-bottom: 0.25rem;
  padding: 0.125rem var(--hds-event-chip-padding-x, 0);
  overflow: hidden;
  border-radius: var(--hds-event-chip-radius, 0);
  background: var(--hds-event-chip-background, transparent);
  color: var(--hds-event-chip-color);
  font-size: 0.6875rem;
  font-weight: 600;
  transition: opacity 0.18s ease;
}

.hds-event-chip:hover { opacity: 0.75; }

.hds-event-chip__mark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.hds-event-chip--dot .hds-event-chip__mark {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: currentColor;
}

.hds-event-chip--icon .hds-event-chip__mark { width: 0.8125rem; height: 0.8125rem; }
.hds-event-chip--icon .hds-event-chip__mark svg { width: 100%; height: 100%; fill: currentColor; }

.hds-event-chip__title {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hds-event-chip__title:hover { text-decoration: underline; }

.hds-event-chip__image {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  border-radius: 0.25rem;
  object-fit: cover;
}
