.presto-events{padding:clamp(70px,9vw,130px) clamp(24px,10vw,170px);background:#07162f;color:#fff}.presto-events-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:42px}.presto-events .kicker{color:#ffb238}.presto-events h2{margin:0;font-size:clamp(2.45rem,5.2vw,5rem);letter-spacing:-.075em;line-height:1.06}.presto-events-heading>p:not(.kicker){max-width:320px;margin:0;color:rgba(255,255,255,.7);font-size:14px;line-height:1.8}.presto-events-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.presto-event-card{position:relative;display:block;padding:0;overflow:hidden;border:1px solid rgba(255,255,255,.22);background:#030a19;color:#fff;text-align:left;cursor:zoom-in}.presto-event-card img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;transition:transform .35s ease}.presto-event-card:hover img,.presto-event-card:focus-visible img{transform:scale(1.035)}.presto-event-card:focus-visible{outline:3px solid #ffb238;outline-offset:4px}.presto-event-card span{position:absolute;right:0;bottom:0;padding:10px 13px;background:#ffb238;color:#07162f;font-size:12px;font-weight:800;letter-spacing:.08em}.presto-event-dialog{width:min(900px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:0;overflow:auto;border:0;background:#07162f;box-shadow:0 28px 70px rgba(0,0,0,.58)}.presto-event-dialog::backdrop{background:rgba(3,10,25,.82)}.presto-event-dialog img{display:block;width:100%;height:auto}.presto-event-dialog-close{position:fixed;top:24px;right:24px;display:grid;place-items:center;width:44px;height:44px;border:1px solid rgba(255,255,255,.65);border-radius:50%;background:#07162f;color:#fff;font-size:26px;cursor:pointer}.presto-event-dialog-close:focus-visible{outline:3px solid #ffb238;outline-offset:3px}@media(max-width:780px){.presto-events{padding:70px 24px}.presto-events-heading{display:block;margin-bottom:30px}.presto-events-heading>p:not(.kicker){margin-top:20px}.presto-events-grid{gap:14px}.presto-event-card span{padding:8px 10px;font-size:11px}.presto-event-dialog-close{position:sticky;top:12px;left:calc(100% - 56px);margin-bottom:-56px;z-index:1}}

/* Keep the complete PRESTO CUP poster, including registration information, visible. */
.presto-event-card[data-event-image="/events/presto-cup-2026-11-21.jpg"] img{object-fit:contain}

/* Show the entire recruitment poster, including application instructions and QR. */
.presto-event-card[data-event-image="/events/u15-second-cohort-2027.jpg"] img{object-fit:contain}
