/* Andry & Citra wedding presentation hotfix — 2026-09-27 */
.wedding-title-script {
  font-family: "Wedding Script", "URW Chancery L", "Brush Script MT", cursive !important;
  font-size: clamp(2rem, 4.2vw, 3.65rem) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  line-height: 1.12 !important;
  letter-spacing: .015em !important;
  text-transform: none !important;
  text-wrap: balance;
}

.desktop-dedication > .wedding-title-script {
  font-size: clamp(2.25rem, 3.4vw, 4rem) !important;
  margin-bottom: .35rem;
}

.cover-copy .wedding-title-script {
  margin: .3rem 0 .75rem;
}

.hero-copy .wedding-title-script {
  margin-bottom: .7rem;
}

.wish-list.wish-carousel {
  position: relative;
  max-height: min(31rem, 62svh) !important;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(64, 86, 76, .34) transparent;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 1.15rem, #000 calc(100% - 1.15rem), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 1.15rem, #000 calc(100% - 1.15rem), transparent 100%);
  padding-block: 1.2rem !important;
}

.wish-list.wish-carousel .wish {
  min-height: 9.5rem;
  scroll-margin-top: 1.2rem;
  scroll-snap-align: start;
}

.wish-list.wish-carousel .wish:last-of-type {
  margin-bottom: 1.2rem;
}

@media (max-width: 640px) {
  .wedding-title-script {
    font-size: clamp(2rem, 10vw, 3rem) !important;
  }

  .wish-list.wish-carousel {
    max-height: min(27rem, 58svh) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wish-list.wish-carousel {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }
}
