/* Makoto — year kalender shortcode (12-month grid). */
.makoto-kal { --kal-wedstrijd: #b5322b; --kal-event: #e97c1f; --kal-foys: #e97c1f; --kal-training: #2f8f5b; --kal-holiday: #5f6368; }

.makoto-kal__nav {
    display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin: 0 0 1.25rem;
}
.makoto-kal__year {
    font-family: var(--mk-font-display, "Anton", system-ui, sans-serif);
    font-size: clamp(1.8rem, 5vw, 2.75rem); color: var(--mk-charcoal, #161616);
}
.makoto-kal__navbtn {
    text-decoration: none; font-weight: 700; color: var(--mk-orange, #e97c1f);
    padding: .35rem .75rem; border-radius: 8px; border: 2px solid currentColor;
}
.makoto-kal__navbtn:hover { background: var(--mk-orange, #e97c1f); color: #fff; }

.makoto-kal__legend {
    list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem;
    justify-content: center; margin: 0 0 1.75rem; padding: 0;
}
.makoto-kal__key { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; color: var(--mk-grey, #5f6368); }
.makoto-kal__key::before { content: ""; width: .8rem; height: .8rem; border-radius: 3px; background: currentColor; }
.makoto-kal__key--wedstrijd { color: var(--kal-wedstrijd); }
.makoto-kal__key--event { color: var(--kal-event); }
.makoto-kal__key--foys { color: var(--kal-event); }
.makoto-kal__key--training { color: var(--kal-training); }
.makoto-kal__key--holiday { color: var(--kal-holiday); }

.makoto-kal__grid {
    display: grid; gap: 1.25rem;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.makoto-kal__month {
    border: 1px solid rgba(0, 0, 0, .1); border-radius: 12px; padding: .85rem;
    background: #fff;
}
.makoto-kal__mname {
    margin: 0 0 .5rem; font-size: 1rem; text-transform: uppercase; letter-spacing: .05em;
    color: var(--mk-charcoal, #161616);
}
.makoto-kal__week--head, .makoto-kal__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.makoto-kal__dow { text-align: center; font-size: .7rem; color: var(--mk-grey, #5f6368); padding: .2rem 0; }
.makoto-kal__day {
    aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
    font-size: .8rem; border-radius: 6px; color: var(--mk-charcoal, #161616);
    position: relative;
}
.makoto-kal__day--pad { visibility: hidden; }
.makoto-kal__day.is-today { outline: 2px solid var(--mk-orange, #e97c1f); }
.makoto-kal__day.is-event { font-weight: 700; cursor: help; color: #fff; }
.makoto-kal__day--training { background: var(--kal-training); }
.makoto-kal__day--holiday { background: var(--kal-holiday); }
.makoto-kal__day--foys { background: var(--kal-event); }
.makoto-kal__day--event { background: var(--kal-event); }
.makoto-kal__day--wedstrijd { background: var(--kal-wedstrijd); }
/* When a day has multiple types, wedstrijd/event win the fill; a dot hints at more. */
.makoto-kal__day--wedstrijd.makoto-kal__day--event::after,
.makoto-kal__day.is-event.makoto-kal__day--holiday.makoto-kal__day--foys::after {
    content: ""; position: absolute; bottom: 2px; right: 2px; width: 5px; height: 5px;
    border-radius: 50%; background: #fff;
}

.makoto-kal__list { margin: 2.5rem 0 0; }
.makoto-kal__list-head {
    font-family: var(--mk-font-display, "Anton", system-ui, sans-serif);
    text-transform: uppercase; letter-spacing: .02em; margin: 0 0 1rem;
}
.makoto-kal__list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.makoto-kal__item {
    display: grid; grid-template-columns: 8rem 1fr; gap: .75rem; align-items: baseline;
    padding: .5rem .75rem; border-radius: 8px; background: rgba(0, 0, 0, .03);
    border-left: 4px solid transparent;
}
.makoto-kal__item--wedstrijd { border-left-color: var(--kal-wedstrijd); }
.makoto-kal__item--event { border-left-color: var(--kal-event); }
.makoto-kal__item--foys { border-left-color: var(--kal-event); }
.makoto-kal__item--training { border-left-color: var(--kal-training); }
.makoto-kal__item--holiday { border-left-color: var(--kal-holiday); }
.makoto-kal__item-date { font-weight: 700; font-variant-numeric: tabular-nums; }
.makoto-kal__item-time { color: var(--mk-grey, #5f6368); }
.makoto-kal__item-loc { color: var(--mk-grey, #5f6368); }
.makoto-kal__empty { color: var(--mk-grey, #5f6368); font-style: italic; }

/* --- Single-month view --- */
.makoto-kal__mv { margin: 0 0 1.5rem; }
.makoto-kal__mv-head { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 4px; }
.makoto-kal__mv-head .makoto-kal__dow {
    text-align: center; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
    font-size: .75rem; color: var(--mk-charcoal, #161616);
}
.makoto-kal__mv-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.makoto-kal__mv-cell {
    min-height: 92px; border: 1px solid rgba(0, 0, 0, .1); border-radius: 8px; padding: .35rem;
    display: flex; flex-direction: column; gap: 3px; background: #fff;
}
.makoto-kal__mv-cell--pad { border: 0; background: transparent; }
.makoto-kal__mv-cell.is-today { outline: 2px solid var(--mk-orange, #e97c1f); }
.makoto-kal__mv-num { font-weight: 700; font-size: .8rem; color: var(--mk-grey, #5f6368); }
.makoto-kal__chip {
    display: block; font-size: .68rem; line-height: 1.25; color: #fff; border-radius: 4px;
    padding: 1px 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.makoto-kal__chip--wedstrijd { background: var(--kal-wedstrijd); }
.makoto-kal__chip--event { background: var(--kal-event); }
.makoto-kal__chip--foys { background: var(--kal-event); }
.makoto-kal__chip--training { background: var(--kal-training); }
.makoto-kal__chip--holiday { background: var(--kal-holiday); }

@media (max-width: 640px) {
    .makoto-kal__mv-cell { min-height: 64px; }
    .makoto-kal__mv-num { font-size: .72rem; }
    .makoto-kal__chip { font-size: 0; padding: 3px; }
    .makoto-kal__chip::before { content: ""; display: block; width: 100%; height: 4px; border-radius: 2px; background: currentColor; }
}

@media (max-width: 480px) {
    .makoto-kal__item { grid-template-columns: 1fr; }
}
