/* Mobile Lightweight Slider CSS */

.mobile-slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100px;
}

.mobile-slider {
  position: relative;
  width: 100px;
  height: 300px;
  overflow: hidden;
}

.mobile-slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.mobile-slider-slide {
  position: relative;
  min-width: 100px;
  width: 100px;
  height: 300px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* HTML slide styling */
.mobile-slider-slide.html-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 300px;
  padding: 10px;
  box-sizing: border-box;
}

.mobile-slider-slide.html-slide > * {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.mobile-slider-slide-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
}

/* Content Positioning */
.mobile-slider-slide-content.top {
  justify-content: flex-start;
}

.mobile-slider-slide-content.middle {
  justify-content: center;
}

.mobile-slider-slide-content.bottom {
  justify-content: flex-end;
}

/* Text Alignment */
.mobile-slider-slide-content.left {
  align-items: flex-start;
  text-align: left;
}

.mobile-slider-slide-content.center {
  align-items: center;
  text-align: center;
}

.mobile-slider-slide-content.right {
  align-items: flex-end;
  text-align: right;
}

.mobile-slider-title {
  font-size: 20px !important;
  margin: 0 0 10px 0;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  white-space: normal;
  word-wrap: break-word;
}

.mobile-slider-description {
  font-size: 14px !important;
  margin: 0 0 15px 0;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  white-space: normal;
  word-wrap: break-word;
}

/* Button Styles */
.mobile-slider-button {
  position: absolute;
  display: inline-block;
  padding: 8px 16px;
  background-color: #0073e6;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 12px;
  transition: background-color 0.3s ease;
  z-index: 20;
  border: none;
  cursor: pointer;
}

.mobile-slider-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Button Sizes */
.mobile-slider-button.small {
  padding: 6px 12px;
  font-size: 10px;
}

.mobile-slider-button.medium {
  padding: 8px 16px;
  font-size: 12px;
}

.mobile-slider-button.large {
  padding: 10px 20px;
  font-size: 14px;
}

/* Button Positions */
.mobile-slider-button.bottom-left {
  bottom: 10px;
  left: 10px;
}

.mobile-slider-button.bottom-center {
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.mobile-slider-button.bottom-right {
  bottom: 10px;
  right: 10px;
}

.mobile-slider-button.middle-left {
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

.mobile-slider-button.middle-right {
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

.mobile-slider-button.top-left {
  top: 10px;
  left: 10px;
}

.mobile-slider-button.top-center {
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.mobile-slider-button.top-right {
  top: 10px;
  right: 10px;
}

.mobile-slider-controls {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.mobile-slider-controls.hidden {
  display: none;
}

.mobile-slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  height: auto;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  transition: opacity 0.3s ease;
  padding: 5px;
  margin: 0;
  border-radius: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.mobile-slider-nav-btn:hover {
  opacity: 0.8;
}

.mobile-slider-nav-btn.prev {
  left: 5px;
}

.mobile-slider-nav-btn.next {
  right: 5px;
}

.mobile-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  margin: 0 3px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.mobile-slider-dot.active {
  background: #fff;
}

/* Font family support */
.mobile-slider-title,
.mobile-slider-description {
  font-family: inherit;
}

.mobile-slider-title[style*="font-family: Damion"],
.mobile-slider-description[style*="font-family: Damion"] {
  font-family: 'Damion', cursive !important;
}