/* Video Block Styles */
.video-block {
    width: 100vw;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.video-container {
    position: relative;
    width: 100%;
    height: auto;
}

.video-element {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Custom Play Button */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.0);
    border: none;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    z-index: 2;
}

.video-play-btn img {
    width: 150px;
    height: 150px;
    transition: transform 0.2s ease-in-out;
}

/* Hover Effect */
.video-play-btn:hover {
    /*background: rgba(0, 0, 0, 0.9);*/
}

.video-play-btn:hover img {
    transform: scale(1.1);
}

/* Hide play button when video is playing */
.video-container.playing .video-play-btn {
    display: none;
}

/* Show controls on hover */
.video-container:hover .video-element {
    cursor: pointer;
}
.video-block {
    position: relative;
    width: calc(100vw); /* Full viewport width */
    max-width: 100vw;
    margin-left: calc(-1 * var(--parent-padding, 0px)); /* Offsets the parent's left padding */
    margin-right: calc(-1 * var(--parent-padding, 0px)); /* Offsets the parent's right padding */
    transform: translateX(0vw) !important;
    background_color: var(--color-black);
}
.video-block video {
    display: block; /* Ensures video takes full space without extra gaps */
    width: 100%;
    height: auto;
    background-color: black; /* Forces black background behind video */
    object-fit: cover; /* Ensures video covers its space fully */
}

/* Remove default browser padding/margins on video controls */
.video-block video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.6) !important; /* Ensures the panel is not white */
}

@media (max-width: 767px) {
  /* Styles for mobile devices */
  .video-play-btn img {
        width: 50px;
        height: auto;
  }
}





/* Fix spacing issues */
.video-block {
    line-height: 0; /* Prevents gaps due to inherited line-height */
    overflow: hidden; /* Ensures no extra space below the video */
}
.video-block video {
    width: 100%;
    height: auto;
    background-color: black; /* Ensure no white background */
    object-fit: cover;
    display: block;
    clip-path: inset(0px 0px 25px 0px); /* Cuts off the bottom 25px */
}



