/* Sweet Purple: romantic rose-plum editorial theme. */
.theme-sweet-purple {
  --sp-plum: #552441;
  --sp-berry: #833a66;
  --sp-rose: #cf7fa6;
  --sp-gold: #c2a06b;
  --sp-ink: #3e2935;
  --sp-muted: #78636e;
  --sp-paper: #fff9fb;
  overflow-x: hidden;
}

.theme-sweet-purple .cover-vignette {
  background: linear-gradient(180deg, rgba(45, 18, 37, .08), rgba(55, 20, 44, .18) 48%, rgba(35, 11, 28, .62));
}

.theme-sweet-purple .cover-content h1 {
  max-width: 650px;
  margin: 20px auto 17px;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(60px, 7.8vw, 100px);
  font-weight: 500;
  line-height: .86;
  letter-spacing: -.045em;
}

.theme-sweet-purple .cover-content h1 span {
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
}

.theme-sweet-purple .cover-content h1 em {
  margin: .08em 0;
  color: #f3bfd5;
  font-family: "Great Vibes", cursive;
  font-size: .55em;
}

.theme-sweet-purple .cover-kicker,
.theme-sweet-purple .cover-date {
  color: rgba(255, 255, 255, .9);
}

.theme-sweet-purple .guest-card {
  border-color: rgba(255, 255, 255, .34);
  background: rgba(52, 18, 41, .2);
  backdrop-filter: blur(7px);
}

.theme-sweet-purple .open-invitation {
  min-width: 184px;
  min-height: 45px;
  color: #fff;
  background: linear-gradient(135deg, #9f4f7c, #6a2d50);
  box-shadow: 0 16px 38px rgba(59, 21, 45, .28);
  transition: transform .25s ease, box-shadow .25s ease;
}

.theme-sweet-purple .open-invitation:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(59, 21, 45, .34);
}

.theme-sweet-purple .section-heading h2,
.theme-sweet-purple .invite-section > h2,
.theme-sweet-purple .story-copy h2,
.theme-sweet-purple .gift-panel h2,
.theme-sweet-purple .closing-section h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.theme-sweet-purple .section-label {
  color: #9d5578;
  letter-spacing: .2em;
}

.theme-sweet-purple .opening-section {
  padding-top: 92px;
  padding-bottom: 94px;
  background: linear-gradient(150deg, rgba(255, 250, 252, .98), rgba(249, 235, 242, .94)) !important;
}

.theme-sweet-purple .opening-section > h2 {
  color: var(--sp-plum);
  font-size: clamp(42px, 4.6vw, 60px);
}

.theme-sweet-purple .opening-section .lead-copy {
  width: min(610px, 100%);
  color: var(--sp-muted);
  font: 500 14px/1.85 "Lora", Georgia, serif;
}

.theme-sweet-purple .couple-section {
  padding: 104px max(24px, 5vw) 112px;
  color: var(--sp-ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(207, 127, 166, .15), transparent 24rem),
    radial-gradient(circle at 88% 82%, rgba(194, 160, 107, .12), transparent 20rem),
    #fff9fb !important;
}

.theme-sweet-purple .couple-section .section-heading h2 {
  color: var(--sp-plum);
  font-size: clamp(42px, 4.5vw, 62px);
}

.theme-sweet-purple .couple-layout {
  width: min(1100px, 100%);
  grid-template-columns: minmax(0, 1fr) 82px minmax(0, 1fr);
  gap: 28px;
}

.theme-sweet-purple .couple-card {
  grid-template-columns: minmax(180px, 225px) minmax(0, 1fr);
  gap: 27px;
  align-items: center;
}

.theme-sweet-purple .couple-bride {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 225px);
}

.theme-sweet-purple .portrait-wrap {
  height: 314px;
  padding: 8px;
  border: 1px solid rgba(131, 58, 102, .16);
  border-radius: 112px 112px 112px 12px;
  background: #fff;
  box-shadow: 0 25px 58px rgba(77, 35, 59, .14);
}

.theme-sweet-purple .couple-bride .portrait-wrap {
  border-radius: 112px 112px 12px 112px;
}

.theme-sweet-purple .portrait-wrap img,
.theme-sweet-purple .portrait-wrap:after {
  border-radius: inherit;
}

.theme-sweet-purple .couple-copy > small {
  color: #a55c7e;
  font-size: 9px;
}

.theme-sweet-purple .couple-card h3 {
  max-width: 340px;
  margin: 7px 0 0;
  color: var(--sp-plum);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(32px, 2.65vw, 42px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.035em;
}

.theme-sweet-purple .couple-bride h3,
.theme-sweet-purple .couple-bride .lineage,
.theme-sweet-purple .couple-bride p {
  margin-left: auto;
}

.theme-sweet-purple .lineage {
  max-width: 340px;
  margin: 10px 0 18px;
  color: #9a5576;
  font: italic 600 14px/1.5 "Cormorant Garamond", Georgia, serif;
}

.theme-sweet-purple .couple-copy p {
  max-width: 340px;
  color: var(--sp-muted);
  font-size: 12px;
}

.theme-sweet-purple .couple-copy p > strong {
  color: #5d4050;
  font-size: 13px;
}

.theme-sweet-purple .couple-amp {
  width: 82px;
  color: var(--sp-gold);
}

.theme-sweet-purple .date-section,
.theme-sweet-purple .gallery-section,
.theme-sweet-purple .wishes-section {
  background: linear-gradient(150deg, rgba(255, 250, 252, .98), rgba(247, 237, 242, .95)) !important;
}

.theme-sweet-purple .date-section .section-heading h2,
.theme-sweet-purple .gallery-section .section-heading h2,
.theme-sweet-purple .wishes-section .section-heading h2 {
  color: var(--sp-plum);
}

.theme-sweet-purple .section-heading p {
  color: var(--sp-muted);
  font-size: 13px;
}

.theme-sweet-purple .countdown {
  width: min(580px, 100%);
  gap: 8px;
  border: 0;
}

.theme-sweet-purple .countdown > div {
  padding: 18px 8px;
  border: 1px solid rgba(131, 58, 102, .13);
  border-radius: 24px 24px 7px 7px;
  color: var(--sp-plum);
  background: rgba(255, 255, 255, .8);
}

.theme-sweet-purple .countdown strong {
  color: var(--sp-plum);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 31px;
  font-weight: 600;
}

.theme-sweet-purple .countdown span {
  color: #927384;
}

.theme-sweet-purple .event-layout {
  width: min(920px, 100%);
  gap: 18px;
}

.theme-sweet-purple .event-card {
  padding: 43px 28px 31px;
  border: 1px solid rgba(131, 58, 102, .13);
  border-top: 3px solid var(--sp-rose);
  border-radius: 4px 4px 24px 24px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 20px 48px rgba(82, 39, 62, .08);
}

.theme-sweet-purple .event-card small,
.theme-sweet-purple .event-card h3 {
  color: var(--sp-plum);
}

.theme-sweet-purple .event-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
}

.theme-sweet-purple .event-card p {
  color: var(--sp-muted);
  font-size: 12px;
}

.theme-sweet-purple .event-actions a {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(131, 58, 102, .2);
  color: var(--sp-plum);
  font-size: 10px;
}

.theme-sweet-purple .event-actions a:last-child {
  border-color: var(--sp-plum);
  background: var(--sp-plum);
}

.theme-sweet-purple .story-section {
  background: linear-gradient(145deg, #4b203a, #793459) !important;
}

.theme-sweet-purple .story-photo {
  min-height: 650px;
}

.theme-sweet-purple .story-photo img {
  filter: saturate(.86) contrast(.97);
}

.theme-sweet-purple .story-copy h2 {
  color: #fff;
  font-size: clamp(41px, 4.8vw, 60px);
}

.theme-sweet-purple .story-intro,
.theme-sweet-purple .story-copy li p {
  color: rgba(255, 255, 255, .72);
}

.theme-sweet-purple .story-copy time {
  color: #efb9d0;
}

.theme-sweet-purple .gallery-grid {
  width: min(980px, 100%);
  gap: 9px;
}

.theme-sweet-purple .gallery-item {
  border-radius: 24px 6px 24px 6px;
  box-shadow: 0 14px 34px rgba(78, 35, 59, .1);
}

.theme-sweet-purple .gift-section {
  background-image: linear-gradient(rgba(57, 20, 43, .74), rgba(57, 20, 43, .8)), url('../../images/demo-wedding/gallery-5.jpg') !important;
}

.theme-sweet-purple .gift-panel {
  border-color: rgba(255, 255, 255, .24);
  border-radius: 28px 8px 28px 8px;
  background: rgba(72, 26, 54, .42);
}

.theme-sweet-purple .bank-card.haf-wallet {
  border: 1px solid rgba(131, 58, 102, .16);
  background: linear-gradient(145deg, #fff, #fff3f8);
}

.theme-sweet-purple .wishes-layout {
  width: min(940px, 100%);
}

.theme-sweet-purple .rsvp-form {
  border: 1px solid rgba(131, 58, 102, .14);
  border-top: 3px solid var(--sp-rose);
  border-radius: 5px 5px 22px 22px;
  color: var(--sp-ink);
  background: #fff;
  box-shadow: 0 20px 48px rgba(78, 35, 59, .08);
}

.theme-sweet-purple .rsvp-form label {
  color: #684c5c;
}

.theme-sweet-purple .rsvp-form input,
.theme-sweet-purple .rsvp-form select,
.theme-sweet-purple .rsvp-form textarea {
  border: 1px solid #e5d7de;
  border-radius: 10px;
  background: #fffbfd;
}

.theme-sweet-purple .rsvp-form button {
  min-height: 47px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #965076, #642947);
}

.theme-sweet-purple .wish-list article {
  border: 1px solid rgba(131, 58, 102, .11);
  border-radius: 16px 5px 16px 5px;
}

.theme-sweet-purple .wish-list article > div {
  background: var(--sp-plum);
}

.theme-sweet-purple .closing-section {
  background-position: center 58% !important;
}

.theme-sweet-purple .closing-section h2 {
  color: #fff;
}

.theme-sweet-purple .invite-dock {
  border-color: rgba(94, 42, 70, .18);
  background: rgba(255, 249, 252, .96);
  box-shadow: 0 16px 42px rgba(72, 28, 54, .2);
}

.theme-sweet-purple .invite-dock a {
  color: #907685;
}

.theme-sweet-purple .invite-dock a.active,
.theme-sweet-purple .invite-dock a.active i {
  color: var(--sp-plum);
}

.theme-sweet-purple .invite-dock a.active i {
  background: #f3d7e4;
}

.theme-sweet-purple .music-toggle,
.theme-sweet-purple .back-top {
  color: var(--sp-plum);
  border-color: #ead8e1;
}

@media (max-width: 1100px) and (min-width: 901px) {
  .theme-sweet-purple .couple-layout {
    width: min(720px, 100%);
    grid-template-columns: 1fr;
  }

  .theme-sweet-purple .couple-card {
    grid-template-columns: 225px minmax(0, 1fr);
  }

  .theme-sweet-purple .couple-bride {
    grid-template-columns: minmax(0, 1fr) 225px;
  }
}

@media (max-width: 900px) {
  .theme-sweet-purple .couple-section {
    padding: 76px 18px 94px;
  }

  .theme-sweet-purple .couple-layout {
    width: min(430px, 100%);
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .theme-sweet-purple .couple-card,
  .theme-sweet-purple .couple-bride {
    grid-template-columns: 1fr;
    gap: 21px;
    padding: 25px 18px 29px;
    text-align: center;
  }

  .theme-sweet-purple .couple-bride .portrait-wrap,
  .theme-sweet-purple .couple-bride .couple-copy {
    grid-column: 1;
    grid-row: auto;
    text-align: center;
  }

  .theme-sweet-purple .portrait-wrap {
    width: min(215px, 65vw);
    height: min(286px, 84vw);
    margin: auto;
  }

  .theme-sweet-purple .couple-card h3,
  .theme-sweet-purple .lineage,
  .theme-sweet-purple .couple-copy p {
    margin-right: auto;
    margin-left: auto;
  }

  .theme-sweet-purple .couple-card h3 {
    font-size: clamp(32px, 9.5vw, 39px);
  }

  .theme-sweet-purple .story-section {
    grid-template-columns: 1fr;
  }

  .theme-sweet-purple .story-photo {
    min-height: min(470px, 112vw);
  }
}

@media (max-width: 799px) {
  .theme-sweet-purple .cover-content {
    width: min(100%, 340px);
  }

  .theme-sweet-purple .cover-content h1 {
    font-size: clamp(55px, 17vw, 70px);
  }

  .theme-sweet-purple .opening-section {
    padding: 62px 18px 58px;
  }

  .theme-sweet-purple .opening-section > h2,
  .theme-sweet-purple .couple-section .section-heading h2 {
    font-size: clamp(34px, 10vw, 42px);
  }

  .theme-sweet-purple .opening-section .lead-copy {
    width: min(310px, 100%);
    font-size: 13px;
  }

  .theme-sweet-purple .date-section,
  .theme-sweet-purple .gallery-section,
  .theme-sweet-purple .wishes-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .theme-sweet-purple .countdown {
    gap: 5px;
  }

  .theme-sweet-purple .countdown > div {
    padding: 14px 3px;
    border-radius: 17px 17px 5px 5px;
  }

  .theme-sweet-purple .countdown strong {
    font-size: 26px;
  }

  .theme-sweet-purple .event-layout,
  .theme-sweet-purple .wishes-layout {
    grid-template-columns: 1fr;
  }

  .theme-sweet-purple .event-card {
    padding: 36px 20px 25px;
  }

  .theme-sweet-purple .event-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .theme-sweet-purple .event-actions a {
    width: 100%;
  }

  .theme-sweet-purple .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 145px;
  }

  .theme-sweet-purple .gallery-item:first-child {
    grid-column: 1 / -1;
    grid-row: span 2;
  }

  .theme-sweet-purple .gift-panel,
  .theme-sweet-purple .rsvp-form {
    padding-right: 18px;
    padding-left: 18px;
  }

  .theme-sweet-purple .rsvp-form input,
  .theme-sweet-purple .rsvp-form select,
  .theme-sweet-purple .rsvp-form textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .theme-sweet-purple .invite-section:not(.opening-section) {
    padding-bottom: calc(98px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 360px) {
  .theme-sweet-purple .event-actions {
    grid-template-columns: 1fr;
  }

  .theme-sweet-purple .cover-content h1 {
    font-size: 52px;
  }
}
