/* Public invitation page — no site chrome */
:root {
  --einv-primary: #800020;
  --einv-accent: #d4af37;
  --einv-bg: #fffdd0;
  --einv-text: #2d1810;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}
body.einv-public {
  font-family: "Cormorant Garamond", Georgia, serif;
  background: linear-gradient(180deg, #140a22 0%, #1e1038 40%, #140a22 100%);
  color: var(--einv-text);
  -webkit-font-smoothing: antialiased;
}
.einv-public-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  animation: einvFade 0.8s ease-out;
}
@keyframes einvFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.einv-card {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  text-align: center;
  --einv-primary: #800020;
  --einv-accent: #d4af37;
  --einv-bg: #fffdd0;
  --einv-text: #2d1810;
  background: var(--einv-bg);
  color: var(--einv-text);
}
.einv-symbol {
  font-size: 2rem;
  margin: 0 0 0.5rem;
  color: var(--einv-primary);
}
.einv-bless {
  font-style: italic;
  font-size: 1.1rem;
  margin: 0 0 1rem;
  color: var(--einv-primary);
}
.einv-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--einv-accent), transparent);
  margin: 1rem 0;
  opacity: 0.7;
}
.einv-family {
  font-weight: 600;
  margin: 0.25rem 0;
}
.einv-line {
  margin: 0.35rem 0;
  font-size: 1.05rem;
}
.einv-names {
  margin: 1rem 0;
}
.einv-name {
  font-family: "Cinzel Decorative", "Times New Roman", serif;
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  color: var(--einv-primary);
  letter-spacing: 0.06em;
}
.einv-conn {
  font-style: italic;
  margin: 0.25rem 0;
  color: var(--einv-text);
  opacity: 0.85;
}
.einv-date {
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0.5rem 0 0;
}
.einv-sub {
  font-size: 0.95rem;
  opacity: 0.9;
  margin: 0.35rem 0;
}
.einv-time {
  font-size: 1.05rem;
  margin: 0.5rem 0;
}
.einv-venue-title {
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0.75rem 0 0.25rem;
  color: var(--einv-primary);
}
.einv-addr {
  margin: 0.2rem 0;
  font-size: 1.05rem;
  line-height: 1.45;
}
.einv-map-wrap {
  margin: 1rem 0;
}
.einv-btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  background: var(--einv-primary);
  color: #fff !important;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.95rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
}
.einv-btn:hover {
  filter: brightness(1.08);
}
.einv-extra-title {
  font-weight: 700;
  color: var(--einv-primary);
  margin: 0.5rem 0 0;
}
.einv-rsvp {
  font-style: italic;
  margin: 1rem 0 0.5rem;
}
.einv-contact {
  margin: 0.25rem 0;
  font-size: 1.05rem;
}
.einv-bday-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--einv-primary);
}
.einv-bday-name {
  font-size: clamp(2rem, 8vw, 2.75rem);
  font-family: "Cinzel Decorative", serif;
  margin: 0.5rem 0;
}
.einv-bday-age {
  font-size: 1.2rem;
  margin: 0 0 1rem;
}
.einv-public-actions {
  width: 100%;
  max-width: 28rem;
  padding: 0 1rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.einv-public-actions .einv-btn {
  background: #1f3864;
}
.einv-birthday .einv-bday-title {
  font-family: "Great Vibes", cursive;
  font-size: 1.75rem;
}

.einv-map-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}
.einv-btn-outline {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  background: transparent;
  border: 2px solid var(--einv-primary);
  color: var(--einv-primary) !important;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
}
.einv-btn-outline:hover {
  background: rgba(128, 0, 32, 0.06);
}

.einv-custom-text {
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0.5rem 0;
  text-align: center;
}

.einv-optionals {
  text-align: center;
  margin: 0.5rem 0;
}
.einv-opt-line {
  margin: 0.35rem 0;
  font-size: 1rem;
}

.einv-gallery-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.75rem 0 1rem;
  margin: 0 auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.einv-gallery-item {
  flex: 0 0 min(72vw, 20rem);
  scroll-snap-align: start;
  margin: 0;
}
.einv-gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.einv-gallery-item figcaption {
  font-size: 0.85rem;
  margin-top: 0.35rem;
  color: var(--einv-text);
  font-family: system-ui, sans-serif;
}

/* ═══════════════════════════════════════════════════════════════════════
   Festive shell — clean deep background, animated bokeh, NO boxy lines
   ═══════════════════════════════════════════════════════════════════════ */
.einv-public-wrap {
  padding-top: 0.75rem;
}
.einv-festive-shell {
  position: relative;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  padding: 1.25rem 0.5rem 2rem;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--einv-primary) 55%, #120818) 0%,
    color-mix(in srgb, var(--einv-primary) 35%, #2a1438) 45%,
    color-mix(in srgb, var(--einv-primary) 45%, #1a0a28) 100%
  );
  /* Soft shadow only — no hard box border */
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

/* ── Animated bokeh orbs ──────────────────────────────────────── */
.einv-bokeh-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
/* Each bokeh orb is an absolutely-positioned element, individually animated */
.einv-bokeh-bg::before,
.einv-bokeh-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0;
  animation: bokehPulse 7s ease-in-out infinite;
}
.einv-bokeh-bg::before {
  width: 120px; height: 100px;
  left: 8%; top: 20%;
  background: radial-gradient(circle, rgba(255,200,220,0.7) 0%, transparent 70%);
  animation-delay: 0s;
}
.einv-bokeh-bg::after {
  width: 90px; height: 110px;
  right: 10%; top: 10%;
  background: radial-gradient(circle, rgba(255,215,100,0.6) 0%, transparent 70%);
  animation-delay: 2.5s;
}
/* Extra bokeh orbs via .einv-bokeh-orb elements injected by JS */
.einv-bokeh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(24px);
  pointer-events: none;
  opacity: 0;
  animation: bokehPulse var(--bd, 8s) ease-in-out infinite;
  animation-delay: var(--bdelay, 0s);
}
@keyframes bokehPulse {
  0%   { opacity: 0;    transform: scale(0.8) translate(0, 0); }
  30%  { opacity: 0.55; transform: scale(1.05) translate(8px, -12px); }
  60%  { opacity: 0.45; transform: scale(0.95) translate(-5px, 8px); }
  100% { opacity: 0;    transform: scale(0.85) translate(3px, -5px); }
}

/* ── Organic floral side glow — NO tiled rectangles ──────────── */
/* Just a very soft glow along the edges, no lines or boxes */
.einv-floral-side {
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(2.5rem, 10vw, 4rem);
  z-index: 1;
  pointer-events: none;
  /* A single smooth, organic soft-light glow — no tiling, no box */
  background: radial-gradient(
    ellipse 100% 40% at 50% 30%,
    color-mix(in srgb, var(--einv-accent) 20%, transparent),
    transparent 80%
  ),
  radial-gradient(
    ellipse 80% 30% at 50% 70%,
    color-mix(in srgb, var(--einv-primary) 25%, transparent),
    transparent 75%
  );
  background-repeat: no-repeat;
  background-size: 100% 100%;
  /* Fade to nothing in the middle so content area is untouched */
  mask-image: linear-gradient(to right, black 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  opacity: 0.45;
  animation: floralGlow 5s ease-in-out infinite alternate;
}
.einv-floral-side--left  { left: 0;  border-radius: 24px 0 0 24px; }
.einv-floral-side--right {
  right: 0;
  border-radius: 0 24px 24px 0;
  transform: scaleX(-1);
}
@keyframes floralGlow {
  from { opacity: 0.3; }
  to   { opacity: 0.55; }
}

/* ── Emoji flower decorations — injected by JS into shell ──────── */
.einv-flower-decor {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  font-size: clamp(1rem, 4vw, 1.5rem);
  opacity: 0;
  animation: flowerSway var(--fd, 4s) ease-in-out infinite alternate;
  animation-delay: var(--fdelay, 0s);
  user-select: none;
}
@keyframes flowerSway {
  from { opacity: 0.55; transform: rotate(-8deg) scale(0.9); }
  to   { opacity: 0.85; transform: rotate(8deg) scale(1.05); }
}

/* ── Corner decoration spots (natural glow, no hard shapes) ───── */
.einv-floral-corner {
  position: absolute;
  width: 6rem; height: 6rem;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  animation: bokehPulse 6s ease-in-out infinite;
  background: radial-gradient(circle at 40% 40%, color-mix(in srgb, var(--einv-accent) 35%, transparent), transparent 65%);
  filter: blur(8px);
}
.einv-floral-corner--tl { top: 0; left: 0; animation-delay: 1s; }
.einv-floral-corner--br { bottom: 0; right: 0; animation-delay: 3s; }

/* ── Inner card: clean paper feel, no hard border ──────────────── */
.einv-festive-inner {
  position: relative;
  z-index: 3;
  padding: 0 0.35rem;
}
.einv-festive-inner .einv-card {
  margin-top: 0;
  border-radius: 16px;
  background: color-mix(in srgb, var(--einv-bg) 96%, white);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  /* Very soft inner shadow only — no hard border line */
  border: none;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04);
}

/* ── Ambient falling petals (on main invitation page) ─────────── */
#einvPetals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.einv-petal {
  position: absolute;
  top: -2rem;
  font-size: var(--ps, 1rem);
  opacity: 0;
  animation: petalDrift var(--pd, 8s) linear infinite;
  animation-delay: var(--pdel, 0s);
  will-change: transform, opacity;
  user-select: none;
}
@keyframes petalDrift {
  0%   { top: -2rem; opacity: 0;   transform: translateX(0)    rotate(0deg); }
  8%   { opacity: 0.75; }
  85%  { opacity: 0.6; }
  100% { top: 105vh; opacity: 0;   transform: translateX(var(--dx, 60px)) rotate(var(--dr, 360deg)); }
}

/* ── Branding footer ──────────────────────────────────────────── */
.einv-branding {
  text-align: center;
  padding: 1.25rem 1rem 2.5rem;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.03em;
}
.einv-branding a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.einv-branding a:hover { color: #f0d080; }
.einv-decor {
  position: relative;
  z-index: 2;
  margin: 0 auto 0.35rem;
  max-width: 22rem;
  color: color-mix(in srgb, var(--einv-accent) 90%, #fff);
  pointer-events: none;
}
.einv-top-blessing {
  text-align: center;
  margin-bottom: 0.25rem;
}
.einv-om-disc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--einv-accent);
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.2), transparent 55%),
    linear-gradient(145deg, color-mix(in srgb, var(--einv-accent) 40%, #3a2510), color-mix(in srgb, var(--einv-primary) 50%, #1a0a14));
  border: 2px solid color-mix(in srgb, var(--einv-accent) 70%, transparent);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.einv-gold-flourish {
  height: 0.5rem;
  margin: 0.35rem 1rem 0.5rem;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--einv-accent) 55%, transparent) 15%,
    color-mix(in srgb, var(--einv-accent) 75%, #fff) 50%,
    color-mix(in srgb, var(--einv-accent) 55%, transparent) 85%,
    transparent
  );
  border-radius: 4px;
  opacity: 0.85;
  box-shadow: 0 0 12px color-mix(in srgb, var(--einv-accent) 30%, transparent);
}
.einv-cross-mini {
  font-size: 1.1rem;
  opacity: 0.9;
}
.einv-bells-row {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.35rem 0 0.15rem;
  color: var(--einv-accent);
}
.einv-bell-hang {
  display: inline-flex;
  animation: einvBell 2.8s ease-in-out infinite;
}
.einv-bell-hang:nth-child(2n) {
  animation-delay: 0.35s;
}
.einv-bell-hang:nth-child(3n) {
  animation-delay: 0.7s;
}
@keyframes einvBell {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}
.einv-jaali-overlay {
  height: 3rem;
  margin: 0 0.25rem;
  border-radius: 4px;
  background: repeating-linear-gradient(
      45deg,
      color-mix(in srgb, var(--einv-accent) 22%, transparent),
      color-mix(in srgb, var(--einv-accent) 22%, transparent) 4px,
      transparent 4px,
      transparent 8px
    ),
    repeating-linear-gradient(
      -45deg,
      color-mix(in srgb, var(--einv-primary) 15%, transparent),
      color-mix(in srgb, var(--einv-primary) 15%, transparent) 3px,
      transparent 3px,
      transparent 7px
    );
  border: 2px solid color-mix(in srgb, var(--einv-accent) 50%, var(--einv-primary));
}
.einv-pointed-arch {
  height: 2.5rem;
  margin: -2px 1rem 0;
  border-left: 2px solid color-mix(in srgb, var(--einv-accent) 60%, #888);
  border-right: 2px solid color-mix(in srgb, var(--einv-accent) 60%, #888);
  border-top: 3px solid color-mix(in srgb, var(--einv-accent) 70%, var(--einv-primary));
  border-radius: 50% 50% 0 0 / 100% 60% 0 0;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.1), transparent);
}
.einv-pointed-arch--wide {
  margin-left: 0.35rem;
  margin-right: 0.35rem;
}
.einv-arabesque-band {
  height: 0.65rem;
  margin: 0.2rem 0.5rem 0;
  background: repeating-linear-gradient(
    90deg,
    var(--einv-accent),
    var(--einv-accent) 2px,
    transparent 2px,
    transparent 6px
  );
  opacity: 0.45;
  border-radius: 2px;
}
.einv-cross-corners {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0.75rem 0;
  color: color-mix(in srgb, var(--einv-primary) 85%, var(--einv-accent));
  opacity: 0.85;
}
.einv-vine-line {
  height: 0.5rem;
  margin: 0 1.5rem;
  background: radial-gradient(circle at 50% 50%, var(--einv-accent) 1px, transparent 2px) repeat-x;
  background-size: 14px 8px;
  opacity: 0.55;
}
.einv-lace-top {
  height: 2.25rem;
  margin: 0 0.25rem;
  border-radius: 8px 8px 0 0;
  background: radial-gradient(circle at 10px 0, var(--einv-accent) 2px, transparent 3px) repeat-x;
  background-size: 18px 12px;
  opacity: 0.5;
  border-bottom: 2px solid color-mix(in srgb, var(--einv-accent) 45%, #fff);
}
@supports not (color: color-mix(in srgb, red, blue)) {
  .einv-festive-shell {
    background: linear-gradient(165deg, #3a1f48 0%, #5c2a50 50%, #3a1f48 100%);
  }
  .einv-festive-inner .einv-card {
    background: rgba(253, 246, 227, 0.96);
  }
  .einv-jaali-overlay {
    background: repeating-linear-gradient(45deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.25) 4px, transparent 4px, transparent 8px);
  }
}

/* —— Animated intro overlay —— */
.invite-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: opacity 0.8s ease, transform 0.8s ease;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
.invite-intro.hide {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}
.invite-intro[data-event="wedding"] .intro-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1a0a2e 0%, #3d1a5e 50%, #1a0a2e 100%);
}
.invite-intro[data-event="birthday"] .intro-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #48dbfb 100%);
}
.invite-intro[data-event="seemantham"] .intro-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #2d5a1b 0%, #4a8c2a 50%, #1d4010 100%);
}
.invite-intro[data-event="engagement"] .intro-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #6b2fa0 0%, #c0392b 100%);
}
.invite-intro[data-event="reception"] .intro-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #2d1a4e 0%, #5c2a6e 50%, #1a0a2e 100%);
}
.invite-intro[data-event="christian"] .intro-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #0a2463 0%, #1e5799 100%);
}
.invite-intro[data-event="nikah"] .intro-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1a3a1a 0%, #2d5c2d 100%);
}
.invite-intro[data-event="gruhapravesam"] .intro-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #7a3b00 0%, #c97020 100%);
}
.invite-intro[data-event="babyshower"] .intro-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #0a4a6e 0%, #1a8fa8 100%);
}
.invite-intro[data-event="anniversary"] .intro-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #5c0a2e 0%, #a0286e 100%);
}
.intro-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 30px;
  animation: introFadeUp 1s ease-out;
}
.intro-icon {
  font-size: 64px;
  margin-bottom: 16px;
  animation: introIconPulse 2s ease-in-out infinite;
}
.intro-title {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}
.intro-name {
  font-family: "Great Vibes", cursive;
  font-size: 42px;
  color: #f0d080;
  line-height: 1.2;
  text-shadow: 0 0 30px rgba(240, 208, 128, 0.5);
}
.intro-subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 16px;
  letter-spacing: 1px;
}
.intro-tap-hint {
  font-size: 24px;
  margin-top: 8px;
  animation: tapBounce 1.5s ease-in-out infinite;
}
.intro-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  top: -20px;
  animation: particleFall linear infinite;
  pointer-events: none;
}
@keyframes introFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes introIconPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1) rotate(5deg);
  }
}
@keyframes tapBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes particleFall {
  0% {
    top: -20px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 110vh;
    opacity: 0;
  }
}

.einv-readonly-banner {
  margin: 0;
  padding: 0.75rem 1rem;
  background: #fef3c7;
  color: #92400e;
  text-align: center;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.9rem;
  width: 100%;
}

/* ── Gallery slideshow — full image, no crop, portrait/landscape adaptive ── */
.einv-gallery-slideshow-wrap {
  position: relative;
  border-radius: 14px;
  margin: 0 auto;
  max-width: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
}
.einv-gallery-slideshow.photo-slideshow {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  /* No fixed aspect-ratio: height adapts to content */
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.einv-gallery-slideshow.photo-slideshow.is-dragging {
  cursor: grabbing;
}

/* Horizontal slide track */
.einv-gallery-track {
  display: flex;
  width: 100%;
  transition: transform 0.42s cubic-bezier(0.25, 0.95, 0.5, 1);
  will-change: transform;
}
.einv-gallery-track.no-transition {
  transition: none;
}

/* Each slide: 100% width, image fills naturally */
.einv-gallery-slide {
  flex: 0 0 100%;
  min-width: 100%;
  margin: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

/* Full image — NO crop. Portrait stays portrait, landscape stays landscape */
.einv-gallery-slide-img {
  width: 100%;
  height: auto;
  max-height: 68vh;
  object-fit: contain;    /* ← key: no crop ever */
  display: block;
  border-radius: 0;
}

/* Caption overlay */
.einv-gallery-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.4rem 0.65rem;
  font-size: 0.75rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  color: #fff;
  margin: 0;
  border-radius: 0 0 14px 14px;
}

/* Dot indicators */
.einv-gallery-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 8px 0 4px;
  position: relative;
  z-index: 2;
}
.einv-gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.einv-gallery-dot.active {
  background: var(--einv-accent, #d4af37);
  transform: scale(1.4);
}

/* Prev / Next arrows */
.einv-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  transition: background 0.18s;
  -webkit-tap-highlight-color: transparent;
}
.einv-gallery-arrow:hover { background: rgba(0, 0, 0, 0.65); }
.einv-gallery-arrow--prev { left: 8px; }
.einv-gallery-arrow--next { right: 8px; }

/* Slide counter badge */
.einv-gallery-counter {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 5;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 0.68rem;
  font-family: system-ui, sans-serif;
  padding: 2px 8px;
  border-radius: 20px;
  pointer-events: none;
}

/* Single image: hide controls */
.einv-gallery-slideshow.single-slide .einv-gallery-arrow,
.einv-gallery-slideshow.single-slide .einv-gallery-dots,
.einv-gallery-slideshow.single-slide .einv-gallery-counter {
  display: none;
}

.einv-printed-card-block {
  text-align: center;
  max-width: 28rem;
  margin: 0 auto;
}
.einv-printed-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--einv-primary);
  margin: 0 0 0.5rem;
}
.einv-printed-card-fig {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid color-mix(in srgb, var(--einv-accent) 50%, transparent);
}
.einv-printed-card-fig img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

/* Countdown & guest actions */
.countdown-timer {
  text-align: center;
  padding: 1.25rem 1rem 0.5rem;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  max-width: 28rem;
  margin: 0 auto;
}
.countdown-timer.countdown-done .ct-label {
  opacity: 0.6;
}
.ct-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.75rem;
}
.ct-boxes {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.ct-box {
  min-width: 3.5rem;
  padding: 0.5rem 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: #fff;
}
.ct-box span {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.ct-box small {
  font-size: 0.65rem;
  text-transform: uppercase;
  opacity: 0.75;
}

.einv-guest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.75rem 1rem;
  max-width: 28rem;
  margin: 0 auto;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
.venue-map-btn,
.einv-cal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.venue-map-btn {
  background: #e85d26;
  color: #fff;
}
.einv-cal-btn {
  background: #1f3864;
  color: #fff;
}

.rsvp-section {
  text-align: center;
  padding: 1rem 1rem 1.5rem;
  max-width: 28rem;
  margin: 0 auto;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
.rsvp-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0.75rem;
}
.rsvp-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.rsvp-yes,
.rsvp-no {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
}
.rsvp-yes {
  background: #15803d;
  color: #fff;
}
.rsvp-no {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.rsvp-count {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.75rem;
}
.rsvp-selected {
  outline: 3px solid #ffd700;
  outline-offset: 2px;
}
.rsvp-stats {
  display: flex;
  gap: 1rem;
  justify-content: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
}
.rsvp-stat-yes { color: #86efac; }
.rsvp-stat-no  { color: #fca5a5; }

/* ── Beautiful Share Panel ─────────────────────────────────────── */
.share-panel {
  background: linear-gradient(135deg, #1a0a2e, #2d1055);
  border-radius: 20px;
  padding: 24px;
  color: white;
  margin: 0 1rem 2rem;
  max-width: calc(28rem - 2rem);
  margin-left: auto;
  margin-right: auto;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
.share-panel-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-align: center;
  color: #f0d080;
}
.share-link-box {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
}
.share-link-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 5px;
}
.share-link-display {
  display: flex;
  align-items: center;
  gap: 8px;
}
.share-link-display span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  flex: 1;
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.copy-btn {
  background: #c9a84c;
  color: #1a0a2e;
  border: none;
  padding: 5px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}
.copy-btn:hover { background: #d4b860; }

.share-buttons-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.share-btn {
  flex: 1;
  padding: 9px 6px;
  border-radius: 10px;
  border: none;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  min-width: 90px;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s;
}
.share-btn:hover { opacity: 0.88; }
.share-wa  { background: #25d366; color: #fff; }
.share-copy { background: rgba(255,255,255,0.18); color: #fff; }
.share-cal  { background: rgba(255,255,255,0.12); color: #f0d080; border: 1px solid rgba(255,255,255,0.2); }

.share-stats {
  display: flex;
  gap: 12px;
  justify-content: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  flex-wrap: wrap;
}

/* ── Price offer block (used in e-invitations listing) ──────────── */
.price-offer-block {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0.75rem 0;
}
.price-regular {
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1rem;
}
.price-now {
  font-size: 3rem;
  font-weight: 900;
  color: #f0d080;
  line-height: 1;
}
.price-badge {
  background: #e85d26;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ── Template lock notice ───────────────────────────────────────── */
.einv-lock-notice {
  background: rgba(255,193,7,0.12);
  border: 1px solid rgba(255,193,7,0.35);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: #ffd700;
  margin: 0.75rem 0;
  line-height: 1.5;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 0 1rem 2rem;
  max-width: 28rem;
  margin: 0 auto;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
.share-wa,
.share-copy {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   Modern clean frame — full colour shell, no thoran trim (PHP skips bokeh)
   ═══════════════════════════════════════════════════════════════════════ */
.einv-festive-shell--modern_clean {
  background: linear-gradient(
    155deg,
    color-mix(in srgb, var(--einv-primary) 48%, #1a0a28) 0%,
    color-mix(in srgb, var(--einv-accent) 35%, #2a1438) 42%,
    color-mix(in srgb, var(--einv-primary) 52%, #120818) 100%
  );
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.38),
    0 0 0 1px color-mix(in srgb, var(--einv-accent) 22%, transparent);
}

.einv-festive-inner--reveal {
  animation: einvShellReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes einvShellReveal {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* JS-injected flowers still target .einv-festive-shell — hide on modern */
.einv-festive-shell--modern_clean .einv-flower-decor {
  display: none !important;
}

.einv-program-card {
  margin-top: 1rem;
  padding: 1rem 1rem 1.1rem;
  text-align: center;
  border-radius: 16px;
  background: color-mix(in srgb, var(--einv-bg) 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--einv-accent) 28%, transparent);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.einv-program-card:first-of-type {
  margin-top: 0.5rem;
}

.einv-program-card-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--einv-primary);
  margin: 0 0 0.35rem;
}

.einv-promo-video {
  margin-top: 0.25rem;
  text-align: center;
}

.einv-promo-video-label {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--einv-primary);
  margin: 0 0 0.5rem;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.einv-promo-video-inner {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.einv-promo-video-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── Invitation card: pastel section boxes (wedding inner) ───── */
.einv-section-card {
  margin: 0.65rem 0 0;
  padding: 0.95rem 1rem 1.05rem;
  border-radius: 16px;
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--einv-primary) 14%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.einv-section-card:first-of-type {
  margin-top: 0;
}
.einv-section-card--bless {
  background: linear-gradient(165deg, #fff9f5 0%, #ffeee8 100%);
}
.einv-section-card--hosts {
  background: linear-gradient(165deg, #f5f8ff 0%, #e8efff 100%);
}
.einv-section-card--couple {
  background: linear-gradient(165deg, #fffef8 0%, #fff4e0 100%);
}
.einv-section-card--when {
  background: linear-gradient(165deg, #f2fdf7 0%, #e6faf0 100%);
}
.einv-section-card--where {
  background: linear-gradient(165deg, #faf8ff 0%, #f0ecff 100%);
}
.einv-section-label {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--einv-primary) 85%, #000);
  margin: 0 0 0.5rem;
  opacity: 0.92;
}
.einv-section-card .einv-line,
.einv-section-card .einv-sub {
  color: var(--einv-text);
  opacity: 0.92;
}
.einv-section-card .einv-family {
  color: color-mix(in srgb, var(--einv-text) 92%, var(--einv-primary));
  font-weight: 600;
}
.einv-section-card .einv-date,
.einv-section-card .einv-venue-title {
  color: var(--einv-primary);
}

/* ── Below card: tools in light pastel panels on dark page ────── */
.einv-post-tools {
  width: 100%;
  max-width: 30rem;
  margin: 0 auto;
  padding: 0.5rem 0.85rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
.einv-surface-panel {
  border-radius: 18px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}
.einv-panel-mini-title {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3730a3;
  text-align: center;
}
.einv-surface-panel--countdown {
  background: linear-gradient(145deg, #faf5ff 0%, #f3e8ff 55%, #ede9fe 100%);
  color: #1e1b4b;
}
.einv-surface-panel--countdown .ct-label {
  color: #5b21b6;
}
.einv-surface-panel--countdown .ct-box {
  background: #fff;
  color: #4c1d95;
  border: 1px solid #ddd6fe;
}
.einv-surface-panel--countdown .countdown-timer {
  max-width: none;
  margin: 0;
  padding: 0.35rem 0 0.25rem;
}
.einv-surface-panel--maps {
  background: linear-gradient(145deg, #ecfdf5 0%, #d1fae5 100%);
}
.einv-surface-panel--maps .einv-guest-actions {
  max-width: none;
  margin: 0;
  padding: 0;
}
.einv-surface-panel--rsvp {
  background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 100%);
}
.einv-surface-panel--rsvp .rsvp-title {
  color: #9a3412;
}
.einv-surface-panel--rsvp .rsvp-count {
  color: #57534e;
}
.einv-surface-panel--rsvp .rsvp-no {
  background: #fff;
  color: #7f1d1d;
  border: 1px solid #fecaca;
}
.einv-surface-panel--rsvp .rsvp-section {
  max-width: none;
  margin: 0;
  padding: 0;
}
.einv-surface-panel--brand {
  background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 0.65rem 1rem;
}
.einv-surface-panel--brand .einv-branding {
  margin: 0;
  font-size: 0.82rem;
  color: #475569;
}
.einv-surface-panel--brand .einv-branding a {
  color: #1e3a5f;
}
.einv-surface-panel--brand .einv-branding a:hover {
  color: #c9a84c;
}
.einv-surface-panel--share.share-panel {
  background: linear-gradient(155deg, #fffbeb 0%, #fef3c7 45%, #fde68a 100%);
  color: #1c1917;
  margin: 0;
  max-width: none;
  border: 1px solid rgba(180, 83, 9, 0.2);
}
.einv-surface-panel--share .share-panel-title {
  color: #92400e;
}
.einv-surface-panel--share .share-link-box {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(180, 83, 9, 0.15);
}
.einv-surface-panel--share .share-link-label {
  color: #78716c;
}
.einv-surface-panel--share .share-link-display span {
  color: #292524;
}
.einv-surface-panel--share .share-stats span {
  color: #57534e;
}

/* Event-tinted page backdrop (subtle) */
body.einv-public[data-einv-event="birthday"],
body.einv-public[data-einv-kind="birthday"] {
  background: linear-gradient(180deg, #1a0f28 0%, #2d1840 45%, #1a0f28 100%);
}
body.einv-public[data-einv-event="babyshower"] {
  background: linear-gradient(180deg, #1a1025 0%, #301a3d 45%, #1a1025 100%);
}
body.einv-public[data-einv-event="anniversary"] {
  background: linear-gradient(180deg, #220818 0%, #3d1528 45%, #220818 100%);
}

/* ═══════════════════════════════════════════════════════════════════════
   Optional real cliparts — Hindu frames only (shop/assets/einv-decor/*)
   Nothing renders until you add image files (no fake CSS leaves).
   ═══════════════════════════════════════════════════════════════════════ */
.einv-trad-decor {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}
.einv-trad-decor__thor {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0.25rem;
  width: min(96%, 40rem);
  height: clamp(3rem, 11vw, 6.5rem);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.28));
}
.einv-trad-decor__leaf {
  position: absolute;
  top: clamp(3.5rem, 16%, 8rem);
  bottom: clamp(1.75rem, 10%, 4.5rem);
  width: clamp(2.5rem, 13vw, 5.25rem);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.96;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.22));
}
.einv-trad-decor__leaf--left {
  left: 0.1rem;
}
.einv-trad-decor__leaf--right {
  right: 0.1rem;
  transform: scaleX(-1);
}
.einv-festive-shell--has-trad-art .einv-floral-side,
.einv-festive-shell--has-trad-art .einv-floral-corner {
  opacity: 0.2;
}

/* ═══════════════════════════════════════════════════════════════════════
   Laptop / desktop — wider invitation (not phone-only width)
   ═══════════════════════════════════════════════════════════════════════ */
@media (min-width: 900px) {
  .einv-festive-shell {
    max-width: min(46rem, 96vw);
    padding: 1.5rem 0.75rem 2.25rem;
  }
  body.einv-public .einv-card {
    max-width: min(42rem, 92vw);
  }
  .einv-public-actions,
  .einv-printed-card-block,
  .countdown-timer,
  .einv-guest-actions,
  .rsvp-section,
  .share-buttons,
  .einv-post-tools {
    max-width: min(46rem, 96vw);
  }
  .share-panel {
    max-width: min(calc(46rem - 2rem), calc(96vw - 2rem));
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   Cinematic editorial layout (shellLayout: cinematic_story) — hero names
   Legacy shell alias still styled for old saved markup.
   ═══════════════════════════════════════════════════════════════════════ */
.einv-festive-shell--cinematic_story,
.einv-festive-shell--va_premium_story,
.einv-festive-shell--joy_editorial {
  padding-top: 1.75rem;
  padding-bottom: 2.5rem;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--einv-primary) 18%, #faf8ff) 0%,
    color-mix(in srgb, var(--einv-bg) 92%, #fff) 38%,
    color-mix(in srgb, var(--einv-primary) 12%, #f8f6ff) 100%
  );
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.32),
    0 0 0 1px color-mix(in srgb, var(--einv-accent) 12%, transparent);
}
.einv-festive-shell--cinematic_story .einv-festive-inner,
.einv-festive-shell--va_premium_story .einv-festive-inner,
.einv-festive-shell--joy_editorial .einv-festive-inner {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.einv-festive-shell--cinematic_story .einv-festive-inner .einv-card,
.einv-festive-shell--va_premium_story .einv-festive-inner .einv-card,
.einv-festive-shell--joy_editorial .einv-festive-inner .einv-card {
  border-radius: 20px;
  background: color-mix(in srgb, var(--einv-bg) 97%, white);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  padding-top: 0;
  padding-left: 1rem;
  padding-right: 1rem;
}
.einv-cinematic-hero,
.einv-joy-hero {
  text-align: center;
  padding: 2rem 0.75rem 2.25rem;
  margin: 0 -0.25rem 0.5rem;
  border-bottom: 1px solid color-mix(in srgb, var(--einv-primary) 10%, transparent);
  background: linear-gradient(
    180deg,
    transparent 0%,
    color-mix(in srgb, var(--einv-accent) 6%, transparent) 100%
  );
}
.einv-cinematic-hero__tagline,
.einv-joy-hero__tagline {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--einv-primary) 72%, var(--einv-text));
  margin: 0 0 1.35rem;
  opacity: 0.92;
}
.einv-cinematic-hero__names,
.einv-joy-hero__names {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  line-height: 1.05;
}
.einv-cinematic-hero__name,
.einv-joy-hero__name {
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 9vw, 3.35rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--einv-primary);
  margin: 0;
}
.einv-cinematic-hero__amp,
.einv-joy-hero__amp {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.1rem, 4vw, 1.45rem);
  color: color-mix(in srgb, var(--einv-text) 55%, var(--einv-accent));
  margin: 0.35rem 0;
  font-weight: 500;
}
.einv-cinematic-hero__date,
.einv-joy-hero__date {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.05rem, 3.5vw, 1.35rem);
  margin: 1.5rem 0 0;
  color: color-mix(in srgb, var(--einv-text) 88%, var(--einv-primary));
  font-weight: 600;
}
.einv-festive-shell--cinematic_story .einv-section-card--couple .einv-name,
.einv-festive-shell--va_premium_story .einv-section-card--couple .einv-name,
.einv-festive-shell--joy_editorial .einv-section-card--couple .einv-name {
  font-size: clamp(1.1rem, 3.8vw, 1.55rem) !important;
}
.einv-festive-shell--cinematic_story .einv-section-card--couple .einv-section-label,
.einv-festive-shell--va_premium_story .einv-section-card--couple .einv-section-label,
.einv-festive-shell--joy_editorial .einv-section-card--couple .einv-section-label {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
}

/* VA premium story: hero is inside rendered markup (sample-style stack) */
.einv-va-page {
  width: 100%;
  max-width: 100%;
}
.einv-va-body {
  position: relative;
}
.einv-premium-viewport-hero.einv-va-embedded-hero {
  border-radius: 0;
}
.einv-va-hero-venue {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(0.88rem, 2.8vw, 1.05rem);
  margin: 0.75rem 0 0;
  color: rgba(255, 250, 245, 0.85);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.einv-va-hero-subline {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(0.95rem, 3vw, 1.15rem);
  margin: 0 0 0.5rem;
  color: rgba(255, 248, 250, 0.9);
  font-style: italic;
}
.einv-va-hero--birthday .einv-bday-name {
  font-family: "Great Vibes", "Cormorant Garamond", cursive;
  font-weight: 400;
  font-size: clamp(2.25rem, 11vw, 3.75rem);
  letter-spacing: 0.02em;
}
.einv-va-hero--birthday .einv-bday-title {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.65rem;
}

/* ── Premium cinematic: full-viewport hero (Ken Burns) + LOVE countdown + float strip ── */
body.einv-public--premium-cinematic .einv-public-wrap {
  padding-bottom: 4.5rem;
}
.einv-premium-viewport-hero {
  position: relative;
  min-height: 72vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: 0;
}
.einv-premium-viewport-hero__bg {
  position: absolute;
  inset: -8%;
  background-color: #1a0a10;
  background-image: linear-gradient(
    145deg,
    color-mix(in srgb, var(--einv-premium-primary, #800020) 35%, #1a0a10),
    color-mix(in srgb, var(--einv-premium-accent, #d4af37) 25%, #2a1520)
  );
  background-size: cover;
  background-position: center;
  animation: einvPremiumKenBurns 22s ease-in-out infinite alternate;
  transform-origin: center center;
}
.einv-premium-viewport-hero--has-photo .einv-premium-viewport-hero__bg {
  background-image: linear-gradient(
      145deg,
      rgba(26, 10, 16, 0.35),
      rgba(42, 21, 32, 0.5)
    ),
    var(--einv-hero-photo);
  background-size: cover;
  background-position: center;
}
@keyframes einvPremiumKenBurns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}
.einv-premium-viewport-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.55) 85%,
    rgba(0, 0, 0, 0.65) 100%
  );
  pointer-events: none;
}
.einv-premium-viewport-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2.5rem 1rem 2.75rem;
  max-width: 40rem;
  width: 100%;
}
.einv-premium-viewport-hero__tag {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 248, 250, 0.88);
  margin: 0 0 1rem;
}
.einv-premium-viewport-hero__names {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}
.einv-premium-viewport-hero__name {
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 10vw, 3.5rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
  margin: 0;
}
.einv-premium-viewport-hero__amp {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(1rem, 4vw, 1.4rem);
  color: rgba(255, 235, 200, 0.95);
  margin: 0.25rem 0;
}
.einv-premium-viewport-hero__date {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1rem, 3.5vw, 1.25rem);
  margin: 1.25rem 0 0;
  color: rgba(255, 250, 245, 0.92);
  font-weight: 600;
}

.einv-premium-countdown {
  text-align: center;
  padding: 1rem 0.5rem 1.25rem;
}
.einv-premium-heart-crown {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.einv-premium-heart-crown__svg {
  filter: drop-shadow(0 4px 14px rgba(196, 30, 58, 0.55));
  animation: einvLovePulse 2.8s ease-in-out infinite;
}
.einv-premium-love-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.15rem, 4vw, 1.5rem);
  letter-spacing: 0.35em;
  color: color-mix(in srgb, var(--einv-primary) 80%, #c41e3a);
}
.einv-premium-love-row span {
  display: inline-block;
  animation: einvLovePulse 2.8s ease-in-out infinite;
}
.einv-premium-love-row span:nth-child(2) {
  animation-delay: 0.2s;
}
.einv-premium-love-row span:nth-child(3) {
  animation-delay: 0.4s;
}
.einv-premium-love-row span:nth-child(4) {
  animation-delay: 0.6s;
}
@keyframes einvLovePulse {
  0%,
  100% {
    opacity: 0.85;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}
.einv-premium-hearts-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 5.5rem;
  position: relative;
  margin-top: 0.5rem;
}
.einv-premium-half-heart {
  width: 3.5rem;
  height: 6rem;
  position: relative;
  transition: transform 0.8s cubic-bezier(0.33, 1, 0.68, 1);
  display: flex;
  align-items: center;
  background: transparent;
}
.einv-premium-half-heart--left {
  justify-content: flex-start;
  overflow: hidden;
  width: 3.15rem;
  margin-right: -0.15rem;
}
.einv-premium-half-heart--right {
  justify-content: flex-end;
  overflow: hidden;
  width: 3.15rem;
  margin-left: -0.15rem;
}
.einv-premium-heart-half-svg {
  width: 6.25rem;
  height: 6.25rem;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 10px rgba(196, 30, 58, 0.4));
}
.einv-premium-half-heart--right .einv-premium-heart-half-svg {
  margin-left: -3.125rem;
}
.einv-premium-heart-center {
  min-width: 7rem;
  max-width: 14rem;
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  z-index: 2;
  transition: box-shadow 0.6s ease, transform 0.6s ease;
}
.einv-premium-heart-center__sym {
  font-size: 1.75rem;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(255, 105, 150, 0.7));
  animation: einvPremiumHeartSpin 10s linear infinite;
}
@keyframes einvPremiumHeartSpin {
  to {
    transform: rotate(360deg);
  }
}
.einv-premium-countdown--merged .einv-premium-heart-center {
  animation: einvPremiumGlow 2.2s ease-in-out infinite;
}
@keyframes einvPremiumGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 6px rgba(255, 182, 193, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(255, 105, 160, 0.95));
  }
}
.einv-premium-countdown--married .einv-premium-heart-center__sym {
  animation: einvPremiumHeartSpin 14s linear infinite, einvPremiumGlow 2.5s ease-in-out infinite;
}
.einv-premium-countdown--married .einv-premium-half-heart {
  opacity: 0.92;
  transform: translateX(0) !important;
}
.einv-premium-heart-center__date,
.einv-premium-heart-center__time {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(0.95rem, 3.2vw, 1.15rem);
  font-weight: 700;
  color: var(--einv-text);
  line-height: 1.2;
}
.einv-premium-married-msg {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--einv-primary) 70%, var(--einv-text));
  margin-top: 0.75rem;
}

.einv-premium-countdown--married .einv-premium-heart-crown,
.einv-premium-countdown--married .einv-premium-love-row,
.einv-premium-countdown--married .einv-panel-mini-title {
  display: none !important;
}
.einv-premium-countdown--married .einv-premium-heart-center__sym,
.einv-premium-countdown--married .einv-premium-heart-center__date,
.einv-premium-countdown--married .einv-premium-heart-center__time {
  display: none !important;
}
.einv-premium-countdown--married .einv-premium-married-msg {
  display: none !important;
}
.einv-premium-countdown--married .einv-premium-half-heart {
  transition: transform 0.85s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.5s ease;
}
.einv-premium-countdown--married .einv-premium-half-heart--left .einv-premium-heart-half-svg {
  transform: translateX(0);
}
.einv-premium-countdown--married .einv-premium-half-heart--right .einv-premium-heart-half-svg {
  margin-left: -3.125rem;
  transform: translateX(0);
}

.einv-celebration-overlay {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0)
    env(safe-area-inset-left, 0);
}
.einv-celebration-overlay[hidden] {
  display: none !important;
}
.einv-celebration-overlay--open {
  display: flex !important;
}
.einv-celebration-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(60, 10, 20, 0.55) 0%, rgba(8, 2, 6, 0.88) 100%);
  backdrop-filter: blur(6px);
}
.einv-celebration-overlay__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 90vw;
  pointer-events: none;
}
.einv-celebration-overlay__heart-wrap {
  display: inline-block;
  animation: einvCelebrationHeartGlow 2.2s ease-in-out infinite;
}
.einv-celebration-overlay__heart {
  width: min(52vw, 220px);
  height: min(52vw, 220px);
  color: #e63950;
  display: block;
  animation: einvCelebrationHeartSpin 8s linear infinite;
  transform-origin: center center;
}
@keyframes einvCelebrationHeartSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes einvCelebrationHeartGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 24px rgba(255, 80, 120, 0.95)) drop-shadow(0 0 50px rgba(255, 140, 180, 0.55));
  }
  50% {
    filter: drop-shadow(0 0 42px rgba(255, 120, 160, 1)) drop-shadow(0 0 88px rgba(255, 180, 200, 0.8));
  }
}
.einv-celebration-overlay__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.15rem, 4vw, 1.5rem);
  font-weight: 600;
  color: rgba(255, 248, 250, 0.95);
  margin: 1.25rem 0 0.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}
.einv-celebration-overlay__hint {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 248, 250, 0.55);
  margin: 0;
}
html.einv-celebration-active,
html.einv-celebration-active body {
  overflow: hidden;
}
body.einv-celebration-active .einv-premium-float-couple {
  opacity: 0;
  pointer-events: none;
}

.einv-premium-float-couple {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.35rem 0.5rem calc(0.35rem + env(safe-area-inset-bottom, 0));
  pointer-events: none;
  background: linear-gradient(0deg, rgba(255, 253, 248, 0.94) 0%, rgba(255, 253, 248, 0) 100%);
}
.einv-premium-float-couple__a,
.einv-premium-float-couple__b {
  font-size: 1.65rem;
  display: inline-block;
  animation: einvCoupleDance 1.1s ease-in-out infinite alternate;
}
.einv-premium-float-couple__b {
  animation-delay: 0.15s;
}
.einv-premium-float-couple__heart {
  font-size: 1.25rem;
  animation: einvCoupleDance 0.9s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 6px rgba(255, 120, 160, 0.8));
}
@keyframes einvCoupleDance {
  0% {
    transform: translateY(0) rotate(-4deg);
  }
  100% {
    transform: translateY(-6px) rotate(4deg);
  }
}

/* ── VA premium reference palette (wedding-einvitation / wedding-6templates HTML) ── */
body.einv-public.einv-theme-va-premium {
  --einv-primary: #5c1010;
  --einv-accent: #c9a227;
  --einv-bg: #fdf8ee;
  --einv-text: #3a1a0a;
  background: linear-gradient(180deg, #1c0505 0%, #2a1210 38%, #3a1812 100%);
}
body.einv-public.einv-theme-va-premium .einv-festive-shell {
  --einv-shell-glow: rgba(201, 162, 39, 0.22);
}
body.einv-public.einv-theme-va-premium .einv-card,
body.einv-public.einv-theme-va-premium .einv-festive-inner {
  border-color: rgba(201, 162, 39, 0.35);
  box-shadow: 0 12px 40px rgba(28, 5, 5, 0.18);
}

/* ═══════════════════════════════════════════════════════════════════════
   Telugu “story scroll” theme (va_premium_story) — long-scroll invitation
   inspired by premium Telugu–English wedding layouts (maroon / gold / cream).
   ═══════════════════════════════════════════════════════════════════════ */
body.einv-public.einv-story-scroll {
  font-family: "Lato", system-ui, sans-serif;
  background: #1c0505;
  color: #3a1a0a;
}
body.einv-public.einv-story-scroll .einv-public-wrap {
  width: 100%;
  max-width: 100%;
}

/* Full-screen hero */
.einv-hero-telugu-story.einv-premium-viewport-hero {
  min-height: 100svh;
  min-height: 600px;
  align-items: center;
  justify-content: center;
}
.einv-hero-telugu-story .einv-premium-viewport-hero__veil {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--einv-primary) 52%, transparent) 0%,
    color-mix(in srgb, var(--einv-primary) 32%, #5c1010) 42%,
    color-mix(in srgb, var(--einv-primary) 78%, #000) 82%,
    color-mix(in srgb, var(--einv-primary) 96%, #000) 100%
  );
}
.einv-premium-viewport-hero__veil-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 28%, rgba(28, 5, 5, 0.72) 100%);
}
.einv-hero-telugu-story .einv-premium-viewport-hero__veil-vignette {
  background: radial-gradient(
    ellipse at center,
    transparent 28%,
    color-mix(in srgb, var(--einv-primary) 72%, #000) 100%
  );
}
.einv-hero-telugu-story__bar {
  color: var(--einv-primary);
}
.einv-hero-telugu-story__bar--top {
  opacity: 0.82;
}
.einv-hero-telugu-story__bar--bottom {
  opacity: 0.88;
}
.einv-hero-telugu-story .einv-premium-viewport-hero__content {
  z-index: 5;
  padding: 4.5rem 1.25rem 5.25rem;
}
.einv-hero-telugu-story__pretext {
  font-family: "Noto Serif Telugu", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(0.72rem, 2.4vw, 0.82rem);
  letter-spacing: 0.28em;
  text-transform: none;
  color: color-mix(in srgb, var(--einv-accent) 78%, #fff);
  margin: 0 0 1.35rem;
  line-height: 1.65;
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
}
.einv-hero-telugu-story .einv-premium-viewport-hero__tag {
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: color-mix(in srgb, var(--einv-accent) 88%, #fff);
}
.einv-hero-telugu-story .einv-premium-viewport-hero__name {
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 11vw, 4.25rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: color-mix(in srgb, var(--einv-accent) 92%, #fff);
  text-shadow:
    0 0 50px color-mix(in srgb, var(--einv-accent) 45%, transparent),
    0 0 100px color-mix(in srgb, var(--einv-accent) 20%, transparent),
    0 2px 20px rgba(0, 0, 0, 0.5);
  line-height: 1.05;
}
.einv-hero-telugu-story .einv-premium-viewport-hero__amp {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.05rem, 4vw, 1.65rem);
  color: color-mix(in srgb, var(--einv-accent) 52%, #fff);
  margin: 0.15rem 0;
}
.einv-hero-telugu-story .einv-premium-viewport-hero__date {
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: clamp(0.72rem, 2.6vw, 0.95rem);
  letter-spacing: 0.24em;
  font-weight: 600;
  color: var(--einv-accent);
  margin-top: 1.15rem;
}
.einv-hero-telugu-story .einv-va-hero-venue {
  font-family: "Noto Serif Telugu", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(0.75rem, 2.5vw, 0.88rem);
  letter-spacing: 0.12em;
  color: rgba(253, 248, 238, 0.55);
}

.einv-premium-viewport-hero.einv-premium-viewport-hero--has-photo:not(.einv-hero-telugu-story) {
  position: relative;
}
.einv-premium-viewport-hero.einv-premium-viewport-hero--has-photo:not(.einv-hero-telugu-story)::after {
  content: "";
  position: absolute;
  inset: clamp(10px, 2.5vw, 18px);
  border: 2px dotted rgba(255, 248, 250, 0.38);
  border-radius: 24px;
  pointer-events: none;
  z-index: 4;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 14px 48px rgba(0, 0, 0, 0.42);
}
.einv-hero-telugu-story.einv-premium-viewport-hero--has-photo {
  position: relative;
}
.einv-hero-telugu-story.einv-premium-viewport-hero--has-photo::after {
  content: "";
  position: absolute;
  inset: clamp(10px, 2.5vw, 18px);
  border: 2px dotted rgba(255, 248, 250, 0.42);
  border-radius: 24px;
  pointer-events: none;
  z-index: 4;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 14px 48px rgba(0, 0, 0, 0.42);
}
.einv-hero-photo-expand {
  position: absolute;
  right: clamp(0.75rem, 3vw, 1.25rem);
  bottom: clamp(0.85rem, 3vw, 1.5rem);
  z-index: 8;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(12, 6, 10, 0.42);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}
.einv-hero-photo-expand:hover {
  transform: scale(1.05);
  background: rgba(12, 6, 10, 0.55);
}
.einv-hero-photo-expand__ico {
  font-size: 1.15rem;
  line-height: 1;
}

.einv-hero-telugu-story__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.15rem auto 0;
  max-width: 22rem;
}
.einv-hero-telugu-story__divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--einv-accent) 85%, transparent),
    transparent
  );
}
.einv-hero-telugu-story__divider-orn {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--einv-accent) 65%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--einv-accent) 20%, transparent);
  flex-shrink: 0;
  position: relative;
}
.einv-hero-telugu-story__divider-orn::after {
  content: "";
  position: absolute;
  inset: 35%;
  border-radius: 50%;
  background: color-mix(in srgb, var(--einv-accent) 75%, #fff);
}

.einv-hero-telugu-story__corners {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.einv-hero-telugu-story__corner {
  position: absolute;
  width: 100px;
  height: 100px;
  color: color-mix(in srgb, var(--einv-premium-accent, #d4af37) 80%, #fff);
  opacity: 0.42;
}
.einv-hero-telugu-story__corner--tl {
  top: 10px;
  left: 10px;
}
.einv-hero-telugu-story__corner--tr {
  top: 10px;
  right: 10px;
  transform: scaleX(-1);
}
.einv-hero-telugu-story__corner--bl {
  bottom: 10px;
  left: 10px;
  transform: scaleY(-1);
}
.einv-hero-telugu-story__corner--br {
  bottom: 10px;
  right: 10px;
  transform: scale(-1, -1);
}

.einv-hero-telugu-story__bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 56px;
  z-index: 4;
  pointer-events: none;
  color: inherit;
}
.einv-hero-telugu-story__bar--top {
  top: 0;
}
.einv-hero-telugu-story__bar--bottom {
  bottom: 0;
  transform: rotate(180deg);
}

.einv-hero-telugu-story__scroll {
  position: absolute;
  bottom: 1.35rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font-family: "Cinzel", serif;
  font-size: 0.56rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--einv-accent) 48%, transparent);
  cursor: pointer;
}
.einv-hero-telugu-story__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--einv-accent) 85%, transparent),
    transparent
  );
  animation: einvStoryScrollLine 1.6s ease-in-out infinite;
}
@keyframes einvStoryScrollLine {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.55;
  }
  50% {
    transform: scaleY(0.45);
    opacity: 1;
  }
}

/* Body card + shell under hero — colours follow template / editor (--einv-*) */
.einv-theme-telugu-story .einv-festive-shell--va_premium_story {
  padding-top: 0;
  padding-bottom: 2.75rem;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--einv-primary) 95%, #000) 0%,
    color-mix(in srgb, var(--einv-primary) 78%, #2a1210) 48px,
    var(--einv-bg) 48px,
    var(--einv-bg) 55%,
    color-mix(in srgb, var(--einv-bg) 88%, var(--einv-accent) 12%) 100%
  );
  box-shadow: none;
  border-radius: 0;
  max-width: 100%;
}
.einv-theme-telugu-story .einv-festive-shell--va_premium_story .einv-festive-inner {
  padding-left: 0;
  padding-right: 0;
}
.einv-theme-telugu-story .einv-festive-shell--va_premium_story .einv-card {
  max-width: 53.75rem;
  margin: 0 auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0 1rem 2.5rem;
  text-align: left;
}
.einv-theme-telugu-story .einv-section-card {
  background: color-mix(in srgb, var(--einv-bg) 96%, #fff);
  border: 1px solid color-mix(in srgb, var(--einv-accent) 22%, transparent);
  border-radius: 16px;
  padding: 1.35rem 1.25rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 22px color-mix(in srgb, var(--einv-primary) 6%, transparent);
}
.einv-theme-telugu-story .einv-section-card--bless,
.einv-theme-telugu-story .einv-section-card--hosts,
.einv-theme-telugu-story .einv-section-card--couple,
.einv-theme-telugu-story .einv-section-card--when,
.einv-theme-telugu-story .einv-section-card--where {
  text-align: center;
}
.einv-theme-telugu-story .einv-section-label {
  font-family: "Cinzel", serif;
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--einv-primary) 72%, var(--einv-text));
  margin-bottom: 0.5rem;
}
.einv-theme-telugu-story .einv-section-card--couple .einv-name {
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.65rem, 5.5vw, 2.35rem) !important;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--einv-primary);
}
.einv-theme-telugu-story .einv-bless,
.einv-theme-telugu-story .einv-symbol {
  color: color-mix(in srgb, var(--einv-primary) 90%, var(--einv-text));
}
.einv-theme-telugu-story .einv-program-card {
  background: color-mix(in srgb, var(--einv-primary) 92%, #000);
  border: 1px solid color-mix(in srgb, var(--einv-accent) 28%, transparent);
  border-radius: 18px;
  padding: 1.15rem 1.2rem 1.1rem;
  margin-bottom: 0.85rem;
  color: color-mix(in srgb, var(--einv-bg) 92%, #fff);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}
.einv-theme-telugu-story .einv-program-card-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--einv-bg);
  margin-bottom: 0.35rem;
}
.einv-theme-telugu-story .einv-program-card .einv-sub {
  color: color-mix(in srgb, var(--einv-bg) 78%, #fff);
}
.einv-theme-telugu-story .einv-btn {
  border-radius: 8px;
  font-family: "Cinzel", serif;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--einv-accent) 72%, #5c1010),
    var(--einv-accent)
  );
  color: color-mix(in srgb, var(--einv-primary) 88%, #000) !important;
}
.einv-theme-telugu-story .einv-btn-outline {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: color-mix(in srgb, var(--einv-bg) 82%, #fff) !important;
}
.einv-theme-telugu-story .einv-gallery-slideshow-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--einv-accent) 25%, transparent);
}
.einv-theme-telugu-story .einv-divider {
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--einv-accent) 55%, transparent),
    transparent
  );
  margin: 1.25rem 0;
}

/* Post-card tools (countdown, maps, share) — match invitation palette */
body.einv-story-scroll .einv-post-tools .einv-surface-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid color-mix(in srgb, var(--einv-accent) 22%, transparent);
  border-radius: 16px;
  color: color-mix(in srgb, var(--einv-bg) 90%, #fff);
}
body.einv-story-scroll .einv-panel-mini-title,
body.einv-story-scroll .share-panel-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: color-mix(in srgb, var(--einv-accent) 88%, #fff);
}
body.einv-story-scroll .countdown-timer .ct-label {
  font-family: "Noto Serif Telugu", serif;
  color: color-mix(in srgb, var(--einv-accent) 65%, #fff);
}
body.einv-story-scroll .countdown-timer .ct-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid color-mix(in srgb, var(--einv-accent) 32%, transparent);
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
body.einv-story-scroll .countdown-timer .ct-box span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  color: color-mix(in srgb, var(--einv-accent) 92%, #fff);
}

@media (max-width: 640px) {
  .einv-hero-telugu-story__corner {
    width: 64px;
    height: 64px;
    opacity: 0.3;
  }
}

/* ── Catalog layout accent: same sections, different card chrome & motion ── */
.einv-theme-telugu-story.einv-layout-accent--minimal .einv-section-card {
  border-radius: 12px;
  box-shadow: 0 2px 14px color-mix(in srgb, var(--einv-primary) 5%, transparent);
}
.einv-theme-telugu-story.einv-layout-accent--minimal .einv-program-card {
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.einv-theme-telugu-story.einv-layout-accent--minimal .einv-hero-telugu-story__scroll-line {
  animation: none;
  opacity: 0.9;
}
.einv-theme-telugu-story.einv-layout-accent--ornate .einv-section-card {
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--einv-accent) 38%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--einv-accent) 14%, transparent),
    0 10px 36px color-mix(in srgb, var(--einv-primary) 9%, transparent);
}
.einv-theme-telugu-story.einv-layout-accent--ornate .einv-program-card {
  border-radius: 14px;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--einv-accent) 22%, transparent),
    0 16px 44px rgba(0, 0, 0, 0.42);
}
@media (hover: hover) {
  .einv-theme-telugu-story.einv-layout-accent--festive .einv-section-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
  }
  .einv-theme-telugu-story.einv-layout-accent--festive .einv-section-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px color-mix(in srgb, var(--einv-primary) 14%, transparent);
  }
}
.einv-theme-telugu-story.einv-layout-accent--festive .einv-hero-telugu-story__scroll-line {
  animation-duration: 1.1s;
}

/* ── Named theme variants: subtle atmosphere on top of --einv-* palette ── */
.einv-theme-telugu-story.einv-theme-variant--royal_plum .einv-festive-shell--va_premium_story .einv-bokeh-bg::before,
.einv-theme-telugu-story.einv-theme-variant--royal_plum .einv-festive-shell--va_premium_story .einv-bokeh-bg::after {
  filter: blur(28px) hue-rotate(18deg) saturate(1.08);
}
.einv-theme-telugu-story.einv-theme-variant--emerald_sage .einv-festive-shell--va_premium_story .einv-bokeh-bg::before,
.einv-theme-telugu-story.einv-theme-variant--emerald_sage .einv-festive-shell--va_premium_story .einv-bokeh-bg::after {
  filter: blur(28px) hue-rotate(-28deg) saturate(1.05);
}
.einv-theme-telugu-story.einv-theme-variant--sunset_amber .einv-festive-shell--va_premium_story .einv-bokeh-bg::before,
.einv-theme-telugu-story.einv-theme-variant--sunset_amber .einv-festive-shell--va_premium_story .einv-bokeh-bg::after {
  filter: blur(28px) hue-rotate(32deg) saturate(1.12);
}
.einv-theme-telugu-story.einv-theme-variant--midnight_indigo .einv-festive-shell--va_premium_story .einv-bokeh-bg::before,
.einv-theme-telugu-story.einv-theme-variant--midnight_indigo .einv-festive-shell--va_premium_story .einv-bokeh-bg::after {
  filter: blur(28px) hue-rotate(-35deg) saturate(0.95);
}
.einv-theme-telugu-story.einv-theme-variant--rose_blush .einv-festive-shell--va_premium_story .einv-bokeh-bg::before,
.einv-theme-telugu-story.einv-theme-variant--rose_blush .einv-festive-shell--va_premium_story .einv-bokeh-bg::after {
  filter: blur(28px) hue-rotate(12deg) saturate(1.15);
}
.einv-theme-telugu-story.einv-theme-variant--copper_sand .einv-festive-shell--va_premium_story .einv-bokeh-bg::before,
.einv-theme-telugu-story.einv-theme-variant--copper_sand .einv-festive-shell--va_premium_story .einv-bokeh-bg::after {
  filter: blur(28px) hue-rotate(22deg) saturate(1.06);
}
.einv-theme-telugu-story.einv-theme-variant--teal_monsoon .einv-festive-shell--va_premium_story .einv-bokeh-bg::before,
.einv-theme-telugu-story.einv-theme-variant--teal_monsoon .einv-festive-shell--va_premium_story .einv-bokeh-bg::after {
  filter: blur(28px) hue-rotate(-42deg) saturate(1.08);
}
.einv-theme-telugu-story.einv-theme-variant--maroon_gold .einv-hero-telugu-story .einv-premium-viewport-hero__veil {
  background: linear-gradient(
    195deg,
    color-mix(in srgb, var(--einv-primary) 48%, transparent) 0%,
    color-mix(in srgb, var(--einv-primary) 28%, #5c1010) 38%,
    color-mix(in srgb, var(--einv-primary) 82%, #000) 100%
  );
}
.einv-theme-telugu-story.einv-theme-variant--sapphire_night .einv-festive-shell--va_premium_story .einv-bokeh-bg::before,
.einv-theme-telugu-story.einv-theme-variant--sapphire_night .einv-festive-shell--va_premium_story .einv-bokeh-bg::after {
  filter: blur(28px) hue-rotate(-12deg) saturate(1.1);
}
.einv-theme-telugu-story.einv-theme-variant--ruby_velvet .einv-festive-shell--va_premium_story .einv-bokeh-bg::before,
.einv-theme-telugu-story.einv-theme-variant--ruby_velvet .einv-festive-shell--va_premium_story .einv-bokeh-bg::after {
  filter: blur(28px) hue-rotate(8deg) saturate(1.18);
}
.einv-theme-telugu-story.einv-theme-variant--ivory_champagne .einv-festive-shell--va_premium_story .einv-bokeh-bg::before,
.einv-theme-telugu-story.einv-theme-variant--ivory_champagne .einv-festive-shell--va_premium_story .einv-bokeh-bg::after {
  filter: blur(26px) hue-rotate(18deg) saturate(0.92);
}
.einv-theme-telugu-story.einv-theme-variant--forest_moss .einv-festive-shell--va_premium_story .einv-bokeh-bg::before,
.einv-theme-telugu-story.einv-theme-variant--forest_moss .einv-festive-shell--va_premium_story .einv-bokeh-bg::after {
  filter: blur(28px) hue-rotate(-48deg) saturate(1.05);
}
.einv-theme-telugu-story.einv-theme-variant--orchid_lilac .einv-festive-shell--va_premium_story .einv-bokeh-bg::before,
.einv-theme-telugu-story.einv-theme-variant--orchid_lilac .einv-festive-shell--va_premium_story .einv-bokeh-bg::after {
  filter: blur(28px) hue-rotate(22deg) saturate(1.12);
}
.einv-theme-telugu-story.einv-theme-variant--slate_gold .einv-festive-shell--va_premium_story .einv-bokeh-bg::before,
.einv-theme-telugu-story.einv-theme-variant--slate_gold .einv-festive-shell--va_premium_story .einv-bokeh-bg::after {
  filter: blur(28px) hue-rotate(-8deg) saturate(0.88);
}

/* Layout accent: classic — inset panel, hairline inner frame */
.einv-theme-telugu-story.einv-layout-accent--classic .einv-section-card {
  border-radius: 15px;
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--einv-accent) 18%, transparent),
    0 8px 28px color-mix(in srgb, var(--einv-primary) 7%, transparent);
}

/* ── va_sample_story: full scroll sections (story · events · countdown · gallery · footer) ── */
.einv-va-page.einv-page--sample-story .einv-festive-shell--va_sample_story {
  background: transparent !important;
  box-shadow: none !important;
  padding-bottom: 0 !important;
}
.einv-va-page.einv-page--sample-story .einv-festive-shell--va_sample_story .einv-festive-inner {
  padding: 0 !important;
  max-width: 100%;
}
.einv-card--sample-full {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  max-width: 100%;
}

/* Same Telugu Story sections — catalog rotates sampleStorySkin 0–7 so layouts feel distinct at a glance */
.einv-card--sample-full.einv-sample-skin--1 .einv-sample-float-nav {
  right: auto;
  left: 12px;
}
.einv-card--sample-full.einv-sample-skin--1 .einv-sample-fn-tip {
  right: auto;
  left: 18px;
}
.einv-card--sample-full.einv-sample-skin--2 .einv-sample-section-inner {
  border-radius: 0.35rem;
  border-width: 2px;
  border-style: double;
  box-shadow: 0 4px 20px color-mix(in srgb, var(--einv-primary) 12%, transparent);
}
.einv-card--sample-full.einv-sample-skin--3 .einv-sample-story-grid {
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 768px) {
  .einv-card--sample-full.einv-sample-skin--3 .einv-sample-story-col--portraits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}
.einv-card--sample-full.einv-sample-skin--4 .einv-sample-bg-pattern {
  opacity: 0.1;
  background-image: radial-gradient(circle at 20% 30%, var(--einv-accent) 0, transparent 45%),
    repeating-linear-gradient(135deg, var(--einv-accent) 0, var(--einv-accent) 1px, transparent 0, transparent 36px);
}
.einv-card--sample-full.einv-sample-skin--5 .einv-sample-event-card {
  border-radius: 0.25rem 1.25rem 0.25rem 1.25rem;
}
.einv-card--sample-full.einv-sample-skin--5 .einv-sample-event-card--wide {
  border-radius: 1.25rem 0.25rem 1.25rem 0.25rem;
}
.einv-card--sample-full.einv-sample-skin--6 .einv-sample-gallery-grid {
  gap: 0.85rem;
}
.einv-card--sample-full.einv-sample-skin--6 .einv-sample-gallery-item {
  border-radius: 10px;
  border-style: solid;
  transform: none;
}
.einv-card--sample-full.einv-sample-skin--6 .einv-sample-gallery-item--feat {
  border-radius: 14px;
}
.einv-card--sample-full.einv-sample-skin--7 .einv-sample-section--story::before {
  height: 56px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--einv-primary) 88%, #000) 0%, var(--einv-bg) 92%);
}
.einv-card--sample-full.einv-sample-skin--7 .einv-sample-footer {
  background: linear-gradient(185deg, color-mix(in srgb, var(--einv-primary) 35%, #000), #0a0101 55%, #0d0202);
}

.einv-page--sample-story.einv-layout-accent--minimal .einv-sample-section-inner {
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
  border-color: color-mix(in srgb, var(--einv-accent) 8%, transparent);
  backdrop-filter: blur(6px);
}
.einv-page--sample-story.einv-layout-accent--ornate .einv-sample-section-inner {
  border-radius: 28px;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.14),
    inset 0 0 0 1px color-mix(in srgb, var(--einv-accent) 22%, transparent);
}
.einv-page--sample-story.einv-layout-accent--festive .einv-sample-portrait-card {
  border-width: 2px;
  box-shadow: 0 6px 22px color-mix(in srgb, var(--einv-accent) 18%, transparent);
}

.einv-sample-float-nav {
  position: fixed;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.einv-sample-fn-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--einv-accent) 35%, transparent);
  border: 1px solid color-mix(in srgb, var(--einv-accent) 55%, transparent);
  padding: 0;
  text-decoration: none;
  position: relative;
  transition: transform 0.2s, background 0.2s;
}
.einv-sample-fn-dot:hover,
.einv-sample-fn-dot:focus-visible {
  background: var(--einv-accent);
  transform: scale(1.35);
  outline: none;
}
.einv-sample-fn-tip {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: color-mix(in srgb, var(--einv-primary) 92%, #000);
  border: 1px solid color-mix(in srgb, var(--einv-accent) 35%, transparent);
  color: color-mix(in srgb, var(--einv-accent) 90%, #fff);
  font-family: "Cinzel", serif;
  font-size: 8px;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.einv-sample-fn-dot:hover .einv-sample-fn-tip,
.einv-sample-fn-dot:focus-visible .einv-sample-fn-tip {
  opacity: 1;
}

.einv-sample-section {
  position: relative;
  overflow: hidden;
}
/* Scroll reveal only on live guest page (i.php runs IntersectionObserver). Editor / iframe preview must stay fully visible. */
body.einv-page--sample-story-active .einv-sample-section {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
body.einv-page--sample-story-active .einv-sample-section--visible {
  opacity: 1;
  transform: translateY(0);
}
.einv-sample-section-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  border: 1px solid color-mix(in srgb, var(--einv-accent) 14%, transparent);
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.einv-sample-sec-head {
  text-align: center;
  margin-bottom: 2rem;
}
.einv-sample-sec-tag {
  font-family: "Cinzel", serif;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--einv-accent) 88%, var(--einv-text));
  margin-bottom: 0.5rem;
  opacity: 0.9;
}
.einv-sample-sec-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 300;
  color: color-mix(in srgb, var(--einv-text) 95%, #000);
  line-height: 1.15;
  margin: 0;
}
.einv-sample-sec-title em {
  font-style: italic;
  color: var(--einv-primary);
}
.einv-sample-sec-title--light {
  color: color-mix(in srgb, var(--einv-bg) 95%, #fff);
}
.einv-sample-sec-title--light em {
  color: color-mix(in srgb, var(--einv-accent) 95%, #fff);
}
.einv-sample-sec-head--on-dark .einv-sample-sec-tag {
  color: color-mix(in srgb, var(--einv-accent) 75%, #fff);
}
.einv-sample-orn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.einv-sample-orn-line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--einv-accent) 65%, transparent), transparent);
}
.einv-sample-orn-line--light {
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--einv-accent) 45%, transparent), transparent);
}
.einv-sample-orn-heart,
.einv-sample-orn-ico {
  color: color-mix(in srgb, var(--einv-accent) 80%, transparent);
  font-size: 1.1rem;
}

.einv-sample-section--story {
  background: var(--einv-bg);
}
.einv-sample-section--story::before {
  content: "";
  display: block;
  height: 48px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--einv-primary) 95%, #000) 0%, var(--einv-bg) 100%);
}
.einv-sample-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.einv-sample-prose {
  font-family: "Lato", system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.85;
  color: color-mix(in srgb, var(--einv-text) 75%, #5c4a3a);
  margin: 0 0 1rem;
}
.einv-sample-portrait-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: color-mix(in srgb, #fff 96%, var(--einv-bg));
  border: 1px solid color-mix(in srgb, var(--einv-accent) 22%, transparent);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 18px color-mix(in srgb, var(--einv-primary) 6%, transparent);
}
.einv-sample-portrait-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  border: 3px solid color-mix(in srgb, var(--einv-accent) 70%, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--einv-primary), var(--einv-accent));
}
.einv-sample-portrait-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.einv-sample-portrait-ph {
  font-size: 1.75rem;
}
.einv-sample-portrait-name {
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--einv-primary);
  margin: 0 0 0.2rem;
  line-height: 1;
}
.einv-sample-portrait-lines {
  font-family: "Noto Serif Telugu", serif;
  font-size: 0.78rem;
  color: color-mix(in srgb, var(--einv-text) 70%, #7a5a3a);
  line-height: 1.65;
  margin: 0;
}
.einv-sample-portrait-loc {
  color: color-mix(in srgb, var(--einv-accent) 90%, var(--einv-primary));
  font-size: 0.72rem;
}

.einv-sample-section--events {
  background: color-mix(in srgb, var(--einv-primary) 96%, #000);
  color: color-mix(in srgb, var(--einv-bg) 92%, #fff);
}
.einv-sample-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: repeating-linear-gradient(45deg, var(--einv-accent) 0, var(--einv-accent) 1px, transparent 0, transparent 48px);
  pointer-events: none;
}
.einv-sample-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}
.einv-sample-event-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid color-mix(in srgb, var(--einv-accent) 22%, transparent);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(4px);
  transition: transform 0.3s, box-shadow 0.3s;
}
.einv-sample-event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
}
.einv-sample-event-card--wide {
  grid-column: 1 / -1;
}
.einv-sample-event-accent {
  height: 4px;
}
.einv-sample-event-body {
  padding: 1.35rem 1.35rem 1.15rem;
}
.einv-sample-event-badge {
  display: inline-flex;
  align-items: center;
  font-family: "Cinzel", serif;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--einv-accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--einv-accent) 35%, transparent);
  color: color-mix(in srgb, var(--einv-accent) 95%, #fff);
  margin-bottom: 0.65rem;
}
.einv-sample-event-te {
  font-family: "Noto Serif Telugu", serif;
  font-size: 0.78rem;
  color: color-mix(in srgb, var(--einv-accent) 55%, #fff);
  margin: 0 0 0.35rem;
}
.einv-sample-event-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.65rem;
  font-weight: 600;
  margin: 0 0 1rem;
  line-height: 1.15;
  color: color-mix(in srgb, var(--einv-bg) 96%, #fff);
}
.einv-sample-event-rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.einv-sample-event-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}
.einv-sample-event-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--einv-accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--einv-accent) 28%, transparent);
  border-radius: 10px;
  flex-shrink: 0;
  font-size: 1rem;
}
.einv-sample-event-lbl {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--einv-accent) 90%, #fff);
  display: block;
  margin-bottom: 0.15rem;
}
.einv-sample-event-val {
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0;
  color: color-mix(in srgb, var(--einv-bg) 88%, #fff);
}
.einv-sample-event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0 1.35rem 1.2rem;
}
.einv-sample-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-family: "Cinzel", serif;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.einv-sample-btn--gold {
  background: linear-gradient(135deg, color-mix(in srgb, var(--einv-accent) 72%, #5c1010), var(--einv-accent));
  color: color-mix(in srgb, var(--einv-primary) 92%, #000) !important;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--einv-accent) 25%, transparent);
}
.einv-sample-btn--gold:hover {
  transform: translateY(-2px);
}
.einv-sample-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78) !important;
}

.einv-sample-countdown {
  background: linear-gradient(160deg, var(--einv-primary) 0%, color-mix(in srgb, var(--einv-primary) 55%, #000) 100%);
  position: relative;
}
.einv-sample-countdown-te {
  font-family: "Noto Serif Telugu", serif;
  font-size: 0.88rem;
  text-align: center;
  color: color-mix(in srgb, var(--einv-accent) 72%, #fff);
  letter-spacing: 0.12em;
  margin: 0 0 0.5rem;
}
.einv-sample-countdown__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1rem 3rem;
}
.einv-sample-countdown__panel {
  background: transparent !important;
  border: none !important;
}

.einv-sample-section--gallery {
  background: color-mix(in srgb, var(--einv-bg) 88%, var(--einv-accent) 12%);
}
.einv-sample-section--gallery::before {
  content: "";
  display: block;
  height: 44px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--einv-primary) 85%, #000) 0%, color-mix(in srgb, var(--einv-bg) 90%, var(--einv-accent) 10%) 100%);
}
.einv-sample-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 10px;
  margin-top: 0.5rem;
}
.einv-sample-gallery-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  margin: 0;
  border: 2px dotted color-mix(in srgb, var(--einv-accent) 38%, transparent);
  background: var(--einv-bg);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.1),
    0 20px 42px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: perspective(920px) rotateX(0.6deg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.einv-sample-gallery-item:hover {
  transform: perspective(920px) rotateX(0deg) translateY(-3px);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.14),
    0 26px 52px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.einv-sample-gallery-item--feat {
  grid-column: span 2;
  grid-row: span 2;
}
.einv-sample-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.einv-sample-gallery-item:hover img {
  transform: scale(1.05);
}
.einv-sample-gallery-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.5rem 0.65rem;
  font-family: "Cinzel", serif;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  color: color-mix(in srgb, var(--einv-accent) 90%, #fff);
  margin: 0;
}
.einv-sample-gallery-empty {
  text-align: center;
  font-family: "Lato", sans-serif;
  color: color-mix(in srgb, var(--einv-text) 55%, #888);
  padding: 2rem 1rem;
}

.einv-sample-section--share-bridge {
  background: color-mix(in srgb, var(--einv-primary) 94%, #000);
  padding: 1.5rem 1rem;
}
.einv-sample-share-bridge-inner {
  text-align: center;
  max-width: 520px;
}
.einv-sample-bridge-p {
  font-family: "Lato", sans-serif;
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--einv-bg) 65%, #fff);
  margin: 0 0 0.75rem;
}
.einv-sample-bridge-btn {
  display: inline-block;
  font-family: "Cinzel", serif;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--einv-accent) 45%, transparent);
  color: color-mix(in srgb, var(--einv-accent) 95%, #fff) !important;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.einv-sample-bridge-btn:hover {
  background: color-mix(in srgb, var(--einv-accent) 18%, transparent);
  transform: translateY(-2px);
}

.einv-sample-footer {
  background: #0d0202;
  text-align: center;
  padding: 3rem 1.5rem 2.5rem;
  border-top: 1px solid color-mix(in srgb, var(--einv-accent) 18%, transparent);
}
.einv-sample-footer-names {
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 7vw, 3.25rem);
  font-weight: 600;
  color: color-mix(in srgb, var(--einv-accent) 95%, #fff);
  margin: 0 0 0.5rem;
  line-height: 1;
  text-shadow: 0 0 36px color-mix(in srgb, var(--einv-accent) 35%, transparent);
}
.einv-sample-footer-amp {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.45em;
  opacity: 0.85;
}
.einv-sample-footer-te {
  font-family: "Noto Serif Telugu", serif;
  font-size: 0.88rem;
  color: color-mix(in srgb, var(--einv-accent) 48%, #fff);
  letter-spacing: 0.06em;
  margin: 0 0 1.5rem;
}
.einv-sample-footer-orn {
  height: 2px;
  width: 120px;
  margin: 0 auto 1rem;
  background: linear-gradient(90deg, transparent, var(--einv-accent), transparent);
  opacity: 0.45;
}
.einv-sample-footer-line {
  max-width: 300px;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--einv-accent) 55%, transparent), transparent);
}

body.einv-page--sample-story-active .einv-post-tools {
  padding-top: 0.5rem;
}
body.einv-page--sample-story-active .einv-share-anchor-wrap {
  scroll-margin-top: 1rem;
}

.einv-sample-section--events .einv-sample-section-inner {
  background: rgba(255, 255, 255, 0.03);
  border-color: color-mix(in srgb, var(--einv-accent) 20%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.einv-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0)
    env(safe-area-inset-left, 0);
}
.einv-lightbox[hidden] {
  display: none !important;
}
.einv-lightbox--open {
  display: flex !important;
}
.einv-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 4, 6, 0.88);
  backdrop-filter: blur(4px);
}
.einv-lightbox__img {
  position: relative;
  z-index: 2;
  max-width: min(96vw, 1100px);
  max-height: min(88vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}
.einv-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 4;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}
.einv-lightbox__prev,
.einv-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 2.75rem;
  height: 3.5rem;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.einv-lightbox__prev {
  left: 0.5rem;
}
.einv-lightbox__next {
  right: 0.5rem;
}

@media (max-width: 720px) {
  .einv-sample-story-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .einv-sample-float-nav {
    display: none;
  }
  .einv-sample-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }
  .einv-sample-gallery-item--feat {
    grid-column: span 2;
    grid-row: span 1;
  }
}

/* v25 — Catalog font stacks via inline --einv-font-* (template rotation) */
.einv-va-page.einv-theme-telugu-story .einv-hero-telugu-story .einv-premium-viewport-hero__name {
  font-family: var(--einv-font-heading, "Playfair Display", "Cormorant Garamond", Georgia, serif);
}
.einv-va-page.einv-theme-telugu-story .einv-hero-telugu-story .einv-premium-viewport-hero__amp {
  font-family: var(--einv-font-accent, "Cormorant Garamond", Georgia, serif);
}
.einv-va-page.einv-theme-telugu-story .einv-hero-telugu-story__pretext {
  font-family: var(--einv-font-body, "Noto Serif Telugu", "Cormorant Garamond", Georgia, serif);
}
.einv-va-page.einv-theme-telugu-story .einv-festive-shell--va_premium_story .einv-festive-inner {
  font-family: var(--einv-font-body, "Cormorant Garamond", Georgia, serif);
}
.einv-va-page.einv-theme-telugu-story .einv-section-label,
.einv-va-page.einv-theme-telugu-story .einv-btn {
  font-family: var(--einv-font-heading, "Cinzel", serif);
}
.einv-va-page.einv-theme-telugu-story .einv-section-card--couple .einv-name {
  font-family: var(--einv-font-heading, "Playfair Display", "Cormorant Garamond", Georgia, serif);
}
.einv-va-page.einv-theme-telugu-story .einv-program-card-title {
  font-family: var(--einv-font-heading, "Cormorant Garamond", Georgia, serif);
}
