:root {
  --green: #0fcc5a;
  --green-dark: #0a9e45;
  --black: #0b0b0b;
  --bg: #f6f6f4;
  --surface: #ffffff;
  --text: #141414;
  --muted: #6b6b6b;
  --line: #e4e4e0;
  --radius: 14px;
  --font-title: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
main.wrap { flex: 1; padding-top: 40px; padding-bottom: 64px; }
.muted { color: var(--muted); }
.loading { color: var(--muted); }
.site-header { background: var(--black); color: #fff; position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand-text { font-family: var(--font-title); font-size: 24px; letter-spacing: .5px; text-transform: uppercase; font-weight: 600; }
.brand-text strong { color: var(--green); font-weight: 700; }
.nav { display: flex; gap: 4px; }
.nav a {
  font-family: var(--font-title); text-transform: uppercase; letter-spacing: .5px;
  font-size: 18px; font-weight: 600; text-decoration: none;
  padding: 8px 12px; border-radius: 8px; color: #d9d9d9;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a.active { color: var(--black); background: var(--green); }
.page-head { margin-bottom: 24px; }
h1, h2, h3 { font-family: var(--font-title); text-transform: uppercase; letter-spacing: .3px; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(34px, 6vw, 52px); }
h2 { font-size: 30px; }
.page-head p { margin: 8px 0 0; color: var(--muted); max-width: 640px; }
.bar { display: inline-flex; gap: 4px; margin-bottom: 10px; }
.bar i { display: block; width: 6px; height: 18px; background: var(--green); border-radius: 2px; }
.bar i:nth-child(2) { height: 18px; opacity: .6; }
.bar i:nth-child(3) { opacity: .3; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  font: 500 14px var(--font-body); padding: 6px 12px; border-radius: 999px; cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--black); color: #fff; border-color: var(--black); }
.toggle { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; cursor: pointer; }
.toggle input { accent-color: var(--green-dark); width: 16px; height: 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden; text-decoration: none;
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.08); }
.card:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.card-img { aspect-ratio: 16 / 10; background: #ddd center / cover no-repeat; position: relative; }
.card-img .tag { position: absolute; top: 12px; left: 12px; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.card-date { font-size: 14px; color: var(--muted); font-weight: 500; }
.card h3 { font-size: 24px; }
.card.past { opacity: .6; }
.card-place { font-size: 14px; color: var(--muted); }
.card-place::before { content: "\1F4CD  "; }
.next-place { margin-top: 0; font-size: 16px; }
.next-place::before { content: "\1F4CD  "; }
.next-guest { display: inline-block; margin-top: 12px; font-size: 14px; color: #bdbdbd; text-decoration: underline; text-underline-offset: 3px; }
.next-guest:hover { color: var(--green); }
.tag {
  display: inline-block; font: 600 12px var(--font-body); text-transform: uppercase; letter-spacing: .6px;
  padding: 4px 9px; border-radius: 6px; background: var(--black); color: #fff;
}
.tag.pleniere { background: var(--green); color: var(--black); }
.tag.warn { background: #fff3cd; color: #7a5b00; }
.tag.open { background: #dff7e8; color: #08743a; }
.year + .year { margin-top: 44px; }
.year-title { display: flex; align-items: center; gap: 14px; font-size: 34px; margin: 0 0 18px; }
.year-title::after { content: ""; flex: 1; height: 2px; background: var(--line); }
.year-title span { border-bottom: 4px solid var(--green); line-height: 1; padding-bottom: 4px; }
.next {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  background: var(--black); color: #fff; border-radius: 18px; overflow: hidden; margin-bottom: 40px;
}
.next-img { background: #222 center top / cover no-repeat; min-height: 300px; display: block; }
.next-body { padding: 32px 34px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.next-label {
  align-self: flex-start; font: 600 13px var(--font-body); text-transform: uppercase; letter-spacing: .8px;
  background: var(--green); color: var(--black); padding: 5px 10px; border-radius: 6px;
}
.next-title { font-size: clamp(26px, 3.4vw, 34px); color: #fff; margin-top: 6px; }
.next-date { display: flex; align-items: baseline; gap: 12px; font-family: var(--font-title); text-transform: uppercase; line-height: .9; margin-top: 6px; }
.next-day { font-size: clamp(72px, 11vw, 112px); font-weight: 700; color: var(--green); }
.next-month { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
.next-meta { margin: 4px 0 0; font-size: 18px; color: #d4d4d4; }
.next-body p { margin: 0; }
.next-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.next-actions .btn { width: auto; padding: 13px 20px; }
.btn.ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn.ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.empty { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px; color: var(--muted); text-align: center; }
.back { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--muted); font-weight: 500; margin-bottom: 18px; }
.back:hover { color: var(--text); }
.hero { border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 8; background: #ddd center / cover no-repeat; margin-bottom: 24px; }
.detail {
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; column-gap: 40px; row-gap: 24px; align-items: start;
  grid-template-areas: "head side" "main side"; grid-template-rows: auto 1fr;
}
.detail-head { grid-area: head; display: flex; gap: 24px; align-items: center; }
.detail-img { width: 240px; aspect-ratio: 5 / 4; object-fit: cover; object-position: center top; border-radius: var(--radius); flex: none; background: #ddd; }
.detail-head h1 { margin: 10px 0 0; }
.detail-main { grid-area: main; }
.desc { font-size: 17px; }
.desc p { margin: 0 0 14px; }
.desc.placeholder { color: var(--muted); font-style: italic; }
.side { grid-area: side; display: flex; flex-direction: column; gap: 16px; }
.side-info { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side dl { margin: 0 0 18px; display: grid; gap: 12px; }
.side dt { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); font-weight: 600; }
.side dd { margin: 2px 0 0; font-weight: 500; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  background: var(--green); color: var(--black); text-decoration: none; font-weight: 600;
  padding: 13px 16px; border-radius: 10px; border: 0; font-size: 16px; cursor: pointer;
}
.btn:hover { background: #13e066; }
.btn.secondary { background: var(--black); color: #fff; }
.side .note { font-size: 14px; color: var(--muted); margin: 0; }
.unsub { background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--green); border-radius: var(--radius); padding: 20px 20px 8px; scroll-margin-top: 88px; }
.unsub h2 { font-size: 26px; }
.unsub > p { color: var(--muted); margin: 6px 0 12px; }
.unsub iframe { width: 100%; border: 0; min-height: 320px; }
.site-footer { background: var(--black); color: #fff; padding: 22px 0; font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-footer span:first-child { font-family: var(--font-title); text-transform: uppercase; letter-spacing: .5px; font-size: 17px; color: var(--green); }
.site-footer .muted { color: #9a9a9a; }
.nav { align-items: center; }
.lock {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-left: 4px;
  border-radius: 8px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: #bdbdbd; cursor: pointer;
}
.lock:hover { color: var(--green); border-color: var(--green); }
.lock-dialog { border: 0; border-radius: var(--radius); padding: 26px; width: min(380px, calc(100vw - 32px)); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.lock-dialog::backdrop { background: rgba(0,0,0,.55); }
.lock-dialog h2 { font-size: 28px; }
.lock-dialog p { margin: 6px 0 14px; color: var(--muted); font-size: 15px; }
.lock-dialog input { width: 100%; font: 16px var(--font-body); padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.lock-dialog input:focus { outline: 2px solid var(--green); border-color: transparent; }
.lock-error { color: #c0392b !important; margin: 8px 0 0 !important; }
.lock-actions { display: flex; gap: 10px; margin-top: 18px; }
.lock-actions .btn { flex: 1; }
.btn.ghost-dark { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.ghost-dark:hover { background: var(--bg); }
@media (max-width: 820px) {
  .next { grid-template-columns: 1fr; }
  .next-img { min-height: 180px; }
  .next-body { padding: 24px 20px 26px; }
  .detail { grid-template-columns: 1fr; grid-template-areas: "head" "side" "main"; grid-template-rows: auto; }
  .detail-head { flex-direction: column; align-items: stretch; }
  .detail-img { width: 100%; aspect-ratio: 16 / 9; object-position: center 20%; }
}
@media (max-width: 480px) {
  .brand-text { display: none; }
  .nav a { font-size: 16px; padding: 8px 10px; }
  .grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .card { transition: none; } }
