/* Text Images */

.text-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 30px;
    gap: 50px;
    position: relative;
  }
  
  .text-image .content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    order: 1;
  }
  
  .text-image img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    display: block;
    order: 2;
  }
  
  .text-image.double .content {
    width: 100%;
    order: 1;
  }
  
  .double-image {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    position: relative;
    width: 100%;
    height: fit-content;
    padding-bottom: 10vh;
    order: 2;
  }
  
  .double-image.vertical {
    padding-bottom: 20vh;
  }
  
  .double-image img {
    width: 70vw;
    height: 180px;
    object-fit: cover;
    display: block;
  }
  
  .double-image.left .border-image {
    position: absolute;
    border: 20px solid;
    border-color: rgb(var(--white));
    right: 0;
    top: 10vh;
  }
  
  .double-image.right .border-image {
    position: absolute;
    border: 20px solid;
    border-color: rgb(var(--white));
    left: 0;
    top: 10vh;
  }
  
  .double-image.left.vertical .border-image, .double-image.right.vertical .border-image {
    width: 45vw;
    height: 30vh;
    top: 10vh;
  }
  
  .double-image.left.vertical .border-image {
    right: 0;
  }
  
  .double-image.right.vertical .border-image {
    left: 0;
  }
  
  .double-image.right {
    justify-content: flex-end;
  }
  
  .text-image-full-width {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 30px 0;
    position: relative;
    gap: -10vh;
  }
  
  .text-image-full-width .image-full-width {
    width: 100vw;
    height: 40vh;
    overflow: hidden;
  }
  
  .text-image-full-width .image-full-width img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .text-image-full-width .content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
    position: relative;
    gap: 40px;
    width: 75vw;
    padding: 30px;
    background-color: rgb(var(--white));
    top: -10vh;
  }
  
  .text-image-full-width .content .col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }
  
  .text-image-full-width .content .col-2 {
    gap: 40px;
  }
  
  /** Responsive - Tablette **/
  @media only screen and (min-width: 481px) {
    .double-image, .double-image.vertical {
      padding-bottom: 10vh;
    }
    
    .double-image img {
      height: 180px;
    }
    
    .double-image.left.vertical .border-image, .double-image.right.vertical .border-image {
      width: 40vw;
    }
  }
  
  /** Responsive - Desktop **/
  @media only screen and (min-width: 769px) {
    .text-image {
      flex-direction: row;
      padding: 100px 50px;
    }
    
    .text-image .content {
      width: 70vw;
      order: initial;
    }
    
    .text-image img {
      width: 30vw;
      height: 350px;
      order: initial;
    }
    
    .text-image.double .content {
      width: 50vw;
      order: initial;
    }
    
    .double-image {
      width: 50vw;
      padding-bottom: 20vh;
      order: initial;
    }
    
    .double-image.vertical {
      padding-bottom: 30vh;
    }
    
    .double-image img {
      width: 30vw;
      height: 40vh;
    }
    
    .double-image.left .border-image, .double-image.right .border-image {
      top: 20vh;
    }
    
    .double-image.left.vertical .border-image {
      width: 18vw;
      height: 50vh;
      right: 5vw;
    }
    
    .double-image.right.vertical .border-image {
      width: 18vw;
      height: 50vh;
      left: 5vw;
    }
    
    .text-image-full-width {
      padding: 0 0 100px 0;
    }
    
    .text-image-full-width .content {
      flex-direction: row;
      padding: 50px;
    }
    
    .text-image-full-width .content .col {
      width: 50%;
    }
  }
  