/* Public event catalogue */
.home-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.25rem}
.home-heading h1{font-size:clamp(1.35rem,2.5vw,1.75rem);margin:0 0 .2rem;color:#173b4d}.home-heading p{margin:0;color:#63758a;font-size:.9rem}
.home-heading-icon,.home-section-icon,.home-empty-icon{display:grid;place-items:center;flex:0 0 auto;color:#176d79;background:#e7f3f2;border:1px solid #d3e9e6;border-radius:13px}.home-heading-icon{width:48px;height:48px}.home-heading-icon .app-icon{width:24px;height:24px}
.home-search{padding:1.1rem 1.2rem!important;margin-bottom:1.2rem!important;border-color:#d6e5e8!important}.home-search-heading{margin:0 0 .55rem;font-size:.88rem;color:#344e5c}.home-search-controls{display:flex;align-items:stretch;gap:.55rem;flex-wrap:wrap}.home-search-controls input{flex:1 1 250px;min-width:0}.home-search-controls .btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem}
.home-section-nav{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem;margin:0 0 2rem;color:#63758a;font-size:.82rem}.home-section-nav>span{font-weight:700;margin-inline-end:.2rem}.home-section-nav a{padding:.35rem .75rem;border:1px solid #d5e4e7;border-radius:999px;background:#fff;color:#315f6b;line-height:1.7}.home-section-nav a:hover{background:#e8f5f3;border-color:#a7d2ce;color:#114e5d}
.home-section{margin-bottom:2.25rem;scroll-margin-top:1rem}.home-section-heading{display:flex;align-items:center;gap:.75rem;margin:0 0 1rem}.home-section-icon{width:40px;height:40px}.home-section-icon .app-icon{width:20px;height:20px}.home-section-heading h2{font-size:1.08rem;margin:0;flex:1;min-width:0}.home-section-count{color:#506f77;background:#edf5f5;border:1px solid #d8e8e7;border-radius:999px;padding:.22rem .65rem;font-size:.78rem;font-weight:700;white-space:nowrap}
.public-event-card{display:grid;grid-template-columns:minmax(108px,28%) minmax(0,1fr);grid-template-rows:1fr auto;align-content:stretch;overflow:hidden;border-radius:16px!important;transition:transform .2s,box-shadow .2s}.public-event-card:hover{transform:translateY(-3px)}
.public-event-card .event-visual{grid-column:1;grid-row:1;position:relative;width:100%;min-height:190px;max-width:none;align-self:stretch;overflow:hidden;background:#e8f1f2;border-inline-end:1px solid #dbe9eb}.public-event-card .event-image,.public-event-card .event-placeholder{position:absolute;inset:0;width:100%;height:100%}.public-event-card .event-image{object-fit:fill}.public-event-card .event-placeholder{display:grid;place-items:center;background:linear-gradient(145deg,#deeeee,#f1f8f7);color:#7ca5aa}.public-event-card .event-placeholder svg{width:50px;height:50px}
.public-event-card .card-body{grid-column:2;grid-row:1;min-width:0;padding:1rem!important;gap:.1rem}.event-kind{display:inline-flex;align-self:flex-start;padding:.2rem .55rem;margin-bottom:.5rem;border-radius:7px;background:var(--event-tint,#edf6f7);color:var(--event-accent,#155e75);font-size:.73rem;font-weight:700;line-height:1.7}
.public-event-card .event-card-title{width:100%;margin-bottom:.85rem!important;padding:0;border:0;color:#1d4051;font-size:1rem;line-height:1.8;overflow-wrap:anywhere}.public-event-card .event-card-title a{display:block;color:inherit}.public-event-card .event-card-title a:hover{color:var(--event-accent,#155e75);text-decoration:underline;text-underline-offset:.2em}.public-event-card .event-card-title a:focus-visible{border-radius:4px}
.public-event-card .event-detail{color:#506678!important;font-size:.83rem;line-height:1.9;margin-bottom:.4rem!important}.public-event-card .event-detail strong{color:#344f5e;font-weight:700}.public-event-card .event-detail>span{min-width:0;overflow-wrap:anywhere}.public-event-card .event-card-footer{grid-column:1/-1;grid-row:2;display:flex;align-items:center;justify-content:space-between;gap:.75rem;width:100%;margin:0;padding:.8rem 1rem;min-height:60px;border-top:1px solid #e2eded;background:#f8fbfb}.public-event-card .event-card-footer p{min-width:0;flex:1 1 auto;margin:0!important}.public-event-card .event-card-footer .btn{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;min-height:38px;flex:0 0 auto;white-space:nowrap}
.home-empty{text-align:center;padding:2.25rem 1rem!important}.home-empty-icon{width:52px;height:52px;margin:0 auto .9rem}.home-empty-icon .app-icon{width:26px;height:26px}.home-empty p{color:#63758a;margin:.4rem 0 0}
@media(max-width:575px){.home-search-controls input{flex-basis:100%}.home-search-controls .btn{flex:1}.home-section-heading h2{font-size:1rem}.home-section-nav{margin-bottom:1.5rem}.public-event-card{grid-template-columns:minmax(90px,30%) minmax(0,1fr)}.public-event-card .event-visual{min-height:165px}.public-event-card .card-body{padding:.8rem!important}.public-event-card .event-card-title{font-size:.95rem}.public-event-card .event-detail{font-size:.8rem}.public-event-card .event-card-footer{padding:.75rem;gap:.5rem}.public-event-card .event-card-footer .btn{padding-inline:.55rem}}
@media(max-width:350px){.public-event-card{grid-template-columns:85px minmax(0,1fr)}.public-event-card .event-card-footer{flex-wrap:wrap}.public-event-card .event-card-footer .btn{margin-inline-start:auto}}
@media(prefers-reduced-motion:reduce){.public-event-card{transition:none}.public-event-card:hover{transform:none}}

.home-view-controls{display:flex;justify-content:flex-end;margin:0 0 1.25rem}.home-view-controls .btn{display:inline-flex;align-items:center;gap:.45rem}.home-view-controls .btn[hidden],.event-timeline[hidden]{display:none}.timeline-heading h2{font-size:1.15rem;margin:0 0 .25rem}.timeline-heading p{color:#63758a;font-size:.85rem;margin:0 0 1.25rem}.timeline-list{list-style:none;padding:0 1.45rem 0 0;margin:0;border-inline-start:2px solid #b7d9d7}.timeline-item{position:relative;padding-bottom:1rem}.timeline-item::before{content:'';position:absolute;inset-inline-start:-1.91rem;top:1.3rem;width:13px;height:13px;background:#177587;border:3px solid #f3f7f9;border-radius:50%;box-shadow:0 0 0 2px #8fc9c5}.timeline-card{background:#fff;border:1px solid #dce9eb;border-radius:14px;padding:1rem 1.2rem;box-shadow:0 4px 16px #1734480a}.timeline-date{display:flex;align-items:center;gap:.4rem;color:#176d79;font-size:.85rem;font-weight:700}.timeline-card h3{font-size:1rem;margin:.5rem 0}.timeline-card p{display:flex;align-items:center;gap:.4rem;color:#506678;font-size:.85rem;margin:.3rem 0}.timeline-card .btn{margin-top:.5rem}.timeline-card .badge{margin-bottom:.4rem}@media(max-width:575px){.home-view-controls .btn{width:100%;justify-content:center}.timeline-card{padding:.85rem}.timeline-list{padding-inline-start:1.15rem}.timeline-item::before{inset-inline-start:-1.61rem}}

.timeline-card{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:stretch;gap:1rem}.timeline-visual{position:relative;min-height:145px;border-radius:10px;overflow:hidden;background:#e7f2f1}.timeline-visual img,.timeline-image-placeholder{position:absolute;inset:0;width:100%;height:100%}.timeline-visual img{object-fit:fill}.timeline-image-placeholder{display:grid;place-items:center;color:#77a4a7;background:linear-gradient(145deg,#deeeee,#f1f8f7)}.timeline-image-placeholder .app-icon{width:38px;height:38px}.timeline-content{min-width:0}.timeline-content h3,.timeline-content p{overflow-wrap:anywhere}@media(max-width:575px){.timeline-card{grid-template-columns:76px minmax(0,1fr);gap:.75rem}.timeline-visual{min-height:125px}.timeline-image-placeholder .app-icon{width:30px;height:30px}}

.home-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.75rem 1.25rem;flex-wrap:wrap;padding:.85rem 1rem;margin-bottom:1.75rem;background:#fff;border:1px solid #d8e8e9;border-radius:14px;box-shadow:0 4px 16px #1734480a}.home-toolbar .home-section-nav{margin:0;flex:1 1 400px}.home-toolbar .home-section-nav[hidden],.home-toolbar .btn[hidden]{display:none}.home-toolbar .btn{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;white-space:nowrap}@media(max-width:575px){.home-toolbar{padding:.8rem}.home-toolbar .home-section-nav{flex-basis:100%}.home-toolbar .btn{width:100%}}

.home-toolbar{display:block;margin:0;padding:0;border:0;border-bottom:1px solid #d8e8e9;border-radius:0;background:#fff;box-shadow:0 4px 16px #1734480a}.home-toolbar-inner{display:flex;align-items:center;justify-content:space-between;gap:.75rem 1.25rem;flex-wrap:wrap;padding-top:.8rem;padding-bottom:.8rem}@media(max-width:575px){.home-toolbar{padding:0}.home-toolbar-inner{padding-top:.75rem;padding-bottom:.75rem}}
@media(max-width:767px){.home-toolbar{position:sticky;top:var(--app-header-height, 100px);z-index:40}}

.home-section-nav .event-filter{padding:.35rem .75rem;border:1px solid #d5e4e7;border-radius:999px;background:#fff;color:#315f6b;font:inherit;line-height:1.7;cursor:pointer}.home-section-nav .event-filter:hover{background:#e8f5f3;border-color:#a7d2ce}.home-section-nav .event-filter.is-active{background:#156b7c;border-color:#156b7c;color:#fff}.home-section-nav .event-filter:focus-visible{outline:3px solid #77b9d2;outline-offset:2px}.home-section[hidden]{display:none}

.home-toolbar .home-view-toggle{width:44px;height:44px;min-height:44px;flex:0 0 44px;padding:0;border-radius:11px}.home-view-toggle .app-icon{width:20px;height:20px;margin:0}.home-view-toggle [hidden]{display:none!important}@media(max-width:767px){.home-toolbar-inner{flex-wrap:nowrap;gap:.65rem}.home-toolbar .home-section-nav{display:flex;flex:1 1 auto;min-width:0;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;padding:.25rem .1rem .4rem}.home-toolbar .home-section-nav[hidden]{display:none}.home-section-nav>span,.home-section-nav .event-filter{flex:0 0 auto;white-space:nowrap}.home-section-nav>span{font-size:.77rem}.home-toolbar .home-view-toggle{width:44px;flex:0 0 44px}}

.event-filter-select{display:none}@media(max-width:767px){.home-toolbar .home-section-nav{overflow:visible;padding:0}.home-section-nav .event-filter-select{display:block;width:100%;min-width:0}.home-section-nav .event-filter,.home-section-nav .event-filter-label{display:none}}


.home-toolbar .archive-link{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;white-space:nowrap}.home-toolbar .archive-link .app-icon{margin:0}@media(max-width:767px){.home-toolbar-inner{flex-wrap:wrap}.home-toolbar .home-section-nav{flex:1 1 calc(100% - 60px);order:0}.home-toolbar .home-view-toggle{order:1}.home-toolbar .archive-link{order:2;flex:1 1 100%;width:100%}}

.event-calendar[hidden]{display:none}.event-calendar{background:#fff;border:1px solid #d8e8e9;border-radius:16px;padding:1.25rem}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}.calendar-toolbar h2{font-size:1.1rem;margin:0 0 .25rem}.calendar-toolbar p{color:#63758a;font-size:.83rem;margin:0}.calendar-navigation{display:flex;align-items:center;justify-content:space-between;gap:.65rem}.calendar-navigation strong{min-width:8rem;text-align:center}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.4rem;max-width:700px;margin:auto}.calendar-weekday{text-align:center;color:#617985;font-size:.8rem;font-weight:700}.calendar-day{position:relative;min-height:48px;border:1px solid #deeaec;border-radius:9px;background:#f9fcfc;color:#294b59;font-weight:700}.calendar-day:hover{border-color:#76acae}.calendar-day[aria-pressed=true]{background:#156b7c;border-color:#156b7c;color:#fff}.calendar-day.has-sessions:after{content:'';display:block;position:absolute;bottom:5px;left:50%;width:5px;height:5px;border-radius:50%;background:#3ca582}.calendar-day.has-sessions[aria-pressed=true]:after{background:#fff}.calendar-day-sessions{max-width:700px;margin:1.2rem auto 0;border-top:1px solid #e3edef;padding-top:1rem}.calendar-day-sessions h3{font-size:.95rem;margin:0 0 .6rem}.calendar-day-sessions p{color:#63758a;font-size:.85rem}.calendar-day-sessions ul{padding:0;margin:0;list-style:none}.calendar-day-sessions li{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap;padding:.7rem;border:1px solid #e1ecee;border-radius:9px;margin-top:.45rem}.calendar-day-sessions li span{font-size:.8rem;color:#607784}@media(max-width:767px){.home-toolbar .home-section-nav{flex-basis:calc(100% - 110px)}.event-calendar{padding:.85rem}.calendar-navigation{width:100%}.calendar-day{min-height:42px}.calendar-grid{gap:.25rem}}

.home-view-buttons{display:flex;align-items:center;gap:.35rem;flex:0 0 auto}.home-toolbar .home-view-toggle[aria-pressed=true]{background:#156b7c;border-color:#156b7c;color:#fff}@media(max-width:767px){.home-toolbar .home-section-nav{flex:1 1 100%}.home-view-buttons{margin-inline-start:auto}}

.home-view-switch{display:flex;align-items:center;gap:.65rem;flex:0 0 auto}.home-view-current{color:#647985;font-size:.78rem;white-space:nowrap}.home-view-current strong{color:#1c5f6c}.home-view-buttons{gap:2px;padding:3px;border:1px solid #d5e6e8;border-radius:13px;background:#edf5f5}.home-toolbar .home-view-toggle{width:40px;height:40px;min-height:40px;flex-basis:40px;border:0;background:transparent;color:#446f79;box-shadow:none}.home-toolbar .home-view-toggle:hover{background:#dbeeed;color:#125e6d}.home-toolbar .home-view-toggle[aria-pressed=true]{background:#156b7c;color:#fff;box-shadow:0 2px 7px #155e7533}.home-toolbar .home-view-toggle:focus-visible{outline:3px solid #77b9d2!important;outline-offset:2px}.home-view-switch:has(.home-view-toggle[hidden]){display:none}@media(max-width:767px){.home-view-switch{width:100%;justify-content:space-between;margin-top:.1rem}.home-view-buttons{margin-inline-start:0}.home-toolbar .home-view-toggle{width:40px;flex:0 0 40px}}

@media(max-width:767px){.home-toolbar-inner{flex-wrap:nowrap}.home-toolbar .home-section-nav{flex:1 1 0;min-width:0}.home-view-switch{width:auto;flex:0 0 auto;margin:0}.home-view-current{display:none}.home-view-buttons{gap:0;padding:2px}.home-toolbar .home-view-toggle{width:38px;height:38px;min-height:38px;flex-basis:38px}}

#filter-empty[hidden],#timeline-filter-empty[hidden],.timeline-item[hidden]{display:none!important}
.timeline-now{position:relative;padding-bottom:1rem}
.timeline-now::before{content:'';position:absolute;inset-inline-start:-1.94rem;top:1.35rem;width:15px;height:15px;border:3px solid #fff;border-radius:50%;background:#dc7b1d;box-shadow:0 0 0 3px #f8d7a4}
.timeline-now-card{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;padding:.85rem 1rem;border:1px solid #edc887;border-radius:14px;background:#fff8e9;box-shadow:0 4px 16px #79531514;color:#61451c}
.timeline-now-card strong,.timeline-now-caption{display:block}.timeline-now-card strong{font-size:.98rem}.timeline-now-caption{font-size:.76rem;color:#806943}
.timeline-now-clock{margin-inline-start:auto;font-weight:700;font-size:.88rem;white-space:nowrap;direction:rtl}
.timeline-now-pulse{width:11px;height:11px;flex:none;border-radius:50%;background:#dc7b1d;animation:timeline-now-pulse 1.8s infinite}
@keyframes timeline-now-pulse{0%,100%{box-shadow:0 0 0 0 #dc7b1d66}50%{box-shadow:0 0 0 8px #dc7b1d00}}
@media(max-width:575px){.timeline-now::before{inset-inline-start:-1.64rem}.timeline-now-card{gap:.55rem}.timeline-now-clock{width:100%;margin-inline-start:1.3rem;font-size:.8rem}}
@media(prefers-reduced-motion:reduce){.timeline-now-pulse{animation:none}}

.home-section-empty{padding:1rem 1.15rem;color:#63758a;font-size:.9rem;background:#fff}

.home-section{padding:1.25rem;border:1px solid #dce9e9;border-radius:18px;background:#fff;box-shadow:0 5px 20px rgba(27,67,77,.045)}.home-section-heading{margin:0 0 1.1rem;padding-bottom:.95rem;border-bottom:1px solid #e7eff0;gap:.8rem}.home-section-heading-text{flex:1;min-width:0}.home-section-heading h2{font-size:1.03rem;line-height:1.6}.home-section-heading-text p{margin:.15rem 0 0;color:#71858e;font-size:.77rem;line-height:1.7}.home-section-icon{width:42px;height:42px;border-radius:13px}.home-section-count{flex:none;background:#f2f8f7;color:#436d73}.home-section-empty{display:flex;align-items:center;gap:.7rem;padding:1rem;border:1px dashed #d8e7e7;border-radius:12px;background:#fafdfc;color:#63758a}.home-empty-icon-small{display:grid;place-items:center;flex:0 0 auto;width:36px;height:36px;border-radius:10px;background:#edf6f5;color:#6e9c9e}.home-empty-icon-small .app-icon{width:19px;height:19px}.home-archive-action{display:flex;justify-content:center;border-top:1px solid #edf3f3;margin-top:1rem;padding-top:1rem}.home-archive-action .btn{display:inline-flex;align-items:center;gap:.35rem}@media(max-width:575px){.home-section{padding:.85rem;border-radius:14px}.home-section-heading{gap:.6rem}.home-section-icon{width:38px;height:38px}.home-section-heading h2{font-size:.94rem}.home-section-heading-text p{font-size:.72rem}.home-section-count{font-size:.7rem;padding:.2rem .5rem}.home-section-empty{font-size:.84rem;padding:.8rem}}

@media(max-width:575px){.public-event-card{grid-template-columns:110px minmax(0,1fr)}.public-event-card .event-visual{width:100%;height:auto;aspect-ratio:3 / 4;min-height:0;max-height:148px;align-self:start;margin:0;border:0;border-inline-end:1px solid #dbe9eb;border-radius:0;background:#eff6f7}.public-event-card .event-image{object-fit:contain}.public-event-card .event-placeholder svg{width:36px;height:36px}}


.public-event-card .event-card-schedule{grid-column:1 / -1;display:grid;gap:.35rem;padding:.65rem 1rem;border-top:1px solid #edf2f3}.public-event-card .event-card-schedule .event-detail{margin:0!important}@media(max-width:575px){.public-event-card .event-card-schedule{padding:.65rem .8rem}}

.public-event-card{grid-template-rows:1fr auto auto}.public-event-card .event-card-schedule{grid-row:2}.public-event-card .event-card-footer{grid-row:3}

.public-event-card .event-card-footer{display:flex;flex-direction:column;align-items:stretch;gap:.65rem}.public-event-card .event-card-footer p{width:100%}.public-event-card .event-card-footer .btn{align-self:center}

@media(min-width:576px){.public-event-card{grid-template-rows:1fr auto}.public-event-card .event-card-schedule{display:none}.public-event-card .event-card-footer{grid-row:2;flex-direction:row;align-items:center}.public-event-card .event-card-footer .btn{align-self:center}}
@media(max-width:575px){.public-event-card .desktop-event-meta{display:none}.public-event-card .event-card-schedule{display:grid}}

@media(min-width:768px){.home-toolbar-inner{flex-wrap:nowrap}.home-toolbar .home-section-nav{min-width:0;flex:1 1 auto;flex-wrap:nowrap;overflow-x:auto}.home-section-nav .event-filter,.home-section-nav .event-filter-label{flex:0 0 auto;white-space:nowrap}.home-view-switch{white-space:nowrap}}
.home-quick-attendance{display:none;padding-top:.75rem}.home-quick-attendance .btn{display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;min-height:48px;border-radius:12px;font-weight:700}.home-quick-attendance .app-icon{width:20px;height:20px}.home-toolbar .desktop-quick-attendance{display:none}
@media(max-width:767px){.home-quick-attendance{display:block}}
@media(min-width:768px){.home-toolbar-inner{direction:rtl;gap:.5rem .65rem}.home-toolbar .home-section-nav{order:0;flex:1 1 0;flex-wrap:wrap;overflow:visible;gap:.3rem}.home-toolbar .home-section-nav .event-filter{padding:.3rem .5rem;font-size:.77rem}.home-toolbar .desktop-quick-attendance{display:inline-flex;order:1;flex:0 0 auto;align-items:center;gap:.3rem;padding:.35rem .6rem;font-size:.77rem;white-space:nowrap}.home-toolbar .desktop-quick-attendance .app-icon{width:16px;height:16px}.home-toolbar .home-view-switch{order:2;flex:0 0 auto;margin-inline-start:0}}

@media(max-width:575px){.calendar-toolbar{gap:.7rem}.calendar-navigation{gap:.35rem}.calendar-navigation strong{min-width:0;flex:1;font-size:.85rem}.calendar-navigation .btn{flex:0 0 auto;padding-inline:.55rem;font-size:.78rem}.calendar-grid{gap:.2rem}.calendar-day{min-width:0;min-height:40px;padding:.2rem;font-size:.82rem}.calendar-day-sessions li>*{min-width:0;overflow-wrap:anywhere}}
