@font-face {
  font-family: 'Ovo';
  src: url('../fonts/Ovo-google.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Offline RSVP form */
.offline-rsvp {
  width: 100%;
  box-sizing: border-box;
  font-family: 'NewFonts', Arial, sans-serif;
  color: #2a2a2a;
}

.offline-rsvp-field {
  margin: 0 0 18px;
}

.offline-rsvp label,
.offline-rsvp legend {
  display: block;
  margin: 0 0 6px;
  color: #2a2a2a;
  font-size: 18px;
  font-weight: 100;
  line-height: 1.2;
}

.offline-rsvp input[type='text'],
.offline-rsvp input[type='number'] {
  display: block;
  width: 100%;
  height: 45px;
  box-sizing: border-box;
  padding: 0 12px;
  border: 1px solid #ac9778;
  border-radius: 5px;
  background: transparent;
  color: #2a2a2a;
  font-family: inherit;
  font-size: 20px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.offline-rsvp input[type='text']:focus,
.offline-rsvp input[type='number']:focus {
  border-color: #747b54;
  box-shadow: 0 0 0 2px rgba(116, 123, 84, 0.15);
}

.offline-rsvp-radio {
  min-width: 0;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.offline-rsvp-choice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 8px;
  color: #2a2a2a;
  font-size: 16px;
  font-weight: 100;
  line-height: 1.35;
  cursor: pointer;
}

.offline-rsvp-choice input {
  flex: 0 0 auto;
  margin: 3px 0 0;
  accent-color: #747b54;
}

.offline-rsvp-submit {
  display: block;
  width: 160px;
  height: 42px;
  margin: 4px auto 0;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: #747b54;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 100;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.offline-rsvp-submit:hover {
  background: #636a47;
}

.offline-rsvp-feedback {
  margin-top: 14px;
  color: #747b54;
  font-family: 'NewFonts', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  text-align: center;
}

.offline-rsvp-feedback[hidden] {
  display: none;
}

.offline-rsvp-note {
  margin: 10px 0 0;
  color: #866739;
  font-family: 'NewFonts', Arial, sans-serif;
  font-size: 11px;
  font-weight: 100;
  line-height: 1.3;
  text-align: center;
  opacity: 0.8;
}

/* Offline map */
.offline-map {
  position: relative;
  width: 335px;
  height: 335px;
  border-radius: 15px;
  overflow: hidden;
  background: #f2efe9;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.offline-map-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offline-map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 36px;
  height: auto;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
}

.offline-map-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.offline-map-attribution {
  position: absolute;
  right: 4px;
  bottom: 4px;
  z-index: 3;
  padding: 2px 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.85);
  color: #333;
  font-family: Arial, sans-serif;
  font-size: 9px;
  line-height: 1.2;
  text-decoration: none;
}

/* --- Fazul & Kamarunisha customisations --- */
/* Timeline: single event (Nikah) — hide unused rows, connector line and dots */
#rec2443433773 .tn-elem[data-elem-id="1780760554667000003"],
#rec2443433773 .tn-elem[data-elem-id="1780760554668000004"],
#rec2443433773 .tn-elem[data-elem-id="1780760554668000005"],
#rec2443433773 .tn-elem[data-elem-id="1780760554668000006"],
#rec2443433773 .tn-elem[data-elem-id="1780760554668000007"],
#rec2443433773 .tn-elem[data-elem-id="1780760554668000008"],
#rec2443433773 .tn-elem[data-elem-id="1780760554668000010"],
#rec2443433773 .tn-elem[data-elem-id="1780760716135000016"],
#rec2443433773 .tn-elem[data-elem-id="1780760740624000017"],
#rec2443433773 .tn-elem[data-elem-id="1780760688963"],
#rec2443433773 .tn-elem[data-elem-id="1780760554668000015"] { display: none !important; }
#rec2443433773 .tn-elem[data-elem-id="1780760554667000002"] .tn-atom { white-space: nowrap !important; }
#rec2443433773 .tn-elem[data-elem-id="1780760554667000002"] { margin-left: -24px; }

/* Location map in the gold frame — tap anywhere to open Google Maps */
.offline-map.location-map { background: radial-gradient(circle at 50% 42%, #fbf4ea 0%, #f2e6d3 70%, #ead9c0 100%); }
.location-card { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 40px; text-align: center; color: #866739; pointer-events: none; }
.location-card-pin { width: 46px; height: auto; margin-bottom: 14px; animation: locPinBob 2.4s ease-in-out infinite; }
.location-card-name { font-family: 'NewFonts', Arial, sans-serif; font-size: 26px; line-height: 1.2; }
.location-card-place { margin-top: 6px; font-family: 'NewFonts', Arial, sans-serif; font-size: 16px; letter-spacing: 0.08em; opacity: 0.8; }
@keyframes locPinBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.offline-map-cta { position: absolute; left: 50%; bottom: 14px; z-index: 1; transform: translateX(-50%); white-space: nowrap; padding: 7px 14px; border-radius: 999px; background: rgba(116, 123, 84, 0.92); color: #fff; font-family: 'NewFonts', Arial, sans-serif; font-size: 13px; letter-spacing: 0.3px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18); pointer-events: none; }

/* Invitation card text — English copy, slightly smaller to fit the frame */
#rec2443433743 .tn-elem[data-elem-id="1779624381838000001"] .tn-atom { font-size: 18px !important; line-height: 1.35 !important; }
/* Hero names — longer names, smaller size so they fit */
#rec2443433723 .tn-elem[data-elem-id="1779566247730000001"] .tn-atom { font-size: 26px !important; }
