/* Fit the couple's full names and celebration dates into the original layout. */
#rec2487446043 .tn-elem[data-elem-id="1763402147625"] .tn-atom {
  font-size: 56px !important;
  line-height: 1 !important;
  white-space: normal;
}

#rec2487446043 .tn-elem[data-elem-id="176340398328864790"] .tn-atom {
  font-size: 34px !important;
  line-height: 1 !important;
}

#rec2487446043 .tn-elem[data-elem-id="176340401720454780"] .tn-atom {
  font-size: 25px !important;
  line-height: 1 !important;
}

#rec2487446093 .tn-atom__html {
  position: relative;
  overflow: visible;
}

#rec2487446093 .tn-elem[data-elem-id="1771277551711000001"],
#rec2487446093 .tn-elem[data-elem-id="1771277551711000001"] .tn-atom {
  overflow: visible;
}

#rec2487446253 .tn-elem[data-elem-id="1772813849329000001"] .tn-atom {
  font-size: 24px !important;
  line-height: 1.2 !important;
}

/* Fit the portrait couple illustration inside the closing invitation panel. */
#rec2487446253 .tn-elem[data-elem-id="1780167388618000002"] {
  top: 130px !important;
  left: calc(50% - 180px) !important;
  width: 360px !important;
  height: 540px !important;
}

#rec2487446253 .tn-elem[data-elem-id="1780167388618000002"] .tn-atom {
  width: 100%;
  height: 100%;
}

#rec2487446253 .tn-elem[data-elem-id="1780167388618000002"] .tn-atom__img {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: contain;
  object-position: center top;
  filter: drop-shadow(0 12px 15px rgba(90, 60, 38, .18));
}

#rec2487446103 .tn-elem[data-elem-id="1772803062504"],
#rec2487446103 .tn-elem[data-elem-id="1772803288793000003"],
#rec2487446103 .tn-elem[data-elem-id="1782315588274000002"],
#rec2487446103 .tn-elem[data-elem-id="1778517684813000002"] {
  width: 120px !important;
}

/* Let Baraat's cream scallop be the single border into the schedule. */
#rec2487446103 .tn-elem[data-elem-id="1779527691672"] .tn-atom__img {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 38px, #000 96px);
  mask-image: linear-gradient(to bottom, transparent 0, transparent 38px, #000 96px);
}

/* Carry the schedule's parchment into the venue's cream background, with one shared ornament. */
#rec2487446103 .tn-elem[data-elem-id="1782315340571000001"] .tn-atom__img {
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 62%, transparent 96%);
  mask-image: linear-gradient(to bottom, #000 0, #000 62%, transparent 96%);
}

#rec2487446153 {
  position: relative;
}

#rec2487446153::before {
  content: "";
  position: absolute;
  z-index: 6;
  top: -37px;
  left: 50%;
  width: min(640px, calc(100vw - 24px));
  height: 74px;
  transform: translateX(-50%);
  background: url("images/schedule-location-ornament.svg") center center / contain no-repeat;
  pointer-events: none;
}

#rec2487446103 .tn-elem[data-elem-id="1772803062504"] .tn-atom,
#rec2487446103 .tn-elem[data-elem-id="1772803288793000003"] .tn-atom,
#rec2487446103 .tn-elem[data-elem-id="1782315588274000002"] .tn-atom,
#rec2487446103 .tn-elem[data-elem-id="1778517684813000002"] .tn-atom {
  white-space: nowrap;
}

#rec2487446153 .tn-elem[data-elem-id="1772804808869"],
#rec2487446153 .tn-elem[data-elem-id="1772813480591000001"] {
  left: 0 !important;
  right: 0 !important;
  width: min(380px, calc(100vw - 32px)) !important;
  margin-inline: auto !important;
}

#rec2487446153 .tn-elem[data-elem-id="1772804808869"] .tn-atom {
  font-size: clamp(17px, 4.7vw, 20px) !important;
  line-height: 1.3 !important;
}

#rec2487446153 .tn-elem[data-elem-id="1782312310182000001"] {
  left: 0 !important;
  right: 0 !important;
  width: min(450px, calc(100vw - 16px)) !important;
  height: 253px !important;
  margin-inline: auto !important;
}

#rec2487446153 .tn-elem[data-elem-id="1782312310182000001"] .tn-atom {
  height: 100%;
}

#rec2487446153 .tn-elem[data-elem-id="1782312310182000001"] .tn-atom__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

#rec2487446163 iframe {
  width: min(335px, calc(100vw - 32px));
  max-width: 100%;
}

.venue-map-link {
  padding: 0 20px 48px;
  background: #f9f0e0;
  text-align: center;
}

.venue-map-link a {
  display: inline-block;
  padding: 13px 25px;
  border: 1px solid #a67d2b;
  border-radius: 999px;
  background: #fff8ea;
  color: #805522;
  font-family: 'Ovo', Georgia, serif;
  font-size: 18px;
  line-height: 1.25;
  text-decoration: none;
}

.venue-map-link a:hover,
.venue-map-link a:focus-visible {
  background: #a67d2b;
  color: #fff;
}

#countdownEyebrow,
#countdownEventTime {
  position: absolute;
  left: 0;
  width: 100%;
  color: #a67d2b;
  text-align: center;
  font-family: Georgia, serif;
}

#countdownEyebrow {
  top: -16px;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

#countdownEventTime {
  top: 185px;
  display: block;
  font-size: 16px;
  white-space: nowrap;
}

@media (max-width: 479px) {
  #rec2487446043 .tn-elem[data-elem-id="1763402147625"] .tn-atom {
    font-size: clamp(40px, 12vw, 50px) !important;
    line-height: 1.18 !important;
  }

  #rec2487446043 .tn-elem[data-elem-id="176340398328864790"] .tn-atom {
    font-size: 30px !important;
  }

  #rec2487446043 .tn-elem[data-elem-id="176340401720454780"] .tn-atom {
    font-size: 23px !important;
  }

  #countdownEventTime {
    font-size: 15px;
  }

  #rec2487446253 .tn-elem[data-elem-id="1772813849329000001"] .tn-atom {
    font-size: 22px !important;
  }
}

@media (max-width: 359px) {
  #rec2487446253 .tn-elem[data-elem-id="1780167388618000002"] {
    left: 0 !important;
    width: 100vw !important;
    height: 150vw !important;
  }
}

/* RSVP popup matches the invitation's cream and gold palette. */
#rec2487446233 .t-popup__container {
  background: #fffaf0 !important;
  border: 1px solid #dfc893;
  border-radius: 16px !important;
}

#rec2487446233 .t702__title {
  color: #a67d2b !important;
  font-family: 'NewFonts', Georgia, serif !important;
  font-size: clamp(27px, 4vw, 37px) !important;
  line-height: 1.2;
}

#rec2487446233 .t702__descr,
#rec2487446233 .t-input-title,
#rec2487446233 .t-input-subtitle,
#rec2487446233 .t-radio__item {
  color: #6c513f !important;
  font-family: 'Ovo', Georgia, serif !important;
}

#rec2487446233 .t-input {
  background: #fffdf7 !important;
  border-color: #d4b877 !important;
  color: #4d3928 !important;
  font-family: 'Ovo', Georgia, serif !important;
}

#rec2487446233 .t-input:focus-visible {
  outline: 2px solid #a67d2b;
  outline-offset: 2px;
}

#rec2487446233 .t-btnflex.t-btnflex_type_submit {
  background-color: #a67d2b !important;
  border-radius: 999px !important;
  color: #fffaf0 !important;
  font-family: 'Ovo', Georgia, serif !important;
}

#rec2487446233 .t-btnflex.t-btnflex_type_submit:hover,
#rec2487446233 .t-btnflex.t-btnflex_type_submit:focus-visible {
  background-color: #805522 !important;
}

#rec2487446233 .rsvp-email-note {
  color: #6c513f;
  font-family: 'Ovo', Georgia, serif;
  font-size: 14px;
  line-height: 1.45;
  margin: 12px 0 0;
  text-align: center;
}
