/*
 * Firsts Autumn Wedding — couture four-fold invitation 2.2.0.
 * Автор Бородин Павел - Первые - firsts.ru
 */

@font-face{font-family:"Firsts Script";src:url('../fonts/Z003-MediumItalic.otf') format('opentype');font-display:block;font-style:italic;font-weight:400}
@font-face{font-family:"Firsts Reading";src:url('../fonts/P052-Italic.otf') format('opentype');font-display:block;font-style:italic;font-weight:400}
@font-face{font-family:"Firsts Reading";src:url('../fonts/P052-Roman.otf') format('opentype');font-display:block;font-style:normal;font-weight:400}

:root,body.firsts-autumn-wedding{
  --fwg-paper:#fffaf4;
  --fwg-paper-warm:#f8f0e8;
  --fwg-blush:#f2e6df;
  --fwg-blush-deep:#e8d6cc;
  --fwg-rose:#c09883;
  --fwg-wax:#5a463c;
  --fwg-wax-deep:#342119;
  --fwg-ink:#5a463c;
  --fwg-ink-soft:#8c7463;
  --fwg-gold:#d3a33b;
  --fwg-gold-deep:#8f5b08;
  --fwg-gold-bright:#ffeab0;
  --fwg-gold-text:linear-gradient(145deg,#8b5807 0%,#c99529 24%,#f5dd8d 47%,#b67b14 69%,#e5b94e 100%);
  --fwg-line:rgba(215,166,61,.42);
  --e-global-color-primary:#d7a63d!important;
  --e-global-color-secondary:#5a463c!important;
  --e-global-color-accent:#c09883!important
}

html{background:var(--fwg-paper)!important;scroll-behavior:auto!important}
body.firsts-autumn-wedding{
  margin:0!important;
  background:var(--fwg-paper)!important;
  color:var(--fwg-ink)!important;
  font-family:"Firsts Script","Firsts Reading",Georgia,serif!important;
  font-style:italic!important;
  text-rendering:optimizeLegibility
}
body.firsts-autumn-wedding .site-main,
body.firsts-autumn-wedding .elementor,
body.firsts-autumn-wedding .elementor-section-wrap,
body.firsts-autumn-wedding .elementor-inner{background:transparent!important}
body.firsts-autumn-wedding p,
body.firsts-autumn-wedding li,
body.firsts-autumn-wedding label{font-family:"Firsts Script","Firsts Reading",Georgia,serif!important;font-style:italic!important}
body.firsts-autumn-wedding input,
body.firsts-autumn-wedding select,
body.firsts-autumn-wedding textarea{font-family:"Firsts Reading",Georgia,serif!important;font-style:italic!important}

body.fwg-native-hero-active #primary>.elementor[data-elementor-type="wp-page"]>.elementor-section:first-child,
body.fwg-native-hero-active #primary>.elementor[data-elementor-type="wp-page"]>.e-con:first-child,
body.fwg-native-hero-active #primary>.elementor[data-elementor-type="wp-page"]>.elementor-section-wrap>.elementor-section:first-child,
body.fwg-native-hero-active #primary>.elementor[data-elementor-type="wp-page"]>.elementor-inner>.elementor-section-wrap>.elementor-section:first-child{display:none!important}

/* Physical blush envelope reconstructed from reference frames 017–026. */
.fwg-envelope-gate{background:#f5e9e2;color:var(--fwg-wax)}
.fwg-envelope-stage{background:radial-gradient(circle at 50% 42%,#fffaf4 0,#f4e8e1 58%,#ead8ce 100%);box-shadow:inset 0 0 90px rgba(90,70,60,.09)}
.fwg-envelope__back,.fwg-envelope__flap-face,.fwg-envelope__side,.fwg-envelope__pocket{
  background-color:#f6ebe4!important;
  background-image:url('../images/envelope-paper-2.0.webp?v=2.2.0')!important;
  background-position:center!important;
  background-size:cover!important
}
.fwg-envelope__back{box-shadow:inset 0 0 0 1px rgba(200,149,50,.3)}
.fwg-envelope__back::before{content:"";position:absolute;inset:clamp(10px,1.2vw,20px);border:1px solid rgba(200,149,50,.44);pointer-events:none}
.fwg-envelope__back::after{background:radial-gradient(ellipse at 50% 50%,rgba(255,250,224,.92) 0,rgba(255,225,145,.42) 16%,rgba(222,164,48,.14) 34%,transparent 62%);box-shadow:none}
.fwg-envelope__flap-face{filter:none!important;box-shadow:0 18px 34px rgba(90,70,60,.16),0 2px 0 rgba(215,166,61,.58)}
.fwg-envelope__flap-gold{
  background:linear-gradient(130deg,#fff0c6 0,#c99334 42%,#f8dda0 70%,#9c681d 100%)!important;
  box-shadow:0 20px 35px rgba(140,94,22,.17)
}
.fwg-envelope__side{filter:drop-shadow(0 0 1px rgba(150,96,13,.56)) drop-shadow(0 0 9px rgba(215,166,61,.12))}
.fwg-envelope__side--left{background-position:left center!important}
.fwg-envelope__side--right{background-position:right center!important}
.fwg-envelope__pocket{box-shadow:inset 0 1px 0 rgba(140,94,22,.34),0 -14px 28px rgba(90,70,60,.1)}
.fwg-envelope__emboss{display:none!important}
.fwg-envelope__seal{width:clamp(112px,10vw,154px);color:var(--fwg-gold);filter:drop-shadow(0 12px 14px rgba(52,33,25,.25))}
.fwg-envelope__seal-left,.fwg-envelope__seal-right{background-image:url('../images/wax-seal-swans-2.2.webp?v=2.2.0')}
.fwg-envelope:hover .fwg-envelope__seal{filter:drop-shadow(0 15px 18px rgba(52,33,25,.32)) brightness(1.04)}
.fwg-envelope__prompt{top:65%;color:var(--fwg-wax)!important;font:italic 400 clamp(25px,2.6vw,38px)/1 "Firsts Script",cursive!important;letter-spacing:.02em!important}
.fwg-envelope-card{
  border:0;
  border-radius:0;
  background:var(--fwg-paper) url('../images/maxim-gulya-hero-2.2.webp?v=2.2.0') center/cover no-repeat;
  box-shadow:none
}
.fwg-envelope-card__frame{inset:13px;border:1px solid rgba(200,149,50,.52);border-radius:1px}
.fwg-envelope-card__copy{left:0;top:0;width:49%;height:100%;padding:clamp(32px,4vw,64px) clamp(30px,5vw,78px) 104px;justify-content:center;transform:translateY(24px)}
.fwg-envelope-card__copy small{color:var(--fwg-wax)!important;font:italic 400 clamp(13px,1.15vw,18px)/1.2 "Firsts Reading",Georgia,serif!important;letter-spacing:.12em!important}
.fwg-envelope-card__names{display:flex!important;flex-direction:column;gap:2px;width:100%;margin:12px auto 0;background:var(--fwg-gold-text);background-clip:text;-webkit-background-clip:text;color:var(--fwg-gold-deep)!important;-webkit-text-fill-color:transparent!important;font:italic 400 clamp(66px,6.8vw,112px)/.88 "Firsts Script",cursive!important;text-align:center;filter:drop-shadow(0 2px 0 rgba(255,250,244,.76))}
.fwg-envelope-card__names b{font:inherit!important;font-weight:400!important}
.fwg-envelope-card__names i{font:inherit!important}
.fwg-envelope-card__copy time{margin-top:clamp(24px,3vh,38px);color:var(--fwg-gold-deep)!important;font:italic 400 clamp(15px,1.35vw,21px)/1.2 "Firsts Reading",Georgia,serif!important;letter-spacing:.09em!important}
.fwg-envelope-card__scroll{position:absolute;left:50%;bottom:clamp(28px,4vh,48px);width:max-content;max-width:90%;padding:3px 10px 8px;border-bottom:1px solid var(--fwg-gold);color:var(--fwg-gold-deep)!important;font:italic 400 clamp(19px,1.7vw,27px)/1 "Firsts Script",cursive!important;transform:translateX(-50%)}

/* Bright first screen. */
.fwg-native-hero{--fwg-hero-height:100vh;position:relative;height:var(--fwg-hero-height);min-height:640px;overflow:hidden;overflow-anchor:none;isolation:isolate;background:var(--fwg-paper);touch-action:pan-y}
@supports(height:100svh){.fwg-native-hero{--fwg-hero-height:100svh}}
body.admin-bar .fwg-native-hero{--fwg-hero-height:calc(100vh - 32px)}
@supports(height:100svh){body.admin-bar .fwg-native-hero{--fwg-hero-height:calc(100svh - 32px)}}
.fwg-native-hero__media,.fwg-native-hero__media img,.fwg-native-hero__shade,.fwg-native-hero__frame{position:absolute;inset:0;width:100%;height:100%}
.fwg-native-hero__media{z-index:0;display:block}
.fwg-native-hero__media img{display:block;object-fit:cover;object-position:center;transform:none!important}
.fwg-native-hero__shade{z-index:1;background:linear-gradient(90deg,rgba(255,250,245,.18),transparent 51%)}
.fwg-native-hero__frame{z-index:3;inset:13px;width:auto;height:auto;border:1px solid rgba(200,149,50,.62);pointer-events:none}
.fwg-native-hero__copy{position:relative;z-index:5;display:flex;width:49%;height:100%;min-height:0;padding:clamp(32px,4vw,64px) clamp(38px,5vw,78px) 104px;flex-direction:column;align-items:center;justify-content:center;text-align:center;transform:translateY(24px)}
.fwg-native-hero__kicker{margin:0 0 14px;color:var(--fwg-wax)!important;font:italic 400 clamp(16px,1.5vw,24px)/1.2 "Firsts Reading",Georgia,serif!important;letter-spacing:.1em!important;text-transform:none!important}
.fwg-native-hero__title{display:flex;flex-direction:column;align-items:center;gap:2px;margin:0;background:var(--fwg-gold-text);background-clip:text;-webkit-background-clip:text;color:var(--fwg-gold-deep)!important;-webkit-text-fill-color:transparent!important;font:italic 400 clamp(68px,6.9vw,114px)/.88 "Firsts Script",cursive!important;filter:drop-shadow(0 2px 0 rgba(255,250,244,.84)) drop-shadow(0 7px 13px rgba(150,96,13,.14))}
.fwg-native-hero__title span,.fwg-native-hero__title i{font:inherit!important;font-weight:400!important}
.fwg-native-hero__date{display:block;margin-top:clamp(26px,3vh,40px);color:var(--fwg-gold-deep)!important;font:italic 400 clamp(18px,1.55vw,25px)/1.2 "Firsts Reading",Georgia,serif!important;letter-spacing:.1em!important;text-transform:none!important}
.fwg-native-hero__scroll{position:absolute;z-index:6;left:23.5%;bottom:clamp(28px,4vh,48px);display:inline-flex!important;min-height:0!important;margin:0!important;padding:3px 10px 9px!important;align-items:center;gap:12px;border:0!important;border-bottom:1px solid var(--fwg-gold)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--fwg-gold-deep)!important;-webkit-text-fill-color:var(--fwg-gold-deep)!important;font:italic 400 clamp(25px,2.4vw,36px)/1 "Firsts Script",cursive!important;letter-spacing:.01em!important;text-decoration:none!important;white-space:nowrap;transform:translateX(-50%)!important}
.fwg-native-hero__scroll::before,.fwg-native-hero__scroll::after{display:none!important}
.fwg-native-hero__scroll i{font-family:"Firsts Reading",serif;font-size:.65em;animation:fwg-scroll-arrow 1.55s ease-in-out infinite}
.fwg-native-hero__scroll:hover,.fwg-native-hero__scroll:focus-visible{color:var(--fwg-gold-deep)!important;-webkit-text-fill-color:var(--fwg-gold-deep)!important;box-shadow:none!important;filter:none!important}
.fwg-hero{position:relative!important}
.fwg-hero .fwg-elementor-hero-cta{position:absolute;z-index:6;left:50%;bottom:clamp(28px,4vh,48px);width:max-content;max-width:calc(100% - 150px);text-align:center;transform:translateX(-50%)}
.fwg-hero .fwg-elementor-hero-cta .fwg-scroll{display:inline-flex;align-items:center;padding:3px 10px 9px;border-bottom:1px solid var(--fwg-gold);color:var(--fwg-wax)!important;-webkit-text-fill-color:var(--fwg-wax)!important;font:italic 400 clamp(22px,2.3vw,34px)/1 "Firsts Script",cursive!important;text-decoration:none;white-space:nowrap}

/* Petals appear once, only after the envelope is opened. */
.fwg-petals{position:absolute;z-index:4;top:0;right:0;width:42%;height:56%;overflow:hidden;pointer-events:none}
.fwg-petals i{position:absolute;top:-8%;left:var(--x);width:14px;height:10px;border-radius:90% 12% 90% 12%;opacity:0;background:linear-gradient(135deg,#fffaf4,#e7d6cc 68%,#c09883);transform:scale(var(--s)) rotate(20deg)}
body.fwg-invitation-open .fwg-petals i{animation:fwg-petal-fall var(--t) var(--d) cubic-bezier(.32,.04,.55,.94) 1 both}

/* Compact paper chapters and torn transitions. */
body.firsts-autumn-wedding .site-main{position:relative;margin:0;background:var(--fwg-paper)!important}
body.firsts-autumn-wedding .elementor[data-elementor-type="wp-page"]>.elementor-section:not(.fwg-hero),
body.firsts-autumn-wedding .elementor[data-elementor-type="wp-page"]>.elementor-section-wrap>.elementor-section:not(.fwg-hero),
body.firsts-autumn-wedding .elementor[data-elementor-type="wp-page"]>.elementor-inner>.elementor-section-wrap>.elementor-section:not(.fwg-hero){
  position:relative;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:72px max(24px,calc((100vw - 1120px)/2))!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  filter:none!important;
  background:var(--fwg-section-bg,var(--fwg-paper))!important
}
body.firsts-autumn-wedding .elementor[data-elementor-type="wp-page"]>.elementor-section:not(.fwg-hero)::before,
body.firsts-autumn-wedding .elementor[data-elementor-type="wp-page"]>.elementor-section-wrap>.elementor-section:not(.fwg-hero)::before,
body.firsts-autumn-wedding .elementor[data-elementor-type="wp-page"]>.elementor-inner>.elementor-section-wrap>.elementor-section:not(.fwg-hero)::before{
  content:"";position:absolute;z-index:2;left:-1px;right:-1px;top:-24px;height:25px;background:var(--fwg-section-bg,var(--fwg-paper));-webkit-mask:url('../images/paper-wave-2.0.svg?v=2.2.0') center/100% 100% no-repeat;mask:url('../images/paper-wave-2.0.svg?v=2.2.0') center/100% 100% no-repeat;pointer-events:none;transform:translateZ(0)
}
body.firsts-autumn-wedding .elementor[data-elementor-type="wp-page"]>.elementor-section:nth-child(even):not(.fwg-hero)::before{transform:scaleX(-1) translateZ(0)}
body.firsts-autumn-wedding .elementor-section>.elementor-container{position:relative;z-index:3;width:100%;max-width:1120px!important}
body.firsts-autumn-wedding .elementor-widget:not(:last-child){margin-bottom:16px!important}
body.firsts-autumn-wedding .fwg-paper{--fwg-section-bg:#fffaf4}
body.firsts-autumn-wedding .fwg-save-date-section{--fwg-section-bg:#f2e6df}
body.firsts-autumn-wedding #venue{--fwg-section-bg:#fbf4ed}
body.firsts-autumn-wedding #timing{--fwg-section-bg:#eee1d9}
body.firsts-autumn-wedding #dress-code{--fwg-section-bg:#fffaf4}
body.firsts-autumn-wedding .fwg-wishes-section{--fwg-section-bg:#eadbd2}
body.firsts-autumn-wedding .fwg-rsvp-section{--fwg-section-bg:#faf2ea}
body.firsts-autumn-wedding .fwg-closing-section{--fwg-section-bg:#e7d6cc}

/* Calligraphic hierarchy in every chapter; body remains readable italic. */
body.firsts-autumn-wedding h1,body.firsts-autumn-wedding h2,body.firsts-autumn-wedding h3,
body.firsts-autumn-wedding .elementor-heading-title,body.firsts-autumn-wedding .fwg-display,
body.firsts-autumn-wedding .fwg-greeting,body.firsts-autumn-wedding .fwg-time,
body.firsts-autumn-wedding .fwg-time-copy h3,body.firsts-autumn-wedding .fwg-note b,
body.firsts-autumn-wedding .fwg-dress-code-row figcaption{
  color:var(--fwg-wax)!important;-webkit-text-fill-color:var(--fwg-wax)!important;font-family:"Firsts Script",cursive!important;font-style:italic!important;font-weight:400!important
}
body.firsts-autumn-wedding .fwg-display .elementor-heading-title,
body.firsts-autumn-wedding .fwg-greeting,
body.firsts-autumn-wedding .fwg-save-date-scene__copy h2,
body.firsts-autumn-wedding .fwg-venue-info h3,
body.firsts-autumn-wedding .fwg-time-copy h3,
body.firsts-autumn-wedding .fwg-note b,
body.firsts-autumn-wedding .fwg-dress-code-row figcaption,
body.firsts-autumn-wedding .fwg-calendar-dialog__panel h2{
  background:var(--fwg-gold-text)!important;
  background-clip:text!important;
  -webkit-background-clip:text!important;
  color:var(--fwg-gold-deep)!important;
  -webkit-text-fill-color:transparent!important;
  filter:drop-shadow(0 1px 0 rgba(255,250,244,.82))
}
body.firsts-autumn-wedding .fwg-display .elementor-heading-title{margin:0!important;font-size:clamp(58px,6vw,88px)!important;line-height:.85!important;letter-spacing:0!important;text-align:center!important}
body.firsts-autumn-wedding .fwg-display .elementor-heading-title::after{content:"❦";display:block;margin:9px auto 0;color:var(--fwg-gold-deep)!important;-webkit-text-fill-color:var(--fwg-gold-deep)!important;font:italic 400 25px/1 "Firsts Reading",Georgia,serif!important}
body.firsts-autumn-wedding .fwg-body-copy,body.firsts-autumn-wedding .fwg-body-copy p{margin-inline:auto!important;color:var(--fwg-ink)!important;-webkit-text-fill-color:var(--fwg-ink)!important;font:italic 400 clamp(27px,2.25vw,34px)/1.18 "Firsts Script","Firsts Reading",Georgia,serif!important}
.fwg-greeting{margin:0 0 12px!important;font:italic 400 clamp(62px,7vw,98px)/.85 "Firsts Script",cursive!important;text-align:center!important}
.fwg-kicker{color:var(--fwg-gold-deep)!important;-webkit-text-fill-color:var(--fwg-gold-deep)!important;font:italic 400 clamp(24px,2vw,31px)/1.05 "Firsts Script","Firsts Reading",Georgia,serif!important;letter-spacing:.02em!important;text-transform:none!important}
.fwg-leaf-divider{margin-top:18px!important;color:var(--fwg-gold-deep)!important;font-size:22px!important}
.fwg-center-text{width:min(760px,100%)}

/* Buttons are wax-ribbon controls, not generic pills. */
.firsts-autumn-wedding .fwg-button,.firsts-autumn-wedding .fwg-calendar-choice,.firsts-autumn-wedding .fwg-submit{
  position:relative;display:inline-flex!important;min-height:52px!important;padding:8px 30px!important;align-items:center;justify-content:center;border:1px solid var(--fwg-gold)!important;border-radius:3px 28px 3px 28px!important;background:linear-gradient(145deg,#8c7463 0%,#6e574b 46%,#5a463c 100%)!important;box-shadow:0 8px 20px rgba(90,70,60,.17)!important;color:#fff4dd!important;-webkit-text-fill-color:#fff4dd!important;font:italic 400 clamp(24px,2.2vw,33px)/1 "Firsts Script",cursive!important;letter-spacing:.01em!important;text-transform:none!important;text-decoration:none!important;transition:transform .22s ease,box-shadow .22s ease!important
}
.firsts-autumn-wedding .fwg-button::before,.firsts-autumn-wedding .fwg-button::after,.firsts-autumn-wedding .fwg-submit::before,.firsts-autumn-wedding .fwg-submit::after{content:"✦"!important;position:static!important;display:inline-block!important;width:auto!important;height:auto!important;margin:0 10px!important;background:none!important;color:var(--fwg-gold-bright)!important;-webkit-text-fill-color:var(--fwg-gold-bright)!important;font:normal 400 10px/1 Georgia,serif!important;opacity:.92!important;transform:none!important}
.firsts-autumn-wedding .fwg-button:hover,.firsts-autumn-wedding .fwg-button:focus-visible,.firsts-autumn-wedding .fwg-calendar-choice:hover,.firsts-autumn-wedding .fwg-submit:hover{transform:translateY(-2px)!important;box-shadow:0 12px 24px rgba(90,70,60,.23)!important;filter:brightness(1.04)!important}

/* Save the date: compact and fully visible. */
body.firsts-autumn-wedding .fwg-save-date-section{padding-top:54px!important;padding-bottom:54px!important}
body.firsts-autumn-wedding .fwg-save-date-scene{position:relative;width:min(620px,90vw)!important;aspect-ratio:941/1672;margin:0 auto!important;overflow:hidden!important;border:0!important;border-radius:0!important;background:var(--fwg-paper) url('../images/maxim-gulya-save-date-2.2.webp?v=2.2.0') center/100% 100% no-repeat!important;box-shadow:none!important;transform:none!important;filter:none!important;isolation:isolate}
body.firsts-autumn-wedding .fwg-save-date-scene__art{display:block!important;width:100%!important;height:100%!important;opacity:0!important;object-fit:contain!important}
body.firsts-autumn-wedding .fwg-save-date-scene::before{content:"";position:absolute;z-index:1;left:-7%;right:-7%;top:72.5%;bottom:-3%;background:repeating-linear-gradient(176deg,rgba(255,248,221,.17) 0 2px,rgba(115,91,64,.08) 3px 5px,transparent 6px 13px),radial-gradient(ellipse at 50% 13%,rgba(255,237,180,.27),transparent 63%);mix-blend-mode:soft-light;transform:translate3d(0,0,0) scaleX(1.02);transform-origin:50% 50%;animation:fwg-water-shimmer 7.8s ease-in-out infinite alternate;pointer-events:none}
body.firsts-autumn-wedding .fwg-save-date-scene::after{content:"";position:absolute;z-index:2;left:18%;bottom:1.1%;width:64%;aspect-ratio:1100/524;background:url('../images/swans-pair-2.2.webp?v=2.2.0') center/contain no-repeat;filter:drop-shadow(0 8px 5px rgba(84,63,39,.22));transform:translate3d(-1.2%,0,0) rotate(-.25deg);transform-origin:50% 88%;animation:fwg-swans-glide 9.6s cubic-bezier(.45,.05,.55,.95) infinite alternate;pointer-events:none}
body.firsts-autumn-wedding .fwg-save-date-scene__glow{position:absolute;z-index:1;left:7%;right:7%;top:2.2%;height:34%;background:radial-gradient(ellipse,rgba(255,250,240,.91),rgba(255,250,240,.42) 58%,transparent 84%);pointer-events:none}
body.firsts-autumn-wedding .fwg-save-date-scene__copy{position:absolute;z-index:3;left:8%;right:8%;top:5.2%!important;text-align:center!important}
body.firsts-autumn-wedding .fwg-save-date-scene__copy h2{margin:2px 0 0!important;font:italic 400 clamp(50px,5.3vw,62px)/.72 "Firsts Script",cursive!important}
body.firsts-autumn-wedding .fwg-save-date-scene__copy h2 small{display:block;margin-top:5px;color:var(--fwg-gold-deep)!important;-webkit-text-fill-color:var(--fwg-gold-deep)!important;font:italic 400 .38em/1 "Firsts Reading",Georgia,serif!important;letter-spacing:.18em!important}
body.firsts-autumn-wedding .fwg-save-date-scene__copy>p{margin:3px 0 0!important;color:var(--fwg-ink)!important;font:italic 400 clamp(14px,1.4vw,18px)/1.16 "Firsts Reading",Georgia,serif!important}
body.firsts-autumn-wedding .fwg-save-date-scene .fwg-countdown{display:grid!important;grid-template-columns:repeat(4,1fr)!important;width:min(88%,470px)!important;margin:8px auto 0!important;padding:0!important;gap:clamp(8px,2vw,22px)!important;border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important}
body.firsts-autumn-wedding .fwg-save-date-scene .fwg-countdown__item{position:relative!important;min-width:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.firsts-autumn-wedding .fwg-save-date-scene .fwg-countdown__item::before,body.firsts-autumn-wedding .fwg-save-date-scene .fwg-countdown__item::after{display:none!important}
body.firsts-autumn-wedding .fwg-save-date-scene .fwg-countdown__num{display:block;background:var(--fwg-gold-text)!important;background-clip:text!important;-webkit-background-clip:text!important;color:var(--fwg-gold-deep)!important;-webkit-text-fill-color:transparent!important;font:italic 400 clamp(27px,3.2vw,36px)/.88 "Firsts Script",cursive!important;filter:drop-shadow(0 1px 0 rgba(255,250,244,.8))}
body.firsts-autumn-wedding .fwg-save-date-scene .fwg-countdown__label{margin-top:3px;color:var(--fwg-wax)!important;-webkit-text-fill-color:var(--fwg-wax)!important;font:italic 400 11px/1 "Firsts Reading",Georgia,serif!important}
body.firsts-autumn-wedding .fwg-save-date-scene__button{min-height:0!important;margin-top:5px!important;padding:1px 10px 4px!important;border:0!important;border-bottom:1px solid var(--fwg-gold)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--fwg-gold-deep)!important;-webkit-text-fill-color:var(--fwg-gold-deep)!important;font-size:23px!important;line-height:1!important}
body.firsts-autumn-wedding .fwg-save-date-scene__button::before,body.firsts-autumn-wedding .fwg-save-date-scene__button::after{margin:0 7px!important;font-size:8px!important}
body.firsts-autumn-wedding .fwg-save-date-scene__button:hover,body.firsts-autumn-wedding .fwg-save-date-scene__button:focus-visible{background:transparent!important;box-shadow:none!important;transform:translateY(-1px)!important}

/* Venue without the huge empty viewport. */
.fwg-venue-card>.elementor-container{display:grid!important;grid-template-columns:1fr 1fr;max-width:980px!important;align-items:center;gap:42px!important}
.fwg-venue-card .elementor-column{width:100%!important}
.fwg-rings-visual,.fwg-rings-visual .elementor-widget-container{height:auto!important}
.fwg-rings-visual img{display:block;width:100%;height:auto!important;max-height:440px;object-fit:contain!important;border-radius:80px 3px 80px 3px!important;box-shadow:0 14px 34px rgba(90,70,60,.12)}
.fwg-venue-info{min-height:0!important;padding:0!important;color:var(--fwg-ink)!important;text-align:left}
.fwg-venue-info h3{margin:4px 0 15px!important;font-size:clamp(60px,6vw,88px)!important;line-height:.78!important}
.fwg-venue-info p{margin:0 0 17px!important;color:var(--fwg-ink)!important;font:italic 400 clamp(27px,2.2vw,33px)/1.18 "Firsts Script","Firsts Reading",Georgia,serif!important}
.fwg-venue-info small{color:var(--fwg-ink-soft)!important;font:italic 400 15px/1.3 "Firsts Reading",Georgia,serif!important}

/* Timeline and dress code. */
.fwg-timeline{width:min(760px,100%);margin:30px auto 0!important}
.fwg-time-row{grid-template-columns:95px 34px 1fr;gap:14px;min-height:105px}
.fwg-time{color:var(--fwg-wax)!important;font-size:44px!important;line-height:.9!important;text-align:right}
.fwg-dot{width:13px;height:13px;margin-top:7px;border:2px solid var(--fwg-gold);border-radius:50%;background:var(--fwg-paper)}
.fwg-time-row:not(:last-child) .fwg-dot::after{height:86px;background:var(--fwg-line)}
.fwg-time-copy h3{margin:0 0 4px!important;font-size:42px!important;line-height:.85!important}
.fwg-time-copy p{margin:0!important;color:var(--fwg-ink)!important;font:italic 400 26px/1.16 "Firsts Script","Firsts Reading",Georgia,serif!important}
.fwg-palette{gap:12px;margin:26px auto 30px!important}
.fwg-swatch{width:54px;height:54px;border:3px solid #fffaf5;border-radius:50%;box-shadow:0 0 0 1px var(--fwg-gold)}
.fwg-dress-code-rows{width:min(980px,100%);margin:auto;gap:34px}
.fwg-dress-code-row figcaption{margin-bottom:10px!important;font-size:52px!important;line-height:.85!important;text-align:center}
.fwg-dress-code-row img{border-radius:70px 3px 70px 3px!important;box-shadow:0 14px 32px rgba(90,70,60,.12)}

/* Wishes are editorial columns, not PowerPoint cards. */
.fwg-note-grid{gap:0;margin-top:28px!important}
.fwg-note{position:relative;padding:20px 34px!important;border:0!important;background:transparent!important;box-shadow:none!important}
.fwg-note:not(:last-child)::after{content:"";position:absolute;right:0;top:10%;width:1px;height:80%;background:linear-gradient(transparent,var(--fwg-gold),transparent)}
.fwg-note span{color:var(--fwg-gold-deep)!important;font-size:25px!important}
.fwg-note b{margin:5px 0 7px!important;font-size:47px!important;line-height:.8!important}
.fwg-note p{margin:0!important;color:var(--fwg-ink)!important;font:italic 400 26px/1.16 "Firsts Script","Firsts Reading",Georgia,serif!important}

/* RSVP is part of the page, without an inserted framed card. */
.fwg-rsvp{width:min(760px,100%)!important;margin:30px auto 0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--fwg-ink)!important}
.fwg-rsvp::before,.fwg-rsvp::after{display:none!important}
.fwg-field{margin-bottom:18px!important}
.fwg-field label,.fwg-label,.fwg-consent{color:var(--fwg-wax)!important;font:italic 400 25px/1.1 "Firsts Script",cursive!important}
.fwg-field input,.fwg-field select,.fwg-field textarea{padding:11px 4px!important;border:0!important;border-bottom:1px solid var(--fwg-gold)!important;border-radius:0!important;outline:none!important;background:transparent!important;color:var(--fwg-ink)!important;-webkit-text-fill-color:var(--fwg-ink)!important;box-shadow:none!important;font-size:18px!important}
.fwg-field input:focus,.fwg-field select:focus,.fwg-field textarea:focus{border-bottom-color:var(--fwg-wax)!important;background:rgba(255,250,245,.45)!important}
.fwg-option{padding:8px 12px!important;border:0!important;border-bottom:1px solid rgba(210,163,63,.35)!important;border-radius:0!important;background:transparent!important;color:var(--fwg-ink)!important;font:italic 400 24px/1.1 "Firsts Script","Firsts Reading",Georgia,serif!important}
.fwg-option input,.fwg-consent input{accent-color:var(--fwg-wax)}
.fwg-submit{min-width:220px!important;margin-top:10px!important}
.fwg-message{border:1px solid var(--fwg-gold)!important;background:var(--fwg-paper)!important;color:var(--fwg-wax)!important}

/* Calendar chooser and music. */
.fwg-calendar-dialog__backdrop{background:rgba(52,33,25,.34)!important;backdrop-filter:none!important}
.fwg-calendar-dialog__panel{border:1px solid var(--fwg-gold)!important;border-radius:3px 46px 3px 46px!important;background:var(--fwg-paper)!important;color:var(--fwg-ink)!important;box-shadow:0 24px 62px rgba(52,33,25,.21)!important}
.fwg-calendar-dialog__panel h2{margin:7px 20px!important;font:italic 400 62px/.8 "Firsts Script",cursive!important}
.fwg-calendar-dialog__close{color:var(--fwg-wax)!important;font-size:32px!important}
.fwg-calendar-dialog__telegram{padding:12px;background:var(--fwg-blush)!important;color:var(--fwg-ink)!important;font-size:16px!important}
.firsts-autumn-wedding .fwg-music-toggle{border:1px solid var(--fwg-gold)!important;background:linear-gradient(145deg,#8c7463,#5a463c)!important;box-shadow:0 9px 24px rgba(90,70,60,.21)!important;color:var(--fwg-gold-bright)!important}
.fwg-music-toggle:not(.is-playing)::after{background:var(--fwg-gold-bright)!important}
.fwg-footer-note{margin-top:24px!important;color:var(--fwg-ink-soft)!important;font-size:15px!important;letter-spacing:.02em!important;text-transform:none!important}

/* Lightweight entrance effects only. */
.fwg-reveal{opacity:0;transform:translate3d(0,18px,0);transition:opacity .52s var(--fwg-reveal-delay,0ms) ease,transform .58s var(--fwg-reveal-delay,0ms) ease}
.fwg-reveal--left,.fwg-reveal--right,.fwg-reveal--scale{transform:translate3d(0,18px,0)!important}
.fwg-reveal.is-visible{opacity:1;transform:none!important}
.fwg-scroll-progress{display:none!important}

@keyframes fwg-scroll-arrow{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}
@keyframes fwg-petal-fall{0%{opacity:0;transform:translate3d(0,-24px,0) scale(var(--s)) rotate(0)}12%{opacity:.9}100%{opacity:0;transform:translate3d(-90px,58vh,0) scale(var(--s)) rotate(var(--r))}}
@keyframes fwg-water-shimmer{0%{opacity:.58;transform:translate3d(-1.2%,0,0) scaleX(1.015)}50%{opacity:.88;transform:translate3d(.8%,-1px,0) scaleX(.995)}100%{opacity:.66;transform:translate3d(1.4%,1px,0) scaleX(1.02)}}
@keyframes fwg-swans-glide{0%{transform:translate3d(-2.2%,1px,0) rotate(-.32deg)}48%{transform:translate3d(.2%,-3px,0) rotate(.1deg)}100%{transform:translate3d(2.1%,0,0) rotate(.3deg)}}

@media(max-width:900px){
  .fwg-envelope-card__copy{width:46%}
  .fwg-venue-card>.elementor-container{gap:28px!important}
}

@media(max-width:767px){
  body.admin-bar .fwg-native-hero{--fwg-hero-height:calc(100vh - 46px)}
  @supports(height:100svh){body.admin-bar .fwg-native-hero{--fwg-hero-height:calc(100svh - 46px)}}
  .fwg-native-hero{min-height:680px}
  .fwg-envelope-card{inset:0;background-image:url('../images/maxim-gulya-hero-mobile-2.2.webp?v=2.2.0')}
  .fwg-envelope-card__frame{inset:8px}
  .fwg-envelope-card__copy{left:0;right:0;top:0;width:auto;height:42%;padding:max(28px,calc(env(safe-area-inset-top) + 18px)) 14px 0;justify-content:center;transform:none}
  .fwg-envelope-card__copy small{font-size:12px!important;letter-spacing:.05em!important}
  .fwg-envelope-card__names{gap:0;margin:7px auto 0;font-size:clamp(49px,14.5vw,67px)!important;line-height:.86!important}
  .fwg-envelope-card__copy time{margin-top:14px;font-size:15px!important;letter-spacing:.05em!important}
  .fwg-envelope-card__scroll{left:50%;bottom:max(26px,calc(env(safe-area-inset-bottom) + 20px));margin:0;font-size:24px!important}
  .fwg-envelope__seal{width:clamp(105px,29vw,132px)}
  .fwg-envelope__prompt{top:64%;font-size:29px!important}

  .fwg-native-hero__frame{inset:8px}
  .fwg-native-hero__media img{object-position:center top}
  .fwg-native-hero__shade{background:linear-gradient(180deg,rgba(255,250,245,.12),transparent 43%,rgba(255,250,245,.08))}
  .fwg-native-hero__copy{width:100%;height:42%;min-height:0;padding:max(28px,calc(env(safe-area-inset-top) + 18px)) 14px 0;justify-content:center;transform:none}
  .fwg-native-hero__kicker{margin-bottom:7px;font-size:14px!important;line-height:1.1!important;letter-spacing:.025em!important;white-space:nowrap}
  .fwg-native-hero__title{gap:0;font-size:clamp(49px,14.5vw,67px)!important;line-height:.86!important}
  .fwg-native-hero__date{margin-top:14px;font-size:15px!important;letter-spacing:.055em!important}
  .fwg-native-hero__scroll{left:50%;bottom:max(26px,calc(env(safe-area-inset-bottom) + 20px));max-width:calc(100% - 150px);padding-bottom:6px!important;font-size:clamp(22px,6.2vw,27px)!important}
  .fwg-native-hero__scroll{color:#fff6df!important;-webkit-text-fill-color:#fff6df!important;border-bottom-color:rgba(255,234,176,.86)!important;text-shadow:0 2px 10px rgba(52,33,25,.58)}
  .fwg-petals{width:58%;height:48%}
  .fwg-petals i{width:10px;height:7px}

  body.firsts-autumn-wedding .elementor[data-elementor-type="wp-page"]>.elementor-section:not(.fwg-hero),
  body.firsts-autumn-wedding .elementor[data-elementor-type="wp-page"]>.elementor-section-wrap>.elementor-section:not(.fwg-hero),
  body.firsts-autumn-wedding .elementor[data-elementor-type="wp-page"]>.elementor-inner>.elementor-section-wrap>.elementor-section:not(.fwg-hero){padding:48px 18px!important}
  body.firsts-autumn-wedding .elementor-widget:not(:last-child){margin-bottom:11px!important}
  body.firsts-autumn-wedding .fwg-display .elementor-heading-title{font-size:clamp(51px,15vw,68px)!important;line-height:.82!important}
  body.firsts-autumn-wedding .fwg-body-copy,body.firsts-autumn-wedding .fwg-body-copy p{font-size:25px!important;line-height:1.16!important}
  .fwg-greeting{font-size:clamp(54px,16vw,76px)!important}

  body.firsts-autumn-wedding .fwg-save-date-section{padding:34px 8px!important}
  body.firsts-autumn-wedding .fwg-save-date-scene{width:min(100%,520px)!important}
  body.firsts-autumn-wedding .fwg-save-date-scene__copy{left:7%!important;right:7%!important;top:3.2%!important}
  body.firsts-autumn-wedding .fwg-save-date-scene__copy .fwg-kicker{font-size:15px!important}
  body.firsts-autumn-wedding .fwg-save-date-scene__copy h2{font-size:48px!important}
  body.firsts-autumn-wedding .fwg-save-date-scene__copy>p{font-size:13px!important}
  body.firsts-autumn-wedding .fwg-save-date-scene .fwg-countdown{width:92%!important;margin-top:5px!important;padding:0!important;gap:7px!important}
  body.firsts-autumn-wedding .fwg-save-date-scene .fwg-countdown__num{font-size:27px!important}
  body.firsts-autumn-wedding .fwg-save-date-scene .fwg-countdown__label{font-size:9px!important}
  body.firsts-autumn-wedding .fwg-save-date-scene__button{min-height:0!important;margin-top:3px!important;padding:1px 9px 3px!important;font-size:19px!important}

  .fwg-venue-card>.elementor-container{grid-template-columns:1fr!important;gap:24px!important}
  .fwg-rings-visual img{max-height:none!important;border-radius:48px 3px 48px 3px!important}
  .fwg-venue-info{text-align:center!important}
  .fwg-venue-info .fwg-kicker{text-align:center!important}
  .fwg-venue-info h3{font-size:64px!important}
  .fwg-venue-info p{font-size:25px!important}
  .fwg-venue-info .fwg-button{margin-inline:auto}

  .fwg-timeline{margin-top:24px!important}
  .fwg-time-row{grid-template-columns:68px 22px 1fr;gap:9px;min-height:91px}
  .fwg-time{font-size:34px!important}
  .fwg-dot{width:11px;height:11px}
  .fwg-time-row:not(:last-child) .fwg-dot::after{height:76px}
  .fwg-time-copy h3{font-size:37px!important}
  .fwg-time-copy p{font-size:22px!important}

  .fwg-palette{gap:9px;margin:20px auto 24px!important}
  .fwg-swatch{width:45px;height:45px}
  .fwg-dress-code-rows{gap:25px}
  .fwg-dress-code-row figcaption{font-size:46px!important}
  .fwg-dress-code-row img{border-radius:42px 3px 42px 3px!important}

  .fwg-note-grid{grid-template-columns:1fr!important;margin-top:20px!important}
  .fwg-note{padding:20px 8px!important}
  .fwg-note:not(:last-child)::after{left:16%;right:16%;top:auto;bottom:0;width:auto;height:1px;background:linear-gradient(90deg,transparent,var(--fwg-gold),transparent)}
  .fwg-note b{font-size:43px!important}
  .fwg-note p{font-size:23px!important}

  .fwg-rsvp{margin-top:22px!important}
  .fwg-field label,.fwg-label,.fwg-consent{font-size:24px!important}
  .fwg-options{display:grid!important}
  .fwg-calendar-dialog__panel{padding:37px 16px 22px!important;border-radius:3px 34px 3px 34px!important}
  .fwg-calendar-dialog__panel h2{font-size:50px!important}
}

@media(max-width:380px){
  .fwg-envelope-card__copy,.fwg-native-hero__copy{height:41%;padding-top:max(22px,calc(env(safe-area-inset-top) + 14px))}
  .fwg-native-hero__kicker{font-size:13px!important}
  .fwg-envelope-card__names,.fwg-native-hero__title{font-size:48px!important;line-height:.84!important}
  .fwg-envelope-card__copy time,.fwg-native-hero__date{margin-top:12px;font-size:14px!important}
  .fwg-native-hero__scroll{left:18px;bottom:max(12px,calc(env(safe-area-inset-bottom) + 8px));max-width:calc(100% - 112px);font-size:20px!important;transform:none!important}
  body.firsts-autumn-wedding .fwg-save-date-scene__copy{top:2.8%!important}
  body.firsts-autumn-wedding .fwg-save-date-scene__copy h2{font-size:43px!important}
  body.firsts-autumn-wedding .fwg-save-date-scene__copy>p{font-size:13px!important}
  body.firsts-autumn-wedding .fwg-save-date-scene .fwg-countdown{margin-top:5px!important}
  body.firsts-autumn-wedding .fwg-save-date-scene .fwg-countdown__num{font-size:25px!important}
  body.firsts-autumn-wedding .fwg-save-date-scene__button{margin-top:2px!important;font-size:18px!important}
}

@media(prefers-reduced-motion:reduce){
  .fwg-petals{display:none!important}
  .fwg-native-hero__scroll i,.fwg-reveal,.fwg-save-date-scene::before,.fwg-save-date-scene::after{animation:none!important;transition:none!important}
  .fwg-reveal{opacity:1!important;transform:none!important}
}
