.video-player-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    width: 100%;
    max-width: 900px; /* Adjust max-width as needed */
    margin: 0 auto; /* Center the container */
}

.video-wrapper {
    position: relative;
    cursor: pointer;
    width: 100%;
    max-width: 281px; /* Max width for 9:16 aspect ratio with max-height 500px (500 * 9 / 16) */
    height: 500px; /* Fixed height for the video container */
    overflow: hidden;
    background-color: #000;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover; /* This will make the video cover the entire container */
}

.video-player-container p {
    font-size: 1.2rem;
    color: #888;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 0 20px 35px; /* Creates a triangle (play icon) */
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.8);
    pointer-events: none; /* Button doesn't intercept clicks on the wrapper */
    transition: opacity 0.3s ease;
    opacity: 0.7;
}

.video-wrapper:hover .play-button {
    opacity: 1;
}
