/* Video Container */
.conseno-video-container {
    position: relative;
    width: 100%;
    height: 0;
    margin: 0 auto;
    overflow: hidden;
}

/* Iframe Styling */
.conseno-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Overlay Styling */
.conseno-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 10px;
    z-index: 1;
}

/* Gradient Overlay */
.conseno-video-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(14deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
    z-index: 2;
}

/* Overlay Content */
.conseno-video-overlay-content {
    position: relative;
    z-index: 3;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Overlay Text */
.conseno-video-overlay-content p {
    font-size: 15px;
    margin-bottom: 20px;
    max-width: 450px;
}

/* Play Button Base Style */
.conseno-video-play-button {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    font-weight: 500;
    text-transform: none;
    border-radius: 10px;
    padding: 0.6em 1em;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
}

/* Play Button Styles for YouTube */
.conseno-video-play-button-youtube {
    background: linear-gradient(210deg, #ff0000, #cc0000); /* YouTube red */
}

.conseno-video-play-button-youtube:hover{
    background: linear-gradient(210deg, #ff0000ba, #cc0000c2); /* YouTube red hover */
}

/* Play Button Styles for Vimeo */
.conseno-video-play-button-vimeo {
    background: linear-gradient(210deg, #00ADEF, #0076A8); /* Vimeo blue */
}

.conseno-video-play-button-vimeo:hover {
    background: linear-gradient(210deg, #00adefcc, #0076a8ba); /* Vimeo blue hover */
}

/* Play Button Styles for Google Maps */
.conseno-video-play-button-google-maps {
    background: #1b6ef3; /* Google Maps blue */
}

.conseno-video-play-button-google-maps:hover {
    background: #1b6ef3c9; /* Vimeo blue hover */
}

/* Play Icon */
.conseno-video-play-icon {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 0.75em solid white;
    border-top: 0.45em solid transparent;
    border-bottom: 0.45em solid transparent;
    margin-right: 10px;
}

/* Link Styling */
.conseno-video-overlay-content a {
    color: #fff;
    text-decoration: underline;
}

.conseno-video-overlay-content a:hover {
    color: #fff!important;
    text-decoration: underline;
}

/* Responsive Font Sizes */
@media (max-width: 400px) {
    .conseno-video-overlay-content p {
        font-size: 12px;
    }
    .conseno-video-play-button {
        font-size: 12px;
        padding: 0.5em 0.8em;
    }
}