/* Základní layout: ../../css/common.css */

body {
  background: linear-gradient(180deg, hsl(0 0% 4%) 0%, hsl(0 0% 6%) 30%, hsl(0 0% 4%) 100%);
}

.nav-inner,
.footer-inner {
  max-width: 1500px;
  padding: 0 40px;
}

.footer-logo {
  font-size: 1.3rem;
}

.footer-links {
  gap: 28px;
}

.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 40px;
}

.sport-hero { padding: 152px 0 30px; }
.hero-content {
  border: 1px solid hsl(0 0% 22%);
  border-radius: 18px;
  padding: 34px;
  background: hsl(0 0% 7% / .75);
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.back-link { color: var(--muted); text-decoration: none; display: inline-block; margin-bottom: 14px; }
.kicker { text-transform: uppercase; font-size: .74rem; letter-spacing: .13em; color: hsl(0 0% 75%); margin-bottom: 10px; }
.sport-hero h1 { font-family: var(--font-display); font-size: clamp(3.2rem, 8vw, 6rem); letter-spacing: .09em; line-height: .9; margin-bottom: 12px; }
.hero-text { color: var(--muted); line-height: 1.8; max-width: 56ch; margin: 0 auto; }

.stream-section { padding: 0 0 84px; }
.stream-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.tile {
  border: 1px solid var(--border); border-radius: 10px; overflow: hidden; padding: 0;
  background: hsl(0 0% 8%); cursor: zoom-in;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.tile:hover { transform: translateY(-2px); border-color: hsl(0 0% 34%); box-shadow: 0 14px 28px hsl(0 0% 0% /.32); }

.tile.landscape { aspect-ratio: 16 / 9; }
.tile.portrait { aspect-ratio: 9 / 16; }
.hero-tile { grid-column: span 8; }
.stream-grid .tile:nth-child(2) { grid-column: span 4; }
.stream-grid .tile:nth-child(3) { grid-column: span 3; }
.stream-grid .tile:nth-child(4) { grid-column: span 3; }
.stream-grid .tile:nth-child(5) { grid-column: span 3; }
.stream-grid .tile:nth-child(6) { grid-column: span 3; }
.stream-grid .tile:nth-child(7) { grid-column: span 6; }
.stream-grid .tile:nth-child(8) { grid-column: span 3; }
.stream-grid .tile:nth-child(9) { grid-column: span 3; }
.stream-grid .tile:nth-child(10) { grid-column: span 3; }
.stream-grid .tile:nth-child(11) { grid-column: span 6; }
.stream-grid .tile:nth-child(12) { grid-column: span 3; }

.lightbox {
  position: fixed; inset: 0; z-index: 120; background: hsl(0 0% 0% / .86);
  display: none; align-items: center; justify-content: center; padding: 44px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(92vw, 1400px); max-height: 86vh; object-fit: contain;
  border-radius: 8px; border: 1px solid hsl(0 0% 25%); box-shadow: 0 30px 80px hsl(0 0% 0% /.55);
}
.lightbox-close {
  position: absolute; top: 22px; right: 22px; width: 42px; height: 42px;
  border-radius: 999px; border: 1px solid hsl(0 0% 25%); background: hsl(0 0% 10% / .9);
  color: var(--fg); font-size: 1.7rem; cursor: pointer;
}

@media (max-width: 1100px) {
  .stream-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
  }
  .hero-tile,
  .stream-grid .tile:nth-child(2),
  .stream-grid .tile:nth-child(7),
  .stream-grid .tile:nth-child(11) {
    grid-column: span 6;
  }
  .stream-grid .tile:nth-child(3),
  .stream-grid .tile:nth-child(4),
  .stream-grid .tile:nth-child(5),
  .stream-grid .tile:nth-child(6),
  .stream-grid .tile:nth-child(8),
  .stream-grid .tile:nth-child(9),
  .stream-grid .tile:nth-child(10),
  .stream-grid .tile:nth-child(12) {
    grid-column: span 3;
  }
}

@media (max-width: 900px) {
  .stream-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .hero-tile,
  .stream-grid .tile:nth-child(2),
  .stream-grid .tile:nth-child(7),
  .stream-grid .tile:nth-child(11) {
    grid-column: span 2;
  }
  .stream-grid .tile:nth-child(3),
  .stream-grid .tile:nth-child(4),
  .stream-grid .tile:nth-child(5),
  .stream-grid .tile:nth-child(6),
  .stream-grid .tile:nth-child(8),
  .stream-grid .tile:nth-child(9),
  .stream-grid .tile:nth-child(10),
  .stream-grid .tile:nth-child(12) {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .container,
  .footer-inner {
    padding: 0 24px;
  }

  .sport-hero { padding: 128px 0 22px; }
  .hero-content { padding: 18px; }
  .stream-grid { grid-template-columns: 1fr; gap: 10px; }
  .tile.landscape, .tile.portrait { aspect-ratio: 16 / 10; }
  .stream-grid .tile { grid-column: auto !important; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .lightbox { padding: 18px; }
  .lightbox-close { top: 14px; right: 14px; }
}
