/* Category imagery only: never present it as a photograph of a named venue. */
.hm-hero { --snc-cover: url("../img/overview-20261113/camp.webp"); }
.cp-hero { --snc-cover: url("../img/overview-20261113/camp.webp"); }
.ev-hub-hero { --snc-cover: url("../img/overview-20261113/turnier.webp"); }
.tr-hero-overview { --snc-cover: url("../img/overview-20261113/trainer.webp"); }
.vh-index { --snc-cover: url("../img/overview-20261113/plaetze.webp"); }
.hh-index { --snc-cover: url("../img/overview-20261113/hotel.webp"); }

.sub-hero.snc-overview-cover::before {
  background: linear-gradient(90deg, #10211b 2%, #10211bf2 35%, #10211b70 73%, #10211b36),
    var(--snc-cover) right 48% center / cover no-repeat;
}

.hm-finder-img[data-cover="trophy"] { background: url("../img/overview-20261113/turnier.webp") center / cover; }
.hm-finder-img[data-cover="whistle"] { background: url("../img/overview-20261113/trainer.webp") center / cover; }
.hm-finder-img[data-cover="court"], .hm-city-img, .vi-thumb {
  background: url("../img/overview-20261113/plaetze.webp") center / cover;
}
.hm-finder-img[data-cover="bed"], .hh-index ~ .hsec .hreg-img {
  background: url("../img/overview-20261113/hotel.webp") center / cover;
}
.hm-finder-img[data-cover="plane"] { background: url("../img/overview-20261113/camp.webp") center / cover; }
.hm-finder-img img[hidden], .hm-city-img img[hidden], .vi-thumb img[hidden] { display: none; }
.hh-index ~ .hsec .hreg-ph { display: none; }
.cp-media .vc-ph:not([hidden]), .hc-media .hc-ph:not([hidden]) {
  align-items: flex-start;
  justify-content: flex-end;
  padding: 10px;
  color: #fff;
  background: linear-gradient(0deg, #10211b9c, transparent 45%),
    url("../img/overview-20261113/camp.webp") center / cover;
}
.hc-media .hc-ph:not([hidden]) {
  background: linear-gradient(0deg, #10211b9c, transparent 45%),
    url("../img/overview-20261113/hotel.webp") center / cover;
}
.cp-media .vc-ph > span, .hc-media .hc-ph > span {
  padding: 3px 7px;
  border-radius: 4px;
  background: #10211b;
}
.hc-media img[hidden] { display: none; }

/* Keep the controls outside the scrollport and leave a page-scroll lane at its side. */
.snc-list-scroll,
.snc-finder-page #event-finder-results.snc-list-scroll {
  box-sizing: border-box;
  width: calc(100% - clamp(24px, 5vw, 64px));
  max-height: min(65vh, 580px) !important;
  overflow: auto !important;
  scrollbar-gutter: stable;
  overscroll-behavior-y: contain;
  padding-inline-end: 10px;
}
.snc-list-scroll[hidden] { display: none; }
.snc-list-scroll:focus-visible { outline: 2px solid #0e8c7a; outline-offset: 4px; }
.snc-overview-scroll-hint { margin: 6px 0 12px; font-size: .86rem; color: var(--tx-soft, #4c5a54); }

main .snc-whatsapp-community.snc-whatsapp-inline {
  position: static;
  inset: auto;
  transform: none;
  z-index: auto;
  display: flex;
  justify-content: center;
  margin: 20px auto 32px;
  animation: none;
}
main .snc-whatsapp-inline .snc-whatsapp-community-link { max-width: 100%; }

@media (max-width: 720px) {
  .sub-hero.snc-overview-cover::before {
    background: linear-gradient(90deg, #10211bee, #10211ba8),
      var(--snc-cover) center / cover no-repeat;
  }
  .snc-list-scroll,
  .snc-finder-page #event-finder-results.snc-list-scroll {
    max-height: min(55svh, 450px) !important;
    overscroll-behavior-y: auto;
    padding-inline-end: 5px;
  }
}
