/* IranNastaliqWeb — iOS fix (researched):
   1) Official IranNastaliq puts joining ligatures in OpenType `cswh` (OFF by default in HarfBuzz/CoreText).
   2) We folded those lookups into `calt` (ON by default) and removed Apple AAT `morx/feat/prop`
      so iOS Safari uses OpenType shaping, not broken/partial AAT.
   3) Unique family name + no local() so a desktop IranNastaliq never hijacks the web font.
   4) No font-feature-settings (can interfere with WebKit Arabic). */
@font-face {
  font-family: 'IranNastaliqWeb';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src:
    url('../fonts.gstatic.com/persian/IranNastaliq-Web.woff2?v=otcalt1') format('woff2'),
    url('../fonts.gstatic.com/persian/IranNastaliq-Web.woff?v=otcalt1') format('woff'),
    url('../fonts.gstatic.com/persian/IranNastaliq-Web.ttf?v=otcalt1') format('truetype');
}

:root {
  --fa-display: 'IranNastaliqWeb', Tahoma, 'Geeza Pro', serif;
  --fa-ui: 'IranNastaliqWeb', Tahoma, 'Geeza Pro', serif;
  --fa-body: 'IranNastaliqWeb', Tahoma, 'Geeza Pro', serif;
}

html {
  direction: rtl;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

html, body, .t-body, #allrecords {
  font-family: 'IranNastaliqWeb', Tahoma, 'Geeza Pro', serif !important;
  font-weight: 400 !important;
  font-synthesis: none !important;
  font-variant-ligatures: common-ligatures contextual !important;
  letter-spacing: 0 !important;
  word-spacing: normal !important;
  direction: rtl !important;
  text-rendering: optimizeLegibility !important;
}

/* Never let letter-spacing / synthesis / zoom break Arabic shaping */
#allrecords,
#allrecords * {
  letter-spacing: 0 !important;
  word-spacing: normal !important;
  font-synthesis: none !important;
  text-transform: none !important;
}

#allrecords .tn-elem,
#allrecords .tn-elem .tn-atom,
#allrecords .tn-atom,
#allrecords .t-title,
#allrecords .t-descr,
#allrecords .t-text,
#allrecords .t-input-title,
#allrecords .t-input-subtitle,
#allrecords .t702__title,
#allrecords .t702__descr,
#allrecords .t-btnflex,
#allrecords .t-btnflex__text,
#allrecords .t-radio__item,
#allrecords label,
#allrecords button,
#allrecords input,
#allrecords textarea,
#allrecords select,
#allrecords .label,
#allrecords .js-successbox,
#allrecords .number,
#allrecords .separator,
#weiTapLabel,
#weiTapLabel *,
.wei-nav,
.wei-nav * {
  font-family: 'IranNastaliqWeb', Tahoma, 'Geeza Pro', serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-synthesis: none !important;
  letter-spacing: 0 !important;
  word-spacing: normal !important;
  text-transform: none !important;
  direction: rtl !important;
  unicode-bidi: normal !important;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100% !important;
  font-variant-ligatures: common-ligatures contextual !important;
}

.tn-atom,
.t-title,
.t-descr,
.t-text,
.label,
.js-successbox {
  line-height: 2 !important;
}

.t-input-title,
.t-input-subtitle,
.t702__title,
.t702__descr,
.t-btnflex,
.t-btnflex__text,
.t-radio__item,
label,
button,
input,
textarea,
select {
  line-height: 1.7 !important;
}

/* Envelope tap label — Nastaliq */
#weiTapLabel,
#weiTapLabel * {
  font-family: var(--fa-display) !important;
  font-size: 21px !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  word-spacing: normal !important;
  text-transform: none !important;
  direction: rtl !important;
  unicode-bidi: isolate !important;
  animation: weiPulseOpacity 2.4s 1.6s ease-in-out infinite !important;
}

@keyframes weiPulseOpacity {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

.tn-elem[data-elem-type="text"] {
  height: auto !important;
}

.tn-elem[data-elem-type="text"] .tn-atom {
  overflow: visible !important;
}

/* Hero names — higher in the arch */
#rec2487446043 .tn-elem[data-elem-id="1763402147625"] {
  top: 255px !important;
  height: auto !important;
  z-index: 4 !important;
}
#rec2487446043 .tn-elem[data-elem-id="1763402147625"] .tn-atom {
  font-size: 83px !important;
  line-height: 1.12 !important;
}

#rec2487446043 .tn-elem[data-elem-id="1763402147625"] .wei-and {
  display: inline-block !important;
  font-size: 45px !important;
  line-height: 1.05 !important;
  opacity: 0.9;
  transform: none !important;
}

#rec2487446043 .tn-elem[data-elem-id="1763402147625"] .wei-surnames {
  display: block !important;
  margin-top: 2px !important;
  font-size: 31px !important;
  line-height: 1.3 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  opacity: 0.85;
  transform: none !important;
}

/* Old floating «و» — now inlined in names */
#rec2487446043 .tn-elem[data-elem-id="176340390975774690"] {
  display: none !important;
}

/* Countdown section — timer first, date/time under it */
#rec2487446093 .t396__artboard,
#rec2487446093 .t396__filter,
#rec2487446093 .t396__carrier {
  height: 300px !important;
}
@media screen and (max-width: 1199px) {
  #rec2487446093 .t396__artboard,
  #rec2487446093 .t396__filter,
  #rec2487446093 .t396__carrier { height: 290px !important; }
}
@media screen and (max-width: 479px) {
  #rec2487446093 .t396__artboard,
  #rec2487446093 .t396__filter,
  #rec2487446093 .t396__carrier { height: 280px !important; }
}

#rec2487446093 .tn-elem[data-elem-id="1771277551711000001"] {
  top: 18px !important;
  height: 150px !important;
  z-index: 2 !important;
}

#rec2487446093 .tn-elem[data-elem-id="1771277026942000001"] {
  top: 175px !important;
  height: auto !important;
  z-index: 3 !important;
}
#rec2487446093 .tn-elem[data-elem-id="1771277026942000001"] .tn-atom {
  line-height: 1.55 !important;
  font-size: 29px !important;
}

.tn-elem[data-elem-id="176340390975774690"] .tn-atom,
.tn-elem[data-elem-id="1780748008617000003"] .tn-atom,
.tn-elem[data-elem-id="1763405219328"] .tn-atom,
.tn-elem[data-elem-id="1772813849329000001"] .tn-atom {
  line-height: 1.85 !important;
}

input.t-input,
textarea,
.t-input,
.number,
.separator {
  font-family: var(--fa-display) !important;
  line-height: 1.4 !important;
  direction: rtl !important;
}

.tn-elem[data-elem-id="1782312134224"] {
  color: #a67d2b !important;
  text-align: center !important;
  width: 560px !important;
  height: auto !important;
  left: calc(50% - 600px + 320px) !important;
}
.tn-elem[data-elem-id="1782312134224"] .tn-atom {
  color: #a67d2b !important;
  text-align: center !important;
  font-size: 31px !important;
  line-height: 2 !important;
  overflow: visible !important;
}
.tn-elem[data-elem-id="1782312134224"] img {
  display: none !important;
}
@media screen and (max-width: 1199px) {
  .tn-elem[data-elem-id="1782312134224"] { left: calc(50% - 480px + 200px) !important; }
}
@media screen and (max-width: 959px) {
  .tn-elem[data-elem-id="1782312134224"] { left: calc(50% - 320px + 40px) !important; }
}
@media screen and (max-width: 639px) {
  .tn-elem[data-elem-id="1782312134224"] {
    left: 5% !important;
    width: 90% !important;
    max-width: 90vw !important;
  }
}

#countdownContainer {
  direction: ltr;
  unicode-bidi: isolate;
  margin: 12px 12px !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 2px !important;
  width: auto !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
}
#countdownContainer .time-block {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  text-align: center !important;
}
#countdownContainer .number {
  font-size: 52px !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}
#countdownContainer .number-wrap {
  height: 56px !important;
}
#countdownContainer .separator {
  flex: 0 0 auto !important;
  font-size: 44px !important;
  margin-top: -6px !important;
  line-height: 56px !important;
  align-self: flex-start !important;
  padding: 0 1px !important;
}
#countdownContainer .label {
  font-family: var(--fa-display) !important;
  font-size: 23px;
  line-height: 1.4 !important;
  margin-top: 4px !important;
  direction: rtl !important;
  unicode-bidi: isolate !important;
  white-space: nowrap !important;
}

/* Photography notice — full-bleed torn paper, no florals */
#rec2487446103 {
  background-color: #f9f0e0 !important;
}
#rec2487446103 .t396,
#rec2487446103 .t396__artboard {
  position: relative !important;
  overflow: hidden !important;
}
#rec2487446103 .t396__artboard,
#rec2487446103 .t396__filter,
#rec2487446103 .t396__carrier {
  height: 340px !important;
  background-color: #f9f0e0 !important;
}
#rec2487446103 .t396__filter {
  opacity: 0 !important;
}
#rec2487446103 .t396__carrier {
  background-image: none !important;
}

.wei-paper {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.wei-paper__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.wei-paper__sheet {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100.4%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: fill;
  object-position: center center;
  display: block;
}

#rec2487446103 .tn-elem:not([data-elem-id="weiPhotoNote"]) {
  display: none !important;
}
#rec2487446103 .tn-elem[data-elem-id="weiPhotoNote"] {
  display: table !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: min(560px, 86%) !important;
  transform: translate(-50%, -50%) !important;
  z-index: 10 !important;
  text-align: center !important;
}
#rec2487446103 .tn-elem[data-elem-id="weiPhotoNote"] .tn-atom {
  font-size: 32px !important;
  line-height: 1.95 !important;
  color: #8a6a3a !important;
  text-align: center !important;
  white-space: normal !important;
  padding: 8px 6px !important;
}
@media screen and (max-width: 639px) {
  #rec2487446103 .t396__artboard,
  #rec2487446103 .t396__filter,
  #rec2487446103 .t396__carrier {
    height: 320px !important;
  }
  #rec2487446103 .tn-elem[data-elem-id="weiPhotoNote"] {
    width: 88% !important;
  }
  #rec2487446103 .tn-elem[data-elem-id="weiPhotoNote"] .tn-atom {
    font-size: 22px !important;
    line-height: 1.9 !important;
  }
}
@media screen and (max-width: 479px) {
  #rec2487446103 .t396__artboard,
  #rec2487446103 .t396__filter,
  #rec2487446103 .t396__carrier {
    height: 300px !important;
  }
  #rec2487446103 .tn-elem[data-elem-id="weiPhotoNote"] {
    width: 90% !important;
  }
  #rec2487446103 .tn-elem[data-elem-id="weiPhotoNote"] .tn-atom {
    font-size: 20px !important;
  }
}

/* Closing block — cropped floral full-bleed; text in cradle */
#rec2487446253,
#rec2487446253 .t396,
#rec2487446253 .t396__artboard,
#rec2487446253 .r {
  overflow: hidden !important;
}
#allrecords #rec2487446253 {
  margin-top: -72px !important;
  padding-top: 0 !important;
}
#rec2487446253 .t396__artboard,
#rec2487446253 .t396__filter,
#rec2487446253 .t396__carrier {
  height: min(78vw, 560px) !important;
  overflow: hidden !important;
}
#rec2487446253 .tn-elem[data-elem-id="1778673930481"] {
  display: none !important;
}
#rec2487446253 .tn-elem[data-elem-id="1763405219328"] {
  top: 22% !important;
  left: 10% !important;
  width: 80% !important;
  z-index: 5 !important;
}
#rec2487446253 .tn-elem[data-elem-id="1763405219328"] .tn-atom {
  font-size: 38px !important;
  line-height: 1.7 !important;
}
#rec2487446253 .tn-elem[data-elem-id="1772813849329000001"] {
  top: 46% !important;
  left: 12% !important;
  width: 76% !important;
  z-index: 5 !important;
}
#rec2487446253 .tn-elem[data-elem-id="1772813849329000001"] .tn-atom {
  font-size: 42px !important;
  line-height: 1.6 !important;
}
#rec2487446253 .tn-elem[data-elem-id="1780167388618000002"] {
  top: calc(-4% + 70px) !important;
  left: 50% !important;
  width: 128vw !important;
  max-width: none !important;
  min-width: 128vw !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translateX(-50%) !important;
  z-index: 1 !important;
}
#rec2487446253 .tn-elem[data-elem-id="1780167388618000002"] .tn-atom {
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
#rec2487446253 .tn-elem[data-elem-id="1780167388618000002"] .tn-atom__img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center bottom !important;
}
@media screen and (max-width: 639px) {
  #allrecords #rec2487446253 {
    margin-top: -56px !important;
  }
  #rec2487446253 .t396__artboard,
  #rec2487446253 .t396__filter,
  #rec2487446253 .t396__carrier {
    height: 82vw !important;
  }
  #rec2487446253 .tn-elem[data-elem-id="1780167388618000002"] {
    top: calc(-6% + 70px) !important;
    width: 135vw !important;
    min-width: 135vw !important;
  }
  #rec2487446253 .tn-elem[data-elem-id="1763405219328"] {
    top: 20% !important;
    left: 8% !important;
    width: 84% !important;
  }
  #rec2487446253 .tn-elem[data-elem-id="1772813849329000001"] {
    top: 44% !important;
    left: 10% !important;
    width: 80% !important;
  }
}



/* iOS / WebKit: never zoom text; font is OT-only (AAT stripped) with cswh folded into calt */
@supports (-webkit-touch-callout: none) {
  #allrecords .tn-elem[data-elem-type="text"],
  #allrecords .tn-elem[data-elem-type="text"] .tn-atom,
  #allrecords .tn-elem[data-elem-type="html"],
  #weiTapLabel {
    -webkit-text-size-adjust: 100% !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
    font-family: 'IranNastaliqWeb', Tahoma, 'Geeza Pro', serif !important;
  }
}

/* Override Tilda NewFonts/Arial stacks */
#allrecords .tn-atom,
#allrecords .t-text,
#allrecords .t-title,
#allrecords .t-descr {
  font-family: 'IranNastaliqWeb', Tahoma, 'Geeza Pro', serif !important;
  direction: rtl !important;
  unicode-bidi: normal !important;
  letter-spacing: 0 !important;
  word-spacing: normal !important;
  font-synthesis: none !important;
  text-rendering: optimizeLegibility !important;
}

#allrecords #weiTapLabel {
  font-family: 'IranNastaliqWeb', Tahoma, 'Geeza Pro', serif !important;
}

/* iOS Safari: zoom breaks Arabic shaping — neutralize on text atoms */
@supports (-webkit-touch-callout: none) {
  .tn-elem[data-elem-type="text"],
  .tn-elem[data-elem-type="text"] .tn-atom {
    -webkit-text-size-adjust: 100%;
  }
}

/* Venue section — clean vertical stack */
#rec2487446153 .t396__artboard,
#rec2487446153 .t396__filter,
#rec2487446153 .t396__carrier {
  height: 560px !important;
  overflow: visible !important;
}

/* Hide scattered flourishes that collide with text on all sizes */
#rec2487446153 .tn-elem[data-elem-id="1782460410648000001"],
#rec2487446153 .tn-elem[data-elem-id="1782460410648000002"],
#rec2487446153 .tn-elem[data-elem-id="1782460410648000003"],
#rec2487446153 .tn-elem[data-elem-id="1782460410649000004"],
#rec2487446153 .tn-elem[data-elem-id="1782460410649000005"],
#rec2487446153 .tn-elem[data-elem-id="1782460410649000006"] {
  display: none !important;
}

/* Title */
#rec2487446153 .tn-elem[data-elem-id="1771277026942000001"] {
  top: 12px !important;
  left: 5% !important;
  width: 90% !important;
  z-index: 5 !important;
}
#rec2487446153 .tn-elem[data-elem-id="1771277026942000001"] .tn-atom {
  font-size: 35px !important;
  line-height: 1.5 !important;
  text-align: center !important;
}

/* Center divider under title */
#rec2487446153 .tn-elem[data-elem-id="1780148246706000001"] {
  display: table !important;
  top: 62px !important;
  left: 50% !important;
  width: 110px !important;
  height: auto !important;
  transform: translateX(-50%) !important;
  z-index: 4 !important;
}
#rec2487446153 .tn-elem[data-elem-id="1780148246706000001"] .tn-atom,
#rec2487446153 .tn-elem[data-elem-id="1780148246706000001"] img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* Venue name (legacy Islamic Center slot — keep hidden) */
#rec2487446153 .tn-elem[data-elem-id="1772804808869"] {
  display: none !important;
}

/* Palace PNG above address */
#rec2487446153 .tn-elem[data-elem-id="1782312310182000001"] {
  display: table !important;
  top: 95px !important;
  left: 50% !important;
  width: min(440px, 88vw) !important;
  max-width: 88% !important;
  height: auto !important;
  transform: translateX(-50%) !important;
  z-index: 3 !important;
}
#rec2487446153 .tn-elem[data-elem-id="1782312310182000001"] .tn-atom,
#rec2487446153 .tn-elem[data-elem-id="1782312310182000001"] .tn-atom__img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  background: transparent !important;
}

/* Address under palace */
#rec2487446153 .tn-elem[data-elem-id="1772813480591000001"] {
  top: 370px !important;
  left: 5% !important;
  width: 90% !important;
  z-index: 5 !important;
}
#rec2487446153 .tn-elem[data-elem-id="1772813480591000001"] .tn-atom {
  font-size: 28px !important;
  line-height: 1.85 !important;
  text-align: center !important;
}
#rec2487446153 .tn-elem[data-elem-id="1772813480591000001"] .wei-venue-bold,
#rec2487446153 .tn-elem[data-elem-id="1772813480591000001"] strong {
  font-weight: 700 !important;
  font-synthesis: weight !important;
  display: inline !important;
  font-size: 1.12em !important;
}

.tn-elem[data-elem-id="1772823499423"]{display:none!important;}

/* ========== Responsive hardening ========== */
html, body {
  overflow-x: clip;
  max-width: 100%;
}

iframe {
  max-width: 100% !important;
}

#weiImg, #weiVideo {
  max-width: min(440px, 92vw);
  height: auto;
}

#weiSwanVideo {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #f9f0e0;
}

#countdownContainer {
  max-width: 100%;
  box-sizing: border-box;
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center;
  align-items: flex-start !important;
  gap: 2px 4px;
}
#countdownContainer .time-block {
  min-width: 0 !important;
  flex: 1 1 0 !important;
}
#countdownContainer .number {
  font-variant-numeric: tabular-nums;
}

/* Mobile — side gutters ~5–6%, tighten vertical rhythm */
@media screen and (max-width: 639px) {
  #allrecords .tn-elem[data-elem-type="text"] .tn-atom {
    text-align: center !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
    box-sizing: border-box !important;
  }

  /* Hero names */
  #rec2487446043 .tn-elem[data-elem-id="1763402147625"] {
    top: 195px !important;
    left: 6% !important;
    width: 88% !important;
    max-width: 88vw !important;
  }
  #rec2487446043 .tn-elem[data-elem-id="1763402147625"] .tn-atom {
    font-size: 65px !important;
    line-height: 1.1 !important;
  }
  #rec2487446043 .tn-elem[data-elem-id="1763402147625"] .wei-and {
    font-size: 37px !important;
    margin: 0 !important;
  }
  #rec2487446043 .tn-elem[data-elem-id="1763402147625"] .wei-surnames {
    font-size: 25px !important;
    margin-top: 2px !important;
  }

  /* Bismillah / shared centered texts */
  .tn-elem[data-elem-id="1782312134224"],
  #rec2487446093 .tn-elem[data-elem-id="1771277026942000001"],
  .tn-elem[data-elem-id="1780748008617000003"],
  .tn-elem[data-elem-id="1780748008617000005"] {
    left: 5% !important;
    width: 90% !important;
    max-width: 90vw !important;
  }
  .tn-elem[data-elem-id="1782312134224"] .tn-atom {
    font-size: 23px !important;
    line-height: 1.85 !important;
  }

  /* Countdown title + digits — timer on top, date under */
  #rec2487446093 .tn-elem[data-elem-id="1771277026942000001"] {
    top: 155px !important;
  }
  #rec2487446093 .tn-elem[data-elem-id="1771277026942000001"] .tn-atom {
    font-size: 22px !important;
    line-height: 1.5 !important;
  }
  #rec2487446093 .tn-elem[data-elem-id="1771277551711000001"] {
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    top: 12px !important;
    height: auto !important;
  }
  #rec2487446093 .t396__artboard,
  #rec2487446093 .t396__filter,
  #rec2487446093 .t396__carrier {
    height: 270px !important;
  }
  #countdownContainer {
    margin: 0 auto !important;
    padding: 0 4px !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    flex-wrap: nowrap !important;
    gap: 0 1px !important;
    box-sizing: border-box !important;
  }
  #countdownContainer .time-block {
    min-width: 0 !important;
    flex: 1 1 0 !important;
    padding: 0 !important;
  }
  #countdownContainer .number-wrap {
    height: 40px !important;
  }
  #countdownContainer .separator {
    font-size: 30px !important;
    margin-top: 0 !important;
    line-height: 40px !important;
    padding: 0 !important;
  }
  #countdownContainer .label {
    font-size: 16px !important;
    line-height: 1.2 !important;
    margin-top: 2px !important;
    white-space: nowrap !important;
  }
  #countdownContainer .number {
    font-size: 28px !important;
    line-height: 1.05 !important;
  }

  /* Venue mobile — palace above address */
  #rec2487446153 .t396__artboard,
  #rec2487446153 .t396__filter,
  #rec2487446153 .t396__carrier {
    height: 520px !important;
  }
  #rec2487446153 .tn-elem[data-elem-id="1771277026942000001"] {
    top: 8px !important;
    left: 5% !important;
    width: 90% !important;
  }
  #rec2487446153 .tn-elem[data-elem-id="1771277026942000001"] .tn-atom {
    font-size: 29px !important;
    line-height: 1.45 !important;
  }
  #rec2487446153 .tn-elem[data-elem-id="1780148246706000001"] {
    top: 52px !important;
    width: 88px !important;
  }
  #rec2487446153 .tn-elem[data-elem-id="1772804808869"] {
    display: none !important;
  }
  #rec2487446153 .tn-elem[data-elem-id="1782312310182000001"] {
    top: 85px !important;
    left: 6% !important;
    width: 88% !important;
    max-width: 88vw !important;
    transform: none !important;
  }
  #rec2487446153 .tn-elem[data-elem-id="1772813480591000001"] {
    top: 340px !important;
    left: 5% !important;
    width: 90% !important;
  }
  #rec2487446153 .tn-elem[data-elem-id="1772813480591000001"] .tn-atom {
    font-size: 23px !important;
    line-height: 1.8 !important;
  }

  /* Map */
  #rec2487446163 .t396__artboard,
  #rec2487446163 .t396__filter,
  #rec2487446163 .t396__carrier {
    height: 400px !important;
  }
  .wei-map-hit {
    width: min(335px, 88vw) !important;
    height: min(335px, 88vw) !important;
  }
  #rec2487446163 iframe {
    width: min(335px, 88vw) !important;
    height: min(335px, 88vw) !important;
  }

  /* Photo note */
  #rec2487446103 .t396__artboard,
  #rec2487446103 .t396__filter,
  #rec2487446103 .t396__carrier {
    height: 300px !important;
  }
  #rec2487446103 .tn-elem[data-elem-id="weiPhotoNote"] {
    left: 50% !important;
    width: 72% !important;
    max-width: 88vw !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
  }
  #rec2487446103 .tn-elem[data-elem-id="weiPhotoNote"] .tn-atom {
    font-size: 22px !important;
    line-height: 1.9 !important;
  }

  /* Closing floral text */
  #rec2487446253 .tn-elem[data-elem-id="1763405219328"] {
    top: 18% !important;
    left: 8% !important;
    width: 84% !important;
    max-width: 84vw !important;
  }
  #rec2487446253 .tn-elem[data-elem-id="1763405219328"] .tn-atom {
    font-size: 28px !important;
    line-height: 1.7 !important;
  }
  #rec2487446253 .tn-elem[data-elem-id="1772813849329000001"] {
    left: 10% !important;
    width: 80% !important;
    max-width: 80vw !important;
    top: 36% !important;
  }
  #rec2487446253 .tn-elem[data-elem-id="1772813849329000001"] .tn-atom {
    font-size: 34px !important;
  }
  #rec2487446253 .tn-elem[data-elem-id="1780167388618000002"] {
    top: calc(-6% + 70px) !important;
    left: 50% !important;
    width: 135vw !important;
    min-width: 135vw !important;
    max-width: none !important;
    transform: translateX(-50%) !important;
  }

  /* RSVP form side padding */
  #rec2487446233 .t-container,
  #rec2487446233 .t702__container,
  #rec2487446233 .t-popup__container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }
  #rec2487446233 .t702__title,
  #rec2487446233 .t702__descr {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

@media screen and (max-width: 379px) {
  #rec2487446043 .tn-elem[data-elem-id="1763402147625"] {
    left: 5% !important;
    width: 90% !important;
  }
  #rec2487446043 .tn-elem[data-elem-id="1763402147625"] .tn-atom {
    font-size: 57px !important;
  }
  #rec2487446043 .tn-elem[data-elem-id="1763402147625"] .wei-and {
    font-size: 33px !important;
  }
  #rec2487446043 .tn-elem[data-elem-id="1763402147625"] .wei-surnames {
    font-size: 23px !important;
  }
  #rec2487446153 .tn-elem[data-elem-id="1771277026942000001"] .tn-atom {
    font-size: 27px !important;
  }
  #countdownContainer {
    padding: 0 2px !important;
    gap: 0 !important;
  }
  #countdownContainer .number {
    font-size: 24px !important;
  }
  #countdownContainer .label {
    font-size: 14px !important;
  }
  #countdownContainer .separator {
    font-size: 24px !important;
    line-height: 34px !important;
  }
  #countdownContainer .number-wrap {
    height: 34px !important;
  }
  #rec2487446253 .tn-elem[data-elem-id="1763405219328"] .tn-atom {
    font-size: 24px !important;
  }
}

/* Tablet */
@media screen and (min-width: 640px) and (max-width: 959px) {
  #rec2487446043 .tn-elem[data-elem-id="1763402147625"] .tn-atom {
    font-size: 75px !important;
  }
  #rec2487446043 .tn-elem[data-elem-id="1763402147625"] .wei-and {
    font-size: 41px !important;
  }
  #rec2487446043 .tn-elem[data-elem-id="1763402147625"] .wei-surnames {
    font-size: 27px !important;
  }
  #rec2487446103 .tn-elem[data-elem-id="weiPhotoNote"] {
    left: 50% !important;
    width: min(480px, 84%) !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
  }
}


/* Navigation app chooser */
.wei-map-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}
.wei-map-hit {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 335px;
  height: 335px;
  max-width: 100%;
  border: 0;
  border-radius: 15px;
  background: transparent;
  cursor: pointer;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
}
.wei-map-hit::after {
  content: "مسیریابی";
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(52, 40, 28, 0.82);
  color: #f7f1e6;
  font-family: var(--fa-display, 'IranNastaliqWeb', Tahoma, serif);
  font-size: 17px;
  letter-spacing: 0;
  pointer-events: none;
  box-shadow: 0 6px 18px rgba(40, 28, 18, 0.18);
}
html.wei-nav-open,
html.wei-nav-open body {
  overflow: hidden;
}
.wei-nav {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  direction: rtl;
}
.wei-nav[hidden] {
  display: none !important;
}
.wei-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 20, 14, 0.42);
}
.wei-nav__panel {
  position: relative;
  width: min(420px, 100%);
  background: #f6f0e6;
  border-radius: 22px 22px 0 0;
  padding: 14px 20px 28px;
  box-shadow: 0 -12px 40px rgba(40, 28, 18, 0.18);
  animation: weiNavUp 0.28s ease-out;
}
@keyframes weiNavUp {
  from { transform: translateY(24px); opacity: 0.6; }
  to { transform: translateY(0); opacity: 1; }
}
.wei-nav__handle {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: rgba(90, 70, 50, 0.28);
  margin: 2px auto 14px;
}
.wei-nav__title {
  margin: 0;
  text-align: center;
  font-family: var(--fa-display, 'IranNastaliqWeb', serif);
  font-size: 29px;
  font-weight: 400;
  color: #5a4632;
}
.wei-nav__place {
  margin: 4px 0 18px;
  text-align: center;
  font-family: var(--fa-display, 'IranNastaliqWeb', Tahoma, serif);
  font-size: 17px;
  color: rgba(90, 70, 50, 0.72);
}
.wei-nav__apps {
  display: grid;
  gap: 10px;
}
.wei-nav__app {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fffaf3;
  border: 1px solid rgba(120, 90, 55, 0.16);
  color: #3f2f22;
  text-decoration: none;
  font-family: var(--fa-display, 'IranNastaliqWeb', Tahoma, serif);
  font-size: 20px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.wei-nav__app:active {
  transform: scale(0.98);
  background: #f3e8d8;
}
.wei-nav__close {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: rgba(90, 70, 50, 0.75);
  font-family: var(--fa-display, 'IranNastaliqWeb', Tahoma, serif);
  font-size: 18px;
  cursor: pointer;
}
@media screen and (max-width: 379px) {
  .wei-map-hit {
    width: min(335px, 92vw);
    height: min(335px, 92vw);
  }
}


/* Critical: never inherit poisoned font-feature-settings from countdown * selector */
#allrecords,
#allrecords *,
#weiTapLabel,
.wei-nav,
.wei-nav * {
  font-feature-settings: normal !important;
  -webkit-font-feature-settings: normal !important;
}

/* Venue title removed */
#rec2487446153 .tn-elem[data-elem-id="1772804808869"] {
  display: none !important;
}
