/* Event geometry extends the existing portal, list and form components. */
.hub-events-page .portal-layout{grid-template-columns:136px minmax(0,1fr) 248px;gap:20px;align-items:start}
.hub-events-page .portal-layout.hub-events-no-ads{grid-template-columns:136px minmax(0,1fr)}
.hub-events-page .portal-primary{min-width:0}
.hub-events-page .portal-rail nav{display:block}
.hub-events-page .portal-rail details{padding:5px 0}
.hub-events-page .portal-rail summary{padding:10px 12px;cursor:pointer;font-size:14px;font-weight:650}
.hub-events-page .portal-rail a{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;padding:8px 12px}
.hub-events-page .portal-rail a small{font-size:12px;font-weight:400;color:#698077}
.hub-events-page .portal-rail a[aria-current=page]{background:#e8f2ed;font-weight:700}
.hub-events-page .portal-rail .hub-event-month-empty{color:#85978e}
.hub-events-page .hub-list-panel{padding:12px;margin-bottom:14px}
.hub-events-page .hub-event-filter{position:relative;display:flex;flex-wrap:nowrap;gap:8px;align-items:end;margin:0;overflow-x:auto}
.hub-event-filter .hub-page-sr{left:0;top:0}
.hub-event-filter label{min-width:130px;flex:1;margin:0}
.hub-events-page .hub-event-filter input,.hub-events-page .hub-event-filter select{width:100%;font-size:13px;padding:8px;min-height:38px;margin:0}
.hub-event-filter label:has(input[type=date]){min-width:140px}
.hub-event-date-label{display:block;font-size:12px;color:#698077;margin:0 0 5px}
.hub-events-page .hub-event-filter button{padding:8px 14px;min-height:38px;white-space:nowrap;font-size:13px}
.hub-event-filter>a{font-size:13px;white-space:nowrap;line-height:38px}
.hub-events-toolbar{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-bottom:12px;flex-wrap:wrap}
.hub-events-toolbar .portal-tabs{margin:0;gap:6px;padding:5px}
.hub-events-toolbar .portal-tabs a{font-size:13px;padding:8px 12px}
.hub-events-count{font-size:13px;margin-left:auto}
.hub-events-sort{white-space:nowrap;font-size:13px}
.hub-events-table-scroll{max-width:100%;overflow-x:auto;border:1px solid #e0e9e5;border-radius:8px;background:#fff}
.hub-events-table{table-layout:fixed;min-width:900px;font-size:13px}
.hub-events-table th{font-size:12px;font-weight:600;white-space:nowrap;background:#f7faf8}
.hub-events-table th,.hub-events-table td{padding:13px 12px;vertical-align:middle;overflow-wrap:break-word;line-height:1.6}
.hub-events-table th:first-child{width:15%}
.hub-events-table th:nth-child(2){width:36%}
.hub-events-table th:nth-child(3){width:14%}
.hub-events-table th:nth-child(4){width:17%}
.hub-events-table th:nth-child(5){width:13%}
.hub-events-table th:nth-child(6){width:5%}
.hub-events-table td:last-child,.hub-events-table th:last-child{padding-left:5px;padding-right:5px;white-space:nowrap}
.hub-events-table time{font-size:13px;white-space:nowrap}
.hub-events-table small{display:block;font-size:12px;margin-top:4px}
.hub-event-title,.hub-event-organizer{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hub-event-title{font-size:14px;font-weight:600;line-height:1.6}
.hub-events-table .hub-event-month th{padding:7px 12px;font-weight:600}
.hub-event-tags{display:flex;gap:2px 7px;flex-wrap:wrap;font-size:12px;color:#5d7166}
.hub-events-ads .home-section{padding:16px}
.hub-events-ads h2{font-size:16px}
.hub-events-ads .hub-ad{margin:16px 0}
.hub-events-ads .hub-ad img,.hub-event-recommend img{width:100%;height:auto;aspect-ratio:9/4;object-fit:cover;border-radius:6px}
.hub-event-recommend{margin-top:16px}
.hub-event-recommend h3{font-size:14px;line-height:1.6;margin:9px 0 6px}
.hub-event-recommend .home-byline{font-size:12px}
@media(max-width:1199px){.hub-events-page .portal-layout{grid-template-columns:120px minmax(0,1fr)}.hub-events-ads{grid-column:2}.hub-events-ads .home-section{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.hub-events-ads .home-section>h2{grid-column:1/-1}}
@media(max-width:760px){.hub-events-page .portal-layout{display:block}.hub-public-shell .hub-events-page .portal-rail{display:block!important;margin-bottom:14px;max-width:100%;min-width:0}.hub-events-page .portal-rail nav{display:block;overflow:hidden}.hub-events-page .portal-rail details{display:block;padding:0;white-space:nowrap;overflow-x:auto}.hub-events-page .portal-rail summary{display:inline-block;font-size:12px;padding:8px}.hub-events-page .portal-rail details::details-content{display:contents}.hub-events-page .portal-rail a{font-size:12px;min-width:60px}.hub-events-page .portal-rail details a{display:inline-flex;padding:8px}.hub-events-page .hub-event-filter{padding-bottom:3px}.hub-events-ads .home-section{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-events-ads .hub-ad{margin:0}.hub-events-sort{font-size:12px}.hub-events-count{margin-left:0}}

.hub-event-name{display:flex;align-items:center;gap:12px;min-width:0}
.hub-event-name-text{min-width:0;flex:1}
.hub-event-logo{display:flex;flex:0 0 72px;width:72px;height:44px;align-items:center;justify-content:center;overflow:hidden;border-radius:4px;background:#fff}
.hub-event-logo img{display:block;width:100%;height:100%;object-fit:contain}
.hub-event-logo-dark{background:#173e4e;padding:4px;box-sizing:border-box}
