/* Runtime-only rules. Original typography, color, dimensions and section styling
   are retained in the localized reference stylesheets. */
body.invitation-closed { overflow: hidden; }
/* The cover must paint before slideshow JavaScript and web fonts finish loading. */
@font-face { font-family: 'Arima Madurai'; src: url('/assets/4eda5a518f-ArimaMadurai-Regular.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Cormorant Upright'; font-style: normal; font-weight: 700; src: url('/assets/cc43b4dfe3-VuJudM3I2Y35poFONtLdafkUCHw1y1NpoSDrWdE.ttf') format('truetype'); font-display: swap; }
#cover { background: #4b0f28 url('/assets/moments-01-full.webp') center / cover no-repeat; }
.invitation-closed:not(.invitation-cover-ready) #cover > .elementor-container { opacity: 0; pointer-events: none; }
.invitation-closed .motionSection { visibility: hidden; }
.event-schedule-label { color: #4b0f28; font-weight: 600; letter-spacing: 0; }
.event-schedule-time { display: inline-flex; align-items: center; gap: 6px; }
/* Optical alignment with Arima Madurai's tall line box. */
.event-schedule-time > svg { display: block; flex: 0 0 14px; width: 14px; height: 14px; transform: translateY(-2px); }
.elementor-30207 .elementor-element.elementor-element-e861879 .elementor-background-slideshow__slide__image { background-position: center 20%; }
.elementor-30207 .elementor-element.elementor-element-b62c4b0 .elementor-background-slideshow__slide__image { background-position: center 36%; }
.elementor-30207 .elementor-element.elementor-element-7e403f4 .elementor-background-slideshow__slide__image { background-position: center 28%; }
.elementor-30207 .elementor-element-eae1fe6 .elementor-icon-list-item + .elementor-icon-list-item { margin-top: 14px; }
.invitation-closed #wds-audio-container { visibility: hidden; }
#wds-audio-container #mute-sound { animation: none; }
#wds-audio-container .elementor-icon {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid #ffffff80; border-radius: 50%; background: #4b0f28; color: #fff;
  box-shadow: 0 3px 12px #0003;
}
#wds-audio-container .elementor-icon > svg { display: none; }
#wds-audio-container .elementor-icon::before { content: ''; display: block; box-sizing: border-box; }
#unmute-sound .elementor-icon::before {
  width: 0; height: 0; margin-left: 3px;
  border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 12px solid #fff;
}
#mute-sound .elementor-icon::before { width: 13px; height: 16px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.elementor-370638 .elementor-element-a39c06a,
.elementor-370638 .elementor-element-c24d411,
.elementor-370638 .elementor-element-e94142f { display: none; }
/* Keep the introduction's translucent background and original typography. */
.elementor-30207 .elementor-element-18e7186 :is(.elementor-element-36cf24f, .elementor-element-3e18343, .elementor-element-ee9531e) { display: none; }
.elementor-30207 .elementor-element-e899984 > .elementor-widget-wrap { padding: 0 24px 26px; }
.elementor-30207 .elementor-element-285dd2d > .elementor-widget-wrap { padding: 0 24px 80px; }
.elementor-30207 .elementor-element-4f96310 > .elementor-container { min-height: 0; }
.elementor-30207 :is(.elementor-element-a62df4e, .elementor-element-97589f2) .elementor-heading-title {
  font-size: clamp(26px, 6.8vw, 30px); line-height: 1.3;
}
.elementor-30207 :is(.elementor-element-a62df4e, .elementor-element-97589f2) > .elementor-widget-container { margin-bottom: 16px; }
.couple-name-divider {
  position: relative; z-index: 1; display: flex; align-items: center;
  justify-content: center; gap: 18px; padding: 0 0 28px;
  color: #4b0f28; font: italic 38px/1.3 'Cormorant Upright', serif;
}
.couple-name-divider::before, .couple-name-divider::after {
  content: ''; width: 48px; height: 1px; background: #4b0f2833;
}
/* Static botanical frames keep the name-only section light to render. */
.elementor-30207 .elementor-element:is(.elementor-element-e899984, .elementor-element-285dd2d) > .elementor-widget-wrap {
  position: relative; width: calc(100% - 48px); margin: 0 24px;
  padding: 80px 18px 34px; border: 1px solid #9d80664a;
  border-radius: 140px 140px 20px 20px;
  background: linear-gradient(155deg, #fff9, #f8f1ec80);
  box-shadow: 0 12px 32px #4b0f2808;
}
.elementor-30207 :is(.elementor-element-e899984, .elementor-element-285dd2d) > .elementor-widget-wrap::before {
  content: ''; position: absolute; top: 17px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 48px; background: url('/assets/couple-botanical.svg') center / contain no-repeat;
  pointer-events: none;
}
.elementor-30207 :is(.elementor-element-e899984, .elementor-element-285dd2d) > .elementor-widget-wrap::after {
  content: ''; position: absolute; inset: 7px; border: 1px solid #9d806625;
  border-radius: 134px 134px 14px 14px; pointer-events: none;
}
.elementor-30207 .elementor-element-285dd2d { padding-bottom: 64px; }
.couple-name-divider { padding: 22px 0; }
.couple-name-divider::before, .couple-name-divider::after {
  width: 64px; background: linear-gradient(90deg, transparent, #9d806680);
}
.couple-name-divider::after { transform: rotate(180deg); }
.elementor-background-slideshow { overflow: hidden; pointer-events: none; }
.elementor-background-slideshow > .swiper-wrapper,
.elementor-background-slideshow__slide { height: 100%; }
.elementor-background-slideshow__slide { flex-shrink: 0; }
.elementor-background-slideshow:not(.swiper-initialized) > .swiper-wrapper > .swiper-slide:not(:first-child) { display: none; }
.elementor-background-slideshow .elementor-ken-burns--active { animation-fill-mode: both; }
.invitation-slideshow-paused .elementor-ken-burns--active { animation-play-state: paused; }
#cover[hidden] { display: none !important; }
.videoWrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
#video-yt { background: #000 url('/assets/video_aset-poster.jpg') center / cover no-repeat; }
.invitation-copy-fallback { display: block; width: 100%; font: 12px sans-serif; }
.invitation-gallery-fallback { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.invitation-gallery-fallback .e-gallery-item { aspect-ratio: 1330 / 2000; position: relative; }
.invitation-gallery-fallback .e-gallery-image { height: 100%; background-size: cover; background-position: center; }
.invitation-lightbox { position: fixed; inset: 0; margin: 0; padding: 70px; width: 100vw; height: 100dvh; max-width: none; max-height: none; border: 0; color: rgba(238,238,238,.9); background: rgba(0,0,0,.8); overflow: hidden; z-index: 999999; }
.invitation-lightbox::backdrop { background: transparent; }
.invitation-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.invitation-lightbox > img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 2px; box-shadow: 0 0 30px #0000004d, 0 0 8px -5px #0000004d; cursor: zoom-in; user-select: none; transition: transform .3s ease; }
.invitation-lightbox.is-zoomed > img { transform: scale(1.6); cursor: zoom-out; }
.invitation-lightbox button { border: 0; padding: 5px; margin: 0 7px; color: inherit; background: transparent; font: 20px/1 invitajafont,sans-serif; cursor: pointer; box-shadow: none; border-radius: 0; }
.invitation-lightbox button:hover { color: #fff; }
.invitation-lightbox button:focus, .invitation-lightbox button:active { background: transparent; color: #fff; }
.invitation-lightbox button:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.invitation-lightbox-toolbar { position: absolute; top: 15px; left: 20px; right: 52px; height: 30px; z-index: 3; display: flex; justify-content: space-between; align-items: center; font: 15px/1.5 invitajafont,sans-serif; }
.invitation-lightbox-toolbar > div { display: flex; flex-direction: row-reverse; }
.invitation-lightbox [data-action="close"] { position: absolute; right: -37px; top: -2px; margin: 0; }
.invitation-lightbox .invitation-lightbox-prev, .invitation-lightbox .invitation-lightbox-next { position: absolute; top: 0; bottom: 0; width: 15%; margin: 0; padding: 0; z-index: 2; display: flex; align-items: center; justify-content: center; font-size: 25px; }
.invitation-lightbox .invitation-lightbox-prev { left: 0; }
.invitation-lightbox .invitation-lightbox-next { right: 0; }
.invitation-rsvp-badge { display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 3px; background: #4b0f2815; color: #4b0f28; font-size: 10px; }
.saic-comment-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.saic-comment-status[role="status"] { padding: 12px; font-size: 12px; color: #4b0f28; }
.invitation-wishes { margin-top: 24px; padding-top: 24px; border-top: 1px solid #4b0f2826; text-align: left; }
.invitation-wishes > h3 { margin: 0 0 18px; color: #4b0f28; font: 28px/1.2 'Cormorant Upright', serif; text-align: center; }
.invitation-wishes-list { list-style: none; margin: 0; padding: 0; }
.invitation-wishes-list > li { margin-bottom: 12px; padding: 18px; border: 1px solid #4b0f281a; border-radius: 12px; background: #ffffffa6; }
.invitation-wishes-list h4 { margin: 0 0 8px; color: #4b0f28; font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.invitation-wishes-list p { margin: 0; color: #5e5e5e; font-size: 14px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.invitation-wishes > p { font-size: 13px; color: #5e5e5e; text-align: center; }
.invitation-wishes > button { display: block; margin: 16px auto 0; border: 0; border-radius: 24px; padding: 10px 20px; background: #4b0f28; color: #fff; font: inherit; cursor: pointer; }
.invitation-wishes > button[hidden] { display: none; }
.invitation-wishes > button:disabled { opacity: .6; cursor: wait; }
@media (max-width: 767px) {
  .invitation-lightbox { padding: 70px 0; }
  .invitation-lightbox .invitation-lightbox-prev { width: 20%; justify-content: flex-start; }
  .invitation-lightbox .invitation-lightbox-next { width: 20%; justify-content: flex-end; }
  .invitation-lightbox-prev i, .invitation-lightbox-next i { padding: 10px; background: #00000080; }
}
@media (prefers-reduced-motion: reduce) {
  .animated, .elementor-ken-burns--active { animation-duration: .01ms !important; }
  [class*="inv-"] { transition-duration: .01ms !important; }
}
