.dropdown {
  background-color: #c2d4c6;
  color: #000000;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  /* This transition handles the color/font change on hover/active: */
  transition: background-color 0.4s, color 0.4s, font-size 0.4s, font-weight 0.4s;
}
.active, .dropdown:hover {
  background-color: #6d8d8d;
  color: #ffffff;
  font-weight: 900;
  font-size: 24px;
}
.timeline-content {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
}
.panel {
  padding: 0 18px;
  background-color: white;
  overflow: hidden;
    /* --- Properties for Smooth Sliding Content --- */
  max-height: 0; /* Hides the content by default */
  /* This transition handles the smooth slide open/close: */
  transition: max-height 0.2s ease-out; 
  /* ADD THIS LINE */
  min-height: 1px;
}
