/* Uses currentColor / transparency so it works in Archie's light and dark modes */
.events-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.event-item { display: flex; gap: 1rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid rgba(128,128,128,.25); }
.event-date { display: flex; flex-direction: column; align-items: center; min-width: 3.2rem; padding: .3rem .4rem; }
.event-day { font-size: 1.3rem; font-weight: bold; }
.event-month { font-size: .75rem; text-transform: uppercase; }
.event-title { font-weight: bold; }
.events-empty { opacity: .7; }
.event-info { margin-left: 1em; }

.cal-head { display: flex; gap: .5rem; align-items: center; margin-bottom: .5rem; }
.cal-head strong { flex: 1; text-transform: capitalize; }
.cal-head button { background: none; color: inherit; border: 1px solid currentColor; border-radius: 4px; padding: .1rem .6rem; cursor: pointer; font: inherit; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.cal-dow { text-align: center; font-size: .8rem; opacity: .7; text-transform: capitalize; }
.cal-day { min-height: 4.5rem; padding: .2rem; font-size: .75rem; border: 1px solid rgba(128,128,128,.25); overflow: hidden; }
.cal-empty { border-color: transparent; }
.cal-today { outline: 2px solid currentColor; }
.cal-num { display: block; opacity: .7; }
.cal-event { display: block; margin-top: 2px; padding: 1px 3px; border-radius: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: rgba(128,128,128,.25); text-decoration: none; }
@media (max-width: 600px) { .cal-day { min-height: 3rem; } .cal-event { font-size: .65rem; } }
