.description {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 40px;
}

.event {
  display: flex;
  flex-direction: row;

  &:hover {
    border-bottom: 5px var(--hightlight) solid;
    & > div {
      padding-bottom: calc(0.5rem - 5px);
    }
  }
  & > div {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    white-space: nowrap;
  }
}

.date {
  width: 220px;
  font-size: 0.75em;
  overflow-x: hidden;
  white-space: nowrap;
}

.title {
  border-left: 2px solid var(--border);
  font-weight: bold;
  padding-left: 2rem;
  padding-right: 0.5em;
}

.place {
  font-size: 0.7em;
  opacity: 0.7;
  &:before {
    content: "-";
    margin-right: 12px;
  }
}

.types {
  font-size: 0.8em;
  margin-left: auto;
  font-style: italic;
  letter-spacing: 2px;
  font-weight: 900;
  opacity: 0.7;
}

@media screen and (max-width: 1160px) {
  .event {
    flex-direction: column;
    margin-bottom: 2.2rem;
    border-left: 3px solid var(--border);
    &:hover {
      border-bottom: none;
      border-left: 3px solid var(--hightlight);
      & > div {
        padding-bottom: 0;
      }
    }
    & > div {
      padding: 0 0.5rem;
      white-space: normal;
    }
  }

  .date {
    width: 100%;
  }

  .title {
    border-left: none;
  }
  .place:before {
    display: none;
  }

  .types {
    margin-left: 0;
  }
}
