.m-video-texte {
  &.is-style-rounded {
    .m-video-texte__video {
      border-radius: 20px;
      overflow: hidden;
    }
  }

  .m-video-texte__texte_wrap {
    padding: 2em;
  }

  .m-video-texte__titre--accent {
    color: var(--wp--preset--color--primary);
  }

  .m-video-texte__texte {
    margin: 2em 0;
  }

  &.alignfull {
    .container-fluid {
      padding-left: 0;
      padding-right: 0;

      .row {
        margin-left: 0;
        margin-right: 0;
      }
    }

    .m-video-texte__video {
      display: flex;

      iframe,
      .img-fluid,
      img {
        width: 100%;
      }
    }

    @media(991px < width) {
      .m-video-texte__texte_wrap {
        max-width: 70%;
      }
    }

    @media(991px < width) {
      .m-video-texte__texte_wrap {
        padding: 2em;
      }
    }
  }

  &.has-secondary-background-color {
    .m-video-texte__titre {
      color: #fff;
    }
  }

  &.m-video-texte--dessous {
    .row {
      flex-direction: column;
      align-items: center;
    }

    .col-texte {
      order: 1;
      width: 100%;
      text-align: center;
    }

    .col-video {
      order: 2;
      width: 100%;
      max-width: 900px;

      .m-video-texte__video {
        .plyr--video {
          width: 100%;
          margin: 0 auto;
        }
      }
    }

    .m-video-texte__cta {
      order: 3;
      margin: 2rem auto;
    }

    .m-video-texte__center {
      max-width: 900px;
      margin: 0 auto;
    }
  }

}

.m-video-texte--droite {
  &.alignfull {
    .m-video-texte__texte_wrap {
      @media(991px > width) {
        margin: 0 5em 0 auto;
      }
    }
  }
}

.m-video-texte--gauche {
  &.alignfull {
    .m-video-texte__texte_wrap {
      @media(991px > width) {
        margin: 0 0 0 5em;
      }
    }
  }
}