/* Video Gallery frontend styles. All selectors are module-scoped. */
.dd-video-gallery {
    padding: 2rem 0;
}

.dd-video-gallery__label {
    margin-bottom: .45rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .7;
}

.dd-video-gallery__heading {
    margin: 0 0 .75rem;
}

.dd-video-gallery__intro {
    max-width: 760px;
    margin-bottom: 1.75rem;
    color: #68736e;
}

.dd-video-gallery__card {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(30,50,40,.1);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 8px 24px rgba(20,35,28,.06);
}

.dd-video-gallery__frame {
    background: #111;
}

.dd-video-gallery__frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.dd-video-gallery__thumb {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #eef2ef;
}

.dd-video-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dd-video-gallery__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 52px;
    height: 52px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.68);
    color: #fff;
    font-size: 1.25rem;
}

.dd-video-gallery__fallback {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ef;
    color: #6f7c75;
    font-size: 3.25rem;
    text-decoration: none;
}

.dd-video-gallery__body {
    padding: 1rem 1.1rem;
}

.dd-video-gallery__title {
    margin: 0 0 .45rem;
    font-size: 1.05rem;
}

.dd-video-gallery__description {
    font-size: .9rem;
    color: #68736e;
}
