:root {
  --ink: #111;
  --ink-2: #404040;
  --muted: #6b6b6b;
  --line: #e4e4e2;
  --soft: #f3f3f1;
  --page: #f3f3f1;
  --card: #fff;
  --accent: #EC4A3F;
  --accent-ink: #c13e3c;
  --blue-soft: #eef3fb;
  --ok: #2e7d4f;
  --wait: #a86a00;
  --radius: 14px;
  --wrap: 1320px;
  --header-h: 72px;
  --font: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--page); line-height: 1.55; font-size: 16px; overflow-x: hidden; }
a { color: inherit; }
img, svg { display: block; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
@media (max-width: 1024px) { .wrap { padding: 0 24px; } }
@media (max-width: 640px) { .wrap { padding: 0 16px; } :root { --header-h: 60px; } }

/* Header */
header.site { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand .mark { width: 30px; height: 30px; flex: none; color: var(--ink); }
.brand .name { font-weight: 900; font-size: 20px; letter-spacing: -.01em; white-space: nowrap; }
.brand .by { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); white-space: nowrap; margin-left: 4px; padding-left: 12px; border-left: 1px solid var(--line); }
.brand .by svg { height: 9px; width: auto; color: var(--ink-2); }
nav.main { display: flex; gap: 28px; }
nav.main a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 16px; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
nav.main a:hover { color: var(--ink); }
nav.main a.on { color: var(--ink); border-color: var(--accent); }
@media (max-width: 640px) {
  .brand .name { font-size: 17px; }
  .brand .mark { width: 26px; height: 26px; }
  .brand .by { display: none; }
  nav.main { gap: 16px; }
  nav.main a { font-size: 15px; }
}

/* Typography */
.kicker { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; color: var(--muted); margin: 0 0 12px; }
h1 { font-weight: 900; font-size: clamp(32px, 5vw, 56px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 20px; max-width: 900px; overflow-wrap: anywhere; }
h2 { font-weight: 800; font-size: 26px; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 12px; }
h3 { font-weight: 800; font-size: 20px; line-height: 1.3; margin: 0; overflow-wrap: anywhere; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 760px; margin: 0 0 28px; }
.sh { font-size: clamp(24px, 3vw, 30px); font-weight: 900; margin: 0 0 16px; }

/* Hero: biały pas na całą szerokość */
.hero-band { background: #fff; border-bottom: 1px solid var(--line); }
.hero { padding-top: 56px; padding-bottom: 40px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; }
.stats div { background: var(--page); border-radius: var(--radius); padding: 20px 22px; }
.stats dt { font-weight: 900; font-size: 34px; line-height: 1; }
.stats dd { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; }
.allhead { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 16px; }
.allhead .sh { margin: 0; }
.btn-add { font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 14px; background: #fff; white-space: nowrap; }
.btn-add:hover { background: var(--ink); color: #fff; }
.stats .stat-add { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); border: 1.5px dashed #b9b9b6; border-radius: var(--radius); padding: 16px 20px; background: #fff; transition: border-color .15s, background .15s; }
.stats .stat-add:hover { border-color: var(--accent); background: #fff6f5; }
.stat-add .plus { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 900; font-size: 22px; line-height: 36px; text-align: center; }
.stat-add strong { display: block; font-weight: 800; font-size: 15px; line-height: 1.25; }
.stat-add small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.updated { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
@media (max-width: 760px) { .hero { padding-top: 36px; padding-bottom: 28px; } .stats { grid-template-columns: repeat(2, 1fr); gap: 10px; } .stats div { padding: 16px; } .stats dt { font-size: 28px; } .lead { font-size: 17px; } }

/* Najbliższe tygodnie */
.soon { padding-top: 48px; }
.minis { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.mini { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.mini:hover { border-color: #bdbdbb; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.mini strong { display: block; font-weight: 800; line-height: 1.3; margin: 2px 0 4px; }
.mini .loc { font-size: 14px; color: var(--muted); }
.rel { font-size: 13px; font-weight: 700; color: var(--accent-ink); }
.rel:empty { display: none; }

/* Blok daty */
.dateblock { flex: none; width: 76px; text-align: center; border-radius: 10px; background: var(--page); padding: 10px 6px; display: flex; flex-direction: column; align-items: center; }
.dateblock .d { font-weight: 900; font-size: 20px; line-height: 1.1; }
.dateblock .m { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--accent-ink); }
.dateblock .w { font-size: 12px; color: var(--muted); }
.dateblock .w:empty { display: none; }

/* Wydarzenie miesiąca */
.feature { margin-top: 40px; }
.feature .fl { background: #1b1b1b; color: #fff; border-radius: 20px; padding: 40px; }
.feature .kicker { color: #bdbdbd; }
.feature h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 900; }
.feature h2 a { text-decoration: none; }
.feature .loc { color: #d6d6d6; }
.feature .why { font-size: 17px; max-width: 760px; color: #ededed; }
.feature .btn.ghost { color: #fff; border-color: #fff; }
.feature .btn.ghost:hover { background: #fff; color: var(--ink); }
@media (max-width: 640px) { .feature .fl { padding: 24px; } }

/* Przyciski */
.links { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 16px 0 0; }
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--accent); }
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn-clear { font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); background: #fff; border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.btn-clear:hover { background: var(--ink); color: #fff; }

/* Lista wszystkich wydarzeń */
.all { padding-top: 56px; padding-bottom: 72px; }
.hint { color: var(--ink-2); margin: -6px 0 18px; }
.layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }

/* Panel filtrów */
.filters { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 26px 8px 18px; scrollbar-gutter: stable; }
.filters .ftoggle { display: none; }
.fhead { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 34px; margin-bottom: 8px; }
.fhead > span { font-weight: 900; font-size: 18px; }
fieldset.opts { border: 0; padding: 0; margin: 0 0 16px; }
fieldset.opts legend { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; padding: 0; }
.opt { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; font-size: 15px; }
.opt input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--accent); cursor: pointer; }
.opt .lbl { flex: 1; }
.opt .cnt { min-width: 22px; text-align: right; margin-right: 4px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.opt.single { margin: 0 0 14px; }
.sel { display: block; margin: 0 0 16px; }
.sel span { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.sel select { width: 100%; font: inherit; font-size: 15px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }

.count { margin: 0 0 4px; color: var(--ink-2); }
.month { margin-top: 14px; }
.mh { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 12px 2px 10px; margin: 0 0 10px; position: sticky; top: var(--header-h); background: var(--page); z-index: 5; }
.mh span { color: var(--ink); margin-left: 6px; }

/* Karta wydarzenia */
.ev { display: flex; align-items: flex-start; gap: 20px; padding: 22px; margin-bottom: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.ev .body { flex: 1; min-width: 0; }
.ev .meta, .detail .meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin: 0 0 6px; }
.type { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.abroad { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--blue-soft); color: #1f4e8c; }
.soldout { font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: #1a1a1a; color: #fff; }
.ev h3 a { text-decoration: none; }
.ev h3 a:hover { text-decoration: underline; }
.ev .sub { margin: 2px 0 0; color: var(--ink-2); }
.ev .loc { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.ev .why { margin: 10px 0 0; color: var(--ink-2); }
.row { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin-top: 12px; }
.who { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--page); color: var(--ink-2); }
.fee { font-size: 14px; color: var(--muted); margin-left: 4px; }
.row.foot { justify-content: space-between; padding-top: 12px; margin-top: 14px; border-top: 1px solid var(--line); }
.status { font-size: 13px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.ok { color: var(--ok); }
.status.wait { color: var(--wait); }
.ev .links { margin: 0; gap: 6px 16px; font-size: 15px; font-weight: 700; }
.ev .links a { color: var(--ink); text-decoration: none; border-bottom: 1px solid #cfcfcd; }
.ev .links a:hover { border-color: var(--ink); }
.kowr { margin: 10px 0 0; font-size: 14px; color: var(--ink-2); display: flex; gap: 6px; flex-wrap: wrap; align-items: baseline; }
.kowr::before { content: "PL"; font-size: 11px; font-weight: 800; color: #fff; background: #c13e3c; border-radius: 4px; padding: 1px 5px; }
.kowr a { color: var(--accent-ink); font-weight: 700; }
.kowr.open { background: #fff1ef; border-radius: 8px; padding: 8px 12px; color: var(--ink); }
.empty { padding: 32px; text-align: center; background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-2); }
.empty p { margin: 0 0 12px; }

/* Tablet i telefon: filtry rozwijane nad listą */
@media (max-width: 960px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .filters { position: static; max-height: none; overflow: visible; background: transparent; border: 0; padding: 0; }
  .filters .ftoggle { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 700; border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; padding: 9px 20px; cursor: pointer; }
  .filters .ftoggle span:not(:empty) { background: var(--accent); color: #fff; border-radius: 999px; padding: 0 8px; font-size: 13px; }
  .filters .fbody { display: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-top: 12px; }
  .filters.open .fbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
  .filters.open .fbody .fhead, .filters.open .fbody .sel, .filters.open .fbody .opt.single { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .filters.open .fbody { grid-template-columns: minmax(0, 1fr); }
  .ev { gap: 14px; padding: 16px; }
  .dateblock { width: 60px; padding: 8px 4px; }
  .dateblock .d { font-size: 17px; }
  .row.foot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ev .links { gap: 6px 14px; font-size: 14px; }
}

/* Strona wydarzenia */
.detail { padding-top: 32px; padding-bottom: 72px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 20px; }
.crumbs a { color: var(--ink-2); }
.dhead { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 28px; }
.dhead .dateblock { width: 92px; padding: 14px 6px; background: #fff; border: 1px solid var(--line); }
.dhead .dateblock .d { font-size: 24px; }
.dhead h1 { font-size: clamp(28px, 4.4vw, 48px); margin-bottom: 6px; }
.dhead .sub { color: var(--ink-2); font-size: 18px; margin: 0; }
.dgrid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-bottom: 56px; }
.dgrid > div:first-child { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.why.big { font-size: 19px; color: var(--ink-2); }
.facts { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 22px; }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.facts dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; overflow-wrap: anywhere; }
@media (max-width: 860px) { .dgrid { grid-template-columns: minmax(0, 1fr); gap: 20px; } .dgrid > div:first-child { padding: 20px; } .dhead { gap: 14px; } .dhead .dateblock { width: 70px; } .why.big { font-size: 17px; } }

/* Strony tekstowe */
.prose { padding-top: 56px; padding-bottom: 80px; max-width: 860px; }
.prose h2 { margin-top: 36px; }
.prose p { color: var(--ink-2); font-size: 17px; }
.prose a { color: var(--accent-ink); }

/* Stopka */
footer.site { background: #1b1b1b; color: #fff; }
footer.site .brand { color: #fff; }
footer.site .brand .mark { color: #fff; }
.footin { display: flex; justify-content: space-between; gap: 32px; padding-top: 40px; padding-bottom: 40px; flex-wrap: wrap; }
.footin p { color: #cfcfcf; font-size: 14px; max-width: 420px; margin: 10px 0 0; }
.brand.small .name { font-size: 17px; }
.brand.small .mark { width: 26px; height: 26px; }
.pub span { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #9a9a9a; margin-bottom: 10px; }
.pub .inno svg { height: 14px; width: auto; color: #fff; }
[hidden] { display: none !important; }
