/**
 * Event spotlight — the dashboard's "Happening now" / "Coming up" block.
 *
 * All colour comes from tokens.css so the block follows the site's light
 * and dark themes without a second palette here.
 */

.np-spotlight__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0 0 0.75rem;
  font-family: var(--np-font-serif, Charter, Georgia, serif);
  font-size: 1.05rem;
  font-weight: 600;
}

.np-spotlight__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex: none;
  background: var(--np-color-success);
  box-shadow: 0 0 0 3px var(--np-bg-success);
}

.np-spotlight__dot--idle {
  background: var(--np-text-muted);
  box-shadow: none;
}

.np-spotlight__event {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.np-spotlight__event + .np-spotlight__event {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px dotted var(--np-border-tertiary);
}

.np-spotlight__name {
  font-family: var(--np-font-serif, Charter, Georgia, serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--np-text-link);
  text-decoration: none;
}

.np-spotlight__name:hover,
.np-spotlight__name:focus-visible {
  color: var(--np-text-link-hover);
  text-decoration: underline;
}

.np-spotlight__when {
  font-size: 0.87rem;
  color: var(--np-text-secondary);
  font-variant-numeric: tabular-nums;
}

.np-spotlight__pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.16rem 0.45rem;
  border-radius: 2px;
  margin-bottom: 0.15rem;
}

.np-spotlight__pill--live {
  background: var(--np-bg-success);
  color: var(--np-color-success-deep);
}

.np-spotlight__pill--next {
  background: var(--np-bg-tertiary);
  color: var(--np-text-muted);
  border: 1px solid var(--np-border-tertiary);
}

.np-spotlight__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.9rem;
}

.np-spotlight__cta {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--np-text-link);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

.np-spotlight__cta--quiet {
  color: var(--np-text-secondary);
  font-weight: 500;
}

.np-spotlight__cta:hover,
.np-spotlight__cta:focus-visible {
  color: var(--np-text-link-hover);
}
