/* Szeroki grafik inspirowany kartami z wersji facebookowej. */
.schedule-page .schedule-embed-section h1 span { display: inline; color: var(--pink); }
.schedule-page .schedule-signoff {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
  font-size: 0.85rem;
  font-weight: 600;
}
.schedule-page .schedule-signoff strong { color: var(--pink); }
@media (min-width: 921px) {
  .schedule-page .schedule-embed-section {
    width: min(1640px, calc(100% - 64px));
    padding-top: 132px;
    padding-bottom: 48px;
  }
  .schedule-page .schedule-embed-section h1 {
    max-width: none;
    margin-bottom: 28px;
    font-size: clamp(2.5rem, 3.5vw, 3.75rem);
    letter-spacing: -0.045em;
  }
  .schedule-page .current-schedule {
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .schedule-page .schedule-toolbar {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    max-width: 620px;
    margin: 0 auto 26px;
  }
  .schedule-page .schedule-toolbar span { display: none; }
  .schedule-page .schedule-toolbar strong { font-size: 1rem; }
  .schedule-page .schedule-toolbar button { background: var(--charcoal); }
  :is(.schedule-page, .home-bestrong) .schedule-week-grid { gap: 14px; margin-top: 24px; }
  :is(.schedule-page, .home-bestrong) .schedule-day {
    min-height: 410px;
    padding: clamp(14px, 1.25vw, 24px);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3));
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 30px 8px 30px 8px;
    box-shadow: 0 16px 36px rgba(84, 48, 68, 0.07);
  }
  :is(.schedule-page, .home-bestrong) .schedule-day.is-today {
    background: linear-gradient(140deg, #F3D4E3, #EBCBDA);
  }
  :is(.schedule-page, .home-bestrong) .schedule-day.is-today .schedule-day-heading,
  :is(.schedule-page, .home-bestrong) .schedule-day-heading {
    margin: 0 0 26px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }
  :is(.schedule-page, .home-bestrong) .schedule-day-heading strong {
    overflow: visible;
    font-size: clamp(0.9rem, 1.1vw, 1.2rem);
    font-weight: 600;
    letter-spacing: -0.03em;
  }
  :is(.schedule-page, .home-bestrong) .schedule-day-heading span { color: var(--muted); font-size: 0.8rem; }
  :is(.schedule-page, .home-bestrong) .schedule-event {
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
  }
  :is(.schedule-page, .home-bestrong) .schedule-event + .schedule-event { margin-top: 20px; }
  :is(.schedule-page, .home-bestrong) .schedule-event-time { font-size: clamp(1.5rem, 1.7vw, 1.9rem); line-height: 1.1; }
  :is(.schedule-page, .home-bestrong) .schedule-event h3 { margin: 5px 0 8px; font-size: 0.94rem; line-height: 1.25; }
  :is(.schedule-page, .home-bestrong) .schedule-event > p { margin: 0 0 8px; font-size: 0.73rem; }
  :is(.schedule-page, .home-bestrong) .schedule-event-meta { gap: 2px; font-size: 0.7rem; }
  :is(.schedule-page, .home-bestrong) .schedule-event-meta a { display: flex; align-items: center; min-height: 32px; }
  :is(.schedule-page, .home-bestrong) .schedule-empty { margin: 0; }
  .schedule-page .schedule-source { margin-top: 24px; }
  html[data-theme="dark"] :is(.schedule-page, .home-bestrong) .schedule-day {
    background: linear-gradient(140deg, #30242D, #241C23);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  }
  html[data-theme="dark"] :is(.schedule-page, .home-bestrong) .schedule-day.is-today { background: linear-gradient(140deg, #553347, #392536); }
  html[data-theme="dark"] :is(.schedule-page, .home-bestrong) .schedule-day.is-today .schedule-day-heading,
  html[data-theme="dark"] :is(.schedule-page, .home-bestrong) .schedule-day-heading,
  html[data-theme="dark"] :is(.schedule-page, .home-bestrong) .schedule-event { background: transparent; }
}
@media (min-width: 921px) and (max-width: 1199px) {
  :is(.schedule-page, .home-bestrong) .schedule-week-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  :is(.schedule-page, .home-bestrong) .schedule-day { min-height: 0; }
}
@media (max-width: 920px) {
  .schedule-page .schedule-signoff { font-size: 0.75rem; }
}

/* Na pierwszy rzut oka: dzień, godzina, nazwa. Reszta po rozwinięciu. */
.schedule-page .schedule-help {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}
:is(.schedule-page, .home-bestrong) .schedule-day { min-height: 0; }
:is(.schedule-page, .home-bestrong) .schedule-event summary {
  position: relative;
  display: block;
  min-height: 44px;
  padding: 4px 0;
  list-style: none;
  cursor: pointer;
  border-radius: 6px;
}
:is(.schedule-page, .home-bestrong) .schedule-event summary::-webkit-details-marker { display: none; }
:is(.schedule-page, .home-bestrong) .schedule-event summary::marker { content: ""; }
:is(.schedule-page, .home-bestrong) .schedule-event summary:focus-visible { outline: 2px solid var(--pink); outline-offset: 5px; }
:is(.schedule-page, .home-bestrong) .schedule-event summary:hover .schedule-event-action { color: var(--pink); }
:is(.schedule-page, .home-bestrong) .schedule-event-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
}
:is(.schedule-page, .home-bestrong) .schedule-event-action::after { content: "+"; font-size: 1.15rem; line-height: 1; color: var(--pink); }
:is(.schedule-page, .home-bestrong) .schedule-event[open] .schedule-event-action::after { content: "−"; }
:is(.schedule-page, .home-bestrong) .schedule-event[open] > p { margin-top: 10px; }
:is(.schedule-page, .home-bestrong) .schedule-event-meta a {
  justify-content: center;
  min-height: 40px;
  margin-top: 6px;
  padding: 6px;
  color: #24171D;
  background: #F7B4D4;
  border-radius: 6px;
  text-align: center;
}
:is(.schedule-page, .home-bestrong) .schedule-event-meta a:hover { background: #F49DC6; }
@media (min-width: 921px) {
  :is(.schedule-page, .home-bestrong) .schedule-week-grid { align-items: stretch; }
  :is(.schedule-page, .home-bestrong) .schedule-day { min-height: 350px; }
  :is(.schedule-page, .home-bestrong) .schedule-day-heading { margin-bottom: 20px; }
  :is(.schedule-page, .home-bestrong) .schedule-event + .schedule-event { margin-top: 16px; }
  :is(.schedule-page, .home-bestrong) .schedule-event h3 { margin: 4px 0; }
  :is(.schedule-page, .home-bestrong) .schedule-event-time { font-size: 1.75rem; }
  :is(.schedule-page, .home-bestrong) .schedule-day.is-today .schedule-day-heading { margin-bottom: 20px; }
}
@media (max-width: 920px) {
  :is(.schedule-page, .home-bestrong) .schedule-week-grid { align-items: start; }
  :is(.schedule-page, .home-bestrong) .schedule-event { padding: 8px 6px; background: transparent; }
  :is(.schedule-page, .home-bestrong) .schedule-event + .schedule-event { margin-top: 6px; }
  :is(.schedule-page, .home-bestrong) .schedule-event-time { font-size: 1.4rem; }
  :is(.schedule-page, .home-bestrong) .schedule-event h3 { margin: 5px 0; }
  :is(.schedule-page, .home-bestrong) .schedule-event-action { font-size: 0.65rem; }
  .schedule-page .schedule-help { font-size: 0.75rem; }
  :is(.schedule-page, .home-bestrong) .schedule-event-meta a { display: flex; min-height: 44px; }
}


/* Dzisiejszy dzień jest aktywny: biała karta z różową obwódką. */
:is(.schedule-page, .home-bestrong) .schedule-day.is-today,
html[data-theme="dark"] :is(.schedule-page, .home-bestrong) .schedule-day.is-today {
  --ink: #24171D;
  --muted: #6F6066;
  --pink: #E45A9B;
  --charcoal: #FFFFFF;
  background: #FFFFFF;
  border: 2px solid #E45A9B !important;
  box-shadow: 0 8px 24px rgba(228, 90, 155, 0.12);
}
:is(.schedule-page, .home-bestrong) .schedule-day.is-today .schedule-day-heading,
html[data-theme="dark"] :is(.schedule-page, .home-bestrong) .schedule-day.is-today .schedule-day-heading {
  background: transparent;
  box-shadow: none;
}
:is(.schedule-page, .home-bestrong) .schedule-day.is-today .schedule-event,
html[data-theme="dark"] :is(.schedule-page, .home-bestrong) .schedule-day.is-today .schedule-event { background: transparent; }
