.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.schedule-hero { position: relative; overflow: hidden; padding: 32px 0 28px; }
.schedule-hero::after { content: ""; position: absolute; z-index: -1; top: -280px; right: -180px; width: 560px; height: 560px; border: 1px solid rgba(181, 122, 36, .16); border-radius: 50%; }
.schedule-hero__inner { max-width: 1180px; }
.schedule-hero__inner h1 { max-width: 760px; }
.schedule-hero__note { max-width: 920px; margin-top: 8px; color: var(--muted); }
.schedule-section { padding: 22px 0 36px; }
.schedule-filters { display: flex; gap: 10px; overflow-x: auto; padding: 3px 2px 12px; scrollbar-width: thin; }
.filter-button { flex: 0 0 auto; min-height: 44px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: rgba(255, 253, 250, .72); font-size: 14px; font-weight: 800; cursor: pointer; }
.filter-button:hover, .filter-button:focus-visible { background: #fff; }
.filter-button.is-active { border-color: var(--gold); color: #fff; background: linear-gradient(135deg, #c08a34, #a86b17); }
.year-navigation { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.year-button { min-width: 78px; min-height: 42px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--card); font-weight: 800; cursor: pointer; }
.year-button.is-active { border-color: rgba(181, 122, 36, .42); color: var(--gold); background: #f8ecd7; box-shadow: inset 0 -2px 0 var(--gold); }
.month-navigation { display: grid; grid-template-columns: repeat(12, minmax(68px, 1fr)); gap: 7px; margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 253, 250, .62); }
.month-button { min-height: 56px; display: grid; place-items: center; gap: 1px; padding: 7px 4px; border: 1px solid transparent; border-radius: 11px; color: var(--muted); background: transparent; font-size: 13px; font-weight: 800; cursor: pointer; }
.month-button span { font-size: 11px; font-weight: 400; }
.month-button.has-events { color: var(--ink); border-color: var(--line); background: #fff; }
.month-button.has-events:hover { border-color: var(--gold); }
.month-button:disabled { cursor: default; opacity: .55; }
.schedule-layout { display: block; margin-top: 18px; }
.schedule-main { min-width: 0; }
.schedule-help { position: sticky; top: calc(var(--header-height) + 22px); padding: 26px; border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: 22px; background: var(--card); box-shadow: 0 10px 30px rgba(54, 40, 23, .05); }
.schedule-help h2 { font-size: 29px; }
.schedule-help ol { display: grid; gap: 20px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: help; }
.schedule-help li { position: relative; display: grid; gap: 5px; padding-left: 36px; counter-increment: help; }
.schedule-help li::before { content: counter(help); position: absolute; top: 0; left: 0; display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; color: var(--gold); background: rgba(181, 122, 36, .11); font-size: 12px; font-weight: 800; }
.schedule-help strong { color: var(--ink); font-size: 15px; }
.schedule-help span { color: var(--muted); font-size: 14px; }
.schedule-state { padding: 32px; border: 1px dashed rgba(71, 52, 31, .25); border-radius: 20px; color: var(--muted); text-align: center; background: rgba(255, 253, 250, .55); }
.schedule-state--error { border-color: rgba(148, 55, 46, .25); color: #84352d; background: #fff1ef; }
.schedule-months { display: grid; gap: 18px; }
.month-group { scroll-margin-top: calc(var(--header-height) + 24px); }
.month-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 8px; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.month-heading h2 { font-size: 30px; }
.month-heading span { color: var(--muted); font-size: 14px; }
.events-grid { display: grid; gap: 9px; }
.event-card { display: grid; grid-template-columns: 220px minmax(0, 1fr) 185px; gap: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: 0 6px 18px rgba(54, 40, 23, .04); }
.event-date { padding-right: 12px; border-right: 1px solid var(--line); }
.event-date__text { display: block; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 22px; line-height: 1.08; white-space: nowrap; }
.event-date__year { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 700; }
.date-status { display: inline-flex; margin-top: 5px; padding: 3px 6px; border-radius: 999px; color: #5f554b; background: #ece7df; font-size: 10px; font-weight: 800; line-height: 1.2; }
.date-status--preliminary { color: #77521d; background: #f5e8cd; }
.date-status--tbd { color: #5b526d; background: #ebe6f3; }
.event-content { min-width: 0; }
.event-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; }
.event-tag { display: inline-flex; padding: 4px 8px; border-radius: 999px; color: #6e4b18; background: #f4e8cf; font-size: 10px; font-weight: 800; }
.event-tag--large { color: #365c6d; background: #e1edf1; }
.event-tag--psychology { color: #704760; background: #f1e3eb; }
.event-tag--thematic { color: #4e6640; background: #e7efdf; }
.event-format { color: var(--muted); background: #ece8e2; }
.event-content h3 { font-size: 22px; }
.event-subtitle { margin-top: 2px; color: var(--muted); font-size: 15px; }
.event-meta { display: flex; flex-wrap: wrap; gap: 5px 16px; margin-top: 5px; color: var(--muted); font-size: 13px; }
.event-meta span { position: relative; }
.event-meta span + span::before { content: "·"; position: absolute; left: -11px; color: var(--gold); }
.event-note { margin-top: 5px; color: var(--muted); font-size: 13px; }
.event-action { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 6px; }
.registration-status { align-self: flex-start; padding: 5px 8px; border-radius: 999px; color: #6a4b1b; background: #f4e8cf; font-size: 10px; font-weight: 800; }
.registration-status--open { color: #285838; background: #e4f1e7; }
.registration-status--full, .registration-status--cancelled { color: #84352d; background: #f8e4e1; }
.registration-status--completed { color: #585f64; background: #e6eaec; }
.event-action .btn { min-height: 40px; padding: 7px 10px; font-size: 14px; text-align: center; }
.registration-closed { min-height: 40px; display: grid; place-items: center; padding: 7px 12px; border-radius: 999px; color: #756d65; background: #e8e4df; font-size: 12px; font-weight: 800; line-height: 1.2; text-align: center; }
.past-events { margin-top: 24px; }
.past-toggle { min-height: 48px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--card); font-weight: 800; cursor: pointer; }
.past-list { display: grid; gap: 26px; margin-top: 24px; opacity: .82; }

@media (max-width: 1020px) {
  .month-navigation { display: flex; overflow-x: auto; }
  .month-button { flex: 0 0 72px; }
}

@media (max-width: 820px) {
  .event-card { grid-template-columns: 220px minmax(0, 1fr); }
  .event-action { grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 700px) {
  .schedule-hero { padding: 26px 0 22px; }
  .schedule-hero__note { margin-top: 7px; }
  .schedule-section { padding: 18px 0 30px; }
  .filter-button { min-height: 48px; font-size: 16px; }
  .schedule-layout { margin-top: 16px; }
  .schedule-months { gap: 15px; }
  .event-card { grid-template-columns: 1fr; gap: 9px; padding: 13px; }
  .event-date { padding: 0 0 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .event-date__text { font-size: 22px; }
  .event-content h3 { font-size: 21px; }
  .event-subtitle, .event-meta, .event-note { font-size: 15px; }
  .event-meta { display: grid; gap: 5px; }
  .event-meta span + span::before { display: none; }
  .event-action { grid-column: auto; display: grid; }
  .event-action .btn, .registration-closed { width: 100%; min-height: 44px; font-size: 16px; }
  .registration-status, .event-tag, .date-status { font-size: 13px; }
  .past-toggle { width: 100%; font-size: 18px; }
}
