.hsp-slider-type-5-container {
  color: #500778;
  background-color: #F7F2F9;
  border-radius: 12px;
}

.hsp-slider-type-5-layout {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 15px;
}

/* Slider Column */
.hsp-slider-type-5-slider-col {
  padding: 0;
}

.hsp-slider-type-5-slider-wrapper {
  position: relative;
}

.hsp-slider-type-5-arrow-container {
  position: absolute;
  top: 50%;
  left: -50px;
  right: -50px;
  transform: translateY(-200%);
  z-index: 10;
  pointer-events: none;
}

.hsp-slider-type-5-arrow-container .slick-arrow {
  pointer-events: auto;
}

.hsp-slider-type-5-inner {
  margin: 0 -10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}


.hsp-slider-type-5-header-title {
  color: #500778;
}

.hsp-slider-type-5-header-toggle {
  align-items: center;
  background-color: #d9d9d9;
  border-radius: 100%;
  color: #500778;
  cursor: pointer;
  display: flex;
  font-size: 1.2em;
  height: 35px;
  justify-content: center;
  transform: rotate(90deg);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  width: 35px;
}

.hsp-slider-type-5-header-toggle[aria-expanded="true"] {
  transform: rotate(180deg);
}

.hsp-slider-type-5-header-toggle:hover {
  background-color: #ea580d;
  color: #ffffff;
}

/* Slide Cards */
.hsp-slider-type-5-slide {
  padding: 0 10px;
}

.hsp-slider-type-5-card {
  background: #D9D9D9;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hsp-slider-type-5-card-image-wrapper {
  width: 100%;
  height: 186px;
  overflow: hidden;
  background-color: #ea580d;
}

.hsp-slider-type-5-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hsp-slider-type-5-card-content {
  padding: 20px;
  background: white;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hsp-slider-type-5-card-title {
  font-size: 20px;
  color: #500778;
  margin-bottom: 15px;
  line-height: 1.4;
}

.hsp-slider-type-5-card-description {
  font-size: 15px;
  color: #500778;
  line-height: 1.4;
}

.hsp-slider-type-5-card-btn {
  margin-top: auto;
  align-self: flex-start;
}

/** ARROWS **/
.hsp-slider-type-5-arrow-container .slick-arrow {
  align-items: center;
  background-color: transparent;
  border-radius: 100%;
  color: #500778;
  cursor: pointer;
  display: flex;
  font-size: 1.2em;
  height: 35px;
  justify-content: center;
  width: 35px;
  border: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hsp-slider-type-5-arrow-container .slick-arrow:hover {
  background-color: #ea580d;
  color: #ffffff;
}

.hsp-slider-type-5-arrow-container .slick-arrow.slick-disabled {
  visibility: hidden;
  pointer-events: none;
}

.hsp-slider-type-5-arrow-container .slick-prev {
  transform: rotate(-90deg);
}

.hsp-slider-type-5-arrow-container .slick-next {
  transform: rotate(90deg);
}

/* Hide arrows on smaller screens */
@media (max-width: 1199px) {
  .hsp-slider-type-5-arrow-container {
    display: none;
  }
}

.hsp-slider-type-5-dots-container .slick-dots {
  position: static;
  bottom: auto;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.hsp-slider-type-5-dots-container .slick-dots li {
  margin: 0;
  padding: 0;
}

.hsp-slider-type-5-dots-container .slick-dots li button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: rgba(255,163,0,0.25);
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  transition: all 0.25s ease;
}

.hsp-slider-type-5-dots-container .slick-dots li button:hover {
  background-color: rgba(255,163,0,0.5);
}

.hsp-slider-type-5-dots-container .slick-dots li.slick-active button {
  background-color: #ea580d;
  width: 12px;
  height: 12px;
}

/* Responsive */
@media (max-width: 767px) {
  .hsp-slider-type-5-card-image-wrapper {
    height: 150px;
  }
  
  .hsp-slider-type-5-card-content {
    padding: 15px;
  }

  .hsp-slider-type-5-card-title {
    font-size: 18px;
  }

  .hsp-slider-type-5-card-description {
    font-size: 14px;
  }
}