/* Storytellers Events — uses the theme's tokens when available. */
.st-events-head{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;justify-content:space-between;margin:0 0 16px}
.st-view{display:flex;gap:6px}
.st-events .event-list,.st-events .grid{margin-bottom:8px}
.st-event.is-special{border-left:5px solid var(--hop,#ED9F33)}
.st-pills{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.pill.st-special{background:var(--hop,#ED9F33);color:#2D272D}
.st-subscribe{margin:22px 0 0;display:flex;flex-wrap:wrap;gap:6px 10px;align-items:baseline}
.st-past{margin-top:28px}
.st-past .event-list{margin-top:14px}
.st-add{margin:6px 0}
.st-more ul{list-style:none;padding:0!important;margin:8px 0 0;display:grid;gap:6px}
.st-more h2{font-family:var(--f-mono,ui-monospace,monospace);font-weight:400}

/* Month calendar */
.st-cal-head{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center;margin-bottom:12px}
.st-cal-head>:first-child{justify-self:start}
.st-cal-head>:last-child{justify-self:end}
.st-cal-title{margin:0;font-size:1.4rem;text-align:center}
.st-cal-grid{width:100%;border-collapse:collapse;table-layout:fixed}
.st-cal-grid th{font-family:var(--f-mono,ui-monospace,monospace);font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted,#575757);font-weight:400;padding:6px;text-align:left;border-bottom:1px solid var(--line,#E6D4B6)}
.st-cal-grid th abbr{text-decoration:none}
.st-cal-grid td{vertical-align:top;height:7.5em;padding:6px;border:1px solid var(--line,#E6D4B6);background:var(--surface,#FFF9EE)}
.st-cal-grid td.is-pad{background:transparent;border-color:transparent}
.st-cal-grid td.is-past{background:transparent}
.st-cal-grid td.is-past .st-cal-day{color:var(--muted,#575757);font-weight:400}
.st-cal-grid td.is-past li a{background:transparent;border:1px dashed var(--line,#E6D4B6)}
.st-cal-grid td.is-today{outline:3px solid var(--hop,#ED9F33);outline-offset:-3px}
.st-cal-day{font-weight:700;display:block;margin-bottom:4px}
.st-cal-full{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.st-cal-grid ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.st-cal-grid li a{display:block;font-size:.88rem;line-height:1.25;text-decoration:none;padding:3px 5px;border-radius:4px;background:var(--soft,#F4E5CB)}
.st-cal-grid li a:hover{text-decoration:underline}
.st-cal-grid li.is-special a{background:var(--hop,#ED9F33);color:#2D272D}
.st-cal-time{font-family:var(--f-mono,ui-monospace,monospace);font-size:.74rem}

/* Phones: list of days that have events */
@media (max-width:640px){
  .st-cal-grid,.st-cal-grid tbody,.st-cal-grid tr,.st-cal-grid td{display:block;width:auto;height:auto}
  .st-cal-grid thead,.st-cal-grid td.is-pad,.st-cal-grid td.is-empty{display:none}
  .st-cal-grid td{margin-bottom:8px;border-radius:8px;padding:10px 12px}
  .st-cal-day [aria-hidden]{display:none}
  .st-cal-full{position:static;width:auto;height:auto;overflow:visible;clip-path:none}
  .st-cal-grid li a{font-size:1rem;padding:8px 10px}
  .st-cal-head{grid-template-columns:1fr 1fr}
  .st-cal-title{grid-column:1/-1;grid-row:1}
}
