:root {
  --celebration-paper-wash: linear-gradient(
    90deg,
    transparent,
    rgb(251 248 241 / 94%) 9%,
    rgb(251 248 241 / 94%) 91%,
    transparent
  );
}

#celebration #siteframe {
  background: #fbf8f1 url("/celebration-motifs.jpg") center top / 100% auto repeat-y;
}

body.wedding-background {
  min-height: 100vh;
  background:
    var(--celebration-paper-wash),
    #fbf8f1 url("/celebration-motifs.jpg") center top / 100% auto repeat-y;
}

:root {
  --celebration-mobile-paper: rgb(251 248 241 / 80%);
  --celebration-border-width: clamp(14px, 4.5vw, 21px);
  --celebration-mobile-background:
    url("/celebration-border-left.webp") left top / var(--celebration-border-width) auto repeat-y,
    url("/celebration-border-right.webp") right top / var(--celebration-border-width) auto repeat-y,
    url("/celebration-lattice-mobile-sun.webp") center top / 100% auto repeat-y,
    #f7eae1;
}

#celebration #siteframe.mobile {
  background: var(--celebration-mobile-background);
}

#celebration #siteframe.mobile .top .brand {
  font: inherit;
  letter-spacing: normal;
  padding-block: 9px;
}

@media (max-width: 760px) {
  #celebration #siteframe,
  body.wedding-background {
    background: var(--celebration-mobile-background);
  }

  #celebration #siteframe .top .brand {
    font: inherit;
    letter-spacing: normal;
    padding-block: 9px;
  }
}


  #celebration #siteframe.mobile :is(.homefacts, .page:not(.admin), .footer, .top) {
    margin-inline: var(--celebration-border-width);
  }

  #celebration #siteframe.mobile .top {
    background: transparent;
    padding: 0 10px;
    row-gap: 4px;
  }

  #celebration #siteframe.mobile .top nav.open {
  background: var(--celebration-mobile-paper);
}

#celebration #siteframe.mobile .top :is(.brand, .menubtn) {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    min-width: 44px;
    justify-content: center;
    padding: 0;
  }

@media (max-width: 760px) {
  #celebration #siteframe :is(.homefacts, .page:not(.admin), .footer, .top) {
    margin-inline: var(--celebration-border-width);
  }

  #celebration #siteframe .top {
    background: transparent;
    padding: 0 10px;
    row-gap: 4px;
  }

  #celebration #siteframe .top nav.open {
    background: var(--celebration-mobile-paper);
  }

  #celebration #siteframe .top :is(.brand, .menubtn) {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    min-width: 44px;
    justify-content: center;
    padding: 0;
  }
}

#celebration #siteframe.mobile :is(.hero-details, .hero-kicker, .homefacts, .page:not(.admin), .footer) {
  background: var(--celebration-mobile-paper);
}

#celebration #siteframe.mobile .hero-copy,
#celebration #siteframe.mobile .page:not(.admin) :is(.panel, fieldset, .success, .event-tagline, .mapfallback) {
  background: transparent;
}

@media (max-width: 760px) {
  #celebration #siteframe :is(.hero-details, .hero-kicker, .homefacts, .page:not(.admin), .footer) {
    background: var(--celebration-mobile-paper);
  }

  #celebration #siteframe .hero-copy,
  #celebration #siteframe .page:not(.admin) :is(.panel, fieldset, .success, .event-tagline, .mapfallback) {
    background: transparent;
  }
}

#celebration .top-icon,
#celebration #siteframe.mobile .top-label {
  display: none;
}

#celebration #siteframe.mobile .top-icon {
  display: block;
}

@media (max-width: 760px) {
  #celebration #siteframe .top-label {
    display: none;
  }

  #celebration #siteframe .top-icon {
    display: block;
  }
}
