.wp-block-spinnio-mobile-scroll-gallery,
.spinnio-mobile-scroll-gallery {
  width: 100%;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent !important;
  outline: none !important;
}

.wp-block-spinnio-mobile-scroll-gallery *,
.spinnio-mobile-scroll-gallery * {
  -webkit-tap-highlight-color: transparent !important;
}

.wp-block-spinnio-mobile-scroll-gallery .spinnio-mobile-scroll-gallery__viewport,
.spinnio-mobile-scroll-gallery__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  outline: none !important;
  transition: height 0.25s ease;
}


.wp-block-spinnio-mobile-scroll-gallery .spinnio-mobile-scroll-gallery__track,
.spinnio-mobile-scroll-gallery__track {
  display: flex;
  width: 100%;
  transition: transform 0.3s ease;
  will-change: transform;
  outline: none !important;
}

.wp-block-spinnio-mobile-scroll-gallery .spinnio-mobile-scroll-gallery__item,
.spinnio-mobile-scroll-gallery__item {
  flex: 0 0 100%;
  width: 100%;
  margin: 0;
  outline: none !important;
}

.wp-block-spinnio-mobile-scroll-gallery .spinnio-mobile-scroll-gallery__media,
.spinnio-mobile-scroll-gallery__media {
  overflow: hidden;
  border-radius: 18px;
  outline: none !important;
}

.wp-block-spinnio-mobile-scroll-gallery .spinnio-mobile-scroll-gallery__image,
.wp-block-spinnio-mobile-scroll-gallery .spinnio-mobile-scroll-gallery__item img,
.spinnio-mobile-scroll-gallery__image,
.spinnio-mobile-scroll-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
  user-select: none;
}

.wp-block-spinnio-mobile-scroll-gallery .spinnio-mobile-scroll-gallery__caption,
.spinnio-mobile-scroll-gallery__caption {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #f7f7f8;
  color: #2b2b2b;
  font-size: 15px;
  line-height: 1.6;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Fully transparent arrows: no black circle, no black box, no tap/focus background. */
.wp-block-spinnio-mobile-scroll-gallery .spinnio-mobile-scroll-gallery__arrow,
.spinnio-mobile-scroll-gallery__arrow,
.wp-block-spinnio-mobile-scroll-gallery .spinnio-mobile-scroll-gallery__arrow:hover,
.spinnio-mobile-scroll-gallery__arrow:hover,
.wp-block-spinnio-mobile-scroll-gallery .spinnio-mobile-scroll-gallery__arrow:focus,
.spinnio-mobile-scroll-gallery__arrow:focus,
.wp-block-spinnio-mobile-scroll-gallery .spinnio-mobile-scroll-gallery__arrow:active,
.spinnio-mobile-scroll-gallery__arrow:active,
.wp-block-spinnio-mobile-scroll-gallery .spinnio-mobile-scroll-gallery__arrow:focus-visible,
.spinnio-mobile-scroll-gallery__arrow:focus-visible {
  position: absolute;
  top: calc(var(--msgb-media-height, 320px) / 2);
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: 0 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none;
  user-select: none;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent !important;
}

.wp-block-spinnio-mobile-scroll-gallery .spinnio-mobile-scroll-gallery__arrow span,
.spinnio-mobile-scroll-gallery__arrow span,
.wp-block-spinnio-mobile-scroll-gallery .spinnio-mobile-scroll-gallery__arrow:hover span,
.spinnio-mobile-scroll-gallery__arrow:hover span,
.wp-block-spinnio-mobile-scroll-gallery .spinnio-mobile-scroll-gallery__arrow:focus span,
.spinnio-mobile-scroll-gallery__arrow:focus span,
.wp-block-spinnio-mobile-scroll-gallery .spinnio-mobile-scroll-gallery__arrow:active span,
.spinnio-mobile-scroll-gallery__arrow:active span {
  width: auto;
  height: auto;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
  color: #fff !important;
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
  text-shadow: 0 3px 12px rgba(0,0,0,0.95), 0 0 3px rgba(0,0,0,0.95), 0 0 1px rgba(255,255,255,0.9);
  -webkit-text-stroke: 1px rgba(0,0,0,0.35);
}

.wp-block-spinnio-mobile-scroll-gallery .spinnio-mobile-scroll-gallery__arrow:disabled,
.spinnio-mobile-scroll-gallery__arrow:disabled {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.wp-block-spinnio-mobile-scroll-gallery .spinnio-mobile-scroll-gallery__arrow--prev,
.spinnio-mobile-scroll-gallery__arrow--prev { left: 10px; }
.wp-block-spinnio-mobile-scroll-gallery .spinnio-mobile-scroll-gallery__arrow--next,
.spinnio-mobile-scroll-gallery__arrow--next { right: 10px; }
.wp-block-spinnio-mobile-scroll-gallery .spinnio-mobile-scroll-gallery__status,
.spinnio-mobile-scroll-gallery__status { margin-top: 8px; text-align: center; font-size: 14px; line-height: 1.2; color: #666; font-weight: 600; }

@media (min-width: 768px) {
  .wp-block-spinnio-mobile-scroll-gallery.spinnio-mobile-scroll-gallery--mobile-only,
  .spinnio-mobile-scroll-gallery.spinnio-mobile-scroll-gallery--mobile-only { display: none !important; }
}

@media (max-width: 480px) {
  .wp-block-spinnio-mobile-scroll-gallery .spinnio-mobile-scroll-gallery__arrow,
  .spinnio-mobile-scroll-gallery__arrow { width: 42px; height: 42px; }
  .wp-block-spinnio-mobile-scroll-gallery .spinnio-mobile-scroll-gallery__arrow span,
  .spinnio-mobile-scroll-gallery__arrow span { font-size: 40px; }
  .wp-block-spinnio-mobile-scroll-gallery .spinnio-mobile-scroll-gallery__arrow--prev,
  .spinnio-mobile-scroll-gallery__arrow--prev { left: 6px; }
  .wp-block-spinnio-mobile-scroll-gallery .spinnio-mobile-scroll-gallery__arrow--next,
  .spinnio-mobile-scroll-gallery__arrow--next { right: 6px; }
  .wp-block-spinnio-mobile-scroll-gallery .spinnio-mobile-scroll-gallery__caption,
  .spinnio-mobile-scroll-gallery__caption { font-size: 14px; padding: 14px 16px; }
}
.spinnio-mobile-scroll-gallery-placeholder { padding: 18px; border: 1px dashed #b8b8b8; background: #f7f7f7; color: #555; }
