/* IGKM Core – wydarzenia (korzysta ze zmiennych z members.css) */
.igkm-ev-archive { display: flex; flex-direction: column; gap: 32px; }
.igkm-hero + .igkm-page__body.igkm-ev-archive { margin-top: -48px; }
.igkm-events-up, .igkm-events-past { display: flex; flex-direction: column; gap: 16px; }
.igkm-eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--igkm-t-przemysl-i-uslugi); }

.igkm-event-hero { padding: 32px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.igkm-event-hero__main { flex: 1 1 480px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.igkm-event-hero__title { margin: 0; font-family: var(--igkm-font-head); font-weight: 800; font-size: clamp(24px, 3vw, 34px); line-height: 1.2; }
.igkm-event-hero__title a { color: var(--igkm-ink); text-decoration: none; }
.igkm-event-hero__title a:hover { color: var(--igkm-link); }
.igkm-event-hero__meta { margin: 0; font-size: 17px; color: var(--igkm-muted); }

.igkm-countdown { margin: 0; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-width: 180px; padding: 22px 26px; border-radius: 16px; background: var(--igkm-primary); color: #fff; text-align: center; }
.igkm-countdown__label { font-size: 13px; color: #dde6f5; }
.igkm-countdown__value { font-family: var(--igkm-font-head); font-weight: 800; font-size: 32px; line-height: 1.1; font-variant-numeric: tabular-nums; }

.igkm-events { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.igkm-event { display: flex; gap: 18px; align-items: center; padding: 16px 18px; background: var(--igkm-surface); border: 1px solid var(--igkm-line); border-radius: 14px;
  text-decoration: none; color: var(--igkm-ink); transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease; }
.igkm-event:hover { box-shadow: var(--igkm-shadow); border-color: var(--igkm-field); transform: translateY(-1px); color: var(--igkm-ink); }
.igkm-event.is-cancelled .igkm-event__title { text-decoration: line-through; color: var(--igkm-muted); }
.igkm-event__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.igkm-event__title { font-weight: 600; font-size: 16px; line-height: 1.35; }
.igkm-event__meta { font-size: 14px; color: var(--igkm-muted); }
.igkm-datebox { flex: none; width: 72px; min-height: 64px; border-radius: 12px; background: var(--igkm-tint); color: var(--igkm-link);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 6px; box-sizing: border-box; }
.igkm-datebox strong { font-family: var(--igkm-font-head); font-weight: 800; font-size: 20px; line-height: 1.1; }
.igkm-datebox span { font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.igkm-year { margin: 16px 0 0; font-family: var(--igkm-font-head); font-weight: 800; font-size: 26px; color: var(--igkm-link); }

.igkm-tag.is-live { color: #fff; background: #0b6673; }
.igkm-tag.is-status-przeniesione { color: #7a4100; background: #fdebc8; }
.igkm-tag.is-status-odwolane { color: #fff; background: #a11c1c; }
.igkm-alert { margin: 0; padding: 12px 16px; border-radius: 10px; background: #fdebc8; color: #5c3200; font-weight: 500; }

.igkm-ev-filters { flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
.igkm-ev-filters .igkm-field { flex: 1 1 180px; }
.igkm-ev-filters__actions { display: flex; gap: 8px; }

.igkm-ev-head { padding: 32px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; overflow: hidden; }
.igkm-ev-head.has-image { padding-top: 0; }
.igkm-ev-head__img { width: calc(100% + 64px); margin: 0 -32px; max-height: 320px; object-fit: cover; display: block; }
.igkm-ev-head__body { flex: 1 1 520px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.igkm-ev-facts { margin: 0; display: flex; flex-wrap: wrap; gap: 16px 40px; }
.igkm-ev-facts div { display: flex; flex-direction: column; gap: 4px; }
.igkm-ev-facts dt { font-size: 13px; color: var(--igkm-muted); }
.igkm-ev-facts dd { margin: 0; font-size: 16px; font-weight: 500; }
.igkm-ev-single .igkm-single__about { flex: 2 1 480px; }

@media (max-width: 640px) {
  .igkm-event-hero, .igkm-ev-head { padding: 20px; }
  .igkm-ev-head__img { width: calc(100% + 40px); margin: 0 -20px; }
  .igkm-countdown { width: 100%; }
  .igkm-event { gap: 12px; padding: 14px; }
  .igkm-datebox { width: 60px; }
}
@media (prefers-reduced-motion: reduce) { .igkm-event { transition: none; } .igkm-event:hover { transform: none; } }
