/* Events directory and details */
body .ev89-detail .event-comments-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 16px;padding:10px 12px;border-top:1px solid var(--ui162-border,#d7e2ec);color:var(--ui162-muted,#526477);font-size:13px}
body .ev89-detail .event-comments-pagination a{display:inline-flex;align-items:center;min-height:44px;color:var(--ui162-link,#256d63);text-decoration:none}
body.ref44 .events-page,body.ref44 .ev89-detail{width:min(1500px,100%);max-width:none;margin:0 auto;padding:20px 24px 50px;box-sizing:border-box}
body.ref44 .events-page>.section-head{align-items:center;margin-bottom:16px}
body.ref44 .events-page>.section-head h1{margin:2px 0;font-size:38px}
body.ref44 .events-page>.section-head p{margin:0}
body.ref44 .events-page>.section-head .actions .button{font-size:14px;padding:12px 17px}
.ev89-feature{display:flex;align-items:flex-end;min-height:270px;padding:26px 30px;border-radius:16px;overflow:hidden;color:#fff!important;text-decoration:none!important;background:linear-gradient(90deg,rgba(3,12,33,.9),rgba(3,12,33,.48) 55%,rgba(3,12,33,.1)),var(--event-cover) center/cover;box-shadow:0 9px 25px #152e4a1c}
.ev89-feature-copy{display:grid;justify-items:start;gap:9px;max-width:670px}.ev89-feature-copy small{padding:5px 10px;background:#fff2bc;border-radius:5px;color:#122b59;font-weight:800}.ev89-feature-copy strong{font-size:clamp(25px,3vw,39px);line-height:1.1}.ev89-feature-copy span{font-size:15px;line-height:1.4}.ev89-feature-copy em{font-size:14px;font-style:normal;font-weight:700}.ev89-feature-copy>b{margin-top:4px;padding:10px 16px;border-radius:8px;background:#075af1;font-size:14px}
body.ref44 .ev89-filter{display:grid;grid-template-columns:1.55fr 1fr 1fr 1fr 1fr auto;gap:11px;align-items:end;margin:13px 0;padding:14px 16px;border-radius:14px}.ev89-filter label{display:grid;gap:4px;min-width:0;font-weight:700}.ev89-filter input,.ev89-filter select{width:100%;min-width:0;height:38px;padding:7px 9px;border:1px solid #cedaf0;border-radius:8px;background:var(--r44-theme-surface,#fff);color:var(--r44-theme-text,#152f59)}body.ref44 .ev89-filter button{min-height:38px}
.ev89-categories{display:flex;gap:8px;overflow:auto;padding:2px 0 12px;flex-wrap:nowrap!important}.ev89-categories a{white-space:nowrap;padding:8px 13px;border-radius:11px;border:1px solid var(--r44-theme-border,#dce6f3);background:var(--r44-theme-surface,#fff);color:var(--r44-theme-text,#173866);font-size:13px;font-weight:700}.ev89-categories a.active{background:#254680;color:#fff!important;border-color:#254680}.ev89-list-heading{display:flex;justify-content:space-between;align-items:center;margin:3px 0 10px}.ev89-list-heading h2{margin:0;font-size:23px}.ev89-list-heading span{font-size:13px;color:var(--r44-theme-muted,#65758e)}.ev89-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:16px;align-items:start}.ev89-results{display:grid;gap:10px;min-width:0}.ev89-card{display:grid;grid-template-columns:220px minmax(0,1fr) 165px;min-height:150px;overflow:hidden;border:1px solid var(--r44-theme-border,#dce6f3);border-radius:13px;background:var(--r44-theme-surface,#fff);color:var(--r44-theme-text,#142d50)}.ev89-card-photo img{display:block;width:100%;height:100%;min-height:150px;object-fit:cover}.ev89-card-content{min-width:0;padding:12px 14px}.ev89-category{display:inline-block;padding:3px 8px;margin-right:4px;border-radius:7px;background:#e8f0ff;color:#0a52c8;font-size:11px;font-weight:800}.ev89-card h3{margin:5px 0;font-size:18px;line-height:1.18}.ev89-card h3 a{color:inherit}.ev89-card p{margin:0 0 8px;font-size:13px;line-height:1.32;color:var(--r44-theme-muted,#64758e)}.ev89-card small{font-size:11px}.ev89-card-side{display:flex;flex-direction:column;align-items:stretch;gap:9px;justify-content:center;padding:11px;border-left:1px solid var(--r44-theme-border,#dce6f3)}.ev89-card-side time{font-size:13px;font-weight:800}.ev89-card-side time small{display:block;margin-left:17px;color:var(--r44-theme-muted,#64758e)}.ev89-card-side strong{font-size:13px}.ev89-card-side .button{text-align:center;font-size:12px;padding:8px}
.ev89-map-panel{position:sticky;top:85px;padding:16px;border:1px solid var(--r44-theme-border,#dce6f3);border-radius:13px;background:var(--r44-theme-surface,#fff);color:var(--r44-theme-text,#142d50)}.ev89-map-panel h2{margin:0;font-size:20px}.ev89-map-panel p{margin:5px 0 10px;font-size:13px;color:var(--r44-theme-muted,#64758e)}.ev89-map-panel>a{display:grid;grid-template-columns:24px 1fr 16px;gap:9px;align-items:center;padding:9px 3px;border-top:1px solid var(--r44-theme-border,#dce6f3);font-size:12px}.ev89-map-panel>a span:nth-child(2){min-width:0}.ev89-map-panel a b,.ev89-map-panel a small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ev89-map-panel a small{color:var(--r44-theme-muted,#64758e)}
.ev89-back{display:inline-block;margin-bottom:10px}.ev89-detail-hero{display:flex;flex-direction:column;justify-content:flex-end;min-height:275px;padding:25px;border-radius:16px;color:#fff;background:linear-gradient(0deg,rgba(2,10,30,.88),rgba(2,10,30,.06) 75%),var(--event-cover) center/cover}.ev89-detail-hero>span{align-self:flex-start;padding:6px 12px;border-radius:20px;background:#294dce}.ev89-detail-hero h1{margin:12px 0 0;color:#fff;font-size:clamp(27px,3vw,41px)}.ev89-detail-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:12px 0}.ev89-detail-summary>div{padding:13px 18px;background:var(--r44-theme-surface,#fff);border:1px solid var(--r44-theme-border,#dce6f3)}.ev89-detail-summary>div:first-child{border-radius:12px 0 0 12px}.ev89-detail-summary>div:last-child{border-radius:0 12px 12px 0}.ev89-detail-summary b,.ev89-detail-summary small{display:block}.ev89-detail-summary b{font-size:14px}.ev89-detail-summary small{font-size:11px;color:var(--r44-theme-muted,#64758e)}.ev89-detail-layout{display:grid;grid-template-columns:240px minmax(0,1fr) 280px;gap:13px;align-items:start}.ev89-detail-layout>aside,.ev89-detail-main{display:grid;gap:11px;min-width:0}.ev89-detail-layout .panel{margin:0;padding:15px;border-radius:13px}.ev89-detail-layout h2{margin:0 0 10px;font-size:19px}.ev89-detail-layout p{font-size:13px;line-height:1.45}.ev89-organizer-link{display:flex;align-items:center;gap:9px;margin:12px 0}.ev89-organizer-link img,.ev89-attendee-list img{width:48px;height:48px;border-radius:50%;object-fit:cover}.ev89-detail-layout .button{display:block;text-align:center;font-size:12px;padding:8px}.ev89-detail-tabs{display:flex;justify-content:space-around;gap:8px;overflow:auto;padding:11px;background:var(--r44-theme-surface,#fff);border-radius:12px}.ev89-detail-tabs a{white-space:nowrap;font-size:13px;font-weight:750}.ev89-timeline{display:grid;grid-template-columns:65px 1fr;gap:9px 12px;border-left:2px solid #176cf4;padding-left:14px;font-size:13px}.ev89-timeline b{color:#176cf4}.ev89-attend form{display:grid;gap:7px}.ev89-attend button{width:100%}.ev89-attend small{display:block;margin-top:7px;text-align:center}.ev89-attendee-list{display:flex;flex-wrap:wrap;gap:6px}.ev89-report{margin-top:14px;padding:15px}
@media(max-width:1100px){body.ref44 .ev89-filter{grid-template-columns:repeat(3,minmax(0,1fr))}.ev89-layout{grid-template-columns:1fr}.ev89-map-panel{position:static}.ev89-detail-layout{grid-template-columns:210px minmax(0,1fr)}.ev89-detail-side{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){body.ref44 .events-page,body.ref44 .ev89-detail{padding:14px 12px 30px}.ev89-feature{min-height:250px;padding:18px}.ev89-feature-copy strong{font-size:26px}body.ref44 .ev89-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.ev89-filter label:first-of-type{grid-column:1/-1}.ev89-card{grid-template-columns:115px minmax(0,1fr)}.ev89-card-photo img{min-height:165px}.ev89-card-content{padding:10px}.ev89-card h3{font-size:15px}.ev89-card p{font-size:12px}.ev89-card-side{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between;border-left:0;border-top:1px solid var(--r44-theme-border,#dce6f3)}.ev89-card-side .button{min-width:95px}.ev89-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.ev89-detail-summary>div:first-child,.ev89-detail-summary>div:last-child{border-radius:0}.ev89-detail-layout{grid-template-columns:1fr}.ev89-detail-organizer{order:2}.ev89-detail-main{order:1}.ev89-detail-side{grid-column:auto;grid-template-columns:1fr;order:3}}
@media(max-width:480px){body.ref44 .ev89-filter{grid-template-columns:1fr 1fr}.ev89-filter button{grid-column:1/-1}.ev89-card{grid-template-columns:100px minmax(0,1fr)}.ev89-card-content small{display:none}.ev89-detail-tabs{justify-content:flex-start}}

.ev89-map-panel iframe{display:block;width:100%;height:300px;border:0;border-radius:10px;background:#e9f1fc}.ev89-detail-organizer iframe{display:block;width:100%;height:180px;margin:10px 0;border:0;border-radius:10px;background:#e9f1fc}

/* Restore legible navigation in the dark event detail theme. */
html body.theme-night2 .ev89-detail .ev89-back,html body.theme-night .ev89-detail .ev89-back,html body.theme-dark .ev89-detail .ev89-back{color:#e4efff!important;text-decoration:underline;text-underline-offset:3px}
