.parent-dynamic-class { /* dynamic class for parent section where we have video banner in post*/
    padding-bottom: 0!important;
}

/* Fixed video (pinned) */
.video-layer {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(0);
    will-change: transform;
}

    .video-layer video {
        position: absolute;
        inset: 0;
        width: auto;
        height: 100%;
        /* object-fit: cover; */
        opacity: 0.7;
    }

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 40px;
    text-align: center;
}

    .video-overlay h1 {
        font-size: 3rem;
        margin-bottom: 20px;
    }

/* Content */
.overlay-content-section {
    position: relative;
    z-index: 1;
    padding: 20vh 40px 100px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
    background-color: black;
}




/* Down arrow */
.scroll-down {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease;
}

    .scroll-down:hover {
        transform: translateX(-50%) translateY(2px);
    }

    .scroll-down.hidden {
        opacity: 0;
        pointer-events: none;
    }

    .scroll-down svg {
        width: 24px;
        height: 24px;
    }

.video-center-title {
    position: relative;
    margin:0px auto 0 auto;
    font-size: 3rem;
    padding: 32px 64px;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    width: fit-content;
    text-align: center;
    opacity: 1;
    transition: opacity 1.6s cubic-bezier(.4,0,.2,1); /* Slower fade */
    will-change: opacity;
    display: block;
    margin-top: auto;
}

.post-animation-banner > div {
    height: 100vh;
    display: flex;    
}
.video-center-title h2 {
    padding-bottom: 20vh;
}

/*Overlay-style end*/


