/* Ivory: ivory paper, dusty blue lace. Layout in themes/lace/wedding.css. */
.theme-ivory {
  --ink: #4a5f66;
  --band: #8094ac;
  --on-band: #f7f6f2;
}
.theme-ivory .wd-intro { padding-bottom: calc(var(--p) * 70); }
/* Countdown: a blue band between two lace trims */
.theme-ivory .wd-count { background: var(--band) !important; padding: calc(var(--p) * 92) 0 calc(var(--p) * 92); }
.theme-ivory .wd-deco--count_top { top: calc(var(--p) * -6); }
.theme-ivory .wd-deco--count_bottom { bottom: calc(var(--p) * -6); transform: scaleY(-1); }
.theme-ivory .wd-count__frame { width: calc(var(--p) * 300); }
.theme-ivory .wd-count__in { padding-bottom: calc(var(--p) * 90); }
.theme-ivory .wd-count__title, .theme-ivory .wd-count__nums, .theme-ivory .wd-count__cal { color: var(--on-band); }
.theme-ivory .wd-count__nums { gap: calc(var(--p) * 8); }
.theme-ivory .wd-count__nums b { font-size: calc(var(--p) * 28); }
.theme-ivory .wd-count__nums small { font-size: calc(var(--p) * 11.5); }
/* Location: the drawing carries the venue name */
.theme-ivory .wd-location { padding-top: calc(var(--p) * 92); padding-bottom: calc(var(--p) * 150); }
.theme-ivory .wd-location__art { width: calc(var(--p) * 412); height: auto; margin-top: calc(var(--p) * 18) !important; }
.theme-ivory .wd-location .wd-text { margin-top: calc(var(--p) * 34); }
.theme-ivory .wd-deco--location_bottom { left: 9%; width: 82% !important; bottom: calc(var(--p) * 40); }
/* Dress code: blue band with lace edges and the couple drawing */
.theme-ivory .wd-dress { background: var(--band); padding: calc(var(--p) * 120) 0 calc(var(--p) * 150); margin-top: calc(var(--p) * 60); }
.theme-ivory .wd-deco--dress_top { top: calc(var(--p) * -42); }
.theme-ivory .wd-deco--dress_bottom { bottom: calc(var(--p) * -42); }
.theme-ivory .wd-dress__box { width: calc(var(--p) * 320); }
.theme-ivory .wd-dress .wd-title { font-size: calc(var(--p) * 52); line-height: calc(var(--p) * 62); }
.theme-ivory .wd-dress__in { position: static; padding: 0; }
.theme-ivory .wd-dress__in .wd-title, .theme-ivory .wd-dress__in .wd-text { color: var(--on-band); }
.theme-ivory .wd-dress .wd-text { font-size: calc(var(--p) * 19.6); line-height: calc(var(--p) * 29.6); max-width: calc(var(--p) * 300); }
.theme-ivory .wd-dress__art { width: calc(var(--p) * 168); margin-top: calc(var(--p) * 40) !important; }
/* Transportation on paper, then lace onto the plain page */
.theme-ivory .wd-transport { padding-top: calc(var(--p) * 110); padding-bottom: calc(var(--p) * 150); }
.theme-ivory .wd-deco--transport_bottom { bottom: calc(var(--p) * -50); }
.theme-ivory .wd-stay { padding-top: calc(var(--p) * 90); padding-bottom: calc(var(--p) * 60); }
.theme-ivory .wd-deco--stay_bottom { bottom: calc(var(--p) * -14); }
/* Gift: embossed paper with the blue oval; the words sit inside the oval */
.theme-ivory .wd-gift { min-height: calc(var(--p) * 834); padding-top: calc(var(--p) * 56); }
.theme-ivory .wd-gift__in { position: absolute; left: 0; right: 0; top: calc(var(--p) * 330); padding: 0 calc(var(--p) * 128); }
.theme-ivory .wd-gift__sub, .theme-ivory .wd-gift__text { color: var(--on-band); }
.theme-ivory .wd-gift__sub { margin-top: 0 !important; font-size: calc(var(--p) * 30); line-height: calc(var(--p) * 36); }
.theme-ivory .wd-gift__text { max-width: none; }
.theme-ivory .wd-deco--gift_bottom { bottom: calc(var(--p) * -14); }
.theme-ivory .wd-deco--rsvp_bottom { bottom: calc(var(--p) * -40); }
/* Backgrounds (set here so the image paths resolve to this theme's folder) */
.theme-ivory .wd-intro, .theme-ivory .wd-count, .theme-ivory .wd-transport { background: #f3f0eb url("img/paper.webp") center top / 100% auto repeat-y; }
.theme-ivory .wd-hotel { background-image: url("img/hotel-frame.webp"); }
.theme-ivory .wd-gift { background-color: #e4e0d7; background-image: url("img/gift-bg.webp"); }
.theme-ivory .wd-gift__text { font-size: calc(var(--p) * 15.4); }
.theme-ivory .wd-stay { padding-top: calc(var(--p) * 120); }
.theme-ivory .wd-deco--gift_top { top: calc(var(--p) * -14); }
.theme-ivory .wd-gift { min-height: calc(var(--p) * 875); background-size: 110% auto; background-position: center calc(var(--p) * -4); }
.theme-ivory .wd-gift__in { top: calc(var(--p) * 352); }
.theme-ivory .wd-rsvp { padding-top: calc(var(--p) * 48); }
