/* Published invitation layout. Elementor may also carry .tc-inv-root:
   reset each wrapper once, then constrain the actual card. Editor previews
   keep their own sizing and fictional demos keep their navigation canvas. */
body.tc-invitation-single:not(.tc-demo-view){
  --tc-published-max:680px;
  --tc-published-gutter:clamp(12px,2vw,24px);
}
body.tc-invitation-single:not(.tc-demo-view) .elementor-location-single{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:20px var(--tc-published-gutter) 48px!important;
}
body.tc-invitation-single:not(.tc-demo-view) .tc-inv-root{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  max-width:var(--tc-published-max)!important;
  min-height:0!important;
  margin:0 auto!important;
  padding:0!important;
  overflow:visible!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
}
body.tc-invitation-single:not(.tc-demo-view) .tc-inv-root.e-con{
  --container-max-width:var(--tc-published-max);
  --width:100%;
  --padding-top:0px;
  --padding-bottom:0px;
  --padding-left:0px;
  --padding-right:0px;
  gap:0!important;
}
body.tc-invitation-single:not(.tc-demo-view) .tc-inv-root > .e-con-inner{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  width:100%!important;
  max-width:none!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  gap:0!important;
}
body.tc-invitation-single:not(.tc-demo-view) .tc-inv-root .elementor-widget-shortcode,
body.tc-invitation-single:not(.tc-demo-view) .tc-inv-root .elementor-widget-container,
body.tc-invitation-single:not(.tc-demo-view) .tc-inv-root .elementor-shortcode{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
body.tc-invitation-single:not(.tc-demo-view) .tc-inv-root .elementor-shortcode{display:block!important}
body.tc-invitation-single:not(.tc-demo-view) [data-tc-final-card="1"]{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:var(--tc-published-max)!important;
  margin:0 auto!important;
}
@media(max-width:640px){
  body.tc-invitation-single:not(.tc-demo-view) .elementor-location-single{padding:12px var(--tc-published-gutter) 32px!important}
}
