﻿.video-wrapper {
    background: rgb(var(--color-dark-green));
    padding-top: 32px;
    padding-bottom: 32px;

}

.video-container {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 24px;
}

.video__title {
    font-size: 29px;
    font-style: normal;
    font-weight: 700;
    line-height: var(--line-height-small);
    color:white;
}

.video__caption {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    max-width: var(--container-small-width);
    color: white;
}

.video__media {
    position: relative;
    margin-top: 24px;
    background: white;
    width: 100%;
    max-width: var(--container-small-width);
    height: 440px;
}

.video__iframe {
    display: none;
    width: 100%;
    height: 100%;
    border: 0;
}

.video__iframe--visible {
    display: block;
}

.video__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.video__overlay-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.video__overlay-button {
    border: none;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(249, 249, 249, 0.20);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.video__overlay-cta {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.video__overlay-title {
    margin-bottom: 24px;
    color:white;
    font-size: 29px;
    font-weight: 700;
    line-height: var(--line-height-small);
}

.video__overlay-button-icon {
    font-size: 14px;
    line-height: 1;
}

@media (max-width: 768px) {
    .video__media {
        width: 345px;
        height: 194px;
    }

    .video__caption, .video__title {
        max-width: 345px;
    }
}
