/* Local event and weekly activities, using the portal's existing visual tokens. */
.sp-article:has(.sp-schedule),
.sp-article:has(.sp-local-event) { max-width: none; }

.sp-schedule-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem 1rem;
  margin-block: .4rem 1.25rem;
}
.sp-schedule-intro h2 { margin: 0 0 .25rem; }
.sp-schedule-intro p { margin: 0; }
.sp-schedule-intro .sp-tag { gap: .3rem; margin-top: .35rem; }
.sp-schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1rem;
  align-items: stretch;
}
.sp-schedule-day h3, .sp-schedule-help h3 {
  margin: 0;
  padding: .8rem 1rem;
  font-size: 1.13rem;
}
.sp-schedule-day h3 {
  background: var(--sp-green);
  color: #fff;
}
.sp-schedule-day table { width: 100%; border-collapse: collapse; }
.sp-schedule-day td { padding: .62rem .85rem; vertical-align: top; line-height: 1.4; }
.sp-schedule-day tr + tr td { border-top: 1px solid var(--sp-line); }
.sp-schedule-day td:first-child {
  width: 1%;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: var(--sp-green);
  background: #f1f4e9;
  font-weight: 650;
}
.sp-schedule-day small { display: block; color: var(--sp-muted); margin-top: .16rem; }
.sp-schedule-help { padding: 1rem; background: #f1f4e9; }
.sp-schedule-help h3 { padding: 0; margin-bottom: .4rem; }
.sp-schedule-archive { margin-top: 1.2rem; }
.sp-editorial-sr { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.sp-local-event {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  align-items: start;
  gap: clamp(1.4rem, 5vw, 4.5rem);
  max-width: 62rem;
}
.sp-local-event-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .45rem 1rem;
  padding: .9rem 1.15rem;
  border-radius: .65rem;
  background: #f1f4e9;
}
.sp-local-event-facts p { margin: 0; }
.sp-local-event h2 { margin-block: 1.55rem .6rem; }
.sp-local-event .sp-local-program { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.sp-local-program li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--sp-line);
  padding: .75rem 0;
  margin: 0;
}
.sp-local-program time {
  min-width: 4rem;
  background: #eeeaf4;
  color: #44356d;
  padding: .35rem .65rem;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  border-radius: .45rem;
}
.sp-local-event .sp-local-event-poster { margin: 0; max-width: 26rem; }
.sp-local-event-poster img { display: block; width: 100%; }
.sp-card-image[href="/liseaktualno/prizig-luck-na-igu-2026/3"] img { object-position: center 31%; }
@media (max-width: 45rem) {
  .sp-local-event { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 25rem) {
  .sp-schedule-day td { padding-inline: .63rem; }
}
