/* STIMI galerija (ne hero) - atskiras v3 stilius */
.site-header a.brand.brand--logo > img {
  height: 32px !important;
  width: auto !important;
  max-width: min(160px, 40vw) !important;
  object-fit: contain;
}
.stimi-gallery-carousel-v3 {
  position: relative;
  isolation: isolate;
  min-width: 0;
}
.stimi-gallery-carousel-v3 .stimi-gallery-grid--scroll-v3 {
  display: flex !important;
  grid-template-columns: none !important;
  flex-wrap: nowrap !important;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.stimi-gallery-carousel-v3 .stimi-gallery-grid--scroll-v3::-webkit-scrollbar { display: none; }
.stimi-gallery-carousel-v3 .stimi-gallery-grid--scroll-v3 > img {
  display: block;
  flex: 0 0 calc((100% - 28px) / 3);
  min-width: 0;
  height: 295px;
  max-width: none;
  object-fit: cover;
  scroll-snap-align: start;
}
.stimi-gallery-carousel-v3__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  background: rgba(17,17,17,.72);
  box-shadow: 0 2px 14px rgba(0,0,0,.22);
  color: #fff;
  font: 36px/1 Arial, sans-serif;
  cursor: pointer;
}
.stimi-gallery-carousel-v3__arrow:hover,
.stimi-gallery-carousel-v3__arrow:focus-visible { background: #74452b; outline: 2px solid white; outline-offset: 2px; }
.stimi-gallery-carousel-v3__arrow:disabled { opacity: .35; cursor: default; }
.stimi-gallery-carousel-v3__arrow[hidden] { display: none !important; }
.stimi-gallery-carousel-v3__arrow--prev { left: 10px; }
.stimi-gallery-carousel-v3__arrow--next { right: 10px; }
@media (max-width: 900px) {
  .stimi-gallery-carousel-v3 .stimi-gallery-grid--scroll-v3 > img { flex-basis: calc((100% - 14px) / 2); height: 270px; }
}
@media (max-width: 640px) {
  .site-header a.brand.brand--logo > img { height: 28px !important; max-width: min(135px, 42vw) !important; }
  .stimi-gallery-carousel-v3 .stimi-gallery-grid--scroll-v3 > img { flex-basis: 100%; height: 275px; }
  .stimi-gallery-carousel-v3__arrow { width: 40px; height: 40px; font-size: 30px; }
  .stimi-gallery-carousel-v3__arrow--prev { left: 7px; }
  .stimi-gallery-carousel-v3__arrow--next { right: 7px; }
}

/* Pagrindinio puslapio foto su taskeliais, zemiau pasirinkimo mygtuku. */
.home-hero .hero-slider .stimi-home-photo-v3__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(17,17,17,.65);
  color: #fff;
  font: 34px/1 Arial,sans-serif;
  cursor: pointer;
}
.home-hero .hero-slider .stimi-home-photo-v3__arrow--prev { left: 15px; }
.home-hero .hero-slider .stimi-home-photo-v3__arrow--next { right: 15px; }
.home-hero .hero-slider .stimi-home-photo-v3__arrow:hover,
.home-hero .hero-slider .stimi-home-photo-v3__arrow:focus-visible { background: #74452b; outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 640px) {
  .home-hero .hero-slider .stimi-home-photo-v3__arrow { width: 40px; height: 40px; font-size: 28px; }
  .home-hero .hero-slider .stimi-home-photo-v3__arrow--prev { left: 8px; }
  .home-hero .hero-slider .stimi-home-photo-v3__arrow--next { right: 8px; }
}
