/* Public styling is completely scoped: no changes to the rest of the site. */
.mks-sh {
  --mks-burgundy: #671f35;
  --mks-burgundy-dark: #4a1226;
  --mks-gold: #dbae35;
  --mks-ink: #24242a;
  --mks-muted: #62636c;
  --mks-line: #e9e4e6;
  font: inherit;
  color: var(--mks-ink);
  background: #fff;
  border: 1px solid var(--mks-line);
  border-radius: 18px;
  box-sizing: border-box;
  padding: clamp(19px, 4vw, 38px);
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  box-shadow: 0 8px 26px rgba(38, 24, 30, 0.035);
}
.mks-sh *, .mks-sh *::before, .mks-sh *::after { box-sizing: border-box; }
.mks-sh__heading { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px 24px; }
.mks-sh__eyebrow { color: var(--mks-burgundy); font-size: 12px; font-weight: 800; line-height: 1.3; letter-spacing: 0.15em; margin-bottom: 8px; }
.mks-sh .mks-sh__title { font-size: clamp(25px, 3.6vw, 35px); line-height: 1.18; letter-spacing: -0.025em; color: var(--mks-ink); margin: 0 0 8px; padding: 0; font-weight: 760; }
.mks-sh__subtitle { color: var(--mks-muted); margin: 0; font-size: 15px; line-height: 1.55; }
.mks-sh__date { display: inline-flex; align-items: center; gap: 9px; background: #f9f5ed; color: #514223; border: 1px solid #f1e5c8; font-size: 13px; border-radius: 999px; padding: 10px 13px; white-space: nowrap; line-height: 1.2; }
.mks-sh__date strong { color: #47341a; font-weight: 750; }
.mks-sh__date-dot { background: var(--mks-gold); border-radius: 50%; width: 8px; height: 8px; flex: 0 0 auto; }
.mks-sh__picker { margin-top: 28px; padding: 19px; background: #faf9f9; border: 1px solid #eee9eb; border-radius: 12px; }
.mks-sh .mks-sh__label { display: block; font-size: 14px; font-weight: 700; color: var(--mks-ink); line-height: 1.4; margin-bottom: 9px; }
.mks-sh .mks-sh__select { display: block; width: 100%; min-height: 49px; padding: 10px 15px; background: #fff; color: #26262a; border: 1px solid #cfc7ca; border-radius: 9px; font: inherit; font-size: 16px; line-height: 1.3; cursor: pointer; box-shadow: none; }
.mks-sh .mks-sh__select:focus-visible, .mks-sh .mks-sh__map-link:focus-visible, .mks-sh .mks-sh__details summary:focus-visible { outline: 3px solid #b87f22; outline-offset: 3px; }
.mks-sh__helper { font-size: 12px; line-height: 1.4; color: var(--mks-muted); margin-top: 8px; }
.mks-sh__placeholder { margin-top: 21px; min-height: 160px; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 12px; text-align: center; color: var(--mks-muted); font-size: 15px; line-height: 1.5; border: 1px dashed #ded7da; border-radius: 12px; padding: 24px; }
.mks-sh__placeholder-icon { color: #a6969e; font-size: 27px; }
.mks-sh__group-panel { margin-top: 25px; }
.mks-sh__group-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid #e8e0e3; margin-bottom: 17px; }
.mks-sh .mks-sh__group-head h3 { margin: 0; color: var(--mks-ink); font-size: clamp(18px, 2.2vw, 22px); line-height: 1.25; font-weight: 760; }
.mks-sh__count { background: #f3ecef; color: var(--mks-burgundy); font-size: 12px; font-weight: 750; border-radius: 99px; padding: 6px 11px; }
.mks-sh__shared-note { margin: -5px 0 15px; color: #62636c; font-size: 13px; line-height: 1.5; }
.mks-sh__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 13px; align-items: stretch; }
.mks-sh__card { border: 1px solid #e4dddf; border-radius: 12px; background: #fff; padding: 18px; min-width: 0; box-shadow: 0 3px 9px rgba(28,15,21,.025); }
.mks-sh__card::before { content: ''; display: block; height: 3px; width: 47px; background: var(--mks-gold); border-radius: 3px; margin-bottom: 16px; }
.mks-sh__card-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 13px; }
.mks-sh__day { color: var(--mks-burgundy); font-weight: 800; font-size: 14px; }
.mks-sh__hours { color: var(--mks-ink); font-size: 16px; font-weight: 770; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mks-sh__venue { font-size: 15px; font-weight: 680; color: var(--mks-ink); margin-bottom: 17px; min-height: 24px; line-height: 1.45; }
.mks-sh__details { border-top: 1px solid #f0ecee; padding-top: 11px; }
.mks-sh__details summary { display: flex; align-items: center; color: var(--mks-burgundy); font-size: 13px; font-weight: 740; list-style: none; cursor: pointer; gap: 7px; line-height: 1.45; }
.mks-sh__details summary::-webkit-details-marker { display: none; }
.mks-sh__pin { font-size: 16px; line-height: 1; }
.mks-sh__chevron { margin-left: auto; font-size: 23px; line-height: 1; transform: translateY(-2px); transition: transform .12s; }
.mks-sh__details[open] .mks-sh__chevron { transform: rotate(180deg) translateY(2px); }
.mks-sh__details-body { padding: 14px 0 2px; }
.mks-sh__details-body p { margin: 0 0 10px; font-size: 13px; color: #4d4b50; line-height: 1.5; }
.mks-sh__details-body .mks-sh__hint { color: var(--mks-muted); }
.mks-sh .mks-sh__map-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #fff; background: var(--mks-burgundy); border-radius: 8px; padding: 10px 13px; font-size: 13px; font-weight: 720; line-height: 1.25; text-decoration: none; border: none; }
.mks-sh .mks-sh__map-link:hover { color: #fff; background: var(--mks-burgundy-dark); text-decoration: none; }
.mks-sh [hidden] { display: none !important; }
@media (max-width: 600px) {
  .mks-sh { border-radius: 12px; padding: 18px 15px; }
  .mks-sh__date { white-space: normal; }
  .mks-sh__picker { margin-top: 18px; padding: 14px; }
  .mks-sh__group-head { align-items: flex-start; }
  .mks-sh__grid { grid-template-columns: 1fr; }
  .mks-sh__card { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { .mks-sh__chevron { transition: none; } }

/* Dodatkowy kontakt tylko pod harmonogramem wybranej grupy */
.mks-sh__trainer { margin-top: 18px; border: 1px solid #e4dddf; border-radius: 11px; background: #faf8f9; overflow: hidden; }
.mks-sh__trainer summary { cursor: pointer; display: flex; gap: 10px; align-items: center; padding: 15px 17px; font-size: 14px; font-weight: 760; color: var(--mks-burgundy); list-style: none; }
.mks-sh__trainer summary::-webkit-details-marker { display: none; }
.mks-sh__trainer summary:focus-visible { outline: 3px solid #b87f22; outline-offset: -3px; }
.mks-sh__trainer[open] .mks-sh__chevron { transform: rotate(180deg) translateY(2px); }
.mks-sh__trainer-body { display: flex; justify-content: space-between; gap: 12px 24px; align-items: center; flex-wrap: wrap; padding: 0 17px 17px; }
.mks-sh__trainer-name { font-size: 14px; color: var(--mks-ink); font-weight: 650; }
.mks-sh .mks-sh__trainer-phone { display: inline-flex; padding: 9px 12px; background: var(--mks-burgundy); color: #fff; border-radius: 8px; font-size: 14px; text-decoration: none; font-weight: 700; }
.mks-sh .mks-sh__trainer-phone:hover { background: var(--mks-burgundy-dark); color: #fff; text-decoration: none; }
.mks-sh .mks-sh__trainer-phone:focus-visible { outline: 3px solid #b87f22; outline-offset: 3px; }
