.et-text-video-content,
.et-text-video-content-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    // Alignment Variations
    .et-align-vertical-top & {
        justify-content: flex-start;
    }

    .et-align-vertical-center & {
        justify-content: center;
    }

    .et-align-vertical-bottom & {
        justify-content: flex-end;
    }

    .et-align-horizontal-left & {
        align-items: flex-start;
    }

    .et-align-horizontal-center & {
        align-items: center;
    }

    .et-align-horizontal-right & {
        align-items: flex-end;
    }
}

.et-widget-textvideo {

    .et-textfield {
        width: 100%;
    }

    .et-text-video-content {
        .btn-link {
            font-weight: $font-weight-bold;
            padding-left: 0;
            padding-right: 0;
        }
    }

    .et-text-video-link {
        margin-top: 10px;
    }

    // Layout variations
    .et-layout-textVideo,
    .et-layout-videoText {
        .et-text-video-embed {
            order: 1;

            @include media-breakpoint-only(xs) {
                margin-bottom: 10px;
            }
        }

        .et-text-video-content {
            order: 2;
        }
    }

    @include media-breakpoint-up(sm) {
        .et-layout-textVideo {
            .et-text-video-embed {
                order: 2;
            }

            .et-text-video-content {
                order: 1;
            }
        }

        .et-layout-videoText {
            .et-text-video-embed {
                order: 1;
            }

            .et-text-video-content {
                order: 2;
            }
        }
    }

    .et-text-video-links {
        display: flex;
        flex-wrap: wrap;
        gap: $grid-gutter-width / 2;
    }
}