.hs-slider-wrapper {
  /* max-width and border-radius now set via dynamic styles */
  margin: 40px auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.hs-slide {
  position: relative;
  width: 100%;
  height: 550px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hs-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
}

.hs-slide-content {
  position: relative;
  z-index: 2;
  padding: 40px 60px;
  max-width: 60%;
}

.hs-slide-subtitle {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.hs-slide-title {
  font-weight: 700;
  margin: 10px 0;
  line-height: 1.2;
}

.hs-slide-excerpt {
  line-height: 1.6;
  margin-bottom: 20px;
}

.hs-slide-cta {
  display: inline-block;
  background-color: #ffffff;
  color: #111111;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hs-slide-cta:hover {
  background-color: #cccccc;
}


.hs-slide .hs-slide-full-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3; /* This makes sure the link is on top of other content */
}


/* Swiper controls styling */
.swiper-button-prev,
.swiper-button-next {
  color: #fff;
}

.swiper-pagination-bullet-active {
  background: #fff;
}

@media (max-width: 768px) {
  .hs-slide { height: 400px; }
  .hs-slide-content {
    max-width: 90%;
    padding: 30px;
  }
}