/* Image Slider Preview - matches te-0500daf2 (image-slider) component appearance */

.image-slider .image-slider__inner,
.image-slider .phuib_logoslider {
  position: relative;
  background-color: var(--general-background, transparent);
}

.image-slider .slider-layout-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.image-slider .slider-swiper-outer {
  width: 100%;
  min-width: 0;
}

.image-slider .slider-swiper {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  pointer-events: auto;
}

.image-slider .slider-swiper .swiper-wrapper {
  display: flex;
  align-items: center;
}

.image-slider .slider-swiper .swiper-slide {
  display: flex;
  width: auto;
  height: auto;
  box-sizing: border-box;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
}

/* When slidesPerView is 'auto' (continuous mode), give slides a fixed width */
.image-slider .slider-swiper.slider-slides-auto .swiper-slide {
  width: 200px;
}

/* Continuous mode: linear transition (marquee-style scroll) - from web component */
.image-slider .slider-swiper.slider-continuous .swiper-wrapper {
  transition-timing-function: linear !important;
}

.image-slider .logo-slider-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
  color: var(--box-icon-color, inherit);
}

.image-slider .logo-slider-icon img {
  object-fit: contain;
  display: block;
  height: auto;
  max-width: 100%;
  border-radius: 4px;
}

/* Pagination and navigation - from slider-common/slider-pagination-nav-styles.ts (web component defaults) */
.image-slider .slider-swiper-nav {
  display: flex;
  margin-top: 12px;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.image-slider .slider-swiper-prev,
.image-slider .slider-swiper-next {
  z-index: 11;
  display: flex;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  color: inherit;
  background: #fff;
  cursor: pointer;
  transform: translateY(-50%);
}

/* Web component hides SVG when using custom arrow images; preview uses SVG so we show it */
.image-slider .slider-swiper-prev svg,
.image-slider .slider-swiper-next svg {
  display: block;
  width: 20px;
  height: 20px;
}

.image-slider .slider-swiper-prev:hover,
.image-slider .slider-swiper-next:hover {
  background: #f5f5f5;
}

.image-slider .slider-swiper-prev img,
.image-slider .slider-swiper-next img {
  object-fit: contain;
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.image-slider .slider-swiper-pagination {
  position: relative !important;
  margin-top: 20px;
}

.image-slider .slider-swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(0, 0, 0, 0.2);
  opacity: 1;
}

.image-slider .slider-swiper-pagination .swiper-pagination-bullet-active {
  background: #000;
}

.image-slider .swiper-button-next:after,
.image-slider .swiper-button-prev:after {
  display: none;
}
