.peel-video-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  margin: 0 auto;
  background: #fff;
}

.video-ita {
  font-style: italic; color: #fff; font-weight: 900;
}

.peel-video-wrap {
  background: #fff;
}

@media (min-width: 1200px) { /* 700px is 56.25% of 1244px */
  .peel-video-hero {
    height: 675px;
    padding-top: 0; /* Disable padding-top to fix the height */
  }
}


@media(max-width: 788px) {
    
  .peel-video-hero {
    margin: 60px 0;
    overflow: inherit !important;
  }
  }


@media(max-width: 420px) {
    
  .peel-video-hero {
    margin: 80px 0 60px 0;
  }
  }


#background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Media query to adjust height when it exceeds 700px */

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  pointer-events: none; /* Allows clicks to pass through */
}


@media (min-width: 789px) {
  .top-text, .bottom-text {
    font-size: 28px;
    padding: 20px 40px;
  }
}

.has-played .top-text, .has-played .bottom-text {
  opacity: 1; /* Make text visible after the video has played */
}




.peel-hero {
  position: relative;
  overflow: hidden;
}


.peel-video-hero {
  position: relative;
}

.peel {
  position: relative;
  opacity: 0;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
    max-width: 1180px;
}

.top-peel-bar {
  background: #ED8B00;
  color: #fff;
  padding: 20px;
  z-index: 99;
  font-size: 21px;
  font-family: Lato, sans-serif;
  font-weight: 900;
  text-align: center;
  display: block;
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
}

  
  

    

  
@media(min-width: 789px) {
  

  .top-peel-bar:before {
    content: '';
    top: 0;
    bottom: 0;
    position: absolute;
    width: 100vw;
    right: 100%;
    background:  #ED8B00;
  }
  
  
  
  .bottom-peel-bar:before {
    content: '';
    top: 0;
    bottom: 0;
    position: absolute;
    width: 100vw;
    left: 100%;
    background:  #ED8B00;
  }
}


.bottom-peel-bar {
  background: #ED8B00;
  color: #fff;
  padding: 20px;
  z-index: 99;
  transition: .3s ease-in-out;
  text-align: right;
  opacity: 1;
  font-size: 21px;
  font-family: Lato, sans-serif;
  font-weight: 900;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -60px;
  text-align: center;
  
}


#peel-fade-path {
  margin-bottom: 60px;
  margin-top: 80px;
}

.peel-hero {
background: #fff;
}


  .top-peel-bar > div {
  width: 100%;
    max-width: 298px;
      margin: 0 auto;
  }

@media(min-width: 789px) {
  .top-peel-bar {
    position: absolute;
    top: 80px;
    left: 0;
    max-width: 290px;
    text-align: left;
    padding: 20px 40px;
    font-size: 28px;
  }
  .top-peel-bar > div {
  width: 100%;
  }
  
  
  #peel-fade-path {
  margin-bottom: 0px;
    margin-top: 0;
}
  
  .bottom-peel-bar  {
    right: 0;
    font-size: 28px;
    padding: 20px 40px;
    position: absolute;
    bottom: 80px;
    left: unset;
    text-align: right;
    max-width: 194px;
  }

}

.has-played .bottom-peel-bar {
right: 0;
  opacity: 1;
}

.peel-before {
  background: #484335;
  position: absolute;
  left: -50vw;
  width: 50vw;
  top: 0;
  bottom: 0;
  height: 100%;
  z-index: 1;
}


.peel-after {
  background: #484335;
  position: absolute;
  right: -50vw;
  width: 50vw;
  top: 0;
  bottom: 0;
  height: 100%;
  z-index: 1;
}

@media(max-width: 789px) {
  #peel-fade-path:after {
    content: '';
    position: absolute;
  bottom: -60px;
    left: 0;
    right: 0;
    background: #ED8B00;
    height: 60px;
  }

}

.peel-ready {
  opacity: 1;
}

.peel-svg-clip-element {
  position: absolute;
  top: -10000px;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.peel-layer {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-transform-origin: top left;
  -moz-transform-origin: top left;
  transform-origin: top left;
}

/*------------] Some Defaults [------------*/

.peel-top {
  background-image: url('https://www.oliverhcp.com/hubfs/hero-peel-1.jpg');
  background-size: cover;
  
}

.peel-back {
  background-color: #a0c7df;
  background-image: url('https://www.oliverhcp.com/hubfs/hero-peel-back-flipped.jpg');
  background-size: cover;
      border-radius: 70px;
    overflow: hidden;
}

.peel-bottom {
  background-color: #688394;
  background-image: url('https://www.oliverhcp.com/hubfs/hero-peel-2.jpg');
  background-size: cover;
}


.peel-top-shadow.peel-layer {
     border-radius: 70px;
    overflow: hidden;
  box-shadow: none; !important;

}


.peel-after {
  background: #52432C;
}


em {
font-style: italic;
}

.bottom-peel-bar > div { color: #fff;} 
  
  @media(max-width: 789px) {

   .bottom-peel-bar { opacity: 1 !important;}
    
    
       .bottom-peel-bar > div { color: #fff; transition: 0s ease-in-out; opacity: 1; }
    
    .has-played   .bottom-peel-bar > div {
      opacity: 1;
    }

}
  
@media(max-width: 418px) {
    .top-peel-bar {
    top: -80px !important;
    } 
    
    .peel-video-hero {
    margin-top: 80px !important;
    }
  
  }




@media (min-width: 789px) and (max-width: 950px){
  .bottom-peel-bar {
  bottom: 20px;
    padding: 20px 30px;
  }
  
  
   .top-peel-bar {
  top: 20px;
  }
  
}