.youtube{
    .title{
        font-size: 1.3em;
        font-weight: 700;
        /* text-align: left; */
    }
}
.youtube .border {
    --radius: 18px;
    position: absolute;
    inset: 10px;
    -webkit-clip-path: inset(0 0 0 0 round var(--radius));
    clip-path: inset(0 0 0 0 round var(--radius));
    border-radius: var(--radius);
    z-index: -1;
    border: 0;
    container-type: inline-size;
    transition: clip-path 1s, -webkit-clip-path 1s;
}

.youtube .trail {
    width: calc(100 * 1cqmin);
    aspect-ratio: 2 / 1;
    position: absolute;
    background: radial-gradient(100% 100% at right, #ff7d1a, transparent 50%);
    offset-path: border-box;
    offset-anchor: 100% 50%;
    -webkit-animation: trail-rotate 8s infinite linear;
    animation: trail-rotate 8s infinite linear;
}

@keyframes trail-rotate {
    to {
        offset-distance: 100%;
    }
}

.youtube .card-cta-wrapper {
    max-width: 850px;
    margin: 0 auto;
    padding: 12px;
}

.youtube .card-cta-wrapper::before,
.youtube .card-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    display: block;
}

.youtube .card-cta-wrapper::before {
    border: 1px solid rgba(29, 62, 122, 0.10);
    border-radius: 24px;
}

.youtube .card-cta::before {
    outline: 8px solid rgba(29, 62, 122, 0.06);
    border-radius: 14px;
}

.youtube .card-cta>.card.card-md {
    --rv-card-border-color: transparent;
    box-shadow: 0 0 0 1px #0e3f7e0a, 0 1px 1px -.5px #2a33450a, 0 3px 3px -1.5px #2a33460a, 0 6px 6px -3px #2a33460a, 0 12px 12px -6px #2a33460a, 0 24px 24px -12px #2a33460a, 0 32px 32px -16px #2a33460a, 0 44px 44px -16px #2a33460f;
    overflow: hidden;
}

.youtube .card-cta .card-body {
    --rv-card-spacer: 0;
}

.youtube .card-cta>.card.card-md form.wpcf7-form p {
    margin-top: 0;
}

.youtube .card-cta-left,
.youtube .card-cta-right {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 1.5rem;
}

.youtube .card-cta-left {
    overflow: hidden;
    padding-bottom: 0;
}

.youtube .card-cta-left::before {
    content: "";
    inset: -1px;
    position: absolute;
    background: rgba(190, 197, 209, .05);
    z-index: -1;
    border-right: 1px solid rgba(29, 62, 122, .08);
    border-bottom: 1px solid rgba(29, 62, 122, .08);
}

.youtube .cta-img-wrap {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
}

.youtube .cta-img-wrap>img {
    width: 200px;
    height: 100%;
    margin-bottom: -.5rem;
    object-fit: contain;
}

.youtube .cta-img-wrap::before,
.youtube .cta-img-wrap::after {
    --size: 146px;
    content: "";
    position: absolute;
    width: var(--size);
    height: var(--size);
    border-radius: 999px;
    z-index: -1;
    mix-blend-mode: multiply;
}

.youtube .cta-img-wrap::before {
    left: 36%;
    bottom: 32px;
    background: rgba(0, 176, 255, .85);
    filter: blur(60px);
}

.youtube .cta-img-wrap::after {
    left: 45%;
    top: 0;
    background: rgba(255, 157, 11, .65);
    filter: blur(64px);
}
.youtube iframe{
    display: block;
    border-radius: 12px;
    height: 400px;
}

/* @media (max-width: 600px) {
    .youtube .cta-img-wrap>img {
        width: 285px;
    }
} */

@media (max-width: 768px) {
    .youtube iframe{
        height: 200px;
    }
    .youtube .cta-img-wrap>img {
        width: 220px;
    }
}