/* =========================================================
   SECTION 2 - DETAIL INVITE  (all selectors prefixed .s2-)
   Exact replica of the reference. Everything is sized in cqw
   (1cqw = 1% of the section width) so it scales perfectly on
   every screen. js/s2-invite.js fits each text group to the
   exact width measured from the reference, whatever font the
   device uses.
   ========================================================= */
.s2-invite{
  position:relative;
  width:100%;
  aspect-ratio:296/513;           /* proportions of the reference screenshot */
  container-type:inline-size;
  overflow:hidden;
  background:#fff;
  color:#8f8f8f;
  isolation:isolate;
}
.s2-frame{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:fill;
  z-index:0;
}
.s2-ganesh{
  position:absolute;left:50%;top:24.7%;
  width:8.6cqw;height:auto;
  transform:translate(-50%,-50%);
  opacity:.88;
  z-index:1;
}

/* a vertically-centred block at a fixed % of section height */
.s2-blk{
  position:absolute;left:0;right:0;
  text-align:center;
  transform:translateY(-50%);
  z-index:1;
}
.s2-grp{display:inline-block;white-space:nowrap;text-align:center;font-size:2cqw}
.s2-ln{display:block;line-height:calc(var(--lh,1.5) * 1cqw)}

.s2-skt{
  top:28.6%;
  font-family:"Noto Serif Devanagari","Tiro Devanagari Hindi","Kohinoor Devanagari","ITF Devanagari","Mangal","Nirmala UI",FreeSerif,serif;
  color:#E5443A;font-weight:500;
}
.s2-bless{top:32.6%;font-family:Georgia,"Times New Roman",serif;font-weight:600;color:#8f8f8f}
.s2-bless .s2-ln{--lh:3.4}

.s2-invite-word{
  top:38.5%;
  font-family:"Snell Roundhand","Segoe Script","Dancing Script","Brush Script MT","Lucida Handwriting",cursive;
  color:#2F63BE;font-weight:400;line-height:1;
}

.s2-hosts{top:46.2%;font-family:Georgia,"Times New Roman",serif;font-weight:500;color:#8a8a8a}
.s2-hosts .s2-ln{--lh:2.25}

.s2-names{top:57.6%;-webkit-text-stroke:.3px currentColor;font-family:var(--font-title);font-weight:400;color:#FCC84C}
.s2-names .s2-nm{display:block;line-height:1;white-space:nowrap}
.s2-names .s2-amp{
  display:block;
  margin:1.1cqw 0 1.4cqw;
  font-family:Georgia,"Times New Roman",serif;font-weight:700;font-size:3cqw;line-height:1;
  color:#4B78C4;
}
.s2-bride{top:69.4%;font-family:Georgia,"Times New Roman",serif;font-weight:500;color:#8a8a8a}
.s2-bride .s2-ln{--lh:2.5}

.s2-events{
  top:74.4%;
  font-family:Georgia,"Times New Roman",serif;font-weight:700;
  color:#3B68B0;
}
