/* V824 — Events only. Preserve global branding, footer and existing site flow. */
body.v163-events-page .v159-events-section .container{width:min(1120px,calc(100% - 36px))!important;margin-inline:auto!important}
body.v163-events-page .v159-events-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;align-items:stretch!important}
body.v163-events-page .v159-event-card{display:flex!important;flex-direction:column!important;border-radius:20px!important;min-width:0!important;overflow:hidden!important;background:#fffaf3!important;border:1px solid rgba(8,39,85,.09)!important;box-shadow:0 10px 26px rgba(8,39,85,.1)!important;transform:none!important}
body.v163-events-page .v159-event-media{height:238px!important;min-height:238px!important;aspect-ratio:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;background:#fff2db!important;padding:0!important}
body.v163-events-page .v159-event-media img.v431-event-photo{width:100%!important;height:100%!important;max-height:100%!important;max-width:100%!important;object-fit:contain!important;object-position:center!important;display:block!important}
body.v163-events-page .v159-event-body{flex:1!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:9px!important;text-align:center!important;padding:17px 20px 20px!important;min-height:195px!important;background:#fffaf3!important}
body.v163-events-page .v159-event-body h3{font:900 clamp(18px,1.55vw,22px)/1.2 'Nunito Sans','DM Sans',sans-serif!important;color:#082755!important;letter-spacing:0!important;margin:0!important;min-height:2.4em!important;display:flex!important;align-items:center!important;justify-content:center!important}
body.v163-events-page .v159-event-meta{display:flex!important;flex-direction:column!important;gap:3px!important;color:#47617c!important;font-size:14px!important;line-height:1.4!important;margin:0!important}
body.v163-events-page .v824-event-description{font-size:12px!important;line-height:1.4!important;color:#47617c!important;margin:0!important;min-height:18px!important}
body.v163-events-page .v159-event-badge{font-size:10px!important;letter-spacing:.09em!important}
body.v163-events-page .v159-event-action{display:inline-flex!important;align-items:center!important;justify-content:center!important;margin-top:auto!important;min-height:39px!important;min-width:136px!important;border-radius:999px!important;background:#082755!important;color:white!important;font:800 12px/1 'DM Sans',sans-serif!important;text-decoration:none!important;cursor:pointer!important}
body.v163-events-page .v159-event-action[hidden]{display:none!important}
.v824-event-dialog{border:0;border-radius:22px;padding:0;width:min(510px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 28px 90px #00193765;color:#082755;background:#fffaf5}
.v824-event-dialog::backdrop{background:rgba(3,21,46,.66)}
.v824-modal-inner{padding:26px;position:relative}.v824-modal-inner h2{font:900 25px/1.2 'Nunito Sans',sans-serif;margin:5px 35px 4px 0;color:#082755}.v824-modal-inner p{margin:4px 0 14px;color:#51647d}.v824-close{position:absolute;right:16px;top:16px;border:0;background:#eaf1f6;border-radius:50%;width:36px;height:36px;font-size:23px;cursor:pointer}.v824-fields{display:grid;grid-template-columns:1fr 1fr;gap:11px}.v824-field{display:flex;flex-direction:column;gap:5px;font-weight:800;font-size:12px;color:#082755}.v824-field.wide{grid-column:1/-1}.v824-field input{width:100%;min-width:0;box-sizing:border-box;border:1px solid #c4d4df;border-radius:10px;background:#fff;padding:10px 11px;min-height:42px;font:500 15px 'DM Sans',sans-serif;color:#082755}.v824-section-title{font-weight:900;margin:19px 0 9px}.v824-child-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(80px,1fr) auto;gap:8px;align-items:end;margin-bottom:9px}.v824-child-row input{width:100%;box-sizing:border-box;min-width:0;padding:10px 8px;border:1px solid #c4d4df;border-radius:10px;min-height:42px;background:white}.v824-remove{border:0;background:#fbe6e1;color:#a32a23;border-radius:9px;min-height:42px;padding:0 12px;cursor:pointer}.v824-add{background:transparent;border:1px dashed #0caebd;border-radius:10px;padding:10px;font-weight:800;color:#075f72;cursor:pointer}.v824-submit{margin-top:18px;min-height:45px;border:0;border-radius:999px;width:100%;background:#082755;color:#fff;font-weight:900;cursor:pointer}.v824-submit:disabled{opacity:.55;cursor:wait}.v824-status{font-size:13px;min-height:19px;margin-top:12px;color:#9b2828}.v824-status.ok{color:#0c745d}.v824-honeypot{position:absolute;left:-10000px;opacity:0;pointer-events:none}
@media(max-width:900px){body.v163-events-page .v159-events-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){body.v163-events-page .v159-events-grid{grid-template-columns:1fr!important;gap:17px!important}body.v163-events-page .v159-event-card{width:100%!important}body.v163-events-page .v159-event-media{height:250px!important;min-height:250px!important}.v824-fields{grid-template-columns:1fr}.v824-modal-inner{padding:21px}}
