.m-cta {
  background: linear-gradient(120deg, rgba(137, 115, 87, 0), #897357);
  background-color: rgba(169, 144, 112, 0.45);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  border-radius: 20px;
  overflow: hidden;

  box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.12);
  border: solid 1px var(--wp--preset--color--secondary);

  &:after {
    content: '';
    background: url(../img/logo-cta.png) no-repeat center center;
    width: 305px;
    height: 305px;
    position: absolute;
    bottom: 0;
    right: 0;
  }

  .m-cta__wrapper {
    position: relative;
    z-index: 1;
    margin: 0 auto 0 0;
    max-width: 70%;

    @media(width < 768px) {
      max-width: inherit;
    }
  }

  .m-cta__titre {
    margin: 0 0 20px 0;
  }

  .m-cta__texte {
    margin: 2em 0;
  }

  .m-cta__lien {}


  &.alignfull {
    border-radius: 0;

    .m-cta__wrapper {
      max-width: 60%;
      margin: 0 auto;
      text-align: center;
    }
  }


  &:not(.alignfull):not(.alignwide) {
    .m-cta__wrapper {
      max-width: inherit;
      padding: var(--wp--preset--spacing--medium);
    }
  }

  &.is-style-centre {
    text-align: center;

    .m-cta__wrapper {
      margin: 0 auto;
    }
  }

  &.has-background {
    &::after {
      display: none;
    }

  }

  &.has-text-color {
    .is-style-outline {
      border-color: inherit;
      color: inherit;

      &:hover {
        border-color: var(--wp--preset--color--main);
        color: var(--wp--preset--color--main);
      }
    }
  }

  &.m-cta--image {
    border: none;
    border-radius: 6px;
    box-shadow: none;

    &:after {
      display: none;
    }

    @media(width < 768px) {
      padding: 10rem 15px 15px !important;
    }

    .m-cta__wrapper {
      backdrop-filter: blur(20px);
      background: rgba(0, 0, 0, 0.08), rgba(255, 255, 255, 0.13);
      border: solid 1px #fff;
      box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.12);
      border-radius: 10px;
      padding: 1.875rem;
      max-width: 526px;
      margin: 0;
      text-align: left;
      color: #fff;

      @media(width < 768px) {
        padding: 16px;
      }

      .m-cta__texte {
        margin: 0;
      }

      .m-cta__liens {
        justify-content: flex-start !important;

        @media(width < 768px) {
          gap: 15px;

          a {
            width: 100%;
          }
        }
      }
    }

    &.m-cta--centre {
      .m-cta__wrapper {
        margin: 0 auto;
        text-align: center;

        .m-cta__liens {
          justify-content: center !important;
        }
      }
    }
  }
}