.hero-bg {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  height: 500px;
}
.hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(237, 28, 36, 0) 0%,
    rgba(237, 28, 36, 0.5) 87.88%
  );
}
.hero-bg::after {
  content: "";
  position: absolute;
  bottom: 65px;
  right: 40px;
  width: 470px;
  height: 330px;
  background-image: url(../../assets/icons/hero-before.png);
  background-repeat: no-repeat;
  background-size: contain;
}
.global__content {
  position: absolute;
  bottom: 65px;
  left: 15px;
  z-index: 5;
}
.ansambl-video__image {
  border: 5px solid #fff;
  display: flex;
}

.single-predstava-content-box .single-predstava-video-wrapper:before {
  left: 4px;
  top: 4px;
  bottom: 4px;
  right: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
}

.featured__img {
  position: relative;
}
.featured__img img {
  display: flex;
  width: 100%;
}
.featured__img:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  top: 0;
  left: 0;
  border-radius: 20px;
}
.featured__img__info {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
}
.featured__img__info p {
  font-size: 30px;
  line-height: 1;
}
.featured__img__info span {
  font-size: clamp(14px, 1.041666666666667vw, 20px);
}
.single.single-ansambl #page {
  overflow: visible;
}
.predstave-glumca__card {
  background-color: #fff;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 13px;
}
.ansambl__predstave {
  width: 85px;
  min-width: 85px;
  height: 127px;
  object-fit: cover;
  border-radius: 8px;
  display: flex;
}
.predstave-glumca__excerpt p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
.predstave-glumca__title {
  font-size: clamp(18px, 1.25vw, 24px);
  line-height: 1.1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
.predstave-glumca__link,
.predstave-glumca__scena {
  color: var(--main-red);
  font-size: 16px;
  font-weight: 500;
}
.predstave-glumca__link {
  font-size: clamp(16px, 0.9375vw, 18px);
}
.hero-bg--mobile {
  display: none;
}

@media only screen and (max-width: 1600px) {
  .predstave-glumca__excerpt {
    padding-bottom: 10px;
  }
}
@media only screen and (max-width: 1440px) {
  .hero-bg::after {
    width: 350px;
    height: 247px;
  }
  /* .global__content {
    left: 10px;
  } */
  .predstave-glumca__card {
    padding: 9px;
  }
  .predstave-glumca__link {
    white-space: nowrap;
  }
}
@media only screen and (max-width: 1199px) {
  /* .global__content {
    left: 48px;
  } */
}

@media only screen and (max-width: 991px) {
  .hero-bg--desktop {
    display: none;
  }

  .hero-bg--mobile {
    display: block;
  }

  .hero-bg--mobile {
    height: 400px;
  }
  .featured__img__info p {
    font-size: 38px;
  }
  .predstave-glumca__box {
    display: flex;
    flex-direction: column;
  }
  .predstave-glumca__link {
    margin-top: auto;
  }
}

@media only screen and (max-width: 767px) {
  .global__content {
    left: 15px;
  }
  .hero-bg::after {
    width: 205px;
    height: 145px;
  }
}
@media only screen and (max-width: 567px) {
  .hero-bg::after {
    width: 118px;
    height: 81px;
  }
  .hero-bg::after {
    display: none;
  }
  .hero-bg--mobile {
    height: 306px;
  }
  .predstave-glumca__excerpt {
    display: none;
  }
}
