.block-content-with-slider {
  background-color: var(--color-primary);
}
.block-content-with-slider.bg-dark {
  background-color: var(--color-background);
}
.block-content-with-slider .inner {
  padding: 30px 10px;
  max-width: 1280px;
  margin-inline: auto;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column;
          flex-flow: column;
  gap: 30px;
}
.block-content-with-slider .inner .block-title {
  margin: 0;
}
.block-content-with-slider .inner .content {
  font-weight: 400;
}
.block-content-with-slider .inner .content p {
  margin: 0;
}
.block-content-with-slider .inner .slider-wrapper .arrows {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 40px;
  max-width: 200px;
  margin-inline: auto;
}
.block-content-with-slider .inner .slider-wrapper .arrows .arrow {
  background-color: var(--color-tertiary);
  width: 40px;
  height: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: calc(infinity * 1px);
}
.block-content-with-slider .inner .slider-wrapper .arrows .arrow .dashicons {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 30px;
          flex: 0 0 30px;
  width: 30px;
  height: 30px;
}
.block-content-with-slider .inner .slider-wrapper .arrows .arrow .dashicons::before {
  font-size: 1.875rem;
}
.block-content-with-slider .inner .slider .slick-slide {
  margin: 0 10px;
}
.block-content-with-slider .inner .slider .slick-list {
  margin: 0 -10px;
}
.block-content-with-slider .inner .slider .slick-dots li button:before,
.block-content-with-slider .inner .slider .slick-dots li.slick-active button:before {
  color: var(--color-tertiary);
}
.block-content-with-slider .inner .slider .item {
  height: 270px;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  overflow: hidden;
}
.block-content-with-slider .inner .slider .item picture {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.block-content-with-slider .inner .slider .item picture img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.block-content-with-slider .inner .slider .item .title {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-size: 1.375rem;
  margin: 0;
  position: relative;
  background-color: var(--color-tertiary);
  font-weight: bold;
  text-align: center;
  padding: 10px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  bottom: 0;
}
.block-content-with-slider .inner .slider .item .overlay {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  opacity: 0;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column;
          flex-flow: column;
  gap: 20px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  color: #FFF;
  text-decoration: none;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.block-content-with-slider .inner .slider .item .overlay .overlay-title {
  font-weight: bold;
  position: relative;
  font-size: 1.375rem;
}
.block-content-with-slider .inner .slider .item .overlay .overlay-description {
  font-weight: 500;
  position: relative;
}
.block-content-with-slider .inner .slider .item .overlay::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary);
  opacity: 0.8;
}
.block-content-with-slider .inner .slider .item:hover .title {
  bottom: -100%;
}
.block-content-with-slider .inner .slider .item:hover .overlay {
  height: 100%;
  opacity: 1;
}
@media (width >= 768px) {
  .block-content-with-slider .inner {
    padding: 100px 30px;
    gap: 50px;
  }
  .block-content-with-slider .inner .slider {
    margin-bottom: 0;
  }
}