/* /calendar/ (v6 layout, all-blue palette): filters, month grid with multi-day bars, list view. */
.page-hero .section-title em { font-style: italic; color: var(--text-mid); }
.cal-block { padding-block: 8px 96px; }
.cal-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 16px; align-items: end; }
.cal-f { display: flex; flex-direction: column; gap: 6px; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mid); }
.cal-f select {
  font: inherit; font-size: 15px; color: var(--text); background: var(--surface);
  border: 0.5px solid var(--border-strong); padding: 11px 12px; border-radius: 0; letter-spacing: 0; text-transform: none;
}
.cal-f select:focus { outline: 1px solid var(--brand-deep); }
.cal-actions { min-height: 44px; justify-content: center; }
.cal-clear { color: var(--brand-deep); text-transform: none; letter-spacing: 0; font-size: 14px; }

.cal-bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 36px 0 14px; flex-wrap: wrap; }
.cal-nav { display: flex; align-items: center; gap: 20px; }
.cal-nav h2 { margin: 0; min-width: 240px; text-align: center; font-family: 'EB Garamond', Georgia, serif; font-weight: 400; font-size: 34px; color: var(--text); }
.cal-nav h2.cal-upcoming { min-width: 0; text-align: left; }
.cal-arrow {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 0.5px solid var(--border-strong); color: var(--text); text-decoration: none; font-size: 18px; transition: background 0.2s, color 0.2s;
}
.cal-arrow:hover { background: var(--brand-deep); color: #fff; }
.cal-arrow.is-off { opacity: 0.35; }
.cal-view { display: flex; gap: 8px; }
.cal-chip {
  font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 9px 18px; border: 0.5px solid var(--border-strong); color: var(--text-mid); text-decoration: none;
}
.cal-chip.is-on { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }

/* Journey colours: one blue family, light to deep. Light fills carry --text, deep fills white. */
.stage-foundational { --stage: var(--brand-tint); --stage-ink: var(--text); }
.stage-advanced { --stage: var(--brand-active); --stage-ink: var(--text); }
.stage-mastery { --stage: var(--brand-deep); --stage-ink: #fff; }
.stage-retreats { --stage: var(--text); --stage-ink: #fff; }
.stage-other { --stage: var(--surface); --stage-ink: var(--text); }

.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--text-mid); margin-bottom: 20px; }
.cal-legend span { display: inline-flex; align-items: center; gap: 8px; }
.cal-legend i, .cal-j i { width: 12px; height: 12px; display: block; background: var(--stage); border: 0.5px solid var(--border-strong); }

.cal-head {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); font-size: 11.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-mid); border: 0.5px solid var(--border); border-bottom: 0; background: var(--brand-tint);
}
.cal-head div { padding: 10px 12px; }
.cal-grid { border: 0.5px solid var(--border); border-top: 0; background: var(--surface); }
.cal-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 0.5px solid var(--border); position: relative; }
.cal-day {
  border-right: 0.5px solid var(--border); padding: 6px 10px; position: relative; min-height: 56px;
  font-family: 'EB Garamond', Georgia, serif; font-variant-numeric: lining-nums; font-size: 17px; color: var(--text);
}
.cal-day:nth-child(7) { border-right: 0; }
.cal-day.out { color: var(--text-soft); background: rgba(30,42,58,0.025); }
.cal-day.today span { background: var(--brand-deep); color: #fff; padding: 1px 7px; border-radius: 10px; }
.cal-ev {
  position: relative; z-index: 1; margin: 0 4px; padding: 0 8px; font-size: 13.5px; line-height: 24px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; text-decoration: none; display: block;
  background: var(--stage); color: var(--stage-ink); border: 1px solid var(--stage);
}
.cal-ev.stage-other { border-color: var(--border-strong); }
.cal-ev:hover, .cal-ev:focus-visible { filter: brightness(0.94); }
.cal-empty { margin-top: 24px; color: var(--text-mid); }

.cal-mh { font-family: 'EB Garamond', Georgia, serif; font-size: 30px; font-weight: 400; margin: 36px 0 8px; color: var(--text); }
.cal-list { border-top: 0.5px solid var(--border); }
.cal-row {
  display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 18px 0;
  border-bottom: 0.5px solid var(--border); text-decoration: none; color: var(--text);
}
.cal-row:hover .cal-t { color: var(--brand-deep); }
.cal-d { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mid); }
.cal-t { font-family: 'EB Garamond', Georgia, serif; font-size: 24px; line-height: 1.2; transition: color 0.2s; }
.cal-m { font-size: 14px; color: var(--text-mid); margin-top: 2px; }
.cal-j { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mid); }

@media (max-width: 1024px) {
  .cal-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cal-row { grid-template-columns: 1fr; gap: 4px; }
  .cal-nav h2 { min-width: 0; font-size: 26px; }
  .cal-day { min-height: 48px; padding: 4px 6px; font-size: 14px; }
  .cal-ev { font-size: 11.5px; padding: 0 4px; margin: 0 2px; }
}
