@font-face{font-family:Manrope;font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/Manrope-500.ttf') format('truetype')}
@font-face{font-family:Manrope;font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/Manrope-700.ttf') format('truetype')}
.events-preview{--blue:#19669c;--green:#4eb564;max-width:1200px;margin:0 auto;padding:56px 28px;font-family:Manrope,"Segoe UI",sans-serif;color:#16232c}
.events-preview *{box-sizing:border-box}
.events-preview#announcements{scroll-margin-top:calc(var(--nav-height,56px) + 24px)}
.events-preview [hidden]{display:none!important}
.events-preview .announcements-header{max-width:820px;margin:0 auto 24px;text-align:center}
.events-preview .announcements-header h2{font-size:2rem;line-height:1.2;font-weight:700;letter-spacing:0;margin:0}
.events-preview .section-underline{position:relative;display:inline-block;padding-bottom:.5rem;text-align:center}
.events-preview .section-underline::after{content:"";position:absolute;left:0;bottom:0;width:100%;height:3px;background:linear-gradient(90deg,var(--blue),var(--green));border-radius:999px}
.events-preview a{color:var(--blue)}
.events-preview p{font-size:17px;line-height:1.5;font-weight:500}
.events-preview .announcements-header p{margin:18px 0 0;color:#5f6f7c}
.events-preview .community-events-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:14px;min-height:44px}
.events-preview .community-events-hint{font-size:15px;color:#5f6f7c;margin:0}
.events-preview .community-events-controls{display:flex;gap:10px;flex-shrink:0}
.events-preview .community-events-controls button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid #a7becf;border-radius:50%;background:white;color:var(--blue);font:700 22px/1 Manrope,sans-serif;cursor:pointer}
.events-preview .community-events-controls button:hover:not(:disabled){background:var(--blue);color:white}
.events-preview .community-events-controls button:disabled{opacity:.4;cursor:default}
.events-preview .community-events-track{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:4px;overscroll-behavior-x:contain;padding:4px 4px 20px;scrollbar-color:var(--blue) #e4ecf1;scrollbar-width:auto;max-width:100%}
.events-preview .community-event-card{flex:0 0 calc((100% - 48px)/3);min-width:280px;display:flex;flex-direction:column;position:relative;overflow:hidden;scroll-snap-align:start;padding:22px 22px 16px;border:1px solid #d6e0e7;border-radius:14px;background:#fff;box-shadow:0 3px 12px #16232c04;overflow-wrap:anywhere}
.events-preview .community-event-card{--card-accent:#19669c;--stripe-start:#19669c;--stripe-end:#77bfe5}
.events-preview .community-event-card:has([data-post-type=community]){--card-accent:#22773c;--stripe-start:#22773c;--stripe-end:#67ba80}
.events-preview .community-event-card:has([data-post-type=notification]){--card-accent:#915228;--stripe-start:#b66a2c;--stripe-end:#efba76}
.events-preview .community-event-card:has([data-post-type=event]){--card-accent:#4b7e28;--stripe-start:#78aa46;--stripe-end:#b9dc83}
.events-preview .community-event-card::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--stripe-start),var(--stripe-end))}
.events-preview .community-event-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;min-height:28px}
.announcement-type{display:inline-flex;align-items:center;gap:7px;color:#19669c;font-size:14px;font-weight:700;line-height:1.4}
.announcement-type svg{display:block;flex-shrink:0;align-self:center}
.announcement-type span{display:inline;line-height:1.4;margin:0;padding:0}
.events-preview .announcement-type{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:8px;white-space:nowrap}
.announcement-type[data-post-type=community]{color:#22773c}
.announcement-type[data-post-type=notification]{color:#915228}
.announcement-type[data-post-type=event]{color:#4b7e28}
.events-preview .community-event-status{font-size:13px;color:#66534a;font-weight:700}
.events-preview .community-event-card h3{font-size:23px;font-weight:700;line-height:1.3;letter-spacing:-.4px;margin:14px 0 12px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-align:left}
.events-preview .community-event-card h3 a{text-decoration:none;color:var(--card-accent)}
.events-preview .community-event-card h3 a:hover{text-decoration:underline;color:var(--card-accent)}
.events-preview .community-event-summary{margin:0;color:#4d606d;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.events-preview .community-event-meta{margin:10px 0 22px;font-size:15px;font-weight:600;line-height:1.5;color:#5f6f7c}
.events-preview .community-event-rsvp{display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;isolation:isolate;width:100%;min-height:44px;flex-shrink:0;margin:auto 0 0;border-radius:999px;border:1px solid rgba(25,102,156,.35);background:transparent;font-size:17px;font-weight:600;text-decoration:none;padding:10px 18px;line-height:1.3}
.events-preview .community-event-rsvp::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--blue),var(--green));transform:scaleY(1);transform-origin:top;transition:transform .25s ease;z-index:0}
.events-preview .community-event-rsvp span{position:relative;z-index:1;color:white;transition:color .25s ease}
.events-preview .community-event-rsvp:hover::before{transform:scaleY(0)}
.events-preview .community-event-rsvp:hover span{color:var(--blue)}
.events-preview :focus-visible{outline:3px solid #22773c;outline-offset:3px}
.events-preview .events-empty{padding:28px;background:#fff;border:1px solid #d6e0e7;border-radius:14px;width:100%}
.events-preview .announcements-all{text-align:center;margin:18px 0 0;font-size:16px;font-weight:700}
.events-preview .timeline{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:24px}
.events-preview .timeline .community-event-card{min-width:0}
.events-preview.announcements-page{padding:0;margin:0}
@media(max-width:1000px){.events-preview .community-event-card{flex-basis:calc((100% - 24px)/2)}}
@media(max-width:600px){.events-preview{padding:40px 20px}.events-preview .community-event-card{flex-basis:88%;min-width:0;padding:20px 18px 16px}.events-preview .announcements-header h2{font-size:2rem}}
@media(prefers-reduced-motion:reduce){.events-preview .community-event-rsvp::before,.events-preview .community-event-rsvp span{transition:none}}

/* Match the surrounding Cincinnati program cards and page buttons. */
.cincinnati-page .events-preview{font-family:inherit;font-size:1rem;font-weight:400}
.cincinnati-page .events-preview p{font-size:1.15rem;font-weight:700;line-height:1.65}
.cincinnati-page .events-preview .announcements-header h2{font-family:inherit;font-size:2rem;font-weight:700;line-height:1.2;letter-spacing:normal}
.cincinnati-page .events-preview .community-event-card h3{font-size:1.28rem;font-weight:700;line-height:1.25;letter-spacing:normal}
.cincinnati-page .events-preview .community-event-summary{font-size:.95rem;color:var(--muted)}
.cincinnati-page .events-preview .community-events-hint,
.cincinnati-page .events-preview .community-event-meta{font-size:.9rem;font-weight:400;line-height:1.65}
.cincinnati-page .events-preview .announcement-type,
.cincinnati-page .events-preview .community-event-status{font-size:.875rem;font-weight:600}
.cincinnati-page .events-preview .community-event-rsvp,
.cincinnati-page .events-preview .announcements-all{font-family:inherit;font-size:1rem;font-weight:600}

/* Native modal keeps focus inside the announcement and returns it to its card. */
.announcement-dialog{width:calc(100% - 40px);max-width:1040px;max-height:calc(100dvh - 40px);margin:auto;padding:0;border:0;border-radius:18px;background:#fff;box-shadow:0 24px 80px #16232c40;overscroll-behavior:contain}
.announcement-dialog:not(:has(.rsvp-panel)){max-width:800px}
.announcement-dialog::backdrop{background:#102430b3}
.announcement-dialog .announcement-dialog-bar{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:flex-end;padding:20px 24px 12px;background:#fff}
.announcement-dialog .announcement-dialog-bar::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--blue),var(--green))}
.announcement-dialog .announcement-close{width:auto;min-height:44px;flex-shrink:0;gap:12px;margin:0;padding:9px 18px;font-size:16px}
.announcement-dialog .announcement-close span{font-size:24px;line-height:1}
.announcement-dialog #event-title{font-size:clamp(26px,3vw,34px);line-height:1.3;margin:18px 0 24px;text-align:left}
.announcement-dialog .event-description{white-space:pre-wrap}
.announcement-dialog .event-layout{gap:0}
.announcement-dialog .event-layout:not(:has(.rsvp-panel)){grid-template-columns:minmax(0,1fr)}
.announcement-dialog .event-details,.announcement-dialog .rsvp-panel{padding:12px 24px 28px;border:0;border-radius:0}
.announcement-dialog .event-details::before{display:none}
.announcement-dialog [data-announcement-content]>.notice{margin:12px 24px 28px}
.announcement-dialog .rsvp-panel{scroll-margin-top:90px}
@media(max-width:600px){.announcement-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:14px}.announcement-dialog .event-details,.announcement-dialog .rsvp-panel{padding:12px 18px 24px}.announcement-dialog .announcement-dialog-bar{padding:18px 18px 10px}.announcement-dialog [data-announcement-content]>.notice{margin:12px 18px 24px}}
