/* YBM PLN Pegawai Berbagi | Banner foto v1.1.0 */
/* Foto hanya hidup pada hero periode program; status/kuota tetap berasal dari portal. */
#periodBanner.pb-hero,
#periodBanner.ybm-photo-hero-ready {
  position: relative !important;
  isolation: isolate;
  overflow: hidden;
}
#periodBanner.pb-hero > .pb-hero-illustration,
#periodBanner.ybm-photo-hero-ready > .pb-hero-illustration {
  position: absolute !important;
  inset: 0 0 0 auto !important;
  width: 50% !important;
  max-width: none !important;
  height: 100% !important;
  transform: none !important;
  opacity: 1 !important;
  margin: 0 !important;
  z-index: 0 !important;
  pointer-events: none;
  background-image: url('./foto-penyaluran.webp') !important;
  background-repeat: no-repeat !important;
  background-position: center 45% !important;
  background-size: cover !important;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 28%) !important;
  mask-image: linear-gradient(to right, transparent 0%, #000 28%) !important;
}
#periodBanner > .pb-hero-illustration svg,
#periodBanner > .pb-hero-illustration img { display: none !important; }
#periodBanner > :not(.pb-hero-illustration) { position: relative; z-index: 2; }
#periodBanner > h2,
#periodBanner > .pb-period-dates,
#periodBanner > .pb-personal-quota,
#periodBanner > .pb-yellow-cta { max-width: 58%; }
@media (max-width: 760px) {
  #periodBanner.pb-hero,
  #periodBanner.ybm-photo-hero-ready { padding-bottom: 236px !important; }
  #periodBanner > .pb-hero-illustration {
    inset: auto 0 0 0 !important;
    width: 100% !important;
    height: 224px !important;
    background-position: center 45% !important;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%) !important;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 30%) !important;
  }
  #periodBanner > h2,
  #periodBanner > .pb-period-dates,
  #periodBanner > .pb-personal-quota,
  #periodBanner > .pb-yellow-cta { max-width: 100%; }
}
@media (max-width: 420px) {
  #periodBanner.pb-hero,
  #periodBanner.ybm-photo-hero-ready { padding-bottom: 206px !important; }
  #periodBanner > .pb-hero-illustration { height: 195px !important; }
}
@media (prefers-reduced-motion: reduce) {
  #periodBanner > .pb-hero-illustration { transition: none !important; }
}
