/* ── PAGE HERO (Kurzy / Lektoři) — sjednoceno s hero-v2 stylem ── */
.l-page-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #121417
}

.l-page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0
}

.l-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18, 20, 23, .88) 0%, rgba(18, 20, 23, .55) 60%, rgba(18, 20, 23, .2) 85%, rgba(18, 20, 23, .65) 100%);
  z-index: 1
}

.l-page-hero-in {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 110px 48px 52px
}

.lgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.lcard {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--rl);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--t2), box-shadow var(--t2), border-color var(--t);
  display: flex;
  flex-direction: column
}

.lcard:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh2);
  border-color: rgba(255, 90, 31, .25)
}

.lcard-top {
  position: relative;
  height: 180px;
  overflow: hidden;
  flex-shrink: 0
}

.lcard-av {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center top
}

.lcard-top::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 20, 23, .55) 0%, transparent 55%)
}

.lcard-rating-badge {
  position: absolute;
  top: 11px;
  right: 11px;
  z-index: 1;
  background: rgba(18, 20, 23, .72);
  backdrop-filter: blur(6px);
  color: #f59e0b;
  font-weight: 800;
  font-size: 13.5px;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(245, 158, 11, .3)
}

.lcard-body {
  padding: 18px 19px 20px;
  display: flex;
  flex-direction: column;
  flex: 1
}

.lcard-name {
  font-family: var(--fd);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: .5px;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 3px
}

.lcard-title2 {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px
}

.lcard-discs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 11px
}

.ltag {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 90, 31, .07);
  color: var(--orange);
  border: 1px solid rgba(255, 90, 31, .18)
}

.lcard-bio {
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1
}

.lcard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 12px;
  padding: 12px;
  background: var(--bg2);
  border-radius: 8px;
  border: 1px solid var(--border)
}

.lcard-stat {
  text-align: center
}

.lcard-stat-n {
  font-family: var(--fd);
  font-size: 20px;
  color: var(--ink);
  line-height: 1
}

.lcard-stat-l {
  font-size: 10px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: 2px
}

.lcard-certs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap
}

/* ── RESPONSIVE — mobile hero split → single column ── */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding-left: 20px;
    padding-right: 20px;
    gap: 24px
  }

  .hero-foto {
    aspect-ratio: 16/9
  }

  .lstrip {
    margin: 0 16px 40px;
    padding: 40px 24px
  }

  .lstrip-in {
    grid-template-columns: 1fr
  }

  .how-grid::before {
    display: none
  }

  .how-grid {
    grid-template-columns: 1fr 1fr
  }
}

/* ── Bike parky / lokality (F8, #parky a #park/<slug>) ── */
#pg-parky [hidden] { display: none !important; }   /* .btn / .park-grid mají vlastní display */
#park-back { display: flex; width: max-content; }
.park-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.park-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); color: var(--ink);
  text-decoration: none; transition: transform var(--t2), box-shadow var(--t2); }
.park-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(18, 20, 23, .12); }
.park-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.park-photo { aspect-ratio: 16 / 9; background: var(--bg3) center / cover; }
.park-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.park-kind { margin: 0; font: 700 11.5px/1 var(--fb); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.park-name { margin: 0; font: 400 26px/1.02 var(--fd); letter-spacing: .02em; text-transform: uppercase; }
.park-count { margin-top: auto; padding-top: 8px; font-size: 13.5px; font-weight: 700; color: var(--orange); }
.park-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.park-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid rgba(255,255,255,.7);
  color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; }
.park-links a:hover, .park-links a:focus-visible { background: #fff; color: var(--ink); }
.park-h { font: 400 30px/1 var(--fd); text-transform: uppercase; letter-spacing: .02em; margin: 0 0 18px; }
.park-empty { color: var(--muted); font-size: 15px; }
.cd-loc-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
