/* Match the approved event design while retaining the native WordPress controls. */
body.event-page.custom-background,body.alibike-home.custom-background{background:#fff!important}
body.event-page>header{position:sticky!important;z-index:10000!important;isolation:isolate;background:#252d45}
body.event-page>main{position:relative;z-index:0;isolation:isolate}
body.event-page .wpgpxmaps,body.event-page .leaflet-container,body.event-page #route-map{isolation:isolate}
body.event-page.admin-bar>header{top:32px}
body.event-page .event-layout{grid-template-columns:minmax(0,1fr) 310px;gap:38px;align-items:start}
body.event-page .event-sidebar{position:sticky;top:130px}
body.event-page .event-partner{display:none}
body.event-page .event-section h2{letter-spacing:-1px}
body.event-page .al_table_cont{width:100%;max-width:100%;border:0;padding:0;margin:0;background:#fff}
body.event-page .al_table_cont [id^="al_cont_"]{max-height:510px;overflow:auto;border:0;border-radius:0}
body.event-page .al_table_cont table{border-collapse:collapse;width:100%}
body.event-page .al_table_cont .al_table thead{position:sticky;top:0;z-index:2;background:#f3f5f8}
body.event-page .al_table_cont .al_table th{padding:16px 22px;text-align:left;font-size:11px;font-weight:600;color:#626b7c;border:0}
body.event-page .al_table_cont .al_table td{padding:17px 22px;border:0;border-bottom:1px solid #e7e9ed;font:14px Montserrat,Arial,sans-serif;background:transparent}
body.event-page .al_table_cont .al_table td:first-child{width:58px;color:#626b7c;font-size:11px}
body.event-page .al_table_cont .al_table td:nth-child(2){font-weight:500}
body.event-page .al_table_cont .al_table th:last-child,body.event-page .al_table_cont .al_table td:last-child{text-align:right}
body.event-page .al_table_cont .al_table tr:has(>td:only-child){display:none}
body.event-page .attendance-pill{display:inline-block;padding:6px 10px;border-radius:20px;font-size:11px;white-space:nowrap;font-weight:500}
body.event-page .attendance-yes{background:#eaf4ee;color:#41765b}
body.event-page .attendance-maybe{background:#f7f1e3;color:#85621c}
body.event-page .attendance-no{background:#eff0f3;color:#707887}
body.event-page .al_table_cont .al_btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 15px;margin:4px;border:1px solid #bbc0cc;border-radius:4px;background:#fff;color:#252d45;font:600 13px Montserrat,Arial,sans-serif}
body.event-page .al_table_cont .al_selected{background:#252d45;color:#fff;border-color:#252d45}
body.event-page .alibike-guests{margin:0;padding:16px 22px;border-bottom:1px solid #e7e9ed}
body.event-page .alibike-guest-toggle{background:#fff;color:#252d45;min-height:44px}
body.event-page .alibike-route-section{display:block}
body.event-page .alibike-route-card{border:1px solid #dce0e7;background:#fff;overflow:hidden;isolation:isolate}
body.event-page .alibike-route-card .wpgpxmaps{width:100%!important;margin:0!important;border:0!important}
body.event-page .alibike-route-card .leaflet-overlay-pane path:not(.alibike-profile-marker){stroke:#252d45}
body.event-page .alibike-route-card .elevation-profile{border:0;border-top:1px solid #dce0e7}
body.event-page .route-actions{display:flex;flex-wrap:wrap;gap:12px}
body.event-page .route-actions a.button{margin:0;font-size:13px;min-height:44px}
body.event-page .alibike-route-section>.entry-content{font-size:14px!important;width:100%;line-height:1.8;overflow-wrap:anywhere}
body.event-page .alibike-extra-details{margin-top:24px;color:#626b7c}
body.event-page .alibike-extra-details hr{display:none}
body.event-page .alibike-route-details{grid-template-columns:1.1fr 1fr;gap:36px}
body.event-page .alibike-route-details:has(>div:only-child){grid-template-columns:1fr}
body.event-page .alibike-route-details>.free-section:only-child{border:0;padding:0}
body.event-page .route-detail-copy{font-size:15px;line-height:1.8}
body.event-page .free-section .text-link{display:inline-block;margin:10px 0 22px}
body.event-page .sponsors{margin-top:48px}
@media(max-width:1000px){body.event-page .event-layout{grid-template-columns:minmax(0,1fr) 280px;gap:30px}}
@media(max-width:782px){body.event-page.admin-bar>header{top:46px}}
@media(max-width:760px){
 body.event-page .wrap{padding-left:20px;padding-right:20px}
 body.event-page .event-layout{grid-template-columns:minmax(0,1fr);gap:24px}
 body.event-page .event-sidebar{position:static;grid-row:auto}
 body.event-page .event-main{min-width:0}
 body.event-page .ride-details,body.event-page .alibike-route-details{grid-template-columns:minmax(0,1fr);gap:24px}
 body.event-page .ride-details>.entry-content{grid-column:1/-1;min-width:0}
 body.event-page .free-section{border-left:0;border-top:1px solid #dce0e7;padding:24px 0 0}
 body.event-page .roster-heading{flex-wrap:wrap;gap:16px;padding:20px}
 body.event-page .al_table_cont .al_table th,body.event-page .al_table_cont .al_table td{padding:13px 8px;font-size:12px}
 body.event-page .al_table_cont .al_table td:first-child{width:30px;font-size:10px}
 body.event-page .attendance-pill{font-size:10px;padding:5px 7px}
 body.event-page .roster-totals{gap:8px;padding:0 14px 20px;font-size:9px}
 body.event-page .roster-totals b{font-size:24px}
 body.event-page .event-section-head{gap:12px;flex-wrap:wrap}
 body.event-page .route-footer{align-items:flex-start;gap:16px;flex-wrap:wrap}
 body.event-page .route-actions{width:100%}
 body.event-page .route-actions .button{flex:1}
 body.event-page .alibike-route-card [id^="map_"][id$="_cont"],body.event-page .alibike-route-card .leaflet-container{height:320px!important}
 body.event-page input,body.event-page select,body.event-page textarea{max-width:100%;font-size:16px}
 body.event-page .alibike-guest-remove{display:block;margin:6px 0 0 auto}
}
@media(max-width:600px){body.event-page.admin-bar>header{top:0}}

body.event-page .elevation-profile .profile-readout{font-size:12px;letter-spacing:0;text-transform:none;margin:8px 0 0;color:#626b7c}
body.event-page .elevation-profile svg[data-synced]{cursor:crosshair}
body.event-page .elevation-profile svg:focus-visible{outline:2px solid #7d8aa9;outline-offset:3px}

body.event-page .leaflet-overlay-pane .alibike-profile-marker{stroke:#fff!important;stroke-width:3px}
