/**
 * Video Widget - Styles
 * 
 * @package BBAdria
 */

/* Pinned Video Section */
.pinned-image {
    display: flex;
    height: 90vh;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.pinned-image.rounded_container {
    border-radius: 15px;
}

.pinned-image--medium {
    height: 75vh;
}

.pinned-image--small {
    height: 45vh;
}

.pinned-image__container {
    position: relative;
    transform: scale(0.8);
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.pinned-image:hover .pinned-image__container {
    transform: scale(1);
}

.pinned-image__container-overlay {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

.pinned-image__container img,
.pinned-image__container video {
    height: 100%;
    left: 0;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    width: 100%;
    background-color: #ccc;
}

.pinned-image__container video {
    z-index: 0;
}

.pinned_over_content {
    text-align: center;
    padding: 0 60px;
    width: 100%;
    left: 50%;
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
}

@media (max-width: 767px) {
    .pinned_over_content {
        padding: 0 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .pinned_over_content h2 br {
        display: none;
    }
}

.pinned_over_content h2 {
    color: #fff;
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

@media (max-width: 991px) {
    .pinned_over_content h2 {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .pinned_over_content h2 {
        font-size: 26px;
    }
    
    .pinned_over_content p {
        font-size: 15px;
        line-height: 1.5;
    }
}

.pinned_over_content .title.white small {
    color: #ebd7b2;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
}

.pinned_over_content .title.white h2,
.pinned_over_content .title.white h3 {
    color: #fff;
}
