/* Month calendar in OZEKA style: the head like the member card (gradient, cream logo), cream day names, calm day cells.
   Used on the site (kalender.html) and in the portal (Kalender, Mijn kalender). */
.mc { --mc-navy: var(--deep, #04162e); --mc-cream: var(--cream, #efe9dd); --mc-line: #dde3ea;
  background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 1px 2px rgba(4,22,46,.06), 0 14px 34px -18px rgba(4,22,46,.35); color: var(--mc-navy); }
/* Head like a brand book page: navy with a highlight behind the logo, running into highlight #0086c0
   on the right, the title in the site's title font and the brand book wave in cream at the bottom. */
.mc-head { position: relative; isolation: isolate; display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap;
  padding: 20px 24px calc(20px + var(--mc-wave)); --mc-wave: clamp(14px, 2vw, 26px);
  background:
    radial-gradient(42% 150% at 11% 42%, rgba(0, 134, 192, .5) 0%, rgba(0, 134, 192, 0) 72%),
    linear-gradient(100deg, #0e2031 0%, #0e2031 32%, #0b4b74 72%, #0086c0 100%); }
.mc-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: var(--mc-wave); z-index: -1; pointer-events: none;
  background: var(--mc-cream);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 6C200 4 330 34 600 36C860 38 960 4 1180 4C1300 4 1380 22 1440 30V48H0Z'/%3E%3C/svg%3E") no-repeat 0 100% / 100% 100%;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 6C200 4 330 34 600 36C860 38 960 4 1180 4C1300 4 1380 22 1440 30V48H0Z'/%3E%3C/svg%3E") no-repeat 0 100% / 100% 100%; }
.mc-head img { height: 42px; width: auto; }
.mc-head h2 { margin: 0 0 0 auto; color: var(--mc-cream); font-family: var(--font-title, "Lilita One", "Montserrat", sans-serif); font-weight: 400; font-size: clamp(32px, 4.4vw, 54px); line-height: 1; letter-spacing: .015em; text-transform: uppercase; }
.mc-label { color: var(--mc-cream); border: 1.5px solid rgba(239,233,221,.55); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.mc-label:empty { display: none; }
.mc-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.mc-head-row { background: var(--mc-cream); }
.mc-day-name { padding: 9px 10px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-short, .mc-day-short { display: none; }
.mc-day { min-height: 118px; padding: 8px 9px 10px; border-top: 1px solid var(--mc-line); border-left: 1px solid var(--mc-line); min-width: 0; }
.mc-day:first-child { border-left: 0; }
.mc-weekend { background: #faf8f4; }
.mc-outside { background: #fbfbfc; }
.mc-outside > * { opacity: .38; }
.mc-no { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 4px; margin: -2px 0 4px -3px; border-radius: 999px; font-family: var(--display, "Big Shoulders Display", sans-serif); font-weight: 800; font-size: 21px; line-height: 1; }
.mc-today .mc-no { background: var(--yellow, #ffd23f); }
.mc-day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mc-item { font-size: 12.5px; line-height: 1.3; overflow-wrap: anywhere; margin: 0; }
.mc-day ul { max-width: none; }
.mc-item a { font-weight: inherit; }
.mc-item a { color: inherit; text-decoration: none; }
.mc-item a:hover { text-decoration: underline; }
.mc-item b { font-weight: 800; }
.mc-item i { font-style: normal; font-weight: 700; }
.mc-training { color: var(--mc-navy); }
.mc-meet { background: var(--yellow, #ffd23f); border-radius: 6px; padding: 3px 7px; font-weight: 700; }
.mc-activity { color: var(--blue, #1d5fd1); font-weight: 700; }
.mc-deadline { color: #c62f2f; font-weight: 700; }
.mc-none { color: #5d6b80; background: #eef1f5; border-radius: 6px; padding: 3px 7px; }
.mc-item[hidden], .mc-day ul:empty { display: none; }

@media (max-width: 760px) {
  /* on a phone: a list of the days on which something happens */
  .mc-head { padding: 14px 16px calc(14px + var(--mc-wave)); }
  .mc-head img { height: 30px; }
  .mc-week.mc-head-row { display: none; }
  .mc-week { display: block; }
  .mc-day { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 2px 10px; min-height: 0; border-left: 0; padding: 10px 14px; }
  .mc-outside, .mc-day.mc-empty { display: none; }
  .mc-no { margin: 0; justify-content: start; font-size: 18px; }
  .mc-day-short { display: inline; font-family: var(--body, sans-serif); font-weight: 700; font-size: 12px; text-transform: uppercase; margin-right: 3px; }
  .mc-item { font-size: 14px; }
}
@media print {
  .mc { box-shadow: none; border: 1px solid #ccd; }
  .mc-head { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* controls on the site */
.mc-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 18px; }
.mc-controls .tabs { margin: 0; }
.mc-nav { display: flex; align-items: center; gap: 8px; }
.mc-nav select { min-height: 44px; padding: 8px 12px; border: 1.5px solid #d3e3ee; border-radius: 10px; font: inherit; font-weight: 700; background: #fff; color: #04162e; }
.mc-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid #d3e3ee; background: #fff; color: #04162e; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 4px; }
.mc-arrow:hover { background: #04162e; color: #fff; border-color: #04162e; }
/* not the general max-width of paragraphs (64ch) here: the buttons in a row, the legend over the full width */
.mc-downloads { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; max-width: none; }
.mc-legend { color: var(--text-muted, #43597a); font-size: 14px; margin: 0 0 28px; max-width: none; }
.mc-page .mc[hidden] { display: none; }
