/* hide scroll bar - only applied where body has class="no-scroll" */
body.no-scroll {
  overflow: hidden;
}

/* Memories page */
.calendar-page {
  min-height: 100vh;
  background-image: url("images/corkboard-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

/* calendar image */
.calendar-photo {
  position: relative;
  width: 100%;
  max-width: 1000px;
}

.calendar-image {
  display: block;
  width: 100%;
  height: auto;
}

/*########### Memory Stickers ##########*/
.memory-sticker {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w, 90px);
  height: var(--h, 90px);
  object-fit: contain;
  cursor: pointer;

  /* shadow for the sticker */
  filter: drop-shadow(2px 3px 2px rgba(0, 0, 0, 0.25));

  /* animation */
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.memory-sticker:hover {
  transform: translateY(-5px) rotate(-3deg) scale(1.08);
  filter: drop-shadow(4px 6px 4px rgba(0, 0, 0, 0.3));
}

/* ########## Individual Journal Entry (sept-9-2026.html and future dated entries) ########## */
.journal-entry {
  min-height: 100vh;

  background-image: url("images/memories-background-blog-photo.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  align-items: center;
  display: flex;
  justify-content: center;
  padding: 70px 24px;
  box-sizing: border-box;
}

/* centered text column sitting on top of the paper */
.entry-content {
  max-width: 620px;
  width: 100%;
  background-image: url("images/yellow-pad.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  aspect-ratio: 3 / 4;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  padding: 60px 50px;
  overflow-y: auto; /* ADD THIS LINE */
}

.entry-photo {
  display: block;
  width: 100%;
  max-width: 450px; /* was 300px — raise this number to make the photo bigger */
  height: auto;
  margin: 20px auto;
  border-radius: 4px;
}

.entry-content h3 {
  margin-top: 0;
  font-size: 1.7rem;
}

.entry-content h4 {
  font-weight: normal;
  color: #555;
  margin-top: -6px;
  margin-bottom: 28px;
}

.entry-content p {
  line-height: 1.9;
  margin-bottom: 20px;
}
