.ansambl-main {
  border-radius: 30px 30px 0 0;
  background: linear-gradient(0deg, #faf4e5 0%, #faf4e5 100%), #fff;
  margin-top: -25px;
  position: relative;
  z-index: 2;
}
.ansambl-card {
  background-color: #fff;
  padding: 14px;
  border-radius: 18px;
  height: 100%;
}
.ansambl-card:hover .ansambl-upper__hover {
  opacity: 1;
  visibility: visible;
}
.ansambl-card:hover .ansambl-upper::before {
  top: 0;
}
.ansambl-upper {
  position: relative;
  overflow: hidden;
}
.ansambl-upper::before {
  position: absolute;
  content: "";
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(248, 240, 218, 0) 0%,
    rgba(248, 240, 218, 0.84) 50.7%,
    rgba(248, 240, 218, 0.93) 62.59%,
    #f8f0da 100%
  );
  border-radius: 16px;
  transition: 0.4s ease-in;
}
.ansambl-upper img {
  border-radius: 18px;
  width: 100%;
  display: flex;
}
.ansambl-title h2 {
  font-size: clamp(20px, 1.666666666666667vw, 32px);
  color: #3b3b3b;
  text-align: center;
  line-height: normal;
}
.predstave-heading.ansambl {
  background-color: #ffffffcc;
}
.ansambl-upper__hover {
  position: absolute;
  left: 18px;
  bottom: 29px;
  width: calc(100% - 36px);
  height: auto;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}
.ansambl-upper__hover p {
  color: #3b3b3b;
  font-size: clamp(14px, 1.041666666666667vw, 20px);
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
}
@media only screen and (max-width: 567px) {
  .predstave-heading.ansambl .predstave-filter {
    display: flex;
  }

  .predstave-heading.ansambl {
    justify-content: center;
  }
  .ansambl-item {
    margin-bottom: 10px;
  }
  .ansambl-wrapper .ansambl-item {
    padding-right: 5px;
    padding-left: 5px;
  }
  .ansambl-card {
    border-radius: 7px;
    padding: 6px;
  }
  .ansambl-main {
    border-radius: 20px 20px 0 0;
  }
}
