
.memory-board {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2.5rem 1.5rem;
  justify-content: center;
  align-items: center;
  min-height: 260px;
  border: 1px solid var(--md-default-fg-color--lighter);
  border-radius: 12px;
  margin: 1.5rem 0;
}

.sticky-note {
  position: relative;
  width: 210px;
  min-height: 240px;
  padding: 1.25rem 1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.sticky-note:hover {
  transform: scale(1.05) rotate(0deg) !important;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4));
  z-index: 10;
}

.sticky-note::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 14px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.sticky-note.shape-heart::before {
  display: none !important;
}

.sticky-note:nth-child(odd) {
  transform: rotate(-2.5deg);
}
.sticky-note:nth-child(even) {
  transform: rotate(3deg);
}

.note-pink {
  background: #fbcfe8;
}
.note-teal {
  background: #ccfbf1;
}
.note-amber {
  background: #fef3c7;
}
.note-purple {
  background: #ede9fe;
}
.note-violet {
  background: #745c94;
}

.note-candy-pink {
  background: #ff99C8;
}

.note-dark-blue {
  background: #00008B;
}

.note-avatar {
  width: 5em;
  height: 5em;
  border-radius: 0.5em;
  border: 2px solid rgba(0, 0, 0, 0.15);
  object-fit: cover;
  margin-bottom: 0.75rem;
}

.a.glightbox .note-avatar::after {
  display: none !important;
}

.note-quote {
  font-size: 0.82rem;
  font-style: italic;
  line-height: 1.4;
  margin: 0 0 auto 0 !important;
  color: #333333;
}

.note-author {
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 0.75rem;
  color: #111111;
  border-top: 1px dashed rgba(0, 0, 0, 0.2);
  width: 100%;
  padding-top: 0.4rem;
}

.note-author.white {
    border-top: 1px dashed rgb(255, 255, 255, 0.5);
}

.shape-circle {
  border-radius: 50% !important;
  aspect-ratio: 1 / 1 !important;
  min-width: 240px;
}

.shape-lightning {
  clip-path: polygon(
    45% 0%, 
    65% 0%, 
    35% 42%, 
    62% 42%, 
    20% 100%, 
    38% 54%, 
    15% 54%
  );
}

.shape-hexagon {
  clip-path: polygon(
    25% 0%, 75% 0%, 
    100% 50%, 
    75% 100%, 25% 100%, 
    0% 50%
  );
}

.shape-fish {
clip-path: polygon(100% 0, 100% 100%, 80% 50%, 40% 100%, 0 50%, 40% 0, 80% 50%);
}

.custom-note-wrapper {
  position: relative;
  width: 210px;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-note-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.custom-note-body {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  text-align: center;
}

.shape-heart {
  width: 250px !important;
  height: 250px !important;
  
  -webkit-mask-image: url("../assets/images/site-assets/heart.svg");
  mask-image: url("../assets/images/site-assets/heart.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;

  /* Standard upright flex layout */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;

  padding: 2.4rem 4.5rem 1.4rem 1.4rem !important;

  transform: rotate(-3deg);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.shape-heart:hover {
  transform: scale(1.05) rotate(0deg) !important;
  z-index: 10;
}

.shape-heart .note-avatar {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  margin-bottom: 0.35rem;
}

.shape-heart .note-quote {
  font-size: 0.8rem;
  max-width: 140px;
  line-height: 1.35;
  margin: 0 !important;
}

.shape-heart .note-author {
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.35rem;
}