:root{
  --bg: #07070a;
  --text: rgba(255,255,255,.88);
  --muted: rgba(255,255,255,.62);
  --line: rgba(255,255,255,.10);
  --accent: rgba(255,255,255,.92);
  --shadow: 0 14px 40px rgba(0,0,0,.55);
  --radius: 18px;
  --radius2: 14px;
  --max: 1120px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1100px 700px at 20% 10%, rgba(255,255,255,.06), transparent 55%),
    radial-gradient(900px 600px at 80% 20%, rgba(255,255,255,.05), transparent 55%),
    radial-gradient(900px 650px at 40% 90%, rgba(255,255,255,.04), transparent 55%),
    var(--bg);
  color: var(--text);
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section{
  padding: 26px 0;
}
.section--tight{
  padding-top: 14px;
}

.section h2{
  margin: 0 0 8px;
  font-size: 22px;
}
.section__desc{
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
}

.section__head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* Foto nahoře (jen v layoutu, zakulacené rohy) */
.hero{
  padding: 18px 0 10px;
}
.hero__photo{
  margin: 0;
}
.photo{
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  position: relative;
  transform: translateZ(0);
}
.photo img{
  width: 100%;
  height: auto;
  filter: contrast(1.02) brightness(.92);
  transition: filter .18s ease, transform .18s ease;
}
.photo:hover img{
  filter: contrast(1.02) brightness(.98);
  transform: scale(1.005);
}
.photo figcaption{
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-size: 12px;
  color: rgba(255,255,255,.75);
  background: rgba(0,0,0,.35);
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
}

/* Dva sloupce pod fotkou */
.two-col{
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 14px;
  align-items: start;
}

.card{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,.40);
}
.card__body{
  padding: 16px;
}
.card__title{
  font-weight: 750;
  margin-bottom: 8px;
}
.card__text p{
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}
.card__text p:last-child{ margin-bottom: 0; }
.card__text strong{ color: var(--accent); }

.hint{
  margin-top: 12px;
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--accent);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  font-weight: 600;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
}
.btn--primary{
  background: rgba(255,255,255,.12);
}
.btn--primary:hover{
  background: rgba(255,255,255,.16);
}
.btn--ghost{
  background: rgba(255,255,255,.03);
}

/* Dva malé obrázky vpravo */
.mini-photos{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.mini-photos__item{
  border-radius: var(--radius2);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.mini-photos__item:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.18);
}
.mini-photos__item img{
  width: 100%;
  height: 92px;
  object-fit: cover;
  filter: brightness(.92);
}

/* AKCE */
.grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.event{
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}

.event__date{
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(0,0,0,.25);
  padding: 10px;
  text-align: center;
  height: fit-content;
}
.event__day{
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}
.event__month{
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

/* DŮLEŽITÉ: tlačítka dole */
.event__content{
  display: flex;
  flex-direction: column;
  min-height: 180px; /* sjednocení výšek; můžete upravit */
}
.event__top{
  /* obsah nahoře */
}
.event__actions{
  margin-top: auto; /* tlačítka klesnou dolů */
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 12px;
}

.event__title{
  margin: 2px 0 6px;
  font-size: 16px;
}
.event__meta{
  margin: 0 0 8px;
  color: rgba(255,255,255,.65);
  font-size: 12.5px;
}
.event__desc{
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13.5px;
}

/* LOGA */
.logos{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.logo{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  border-radius: 14px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.logo:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.18);
}
.logo img{
  max-height: 26px;
  width: auto;
  opacity: .9;
}

/* FOOTER */
.footer{
  border-top: 1px solid var(--line);
  padding: 18px 0 28px;
  margin-top: 8px;
  background: rgba(0,0,0,.25);
}
.footer__inner{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer__title{
  font-weight: 750;
}
.footer__text{
  color: var(--muted);
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
}
.footer__right{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__link{
  color: rgba(255,255,255,.70);
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.footer__link:hover{
  color: var(--accent);
  background: rgba(255,255,255,.04);
  border-color: var(--line);
}

/* LIGHTBOX */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.80);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}
.lightbox.is-open{ display: flex; }
.lightbox__img{
  max-width: min(1400px, 95vw);
  max-height: 85vh;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
}
.lightbox__close{
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.9);
  font-size: 26px;
  line-height: 0;
  cursor: pointer;
}
.lightbox__close:hover{
  background: rgba(255,255,255,.10);
}
.lightbox__hint{
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.65);
  font-size: 12px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.10);
  padding: 6px 10px;
  border-radius: 12px;
}

/* RESPONSIVE */
@media (max-width: 980px){
  .two-col{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
  .logos{ grid-template-columns: repeat(3, 1fr); }
  .mini-photos__item img{ height: 120px; }
}
@media (max-width: 520px){
  .event{ grid-template-columns: 84px 1fr; }
  .logos{ grid-template-columns: repeat(2, 1fr); }
}
