/* SalishCurrent v19 — final live events discovery, scoped to Events & Calendar. */
/* Smaller balanced event cards with breathing room, restrained logo watermark and a compact CTA. */
html body .sc-calendar-event-item>.evcard{
 position:relative!important;
 min-height:238px!important;
 display:grid!important;
 grid-template-columns:52px minmax(0,1fr)!important;
 gap:13px!important;
 padding:16px 15px 17px!important;
 align-items:start!important;
 border:1px solid rgba(197,218,204,.95)!important;
 border-radius:15px!important;
 background:linear-gradient(138deg,#fffefa 0%,#fbfdf9 78%,#f3f9f3 100%)!important;
 box-shadow:0 5px 14px rgba(22,71,44,.09)!important;
}
html body .sc-calendar-event-item>.evcard::after{
 content:"";
 position:absolute;
 left:16px;
 bottom:16px;
 width:42px;
 height:42px;
 background:url('https://salishcurrent.live/api/brand-logo.svg') center/contain no-repeat;
 opacity:.13;
 filter:brightness(0);
 pointer-events:none;
}
html body .sc-calendar-event-item .dateblock{
 width:50px!important;
 height:66px!important;
 border-radius:10px!important;
 padding:10px 3px!important;
 margin:0!important;
}
html body .sc-calendar-event-item .evbody{
 display:flex!important;
 flex-direction:column!important;
 gap:5px!important;
 justify-content:flex-start!important;
 align-items:stretch!important;
 min-width:0!important;
}
html body .sc-calendar-event-item .sc-event-art{
 display:inline-flex!important;
 align-items:center!important;
 align-self:flex-start!important;
 gap:7px!important;
 max-width:100%!important;
 min-height:27px!important;
 padding:5px 9px!important;
 margin:0!important;
 border-radius:9px!important;
}
html body .sc-calendar-event-item .sc-event-art>span{font-size:16px!important;line-height:1!important}
html body .sc-calendar-event-item .sc-event-art>small{font-size:10px!important;line-height:13px!important;letter-spacing:.055em!important}
html body .sc-calendar-event-item .evbody .badge{
 align-self:flex-start!important;
 font-size:9px!important;
 line-height:1.1!important;
 padding:3px 7px!important;
 margin:0!important;
 border-radius:7px!important;
}
html body .sc-calendar-event-item .evbody h3{
 margin:3px 0 0!important;
 font-size:15px!important;
 line-height:1.32!important;
 font-weight:790!important;
 color:#194a38!important;
}
html body .sc-calendar-event-item .evbody>p{
 line-height:1.44!important;
 margin:0!important;
 font-size:11px!important;
 color:#607b6d!important;
}
html body .sc-calendar-event-item .evbody .sc-event-description{
 font-size:11px!important;
 line-height:1.47!important;
 margin:4px 0 2px!important;
}
html body .sc-calendar-event-item .evbody .button{
 display:inline-flex!important;
 align-items:center!important;
 align-self:flex-start!important;
 justify-content:center!important;
 width:auto!important;
 min-height:35px!important;
 max-width:100%!important;
 font-size:11px!important;
 font-weight:830!important;
 padding:8px 12px!important;
 margin:11px 0 0!important;
 border-radius:10px!important;
 line-height:1.25!important;
 white-space:normal!important;
 background:linear-gradient(140deg,#e7f3e7,#d8efdf)!important;
 border:1px solid #b9d9c2!important;
 color:#195c45!important;
 box-shadow:0 2px 6px rgba(27,81,48,.07)!important;
}
html body .sc-calendar-event-item .evbody .button:hover{
 background:#cae8d3!important;
}
html body .sc-calendar-event-item[data-expanded="true"]>.evcard{
 border-bottom-left-radius:0!important;
 border-bottom-right-radius:0!important;
}
/* Same-page navigation: clear selected panel at entry and a visible focus cue. */
html body .sc-event-hub .sc-event-hub-card[aria-pressed="true"]{
 outline:2px solid rgba(43,125,82,.5);
 outline-offset:2px;
}
html body #sc-selected-event-content{
 scroll-margin-top:27vh;
}
/* Real logo replaces only the glyph of the floating Home button. */
html body .sc-float-home{
 display:inline-flex!important;
 align-items:center!important;
 justify-content:center!important;
 gap:5px!important;
}
html body .sc-float-home-mark{
 display:inline-block;
 width:17px;
 height:17px;
 object-fit:contain;
 flex:0 0 17px;
 filter:none;
}
/* Actual event cards for plays, concerts, dance and comedy. */
html body .sc-stage-directory .sc-stage-summary{
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 gap:6px 14px;
 padding:13px 17px;
 border:1px solid #c3dec9;
 border-radius:12px;
 background:rgba(251,255,250,.87);
 color:#1b6046;
 margin:10px 0 18px;
}
html body .sc-stage-directory .sc-stage-summary strong{font-size:14px}
html body .sc-stage-directory .sc-stage-summary span{font-size:11px;color:#597863}
html body .sc-stage-shows{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:13px;
}
html body .sc-stage-show{
 position:relative;
 overflow:hidden;
 display:flex;
 flex-direction:column;
 padding:16px;
 min-width:0;
 border:1px solid #c3ddcc;
 border-radius:15px;
 background:linear-gradient(135deg,#fffefa,#f4faf4);
 box-shadow:0 5px 15px rgba(27,81,48,.10);
}
html body .sc-stage-show::after{
 content:"";
 width:48px;height:48px;
 background:url('https://salishcurrent.live/api/brand-logo.svg') center/contain no-repeat;
 position:absolute;
 bottom:13px;right:13px;
 opacity:.10;filter:brightness(0);pointer-events:none;
}
html body .sc-stage-show-heading{display:flex;align-items:flex-start;gap:12px}
html body .sc-stage-date{
 display:flex;flex-direction:column;align-items:center;justify-content:center;
 flex:0 0 47px;min-height:57px;
 background:#e9f5eb;border-radius:10px;color:#1e6149;
}
html body .sc-stage-date small{font-size:10px;font-weight:800;text-transform:uppercase}
html body .sc-stage-date strong{font-size:23px;line-height:1.05}
html body .sc-stage-show-info{min-width:0}
html body .sc-stage-type{font-size:10px;text-transform:uppercase;letter-spacing:.055em;color:#4a8366;font-weight:850}
html body .sc-stage-show h3{font-size:17px;line-height:1.32;color:#1a4b38;margin:6px 0}
html body .sc-stage-show-info>small{font-size:11px;line-height:1.45;color:#607667}
html body .sc-stage-show>p{font-size:12px;line-height:1.6;color:#587364;margin:12px 0 12px;flex:1}
html body .sc-stage-detail-button,html body .sc-stage-more{
 align-self:flex-start;
 display:inline-flex;align-items:center;justify-content:center;
 font-size:11px;font-weight:850;line-height:1.3;
 color:#1a5e44;background:#e4f2e7;border:1px solid #b6d5c0;
 border-radius:9px;padding:9px 12px;cursor:pointer;
 position:relative;z-index:1;
}
html body .sc-stage-detail-button:hover,html body .sc-stage-more:hover{background:#d4ebda}
html body .sc-stage-show-expanded{
 padding:12px;
 margin:14px -2px 0;
 background:#edf7ed;
 border:1px solid #c0dbc7;
 border-radius:10px;
 position:relative;z-index:2;
}
html body .sc-stage-show-expanded>strong{color:#164c35;font-size:12px}
html body .sc-stage-show-expanded p{font-size:11px;line-height:1.55;color:#486b54;margin:8px 0}
html body .sc-stage-show-expanded a{font-size:11px;font-weight:850;color:#176347;text-decoration:underline}
html body .sc-stage-more{display:flex;margin:18px auto}
html body .sc-stage-venue-drawer{
 border:1px solid #cae0cf;border-radius:12px;background:rgba(252,255,249,.8);
 margin:19px 0 0;padding:0 16px 13px;
}
html body .sc-stage-venue-drawer summary{
 cursor:pointer;font-weight:800;font-size:12px;
 color:#235f47;padding:13px 0;
}
html body .sc-stage-venue-drawer>p{font-size:11px;color:#617767}
@media(max-width:900px){
 html body .sc-stage-shows{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
 html body .sc-stage-shows{grid-template-columns:1fr}
 html body .sc-stage-show{padding:13px}
 html body .sc-calendar-event-item>.evcard{padding:13px;grid-template-columns:48px minmax(0,1fr)!important;gap:11px!important}
 html body .sc-calendar-event-item>.evcard::after{width:34px;height:34px;left:14px;bottom:13px}
 html body .sc-calendar-event-item .evbody .button{font-size:11px!important;min-height:34px!important}
}
