/* V81 — poprawki klienta: hero, galeria, kolejność zespołu, informacje */

/* Bez szarego/cieniowanego pasa pod głównym zdjęciem. */
.hero-photo,
.hero-photo--real,
.hero__visual:hover .hero-photo {
  box-shadow: none !important;
}

/* Godziny wizyt — ważniejsza, czytelniejsza informacja. */
.hero__trust > span:last-child strong,
.hero__trust > span:last-child small {
  font-weight: 800 !important;
  color: var(--color-heading) !important;
}
.hero__trust > span:last-child small {
  font-size: 12px !important;
  line-height: 1.45;
}

/* Centrum w kadrach — brązowe strzałki + płynny swipe na każdym urządzeniu. */
.gallery-v52 .gallery-controls-v52 {
  display: flex !important;
  gap: 10px;
  align-items: center;
}
.gallery-v52 .gallery-controls-v52 button {
  display: inline-grid !important;
  place-items: center;
  width: 54px !important;
  height: 54px !important;
  border: 1px solid rgba(151,124,101,.35) !important;
  border-radius: 999px !important;
  background: #9b806a !important;
  color: #fff !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  box-shadow: 0 10px 24px rgba(93,70,52,.12) !important;
  cursor: pointer;
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease !important;
  touch-action: manipulation;
}
.gallery-v52 .gallery-controls-v52 button:hover,
.gallery-v52 .gallery-controls-v52 button:focus-visible {
  background: #866b56 !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(93,70,52,.18) !important;
}
.gallery-v52 .gallery-controls-v52 button:active {
  transform: translateY(0) scale(.97);
}
.gallery-carousel .gallery-grid {
  overflow-x: auto !important;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  touch-action: pan-x pan-y;
  cursor: grab;
}
.gallery-carousel .gallery-grid:active { cursor: grabbing; }
.gallery-carousel .gallery-slot { scroll-snap-align: start; }

/* Praktyczne informacje — po usunięciu pozycji dzieci układ sam się dopasowuje. */
.facility-chips {
  align-items: stretch;
}

@media (max-width: 900px) {
  .gallery-v52 .gallery-controls-v52 button {
    width: 50px !important;
    height: 50px !important;
    font-size: 22px !important;
  }
}

@media (max-width: 600px) {
  .hero__trust > span:last-child small {
    font-size: 11.5px !important;
  }
  .gallery-v52 .gallery-controls-v52 {
    gap: 8px;
  }
  .gallery-v52 .gallery-controls-v52 button {
    width: 48px !important;
    height: 48px !important;
  }
}


/* V82 — Zespół: tylko zdjęcie grupowe w hero. */
.team-hero-montage-v75 {
  grid-template-columns: minmax(0, 1fr) !important;
}
.team-hero-montage-v75__group {
  width: 100% !important;
  max-width: none !important;
}
.team-hero-montage-v75__duo { display: none !important; }

/* V82 — eleganckie, cienkie zakończenie podstrony zespołu. */
body:has(.team-directory) .site-footer__bottom {
  border-bottom: 0 !important;
  padding-bottom: 20px !important;
}
body:has(.team-directory) .creator-credit-v67 {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 42px;
  display: flex;
  align-items: center;
  background: #8f735d !important;
  border: 0 !important;
  box-shadow: none !important;
}
body:has(.team-directory) .creator-credit-v67 .container {
  width: 100%;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding-top: 9px !important;
  padding-bottom: 9px !important;
}
body:has(.team-directory) .creator-credit-v67 a {
  margin: 0 auto !important;
  color: #fffaf5 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2;
  text-decoration: none !important;
}
body:has(.team-directory) .creator-credit-v67 svg {
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px;
}
@media (max-width: 600px) {
  body:has(.team-directory) .creator-credit-v67 { min-height: 38px; }
  body:has(.team-directory) .creator-credit-v67 a { font-size: 12px !important; }
}
