.event-date {
	display: inline;
  color: #5FA3DA;
}

.event-description {
	padding: 1rem;
}

.source {
  font-size: .7em;
  text-align: right;
  color: #ccc;
}

/* History page: date column + vertical rail + body

   The whole timeline is ONE shared grid so every row uses the same date-column
   width and the rail column lines up vertically. Each entry uses
   `display: contents` so its three children (date, rail, body) participate in
   the outer grid directly. */
.history-timeline {
  --history-timeline-gap: 2rem;
  display: grid;
  grid-template-columns: minmax(6.5rem, max-content) 1.125rem minmax(0, 1fr);
  column-gap: 0.65rem;
  row-gap: var(--history-timeline-gap);
  align-items: stretch;
}

.history-timeline__entry {
  display: contents;
}

.history-timeline__date-col {
  align-self: start;
  text-align: right;
  padding-top: 0.2rem;
  line-height: 1.35;
}

.history-timeline__body {
  align-self: start;
}

.history-timeline__date {
  font-size: 0.875rem;
  font-weight: 700;
  color: #5fa3da;
}

.history-timeline__rail {
  position: relative;
  justify-self: center;
  width: 100%;
}

/* Segment of the vertical line (per row) */
.history-timeline__rail::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: rgba(0, 0, 0, 0.12);
}

.history-timeline__entry:first-child .history-timeline__rail::before {
  top: 0.55rem;
  bottom: calc(var(--history-timeline-gap) * -1);
}

.history-timeline__entry:not(:first-child):not(:last-child) .history-timeline__rail::before {
  top: 0;
  bottom: calc(var(--history-timeline-gap) * -1);
}

.history-timeline__entry:last-child:not(:first-child) .history-timeline__rail::before {
  top: 0;
  bottom: calc(100% - 0.55rem);
}

.history-timeline__entry:only-child .history-timeline__rail::before {
  display: none;
}

/* Dot on the rail */
.history-timeline__rail::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.35rem;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #5fa3da;
  transform: translate(-50%, 0);
  box-sizing: border-box;
  z-index: 1;
}

.history-timeline__body :first-child {
  margin-top: 0;
}

.history-timeline .history-timeline__source,
.history-timeline .source {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #5c5c5c;
}

@media (max-width: 600px) {
  .history-timeline {
    --history-timeline-gap: 1.75rem;
    display: block;
  }

  .history-timeline__entry {
    display: block;
    padding-bottom: var(--history-timeline-gap);
  }

  .history-timeline__entry:last-child {
    padding-bottom: 0;
  }

  .history-timeline__date-col {
    text-align: left;
    padding-top: 0;
    margin-bottom: 0.25rem;
  }

  .history-timeline__rail {
    display: none;
  }
}

.img-responsive{
	display: block;
	height: auto;
	max-width: 100%
}

.img-history {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
