.eventsArchiveHeader {
  margin: 0 3rem;
  padding: 0 1rem;
  border-bottom: calc(1rem / 12) solid var(--border);
  margin-bottom: 2rem;
  width: 100%;
}

.container {
  position: relative;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  gap: 2rem;
}

.header {
  text-align: left;
}

.title {
  font-size: 2rem;
  font-weight: bold;
}

.subtitle {
  margin-top: 0.5rem;
}

.timeline {
  position: relative;
  border-left: 3px solid var(--input-placeholder-text);
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timelineItem {
  position: relative;
}

.yearRow {
  color: var(--primary-heading);
  display: flex;
  width: 100%;
  justify-content: between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  position: relative;
  color: var(--input-placeholder-text);
}

.circle {
  position: absolute;
  left: -3.1rem;
  top: 0.4rem;
  width: 1.7rem;
  height: 1.7rem;
  background-color: var(--primary-background);
  border: 3px solid var(--input-placeholder-text);
  border-radius: 50%;
  flex-shrink: 0;
}

.hovered .circle {
  border: 3px solid var(--event-button-highlight);
}

.hovered .circle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.6rem;
  height: 0.6rem;
  background-color: var(--event-button-highlight);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.yearText {
  font-weight: bold;
  white-space: nowrap;
  margin-right: 1.2rem;
  width: 5rem;
}

.hovered .yearText {
  color: var(--event-button-highlight);
}

.termButtons {
  display: grid;
  grid-template-columns: repeat(3, minmax(4rem, 7rem));
  gap: 2rem;
  background-color: transparent;
}

.termPlaceholder {
  width: 7rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  border-radius: 0.5rem;
  background-color: transparent;
}

.disabledButton {
  width: 90%;
  opacity: 0.5;
  pointer-events: none;
  cursor: default;
}

.termButton {
  background-color: var(--event-button);
  color: var(--light--text-light);
  width: 90%;
  height: 1.7rem;

  font-size: 0.9rem;
  font-weight: 450;

  padding: 0.5rem 1rem;
  border-radius: 0.5rem;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.termButton:hover {
  background-color: var(--event-button-highlight);
}

.headerTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.codey {
  max-width: 170px;
}