/* TEMP 2026-07-20: portrait gallery — one centered photo + thumbs below + visible arrows */

.page-single-blog1 .single7 .lSSlideOuter {
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  position: relative;
}

.page-single-blog1 .single7 .lSSlideWrapper,
.page-single-blog1 .single7 .gwts-gwl-slidergal,
.page-single-blog1 .single7 .lslide {
  max-height: min(70vh, 720px) !important;
  height: min(70vh, 720px) !important;
}

.page-single-blog1 .single7 .lSSlideWrapper {
  overflow: hidden !important;
  background: #1a1a1a;
  position: relative !important;
}

.page-single-blog1 .single7 .lslide {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #1a1a1a;
  overflow: hidden !important;
  text-align: center;
}

.page-single-blog1 .single7 .lslide img {
  width: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  cursor: zoom-in;
}

/* Osobny pasek pod Galeria — wyłączony (przycisk tylko na zdjęciu) */
.page-single-blog1 .single7 .ls-gallery-zoom-bar {
  display: none !important;
}

.page-single-blog1 .single7 .ls-gallery-zoom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  background: #e30613;
  color: #fff !important;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
}

.page-single-blog1 .single7 .ls-gallery-zoom-btn__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.page-single-blog1 .single7 .ls-gallery-zoom-btn:active {
  transform: scale(0.97);
  background: #c10510;
}

/* Prawy dolny róg głównego zdjęcia */
.page-single-blog1 .single7 .ls-gallery-zoom-btn--stage {
  position: absolute;
  top: auto;
  right: 12px;
  bottom: 12px;
  left: auto;
  z-index: 40;
  width: auto;
  height: auto;
  min-height: 40px;
  padding: 8px 14px 8px 10px;
  font-size: 14px;
  border-radius: 999px;
}

@media (max-width: 800px) {
  .page-single-blog1 .single7 .lSSlideWrapper,
  .page-single-blog1 .single7 .gwts-gwl-slidergal,
  .page-single-blog1 .single7 .lslide {
    max-height: min(55vh, 480px) !important;
    height: min(55vh, 480px) !important;
  }

  .page-single-blog1 .single7 .ls-gallery-zoom-btn--stage {
    display: inline-flex !important;
    right: 10px;
    bottom: 10px;
    min-height: 44px;
    padding: 10px 14px 10px 12px;
    font-size: 15px;
  }
}

.page-single-blog1 .single7 .lSSlideOuter .lSPager.lSGallery {
  margin-top: 12px !important;
  display: block !important;
  visibility: visible !important;
}

/* LightGallery thumbs — czytelniejsze na czarnym tle */
.lg-outer .lg-thumb-item {
  background: #333;
  border: 2px solid transparent;
}

.lg-outer .lg-thumb-item.active,
.lg-outer .lg-thumb-item:hover {
  border-color: #e30613;
}

.lg-outer .lg-thumb-item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Strzałki — zawsze widoczne; hover = czerwone tło + biała ikona */
.page-single-blog1 .single7 .lSAction > a {
  background-color: #fff !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 26px 26px !important;
  opacity: 1 !important;
  border-radius: 50% !important;
  width: 52px !important;
  height: 52px !important;
  margin-top: -26px !important;
  border: 2px solid #e30613 !important;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.45) !important;
  z-index: 5 !important;
}

.page-single-blog1 .single7 .lSAction > .lSPrev,
.page-single-blog1 .single7 .lSAction > .lSPrev:hover,
.page-single-blog1 .single7 .lSAction > .lSPrev:focus {
  left: 12px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

.page-single-blog1 .single7 .lSAction > .lSNext,
.page-single-blog1 .single7 .lSAction > .lSNext:hover,
.page-single-blog1 .single7 .lSAction > .lSNext:focus {
  right: 12px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

.page-single-blog1 .single7 .lSAction > a:hover,
.page-single-blog1 .single7 .lSAction > a:focus {
  background-color: #e30613 !important;
  opacity: 1 !important;
  transform: scale(1.06);
}

.page-single-blog1 .single7 .lSAction > .lSPrev:hover,
.page-single-blog1 .single7 .lSAction > .lSPrev:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

.page-single-blog1 .single7 .lSAction > .lSNext:hover,
.page-single-blog1 .single7 .lSAction > .lSNext:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E") !important;
}
