/* ===== Kalendarz wydarzeń ===== */

/* 03 · Wydarzenie wyróżnione */
.event-featured { padding: 48px 0 var(--section-py-compact); }
.card-featured {
  display: flex; min-height: 431px; overflow: hidden;
  background: var(--c-bg-surface); border: 1px solid var(--c-border-subtle); border-radius: var(--r-2xl);
}
.card-featured__photo { width: 50%; flex-shrink: 0; object-fit: cover; align-self: stretch; }
.card-featured__body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 48px; }
.card-featured__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.card-featured__meta span { display: inline-flex; align-items: center; gap: 8px; color: var(--c-primary); font-size: var(--fs-label); font-weight: 500; line-height: 1.4; }
.card-featured__meta img { width: 20px; height: 20px; }
.card-featured__buy { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--c-border-subtle); }
.card-featured__price { display: block; margin-top: 2px; color: var(--c-primary); font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: var(--ls-h4); font-weight: 500; }

/* 04 · W sprzedaży */
.events-sale { padding: var(--section-py-compact) 0 var(--section-py); }
.events-sale .section-head { margin-bottom: var(--section-header-gap); }
.events-sale .section-head h2 { max-width: 680px; }
.events-sale .section-head .lead { max-width: 760px; }
.events-sale__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.events-sale__grid .card-event[hidden] { display: none; }

/* 05 · Zakończone */
.events-archive { padding: 0 var(--hero-inset); }
.events-archive__panel { max-width: 1408px; margin-inline: auto; padding: var(--section-py) 0; border-radius: var(--r-2xl); background: var(--c-bg-surface); }
.archive-row { display: flex; align-items: center; gap: 24px; padding: 20px 0; border-top: 1px solid var(--c-border-subtle); }
.archive-row time { width: 140px; flex-shrink: 0; font-size: var(--fs-label); font-weight: 500; line-height: 1.4; }
.archive-row__title { flex: 1; min-width: 0; color: var(--c-primary); font-size: var(--fs-h5); line-height: var(--lh-h5); letter-spacing: var(--ls-h5); font-weight: 500; }
a.archive-row:hover .archive-row__title { color: var(--c-secondary); }

/* 06 · Newsletter */
.newsletter { padding: var(--section-py-compact) 0 var(--section-py); }
.newsletter__panel { display: flex; align-items: center; gap: 96px; padding: 56px 64px; border-radius: var(--r-3xl); background: var(--c-bg-accent-subtle); }
.newsletter__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.newsletter__form { width: 520px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.newsletter__row { display: flex; align-items: flex-end; gap: 12px; }
.newsletter__row .field { flex: 1; min-width: 0; }
.newsletter__ok { display: none; color: var(--c-primary); font-size: var(--fs-small); }
.newsletter__form.is-sent .newsletter__ok { display: block; }

@media (max-width: 1100px) {
  .card-featured { flex-direction: column; }
  .card-featured__photo { width: 100%; height: 320px; }
  .events-sale__grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter__panel { flex-direction: column; align-items: stretch; gap: 32px; padding: 48px 40px; }
  .newsletter__form { width: 100%; }
}
@media (max-width: 700px) {
  .card-featured__body { padding: 24px; }
  .card-featured__photo { height: 240px; }
  .events-sale__grid { grid-template-columns: 1fr; }
  .archive-row { flex-wrap: wrap; gap: 4px 16px; }
  .archive-row time { width: auto; }
  .archive-row__title { flex-basis: 100%; order: 3; }
  .newsletter__panel { padding: 32px 20px; border-radius: var(--r-2xl); }
  .newsletter__row { flex-direction: column; align-items: stretch; }
}
