/* Muttley Events – calendar, upcoming list, event page */
.mev-cal { --mev-accent: #2e6b3a; --mev-line: rgba(0,0,0,.12); --mev-soft: rgba(46,107,58,.08); margin: 0 0 1.5em; }
.mev-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 1em; margin-bottom: .75em; }
.mev-cal-title { margin: 0; font-size: 1.4em; }
.mev-cal-nav { display: inline-flex; align-items: center; justify-content: center; width: 2.4em; height: 2.4em; border: 1px solid var(--mev-line); border-radius: 50%; text-decoration: none; font-size: 1.1em; color: inherit; }
.mev-cal-nav:hover, .mev-cal-nav:focus { background: var(--mev-soft); }

.mev-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--mev-line); border-left: 1px solid var(--mev-line); }
.mev-cal-dow { padding: .45em .5em; font-size: .8em; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; border-right: 1px solid var(--mev-line); border-bottom: 1px solid var(--mev-line); background: var(--mev-soft); }
.mev-cal-day { min-height: 96px; padding: .35em .4em .5em; border-right: 1px solid var(--mev-line); border-bottom: 1px solid var(--mev-line); font-size: .85em; overflow: hidden; }
.mev-cal-day.is-blank { background: rgba(0,0,0,.025); }
.mev-cal-day.is-past .mev-cal-num { opacity: .45; }
.mev-cal-num { display: inline-block; min-width: 1.8em; height: 1.8em; line-height: 1.8em; text-align: center; border-radius: 50%; font-weight: 600; }
.mev-cal-day.is-today .mev-cal-num { background: var(--mev-accent); color: #fff; }
.mev-cal-ev { display: block; margin-top: .3em; padding: .25em .4em; border-radius: 4px; background: var(--mev-accent); color: #fff !important; text-decoration: none !important; line-height: 1.3; font-size: .95em; word-break: break-word; }
.mev-cal-ev:hover, .mev-cal-ev:focus { filter: brightness(1.15); }
.mev-cal-time { font-weight: 700; }
.mev-cal-list { display: none; }

@media (max-width: 700px) {
    .mev-cal-grid { display: none; }
    .mev-cal-list { display: block; }
}

.mev-list { list-style: none; margin: 0; padding: 0; }
.mev-list-item { display: flex; gap: .9em; align-items: flex-start; padding: .8em 0; border-bottom: 1px solid rgba(0,0,0,.1); }
.mev-list-item:last-child { border-bottom: 0; }
.mev-badge { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 3.6em; height: 3.6em; border-radius: 8px; background: #2e6b3a; color: #fff; line-height: 1; }
.mev-badge-m { font-size: .7em; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.mev-badge-d { font-size: 1.45em; font-weight: 800; margin-top: .1em; }
.mev-list-body { min-width: 0; }
.mev-list-title { font-weight: 700; font-size: 1.05em; text-decoration: none; }
.mev-list-meta, .mev-list-repeat { font-size: .9em; opacity: .8; margin-top: .15em; }
.mev-list-repeat { font-style: italic; }
.mev-list-excerpt { margin-top: .35em; font-size: .95em; }
.mev-empty { opacity: .75; }

.mev-event-box { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 1.5em; align-items: start; margin: 0 0 2em; }
.mev-event-box:not(:has(.mev-event-flyer)) { grid-template-columns: 1fr; }
@media (max-width: 700px) { .mev-event-box { grid-template-columns: 1fr; } }
.mev-event-flyer img { width: 100%; height: auto; border-radius: 8px; display: block; }
.mev-event-facts p { margin: 0 0 .8em; }
.mev-event-when { font-size: 1.15em; }
.mev-event-repeat { font-style: italic; }
.mev-event-button { display: inline-block; padding: .7em 1.4em; border-radius: 6px; background: #2e6b3a; color: #fff !important; font-weight: 700; text-decoration: none; }
.mev-event-button:hover, .mev-event-button:focus { filter: brightness(1.15); }
.mev-event-addcal, .mev-event-next, .mev-event-past { font-size: .92em; }
