.cl-timeline {
  position: relative;
  margin-top: 8px;
}

.cl-timeline-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #000;
  margin: 0 0 12px;
}

.cl-timeline-toolbar button {
  background: #fff;
  border: 1px solid #000;
  color: #000;
  height: 28px;
  min-width: 28px;
  padding: 0 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  line-height: 26px;
}

.cl-timeline-toolbar button:hover:not(:disabled) {
  background: #000;
  color: #fff;
}

.cl-timeline-toolbar button:disabled {
  opacity: 0.35;
  cursor: default;
}

.cl-timeline-zoom-label {
  margin-left: 4px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Publication images: one frame, A4-ish, cropped consistently. */
.timeline-slider-content img {
  width: 140px !important;
  height: 198px !important;
  max-width: 140px;
  object-fit: cover;
  object-position: center center;
  aspect-ratio: auto;
  display: block;
}

.timeline-slider-item {
  width: auto;
}

.cl-timeline.is-overview .timeline-slider-content img {
  width: 72px !important;
  height: 102px !important;
  max-width: 72px;
}

.cl-timeline.is-overview .timeline-slider-content h2 {
  min-height: 0;
  font-size: 11px;
  line-height: 1.3;
}

.cl-timeline.is-overview .timeline-slider-content p,
.cl-timeline.is-overview .timeline-slider-content ul {
  display: none;
}

.cl-timeline.is-overview .timeline-award-slider-content ul {
  display: none;
}

.cl-timeline.is-overview .timeline-award-slider-content img {
  width: 36px !important;
  height: 36px !important;
}

.cl-timeline.is-overview .timeline-slider-item header,
.cl-timeline.is-overview .timeline-award-slider-item header {
  font-size: 11px;
}

.timeline-line {
  pointer-events: none;
}

@media screen and (max-width: 700px) {
  .timeline-slider-content img {
    width: 110px !important;
    height: 156px !important;
    max-width: 110px;
  }
}

.cl-item-link {
  color: inherit;
  text-decoration: none;
}
.cl-item-link:hover h2 {
  text-decoration: underline;
}

/* Horizontal storyline: years in a row. Extra awards stay inside that year. */
.timeline-slider .slick-track,
.timeline-award-slider .slick-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start;
}

.timeline-slider .slick-list,
.timeline-award-slider .slick-list {
  overflow: hidden;
}

.timeline-slider .slick-slide,
.timeline-award-slider .slick-slide {
  float: none;
  height: auto;
  display: block !important;
}

.timeline-slider-item,
.timeline-award-slider-item {
  display: block;
  height: auto;
}

.timeline-slider-content,
.timeline-award-slider-content {
  display: block;
}

.timeline-copy {
  height: 2.4em;
  max-height: 2.4em;
  overflow: hidden;
}

.timeline-slider-content h2,
.timeline-award-slider-content h2 {
  min-height: 0 !important;
  margin: 0 0 4px;
}

.timeline-cover {
  margin-top: 4px;
}

.timeline-award-slider-content {
  margin-top: 0;
  margin-bottom: 16px;
}

.timeline-award-slider-item > .timeline-award-slider-content:first-of-type {
  margin-top: 40px;
}

.cl-timeline {
  touch-action: pan-x;
}
