.timeline {
  position: relative;
  margin-top: 2rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.timeline-content a {
  font-weight: 600;
}

/* ======================================
   ČASOVÁ OSA – VERTIKÁLNÍ
====================================== */

.timeline-vertical {
  position: relative;
  margin: 3rem 0;
  padding-left: 2rem;
}

.timeline-vertical::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--ink-blue);
  opacity: .2;
}

.timeline-entry {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-marker {
  position: absolute;
  left: -2px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink-blue);
}

.timeline-body {
  padding-left: 2rem;
}

.timeline-date {
  font-family: "IBM Plex Mono", monospace;
  font-size: .85rem;
  letter-spacing: .08em;
  color: var(--ink-blue);
  margin-bottom: .3rem;
}

.timeline-title a {
  font-weight: 600;
  border-bottom: none;
}

.timeline-title a:hover {
  border-bottom: 1px solid var(--ink-red);
}

/* běžné provedení */
.timeline-entry.timeline-provedeni .timeline-marker {
  border-color: var(--ink-blue);
  background: var(--paper);
}

/* premiéra */
.timeline-entry.timeline-premiera .timeline-marker {
  border-color: var(--ink-red);
  background: var(--ink-red);
}

/* koncertní premiéra */
.timeline-entry.timeline-koncertni-premiera .timeline-marker {
  border-color: darkred;
  background: darkred;
}

/* rozhlasová premiéra */
.timeline-entry.timeline-rozhlasova-premiera .timeline-marker {
  border-color: purple;
  background: purple;
}

/* rozhlasové provedení */
.timeline-entry.timeline-rozhlasove-provedeni .timeline-marker {
  border-color: #555;
  background: #555;
}

.timeline-filter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeline-filter-form label {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* =====================================================
   SKLADBY
===================================================== */

.timeline-composition .timeline-marker {
    background: #2e7d32;      /* zelená */
}

.timeline-sketch .timeline-marker {
    background: #9e9e9e;      /* šedá */
}

.timeline-instrumentation .timeline-marker {
    background: #00897b;      /* tyrkysová */
}

.timeline-revision .timeline-marker {
    background: #6a1b9a;      /* fialová */
}

.timeline-adjustment .timeline-marker {
    background: #ef6c00;      /* oranžová */
}

/* =====================================================
   UDÁLOSTI
===================================================== */

.timeline-personal .timeline-marker {
    background: #1565c0;      /* modrá */
}

.timeline-family .timeline-marker {
    background: #ad1457;      /* růžová */
}

.timeline-health .timeline-marker {
    background: #c62828;      /* červená */
}

.timeline-education .timeline-marker {
    background: #283593;      /* indigo */
}

.timeline-career .timeline-marker {
    background: #795548;      /* hnědá */
}

.timeline-institution .timeline-marker {
    background: #455a64;      /* modrošedá */
}

.timeline-historical .timeline-marker {
    background: #37474f; /* tmavá břidlicová */
}

.timeline-subtitle {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 0.15em;
}