/* Decorative fabric has its own space, independent of text height. */
html body main :is(.wedding-about-editorial,.wedding-approach-editorial)::after{position:relative!important;display:block!important;inset:auto!important;width:min(88%,1320px)!important;height:clamp(70px,9vw,120px)!important;margin:0 auto!important;background-position:center!important;background-size:100% 100%!important;z-index:0!important;transform:none!important;pointer-events:none}
html body main #graduation-formats .graduation-class-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px;overflow:visible!important;transform:none!important}
html body main #graduation-formats .graduation-class-card{position:relative;display:block;min-width:0;height:400px;overflow:hidden;border-radius:8px;color:#fff}
html body main #graduation-formats .graduation-class-card picture{display:contents}
html body main #graduation-formats .graduation-class-card img{width:100%;height:100%;object-fit:cover}
html body main #graduation-formats .graduation-class-card h3{position:absolute;inset:auto 0 0;margin:0;padding:60px 24px 24px;background:linear-gradient(transparent,rgba(37,8,20,.85));color:#fff;font-size:32px}
html body main #graduation-formats .graduation-class-card h3 span{display:block;font:400 13px/1.5 Manrope,sans-serif;margin-top:10px}
html[data-page="wedding-full"] body main #event-details video{display:block!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:600px!important;aspect-ratio:9/16!important;object-fit:contain!important;margin-inline:auto!important;background:transparent!important}
html[data-page="weddings"] body main #w-stories img[data-full-frame]{object-fit:contain!important;background:#eee5de}
@media(max-width:760px){html body main #graduation-formats .graduation-class-grid{gap:12px}html body main #graduation-formats .graduation-class-card{height:250px}html body main #graduation-formats .graduation-class-card h3{font-size:26px;padding:48px 12px 16px}html body main #graduation-formats .graduation-class-card h3 span{font-size:11px}html[data-page="wedding-full"] body main #event-details video{max-height:560px!important;width:100%!important}}
html body main #w-stories#w-stories#w-stories#w-stories img[data-full-frame]{object-fit:contain!important;background:#eee5de!important}

@font-face {
  font-family: 'Kristyle Class Digits';
  src: url('/static/cms/fonts/cormorant-infant-400.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0030-0039;
}
html body main #graduation-formats#graduation-formats#graduation-formats#graduation-formats .graduation-class-card h3.shared-numerals {
  font-family: "Kristyle Numerals", "Cormorant Garamond", Georgia, serif, serif !important;
  font-variant-numeric: normal !important;
  font-feature-settings: normal !important;
  font-weight: 400 !important;
}

@media(max-width:760px){
 html body main #graduation-formats .graduation-class-card h3>span{min-height:3em;box-sizing:border-box}
}

html:is([data-page="vypusknoi-9-klass"],[data-page="vypusknoi-11-klass"]) body main .hero h1.shared-numerals.shared-numerals.shared-numerals.shared-numerals{font-family:"Kristyle Numerals","Cormorant Garamond",Georgia,serif!important;font-variant-numeric:normal!important;font-feature-settings:normal!important;font-weight:400!important}
@media(max-width:760px){
 html body[class] main :is(.graduation-11-gallery-grid,.graduation-9-gallery-grid)[data-premium-gallery].centered-slider.centered-slider.centered-slider>figure{height:auto!important;aspect-ratio:3/4!important;align-self:stretch!important}
 html body[class] main :is(.graduation-11-gallery-grid,.graduation-9-gallery-grid)[data-premium-gallery].centered-slider.centered-slider.centered-slider>figure picture{display:contents!important}
 html body[class] main :is(.graduation-11-gallery-grid,.graduation-9-gallery-grid)[data-premium-gallery].centered-slider.centered-slider.centered-slider>figure img{display:block!important;width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:3/4!important;object-fit:cover!important;object-position:center!important}
}
