/* Issue237 source-faithful 4:5 top-art cards; content may grow naturally. */
/* The article cannot query its own width: a self125cqw minimum uses an ancestor
   (or viewport) and creates a blank tail. One shared track is sized by the
   actual4:5 art or the complete copy margin box, whichever needs more room. */
.invitation.custom-theme.format-card.native-storybook237{position:relative;display:grid!important;grid-template:auto / minmax(0,1fr);gap:0;container-type:inline-size;box-sizing:border-box;width:100%;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;overflow:visible!important;padding:0!important;background:var(--theme-background);font-family:var(--storybook-body-family),sans-serif;font-synthesis:none;color:var(--theme-text)}
.invitation.custom-theme.format-card.native-storybook237>.invite-symbol,.invitation.custom-theme.format-card.native-storybook237>.invite-pattern{display:none}
.invitation.custom-theme.format-card.native-storybook237>.invite-background-art{position:relative;grid-area:1/1;align-self:start;inset:0 auto auto 0;width:100%;height:125cqw;max-height:none;background-size:100% 100%;background-position:top center;background-repeat:no-repeat}
.invitation.custom-theme.format-card.native-storybook237>.storybook-copy237{position:relative;grid-area:1/1;align-self:start;box-sizing:border-box;z-index:1;width:80%;max-width:none;min-height:69.75cqw;height:auto;margin:45.6cqw auto 8.75cqw;padding:0;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:1cqw;background:transparent;color:var(--theme-text);font-family:var(--storybook-body-family),sans-serif;line-height:1.25;overflow:visible}
.invitation.custom-theme.native-storybook237.layer-textPanel-solid>.storybook-copy237{background:var(--theme-paper);padding:2cqw}
.invitation.custom-theme.native-storybook237.layer-textPosition-up>.storybook-copy237{margin-top:43cqw}
.invitation.custom-theme.native-storybook237.layer-textPosition-down>.storybook-copy237{margin-top:48cqw}
.invitation.custom-theme.native-storybook237:is(.layer-spacing-compact)>.storybook-copy237{gap:.55cqw}
.invitation.custom-theme.native-storybook237:is(.layer-spacing-airy)>.storybook-copy237{gap:1.7cqw}
.invitation.custom-theme.native-storybook237 .storybook-copy237>*{position:relative;inset:auto;transform:none;translate:none;flex:none;max-width:100%;margin:0;min-width:0;overflow-wrap:anywhere;word-break:normal;white-space:pre-line;color:inherit}
.invitation.custom-theme.native-storybook237 .storybook-occasion237{font-family:var(--storybook-occasion-family,var(--storybook-body-family)),sans-serif;font-size:clamp(12px,3.4cqw,24px)!important;font-weight:700;letter-spacing:.2em;text-transform:uppercase;line-height:1.25;text-align:center;color:var(--theme-accent)!important}
.invitation.custom-theme.native-storybook237 .storybook-title237{width:100%;font-size:clamp(var(--storybook-title-floor),var(--storybook-title-size),76px)!important;line-height:1.04;text-align:center;overflow-wrap:anywhere;color:var(--theme-text)!important}
.invitation.custom-theme.native-storybook237:is(.layer-titleScale-small,.layer-titleScale-layout-smaller) .storybook-title237{font-size:clamp(var(--storybook-title-floor),calc(var(--storybook-title-size)*.82),60px)!important}
.invitation.custom-theme.native-storybook237:is(.layer-titleScale-large,.layer-titleScale-layout-larger) .storybook-title237{font-size:clamp(var(--storybook-title-floor),calc(var(--storybook-title-size)*1.12),86px)!important}
/* Keep the exact source typography authoritative even when generic hero-hidden selectors are present. */
.invitation.custom-theme.format-card.native-storybook237>.storybook-copy237>.storybook-title237{font-size:clamp(var(--storybook-title-floor,22px),var(--storybook-title-size,11.5cqw),76px)!important}
.invitation.custom-theme.format-card.native-storybook237:is(.layer-titleScale-small,.layer-titleScale-layout-smaller)>.storybook-copy237>.storybook-title237{font-size:clamp(var(--storybook-title-floor,22px),calc(var(--storybook-title-size,11.5cqw)*.82),60px)!important}
.invitation.custom-theme.format-card.native-storybook237:is(.layer-titleScale-large,.layer-titleScale-layout-larger)>.storybook-copy237>.storybook-title237{font-size:clamp(var(--storybook-title-floor,22px),calc(var(--storybook-title-size,11.5cqw)*1.12),86px)!important}
.invitation.custom-theme.native-storybook237 :is(.storybook-field237,.storybook-date-time237){font-family:var(--storybook-body-family),sans-serif;font-size:clamp(15px,4.2cqw,30px)!important;font-weight:400;line-height:inherit;text-align:center}
.invitation.custom-theme.native-storybook237.layer-detailsScale-small :is(.storybook-field237,.storybook-date-time237){font-size:clamp(15px,3.45cqw,24px)!important}
.invitation.custom-theme.native-storybook237.layer-detailsScale-large :is(.storybook-field237,.storybook-date-time237){font-size:clamp(18px,4.9cqw,34px)!important}
.invitation.custom-theme.native-storybook237.layer-detailsWeight-light .storybook-field237{font-weight:300!important}
.invitation.custom-theme.native-storybook237.layer-detailsWeight-regular .storybook-field237{font-weight:400!important}
.invitation.custom-theme.native-storybook237.layer-detailsWeight-bold .storybook-field237{font-weight:700!important}
.invitation.custom-theme.native-storybook237 .storybook-age237,.invitation.custom-theme.native-storybook237 .storybook-note237,.invitation.custom-theme.native-storybook237 .storybook-rsvp237{color:var(--theme-accent)!important}
.invitation.custom-theme.native-storybook237 .storybook-age237{font-weight:var(--storybook-age-weight,400)}
.invitation.custom-theme.native-storybook237 .storybook-date-time237{display:flex;align-items:flex-start;justify-content:center;gap:1.6cqw 3cqw;flex-wrap:wrap}
.invitation.custom-theme.native-storybook237 .storybook-date-time237>*{flex:1 1 36%;min-width:0}
.invitation.custom-theme.native-storybook237 .storybook-date237{font-weight:var(--storybook-date-weight,700)}
.invitation.custom-theme.native-storybook237 .storybook-location237{font-weight:var(--storybook-location-weight,700)}
.invitation.custom-theme.native-storybook237 .storybook-rule237{display:block;align-self:center;flex:none;width:12cqw;height:.35cqw;min-height:1px;margin:.5cqw 0;background:var(--theme-accent)}
.invitation.custom-theme.native-storybook237.dividers-none .storybook-rule237{display:none}
.invitation.custom-theme.native-storybook237.dividers-dots .storybook-rule237{background:radial-gradient(circle,var(--theme-accent) 0 38%,transparent 42%) left center/1.5cqw 1.5cqw repeat-x;height:1.5cqw}
.invitation.custom-theme.native-storybook237 .storybook-host-note237,.invitation.custom-theme.native-storybook237 .storybook-host-description237{color:var(--theme-text)}
.invitation.custom-theme.native-storybook237 .storybook-extra237{box-sizing:border-box;width:100%;margin:1.5cqw 0 0;padding:1.2cqw;background:transparent;border:0;border-top:.2cqw solid color-mix(in srgb,var(--theme-accent) 70%,transparent);box-shadow:none;border-radius:0;text-align:center;color:var(--theme-text)}
.invitation.custom-theme.native-storybook237 .storybook-extra237 h3{font:700 1em/1.2 var(--storybook-body-family),sans-serif;margin:0 0 .5cqw;color:inherit}
.invitation.custom-theme.native-storybook237 .storybook-extra237 p{font:400 1em/1.25 var(--storybook-body-family),sans-serif;margin:0;color:inherit;overflow-wrap:anywhere}
.invitation.custom-theme.native-storybook237 .storybook-extra237 img{display:block;max-width:100%;height:auto;margin:1cqw auto 0}
.invitation.custom-theme.native-storybook237:is(.layer-titleScale-small,.layer-titleScale-large,.layer-detailsScale-small,.layer-detailsScale-large,.layer-lineHeight-tight,.layer-lineHeight-relaxed) .storybook-copy237{min-height:0}

.invitation.custom-theme.native-storybook237 .storybook-role237{display:contents;color:var(--theme-text)}
.invitation.custom-theme.native-storybook237 .storybook-role237.appearance-panel,.invitation.custom-theme.native-storybook237 .storybook-role237.appearance-accent{display:block;box-sizing:border-box;padding:1.4cqw 2cqw;background:var(--theme-paper)}
.invitation.custom-theme.native-storybook237 .storybook-role237.appearance-accent{border-inline-start:.7cqw solid var(--theme-accent)}
.invitation.custom-theme.native-storybook237 .storybook-role237.custom-section-colors .storybook-field237{color:inherit!important}
.invitation.custom-theme.native-storybook237 .storybook-role237 h3{margin:0 0 .5cqw;font:700 clamp(12px,3.5cqw,24px)/1.2 var(--storybook-body-family),sans-serif;color:inherit;text-align:center;overflow-wrap:anywhere}

/* Preserve all supplied and host-entered facts when a geometry edit exits the
   fixed native composition and falls back to the ordinary flowing card. */
.invitation.custom-theme.storybook-fallback237{display:block;position:relative;min-height:0;height:auto;max-height:none;overflow:visible;padding:1.2rem;background:var(--theme-background);color:var(--theme-text);font-family:var(--storybook-body-family),sans-serif}
.storybook-fallback237>.storybook-copy237{position:relative;inset:auto;transform:none;display:flex;flex-direction:column;gap:1rem;width:min(88%,42rem);height:auto;min-height:0;margin:2rem auto;padding:1.25rem;background:color-mix(in srgb,var(--theme-background) 92%,transparent);color:var(--theme-text);font:400 1rem/1.3 var(--storybook-body-family),sans-serif}
.storybook-fallback237 .storybook-copy237>*{position:relative;inset:auto;transform:none;translate:none;flex:none;max-width:100%;min-width:0;margin:0;overflow-wrap:anywhere;white-space:pre-line;color:inherit}
.storybook-fallback237 .storybook-occasion237{font-family:var(--storybook-occasion-family,var(--storybook-body-family)),sans-serif;font-weight:700;letter-spacing:.15em;text-transform:uppercase;text-align:center;color:var(--theme-accent)}
.storybook-fallback237 .storybook-title237{font-size:clamp(var(--storybook-title-floor),var(--storybook-title-size),2.5rem);line-height:1.08;text-align:center;overflow-wrap:anywhere}
.storybook-fallback237 .storybook-date-time237{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem 1.2rem;text-align:center}
.storybook-fallback237 .storybook-rule237{align-self:center;width:3rem;height:2px;margin:.25rem 0;background:var(--theme-accent)}
.storybook-fallback237.dividers-none .storybook-rule237{display:none}
.storybook-fallback237 .storybook-age237,.storybook-fallback237 .storybook-note237,.storybook-fallback237 .storybook-rsvp237{color:var(--theme-accent)}
.storybook-fallback237 .storybook-extra237{box-sizing:border-box;width:100%;margin:.5rem 0 0;padding:.75rem;background:transparent;border:0;border-top:1px solid color-mix(in srgb,var(--theme-accent) 70%,transparent);color:var(--theme-text)}
.storybook-fallback237 .storybook-extra237 h3,.storybook-fallback237 .storybook-role237 h3{margin:0 0 .4rem;font:700 1em/1.2 var(--storybook-body-family),sans-serif;color:inherit;text-align:center;overflow-wrap:anywhere}
.storybook-fallback237 .storybook-extra237 p{margin:0;overflow-wrap:anywhere}
