.journal-entries {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.secret-entry {
  overflow: hidden;
}

.entry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.entry-header .chevron {
  font-size: 18px;
  transition: transform 0.3s ease;
}

/* Chevron toggle */
.chevron {
  width: 10px;
  height: 10px;
  border-right: 3px solid var(--pink-2);
  border-bottom: 3px solid var(--pink-2);
  transform: rotate(45deg); /* points down by default */
  transition: transform 0.3s ease;
  margin-left: 8px;
}

.entry-header.open .chevron {
  transform: rotate(-135deg); /* points up when open */
}

.entry-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.entry-content.open {
  max-height: 6000px; /* enough space for long text */
  opacity: 1;
  margin-top: 12px;
}
