/* A shared date badge and a plain, compact list for each day. */
#eventPeriods .event-agenda-day{display:grid;grid-template-columns:70px minmax(0,1fr);gap:24px;margin:0 0 30px;padding:0;border:0;background:none;box-shadow:none}
#eventPeriods .event-agenda-date{margin:0;padding:10px 4px 8px;border-top:3px solid #d5ad36;color:#003b71;text-align:center;align-self:start;background:#f1f5f8;border-radius:0 0 7px 7px;font-family:Arial,Helvetica,sans-serif}
.event-agenda-date time{display:flex;flex-direction:column;gap:2px}.agenda-weekday{font-size:.75rem;font-weight:800;text-transform:uppercase}.agenda-day-number{font-size:2rem;font-weight:850;line-height:1.05}.agenda-month{font-size:.66rem;font-weight:700;text-transform:uppercase}
.event-agenda-list{min-width:0;border-top:1px solid #cedae3}
#eventPeriods details.event-agenda-entry{margin:0;padding:0;border:0;border-bottom:1px solid #dce4eb;border-radius:0;background:transparent;box-shadow:none;min-width:0}
.event-agenda-entry>summary{display:flex;align-items:center;gap:14px;list-style:none;padding:11px 2px;cursor:pointer;color:#12334d}.event-agenda-entry>summary::-webkit-details-marker{display:none}.event-agenda-entry>summary::marker{content:''}.event-agenda-entry>summary:hover .event-agenda-title{text-decoration:underline;text-underline-offset:3px}.event-agenda-entry>summary:focus-visible{outline:3px solid #d7ac30;outline-offset:3px;border-radius:3px}
.event-agenda-copy{display:block;flex:1;min-width:0}.event-agenda-title{display:block;font-size:1rem;font-weight:750;line-height:1.35;text-transform:none}.event-agenda-meta{display:block;margin-top:3px;font-size:.82rem;line-height:1.4;color:#506274;overflow-wrap:anywhere}.event-agenda-expand{font-size:1.2rem;color:#647b8d;flex:none;width:20px;text-align:center}.event-agenda-entry[open]>summary .event-agenda-expand{transform:rotate(45deg)}
.event-agenda-detail{padding:0 24px 15px 2px;font-size:.91rem;line-height:1.6;color:#263f51}.event-agenda-detail p{margin:7px 0}.event-agenda-links{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:12px}.event-agenda-links a{color:#004e85;font-weight:700;text-decoration:underline;text-underline-offset:3px}.event-agenda-empty{padding:20px 0}
@media(max-width:600px){#eventPeriods .event-agenda-day{display:block;margin-bottom:26px}#eventPeriods .event-agenda-date{background:none;border-top:0;border-bottom:2px solid #d5ad36;border-radius:0;text-align:left;padding:0 0 8px;margin-bottom:0}.event-agenda-date time{flex-direction:row;align-items:baseline;gap:7px}.agenda-weekday{font-size:.88rem}.agenda-day-number{font-size:1.3rem}.agenda-month{font-size:.8rem}.event-agenda-list{border-top:0}.event-agenda-entry>summary{padding:10px 0;gap:8px}.event-agenda-title{font-size:.96rem}.event-agenda-meta{font-size:.79rem}.event-agenda-detail{padding-right:4px}}

/* Keep the controls compact so the daily agenda starts higher. */
.events-page .events-hero.page-hero{padding:15px 20px;margin-bottom:12px;border-radius:14px}
.events-page .events-hero>.eyebrow{margin:0 0 3px;font-size:.72rem;line-height:1.2}
.events-page .events-hero h1{font-size:clamp(1.65rem,3vw,2.35rem);line-height:1.12;letter-spacing:-.7px;margin:0 0 6px}
.events-page .events-hero .heading-subtitle{font-size:.38em;margin-top:4px;line-height:1.2}
.events-page .events-hero>p:not(.eyebrow){font-size:.92rem;line-height:1.4;margin:0}
.events-page .events-hero-actions.events-action-cards{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.events-page .events-hero .events-action-card{display:inline-flex!important;flex-direction:row;align-items:center;min-height:0;padding:7px 12px;border-radius:7px;gap:0;box-shadow:none;text-decoration:none}
.events-page .events-hero .events-action-card strong{font-size:.84rem;line-height:1.25}
.events-page .events-hero .events-action-card span{display:none}
.events-page .event-tools{margin:0 0 8px;gap:10px;justify-content:flex-start}
.events-page .calendar-picker-wrap{margin:0 0 12px}
.events-page #eventsStatus:empty{display:none}
@media(max-width:620px){.events-page .events-hero.page-hero{padding:12px 14px;margin-bottom:10px}.events-page .events-hero h1{font-size:1.65rem}.events-page .events-hero .events-action-card{padding:8px 10px;min-height:40px;box-sizing:border-box}.events-page .events-hero-actions.events-action-cards{gap:7px;margin-top:9px}.events-page .event-tools{gap:8px;margin-bottom:8px}.events-page .event-search-row{flex-basis:100%}}

/* Compact event actions: direct share, with service links only when expanded. */
#eventPeriods .event-agenda-entry{position:relative}
#eventPeriods .event-agenda-entry>summary{padding-right:72px}
#eventPeriods .event-agenda-share{position:absolute;right:23px;top:4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;width:42px;min-height:39px;padding:2px;border:0;background:transparent;color:#004e85;cursor:pointer;font:inherit;z-index:1}
#eventPeriods .event-agenda-share span{font-size:10px;font-weight:700;line-height:1.05}
#eventPeriods .event-agenda-share:focus-visible{outline:2px solid #d5ad36;outline-offset:1px}
#eventPeriods .event-agenda-services{display:flex;flex-wrap:wrap;align-items:center;gap:4px 18px;margin-top:7px}
#eventPeriods .event-agenda-service{display:inline-flex;align-items:center;flex-wrap:wrap;gap:7px;font-size:.82rem;line-height:1.3}
#eventPeriods .event-agenda-service strong{font-weight:700}
#eventPeriods .event-agenda-service>a:not(.event-agenda-website){display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;padding:3px;border-radius:4px}
#eventPeriods .event-agenda-service>a:hover{background:#eaf1f6}
#eventPeriods .event-agenda-service img{width:17px;height:17px;object-fit:contain}
#eventPeriods .event-agenda-website{color:#004e85;font-weight:700;text-decoration:underline}
#eventPeriods .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:600px){#eventPeriods .event-agenda-entry>summary{padding-right:64px}#eventPeriods .event-agenda-share{right:18px;top:3px}#eventPeriods .event-agenda-services{gap:6px 12px}}

/* Share sits before the +/- affordance, within the summary row. */
#eventPeriods .event-agenda-entry>summary{position:relative;padding-right:86px}
#eventPeriods .event-agenda-share{position:absolute;right:31px;top:50%;transform:translateY(-50%);width:43px;min-height:36px}
#eventPeriods .event-agenda-expand{position:absolute;right:0;top:50%;transform:translateY(-50%);width:22px}
#eventPeriods .event-agenda-entry[open]>summary .event-agenda-expand{transform:translateY(-50%) rotate(45deg)}
@media(max-width:600px){#eventPeriods .event-agenda-entry>summary{padding-right:84px}#eventPeriods .event-agenda-share{right:29px;top:50%}}

#eventPeriods .event-agenda-service:has(.event-agenda-website){flex-basis:100%}

/* Give the expand control breathing room from the viewport edge. */
#eventPeriods .event-agenda-expand{right:14px}
#eventPeriods .event-agenda-share{right:45px}
@media(max-width:600px){#eventPeriods .event-agenda-expand{right:12px}#eventPeriods .event-agenda-share{right:43px}}

/* Only show Share for an expanded event. */
#eventPeriods .event-agenda-entry:not([open]) .event-agenda-share{display:none}

/* Keep the two hero actions on one compact row, including narrow screens. */
.events-page .events-hero-actions.events-action-cards{flex-wrap:nowrap;align-items:stretch}
.events-page .events-hero-actions .events-action-card{min-width:0;white-space:nowrap;justify-content:center}
@media(max-width:600px){.events-page .events-hero-actions.events-action-cards{gap:6px}.events-page .events-hero-actions .events-action-card{flex:1 1 0;padding:8px 5px;font-size:.76rem}.events-page .events-hero-actions .events-action-card strong{font-size:clamp(.65rem,2.7vw,.8rem)}}

/* Distinguish adjacent calendar and directions groups without forcing a new line. */
#eventPeriods .event-agenda-service:has(strong:first-child) + .event-agenda-service:has(strong:first-child){border-left:1px solid #b8c4d0;padding-left:16px}
@media(max-width:600px){#eventPeriods .event-agenda-service:has(strong:first-child) + .event-agenda-service:has(strong:first-child){padding-left:10px}}

/* Fundraising link is the first plain row in the agenda list. */
#eventPeriods .fundraiser-agenda-link{display:block;padding:11px 2px;border-bottom:1px solid #dce4eb;color:#12334d;text-decoration:none}
#eventPeriods .fundraiser-agenda-link:hover .event-agenda-title{text-decoration:underline;text-underline-offset:3px}
#eventPeriods .fundraiser-agenda-link:focus-visible{outline:3px solid #d7ac30;outline-offset:3px;border-radius:3px}
@media(max-width:600px){#eventPeriods .fundraiser-agenda-link{padding:10px 0}}

/* Fundraiser shortcut is a distinct event-style row, not an agenda heading. */
#eventPeriods .fundraiser-agenda-link{display:grid;grid-template-columns:70px minmax(0,1fr) 20px;gap:24px;align-items:center;padding:8px 2px 14px 0;margin:0 0 6px;text-decoration:none;color:#12334d;border-bottom:1px solid #dce4eb}
#eventPeriods .fundraiser-agenda-icon{display:flex;align-items:center;justify-content:center;width:70px;min-height:52px;background:#f1f5f8;border-top:3px solid #d5ad36;border-radius:0 0 7px 7px;color:#004e85;font-size:1.45rem}
#eventPeriods .fundraiser-agenda-copy{min-width:0}
#eventPeriods .fundraiser-agenda-arrow{font-size:1.5rem;color:#647b8d;text-align:center}
#eventPeriods .fundraiser-agenda-link:hover .event-agenda-title{text-decoration:underline;text-underline-offset:3px}
#eventPeriods .fundraiser-agenda-link:focus-visible{outline:3px solid #d7ac30;outline-offset:3px}
@media(max-width:600px){#eventPeriods .fundraiser-agenda-link{grid-template-columns:38px minmax(0,1fr) 16px;gap:10px;padding:8px 0 13px}#eventPeriods .fundraiser-agenda-icon{width:38px;min-height:38px;font-size:1.1rem}}
