/* WELCOME_HOME_MIENAI_NOTES */
.welcome-home-notes {
  position: relative;
  padding:
    clamp(64px, 8vw, 112px)
    clamp(18px, 4vw, 48px);
  overflow: hidden;
  background:
    radial-gradient(
      circle at 12% 12%,
      rgba(253, 233, 194, 0.62),
      transparent 34%
    ),
    radial-gradient(
      circle at 88% 78%,
      rgba(230, 220, 246, 0.7),
      transparent 32%
    ),
    #fffaf3;
}

.welcome-home-notes__inner {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.welcome-home-notes__heading {
  max-width: 760px;
  margin: 0 auto clamp(34px, 5vw, 56px);
  text-align: center;
}

.welcome-home-notes__eyebrow {
  margin: 0 0 12px;
  color: #73546f;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.welcome-home-notes__heading h2 {
  margin: 0;
  color: #34273a;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.45;
}

.welcome-home-notes__heading > p:last-child {
  margin: 18px auto 0;
  color: #5f5561;
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  line-height: 1.9;
}

.welcome-home-notes__grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
}

.welcome-home-note {
  position: relative;
  display: flex;
  min-height: 220px;
  padding: 36px 26px 24px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(82, 67, 76, 0.12);
  border-radius: 5px 5px 18px 5px;
  color: #332b31;
  text-decoration: none;
  box-shadow:
    0 16px 30px rgba(73, 59, 67, 0.1);
  transform: rotate(-0.35deg);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.welcome-home-note:nth-child(even) {
  transform: rotate(0.45deg);
}

.welcome-home-note:hover,
.welcome-home-note:focus-visible {
  transform: translateY(-5px) rotate(0deg);
  box-shadow:
    0 20px 38px rgba(73, 59, 67, 0.16);
}

.welcome-home-note--1 {
  background: #fff3a8;
}

.welcome-home-note--2 {
  background: #f7d9e8;
}

.welcome-home-note--3 {
  background: #dcefd8;
}

.welcome-home-note--4 {
  background: #dce7f7;
}

.welcome-home-note--5 {
  background: #eadff3;
}

.welcome-home-note__pin {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #846779;
  box-shadow:
    0 2px 5px rgba(49, 38, 44, 0.28);
  transform: translateX(-50%);
}

.welcome-home-note__body {
  font-size: clamp(1rem, 1.8vw, 1.08rem);
  line-height: 1.85;
}

.welcome-home-note__more {
  display: block;
  margin-top: 24px;
  color: #5d4658;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: right;
}

.welcome-home-notes__actions {
  display: flex;
  margin-top: clamp(34px, 5vw, 52px);
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.welcome-home-notes__button {
  display: inline-flex;
  min-height: 50px;
  padding: 12px 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid #76566f;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.welcome-home-notes__button--primary {
  color: #fff;
  background: #76566f;
}

.welcome-home-notes__button--secondary {
  color: #654c60;
  background: #fff;
}

.welcome-home-notes__fallback {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  color: #5f5561;
  line-height: 1.8;
  text-align: center;
}

@media (max-width: 860px) {
  .welcome-home-notes__grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .welcome-home-notes {
    padding-inline: 16px;
  }

  .welcome-home-notes__grid {
    grid-template-columns: 1fr;
  }

  .welcome-home-note {
    min-height: 0;
    padding:
      34px 22px 22px;
  }

  .welcome-home-notes__actions {
    flex-direction: column;
  }

  .welcome-home-notes__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .welcome-home-note {
    transition: none;
  }
}