/* Advanced Background Pro - Styles */
.abp-video-wrap,
.abp-overlay-wrap {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.abp-overlay-wrap {
    z-index: 1;
}

.abp-video-wrap video,
.abp-video-wrap iframe {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.abp-video-wrap iframe {
    width: 100vw;
    height: 56.25vw; /* 16:9 */
    min-height: 100%;
    min-width: 177.78vh; /* 16:9 */
}

.abp-play-pause-btn {
    position: absolute;
    bottom: 15px; right: 15px;
    z-index: 5;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px; height: 40px;
    cursor: pointer;
    font-size: 16px;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.abp-play-pause-btn:hover {
    background: rgba(0,0,0,0.8);
}

/* Ensure host element has relative positioning */
[data-abp-settings] {
    position: relative !important;
    overflow: hidden;
}

/* Content above layers */
[data-abp-settings] > .elementor-container,
[data-abp-settings] > .elementor-widget-wrap,
[data-abp-settings] > .e-con-inner {
    position: relative;
    z-index: 2;
}

/* Sticky effect */
.abp-sticky-active {
    background-attachment: fixed !important;
}
