/* Homepage major-event popup — shipped with Ultra Events. */
.uep{position:fixed;inset:0;z-index:1200;display:grid;place-items:stretch;padding:0;background:#fff;color:#17251b}
.uep[hidden]{display:none}
.uep-scrim{position:absolute;inset:0;background:rgba(17,61,6,.74);backdrop-filter:blur(4px)}
.uep-modal{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);width:100vw;height:100vh;height:100dvh;min-width:0;max-height:100dvh;overflow:hidden;overscroll-behavior:contain;background:#fff;box-shadow:none;animation:uepIn .28s cubic-bezier(.2,.7,.3,1) both}
@keyframes uepIn{from{opacity:0}to{opacity:1}}
.uep-media{position:relative;min-width:0;height:100%;min-height:0;overflow:hidden;background:linear-gradient(145deg,#17652A,#10391B)}
.uep-media img{display:block;width:100%;height:100%;object-fit:contain;padding:clamp(12px,2vw,32px)}
.uep-media::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent 72%,rgba(17,61,6,.1))}
.uep-date{position:absolute;z-index:1;left:clamp(18px,3vw,48px);bottom:clamp(18px,3vw,48px);display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:76px;margin:0;padding:10px 12px;border-radius:12px;background:#FBD656;color:#10391B;line-height:1;box-shadow:0 8px 22px rgba(17,61,6,.28)}
.uep-date b{font-size:1.7rem;white-space:nowrap}.uep-date span{margin-top:4px;font-size:.7rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.uep-body{box-sizing:border-box;align-self:stretch;justify-self:stretch;width:100%;height:100%;min-width:0;min-height:0;max-height:100dvh;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:clamp(26px,5vw,76px);display:flex;flex-direction:column;justify-content:center;scrollbar-gutter:stable}
.uep-kicker{display:inline-flex;align-self:flex-start;align-items:center;gap:8px;margin:0 0 16px;font-size:.72rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:#17652A}
.uep-kicker::before{content:"";width:8px;height:8px;flex:none;border-radius:50%;background:#249D34}
.uep-body h2{margin:0 0 18px;color:#10391B;font-family:inherit;font-size:clamp(1.8rem,3.6vw,3.7rem);line-height:1.05;letter-spacing:-.025em;overflow-wrap:anywhere}
.uep-when{margin:0 0 8px;color:#17652A;font-size:1rem;font-weight:750;line-height:1.45}
.uep-place{margin:0 0 18px;color:#53665a;font-size:.94rem;line-height:1.5;overflow-wrap:anywhere}
.uep-text{max-width:58ch;margin:0 0 24px;color:#203b2a;font-size:1rem;line-height:1.65;overflow-wrap:anywhere}
.uep-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:2px}
.uep .btn{box-sizing:border-box;display:inline-flex;min-height:44px;align-items:center;justify-content:center;padding:10px 17px;border:1px solid transparent;border-radius:9px;font-family:inherit;font-size:.92rem;font-weight:700;line-height:1.2;text-align:center;text-decoration:none;cursor:pointer}
.uep .btn-primary{background:#1B7E31;color:#fff;border-color:#1B7E31}
.uep .btn-primary:hover{background:#17652A;color:#fff;border-color:#17652A}
.uep .btn-ghost{background:#fff;color:#17652A;border-color:#c9d9cd}
.uep .btn-ghost:hover{background:#edf7ef;color:#10391B;border-color:#17652A}
.uep-x{position:absolute;z-index:2;top:18px;right:18px;display:flex;width:46px;height:46px;align-items:center;justify-content:center;border:0;border-radius:50%;background:rgba(255,255,255,.97);color:#10391B;font-size:1.6rem;line-height:1;cursor:pointer;box-shadow:0 5px 18px rgba(0,0,0,.16)}
.uep-x:hover{background:#fff}.uep-x:focus-visible{outline:3px solid #FBD656;outline-offset:3px}
/* Keep the entire information column in the viewport; long content scrolls
   inside its own column rather than being clipped by the modal. */
@media (min-width:781px) and (max-height:760px){
 .uep-body{justify-content:flex-start;padding:clamp(18px,3.5vh,30px) clamp(22px,3.5vw,48px)}
 .uep-kicker{margin-bottom:10px}.uep-body h2{font-size:clamp(1.7rem,4.6vh,2.8rem);margin-bottom:12px}
 .uep-place{margin-bottom:12px}.uep-text{font-size:.94rem;line-height:1.55;margin-bottom:16px}
 .uep-x{top:12px;right:12px;width:40px;height:40px}
}
@media(max-width:780px){
 .uep-modal{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(180px,38dvh) minmax(0,1fr);height:100vh;height:100dvh;max-height:100dvh;overflow-y:auto}
 .uep-media{height:38dvh;min-height:180px;max-height:44dvh}
 .uep-media img{padding:10px}.uep-media::after{background:linear-gradient(180deg,transparent 65%,rgba(17,61,6,.14))}
 .uep-body{height:auto;min-height:0;max-height:none;overflow:visible;padding:20px clamp(18px,5vw,32px) 30px;justify-content:flex-start}
 .uep-body h2{font-size:clamp(1.6rem,6.8vw,2.35rem)}.uep-text{font-size:.94rem;line-height:1.6;margin-bottom:18px}
 .uep-x{top:12px;right:12px;width:40px;height:40px}
}
@media(max-height:560px) and (max-width:780px){.uep-modal{grid-template-rows:minmax(150px,32dvh) minmax(0,1fr)}.uep-media{height:32dvh;min-height:150px;max-height:36dvh}}
@media(prefers-reduced-motion:reduce){.uep-modal{animation:none}}
@media print{.uep{display:none!important}}
