.featured-blocks-widget {
  display: flex;
  max-width: 1400px;
  margin-top: -100px;
  position: relative;
  z-index: 9;
  padding: 10px 0px;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.featured-block-card {
  cursor: pointer;
  position: relative;
  display: flex;
  padding: 0px 26px;
  border: 0 none;
  transition: all 0.4s ease-in-out;
  background-position: center;
  background-size: cover;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  height: 236px;
  min-width: 180px;
  max-width: 325px;
  min-height: 130.708px;
  max-height: 236px;
  justify-content: center;
  align-items: center;
  flex: 1 0 0;
  aspect-ratio: 325/236;
}

.featured-block-overlay-hover {
  position: absolute;
  width: 670px;
  height: 535px;
  transform: rotate(-38.853deg) translate(0, -460px);
  background: linear-gradient(180deg, rgba(103, 3, 3, 0.50) 79.33%, rgba(103, 3, 3, 0.00) 100%);
  backdrop-filter: blur(1.5px);
  z-index: 99;
  transition: transform 300ms ease-in-out;
  pointer-events: none;
}

.featured-block-card:hover .featured-block-overlay-hover {
  transform: rotate(-38.853deg) translate(0, 0);
}

.featured-block-title {
  z-index: 999;
  color: #FFF;
  text-align: center;
  font-family: "Alata", sans-serif;
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.78px;
}

.featured-block-overlay {
  background: rgba(0, 0, 0, 0.20);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
}

.featured-block-card-image-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
}

.slider-thumbnail-controls {
  z-index: 3;
}

.featured-blocks-widget .featured-block-card h3 {
  z-index: 1;
  color: #FFF;
  text-align: center;
  font-family: "ddt", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.2px;
  text-transform: capitalize;
  margin-bottom: 0;
}

@media only screen and (max-width: 1460px) {
  .featured-blocks-widget {
    padding: 0;
  }

  .featured-block-card {
    width: calc(25% - 15px);
  }
}

@media only screen and (max-width: 1240px) {
  .featured-block-card {
    min-width: 5px;
  	height: 130px;
  }
}

@media only screen and (max-width: 998px) {
  .featured-block-card {
    flex: 0 0 calc(50% - 15px); /* override flex */
    min-width: unset; /* override min-width */
    max-width: unset; /* optional */
    height: 250px;
    padding: 0 16px;
    margin-bottom: 0;
  }
}

@media only screen and (max-width: 700px) {
  .featured-block-card {
    width: calc(50% - 10px);
  }

  .featured-block-card {
    height: 130px;
  }

  .featured-blocks-widget {
    margin-top: -45px;
  }
}

@media only screen and (max-width: 480px) {
  .featured-block-title {
	   font-size: 22px;
   }
  /*
  .featured-block-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: unset;
    max-width: unset;
  }*/
}
