/* V792: final explicit page-level fixes; aligned to real HTML class names */
/* Sections share one gradient canvas, rather than painting a new rectangle. */
html body.party-page :is(#party-type,#party-schedule,#party-details,#party-payment-step,.celebrate-upcoming),
html body.open-page :is(.v401-gallery-section,#open-play-included,.celebrate-upcoming),
html body.events-page :is(.v163-events-main,.v159-events-section),
html body.donations-page .v159-donations-section {
  background:transparent!important;background-image:none!important;
  box-shadow:none!important;border:0!important;
}
/* Events and donations: consistent illustration container, no pseudo-icons or overlays */
html body.v163-events-page .v159-events-grid,
html body.v130-donations-page .v159-donation-grid {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;align-items:stretch!important;}
html body.v163-events-page .v159-event-card,
html body.v130-donations-page .v159-donation-card {display:flex!important;flex-direction:column!important;min-width:0!important;height:100%!important;border-radius:20px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 12px 30px rgba(9,43,80,.09)!important;}
html body.v163-events-page .v159-event-media,
html body.v130-donations-page .v159-donation-media {height:280px!important;min-height:280px!important;max-height:280px!important;aspect-ratio:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:20px!important;background:rgba(255,255,255,.60)!important;overflow:hidden!important;box-sizing:border-box!important;}
html body.v163-events-page .v159-event-media img.v431-event-photo,
html body.v130-donations-page .v159-donation-media img.v431-donation-photo {display:block!important;position:relative!important;width:auto!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;transform:none!important;padding:0!important;border:0!important;background:transparent!important;}
html body.v163-events-page .v159-event-media :is(.v159-event-placeholder-mark, .v431-event-sparkle),
html body.v130-donations-page .v159-donation-media>span {display:none!important;}
html body.v163-events-page .v159-event-media::before,html body.v163-events-page .v159-event-media::after,
html body.v130-donations-page .v159-donation-media::before,html body.v130-donations-page .v159-donation-media::after {display:none!important;content:none!important;}
html body.v163-events-page .v159-event-body {display:flex!important;flex:1!important;flex-direction:column!important;gap:10px!important;padding:18px 20px!important;}
html body.v163-events-page .v159-event-meta {margin-top:auto!important;}
html body.v163-events-page .v159-event-action {align-self:flex-start!important;min-width:130px!important;}
html body.v130-donations-page .v159-donation-card h3 {margin:auto 0!important;text-align:center!important;min-height:66px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:14px!important;}
/* About: restore informational features and rebalance opening without deleting any content */
html body.about-page .v789-restored-features,html body.about-page .v261-about-features {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;max-width:1050px!important;margin:24px auto!important;}
html body.about-page .v261-about-hero-card {max-width:1040px!important;margin-inline:auto!important;padding:34px 42px!important;}
html body.about-page .v261-contact-heading {text-align:left!important;}
html body.about-page .v261-contact-side {min-width:0!important;}
html body.about-page .v261-contact-form input {min-height:44px!important;}
html body.about-page .v261-contact-form textarea {min-height:115px!important;}
/* Brand logo: preserve natural dimensions, avoid stretching through shared footer rules */
html body footer.v59-footer .v59-foot-logo img,html body footer.v59-footer .v94-footer-logo-link img {width:138px!important;max-width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;transform:none!important;}
html body footer.v59-footer .v59-footer-grid {align-items:start!important;gap:28px!important;}
/* Consistent headings based on approved What's Included typography */
html body.open-page .celebrate-upcoming .cs-heading>span,html body.party-page .celebrate-upcoming .cs-heading>span {font-family:'Nunito Sans',Arial,sans-serif!important;font-size:12px!important;font-weight:900!important;letter-spacing:.14em!important;}
html body.open-page .celebrate-upcoming .cs-heading h2,html body.party-page .celebrate-upcoming .cs-heading h2 {font-family:'Nunito Sans',Arial,sans-serif!important;font-size:clamp(31px,3.5vw,44px)!important;font-weight:900!important;line-height:1.12!important;letter-spacing:-.03em!important;}
@media(max-width:880px){html body.v163-events-page .v159-events-grid,html body.v130-donations-page .v159-donation-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body.about-page .v789-restored-features,html body.about-page .v261-about-features{grid-template-columns:1fr!important}}
@media(max-width:620px){html body.v163-events-page .v159-events-grid,html body.v130-donations-page .v159-donation-grid{grid-template-columns:1fr!important}html body.v163-events-page .v159-event-media,html body.v130-donations-page .v159-donation-media{height:240px!important;min-height:240px!important;max-height:240px!important}html body.about-page .v261-about-hero-card{padding:24px 20px!important}}
