/* V806: structural card layouts, scoped to real pages. */
body.party-page #party-type .v100-party-options {width:min(880px,calc(100% - 24px))!important;max-width:880px!important;margin:0 auto!important}
body.party-page #party-type article.v123-party-offer-card {display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;position:relative!important;gap:15px!important;grid-template-columns:none!important;grid-template-rows:none!important;padding:28px 34px!important;text-align:center!important;min-height:0!important;height:auto!important}
body.party-page #party-type article.v123-party-offer-card > * {position:relative!important;float:none!important;grid-area:auto!important;grid-column:auto!important;grid-row:auto!important;max-width:100%!important;align-self:stretch!important;margin:0!important;transform:none!important}
body.party-page #party-type article.v123-party-offer-card > .v100-party-topline {display:flex!important;justify-content:center!important;align-items:center!important;gap:14px!important;order:1!important}
body.party-page #party-type article.v123-party-offer-card > h3 {order:2!important;display:block!important;text-align:center!important;font-size:32px!important;line-height:1.12!important;margin:0!important}
body.party-page #party-type article.v123-party-offer-card > .v162-card-pricing {order:3!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;width:100%!important;max-width:620px!important;margin:0 auto!important}
body.party-page #party-type article.v123-party-offer-card > .v162-card-pricing > div {display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;min-height:90px!important;padding:15px!important;box-sizing:border-box!important;background:#eaf5fa!important;border:1px solid #bcdce9!important;border-radius:13px!important}
body.party-page #party-type article.v123-party-offer-card > .v162-card-pricing strong {font-size:35px!important;line-height:1.1!important}
body.party-page #party-type article.v123-party-offer-card > .v793-party-benefits {order:4!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;width:100%!important;margin:3px 0 0!important}
body.party-page #party-type article.v123-party-offer-card > .v793-party-benefits > div {display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:95px!important;padding:14px 10px!important;box-sizing:border-box!important;border-radius:13px!important;border:1px solid #d9e7ec!important;background:#f4f9fb!important}
body.party-page #party-type article.v123-party-offer-card > .v123-party-select-state {order:5!important;width:min(350px,100%)!important;align-self:center!important;min-height:0!important;padding:12px 16px!important;margin:4px auto 0!important;border-radius:12px!important}
/* V806 cards: preserve images, remove excessive blank-colored surrounds and old badges. */
body.events-page .v159-events-grid,body.donations-page .v159-donation-grid {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;max-width:1020px!important;margin:0 auto!important;align-items:stretch!important}
body.events-page article.v159-event-card,body.donations-page article.v159-donation-card {display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;min-height:0!important;height:auto!important;padding:0!important;overflow:hidden!important;background:#fffdfb!important;border:1px solid rgba(9,48,92,.14)!important;border-radius:20px!important;box-shadow:0 12px 28px rgba(12,44,85,.10)!important;transform:none!important}
body.events-page article.v159-event-card .v159-event-media,body.donations-page article.v159-donation-card .v159-donation-media {display:flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:100%!important;height:270px!important;min-height:270px!important;max-height:270px!important;margin:0!important;padding:10px!important;border:0!important;border-radius:0!important;background:#f4f9fa!important;overflow:hidden!important}
body.events-page article.v159-event-card .v159-event-media img,body.donations-page article.v159-donation-card .v159-donation-media img {position:static!important;display:block!important;object-fit:contain!important;object-position:center!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;min-width:0!important;min-height:0!important;transform:none!important;filter:none!important;opacity:1!important;border:0!important;margin:0!important;padding:0!important}
body.events-page article.v159-event-card .v159-event-body {display:flex!important;flex:1!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;min-height:0!important;padding:17px 14px 19px!important;background:transparent!important;text-align:center!important}
body.events-page article.v159-event-card .v159-event-placeholder-mark {display:none!important}
body.events-page article.v159-event-card h3 {font-size:20px!important;min-height:0!important;margin:0!important;line-height:1.2!important}
body.events-page article.v159-event-card .v159-event-meta {margin:0!important;padding:0!important;min-height:0!important;gap:5px!important}
body.events-page article.v159-event-card .v159-event-action:not([hidden]){margin:5px auto 0!important}
body.donations-page article.v159-donation-card h3 {display:flex!important;align-items:center!important;justify-content:center!important;min-height:65px!important;margin:0!important;padding:16px 10px!important;font-size:20px!important;line-height:1.25!important;color:#0b305c!important;background:transparent!important}
@media(max-width:850px){body.events-page .v159-events-grid,body.donations-page .v159-donation-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){body.party-page #party-type article.v123-party-offer-card{padding:21px 17px!important}body.party-page #party-type article.v123-party-offer-card > .v793-party-benefits{grid-template-columns:1fr!important}body.party-page #party-type article.v123-party-offer-card > .v793-party-benefits>div{min-height:0!important}body.events-page .v159-events-grid,body.donations-page .v159-donation-grid{grid-template-columns:1fr!important;max-width:390px!important}body.events-page article.v159-event-card .v159-event-media,body.donations-page article.v159-donation-card .v159-donation-media{height:280px!important;min-height:280px!important;max-height:280px!important}}
