.dynamic-video {
  > .container {
    display: flex;
    gap: 20px;
    align-items: flex-start;

    @media (max-width: 1440px) {
      width: 1200px;
    }

    @media (max-width: 1280px) {
      width: 1005px;
      gap: 20px;
    }

    @media (max-width: 1024px) {
      width: auto;
      flex-direction: column;
      align-items: center;
      margin: 0 20px;
    }

    .dynamic-video-left {
      flex: 1;

      @media (max-width: 1024px) {
        margin-bottom: 0;
      }

      @media (max-width: 768px) {
        width: 100%;
      }

      h2 {
        margin-bottom: 62px;
        font-size: 180px;
        line-height: 80%;

        @media (max-width: 1440px) {
          font-size: 160px;
        }

        @media (max-width: 1024px) {
          width: 100%;
          margin: 0 auto 24px auto;
          font-size: 70px !important;
          letter-spacing: 0px;
          line-height: 1;

          svg {
            width: fit-content;
            height: 50px;
          }
        }
      }

      .dynamic-video-responsive {
        display: none;
        justify-content: center;
        margin-bottom: 24px;

        @media (max-width: 1024px) {
          display: flex;
        }

        figure {
          display: block;
          width: 250px;
          border: 1px solid #181818;
          border-radius: 10px;
          overflow: hidden;

          @media (max-width: 1024px) {
            width: 100%;
          }

          video {
            display: block;
            width: 100%;
            object-fit: cover;
          }
        }
      }

      .text {
        display: flex;
        flex-direction: row;
        gap: 20px;
        margin-bottom: 48px;

        > .cta {
          a {
            white-space: nowrap;
          }

          @media (max-width: 1024px) {
            margin: 0 auto;
            text-align: center;
            margin-bottom: 20px;
          }
        }

        @media (max-width: 1024px) {
          margin-bottom: 0;
          flex-direction: column;
        }
      }
    }

    .dynamic-video-right {
      width: 340px;

      @media (max-width: 1024px) {
        display: none;
      }

      .dynamic-video-stack {
        position: relative;
        margin-top: -100px;
        margin-right: 50px;
        padding-top: 110%;

        @media (max-width: 1024px) {
          width: 284px;
          margin-bottom: 64px;
        }

        video,
        img {
          position: absolute;
          width: 100%;
          height: 100%;
          left: 0;
          top: 0;
          vertical-align: top;
          border: 1px solid var(--c-gray-900);
          border-radius: 18px;
          object-fit: cover;
          z-index: 4;
        }

        img {
          &:nth-of-type(1) {
            z-index: 3;
            left: 16px;
            top: 16px;
          }

          &:nth-of-type(2) {
            z-index: 2;
            left: 32px;
            top: 32px;
          }

          &:nth-of-type(3) {
            z-index: 1;
            left: 48px;
            top: 48px;
          }
        }
      }

      .tip {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        transform: translateX(-60%);
        color: #c1b4a3;
        text-align: center;

        @media (max-width: 1024px) {
          transform: none;
        }

        svg {
          &.desktop {
            display: block;

            @media (max-width: 1024px) {
              display: none;
            }
          }

          &.mobile {
            display: none;
            transform: translateX(-360%);

            @media (max-width: 1024px) {
              display: block;
            }
          }
        }

        p {
          width: 100%;
        }
      }
    }
  }
  .external {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    @media (max-width: 1280px) {
      gap: 20px;
    }
    .text {
      &.desktop {
        flex: 1;
        @media (max-width: 1024px) {
          display: none;
        }
      }
      &.mobile {
        display: none;
        @media (max-width: 1024px) {
          display: block;
        }
      }
    }
    .cta {
      @media (max-width: 1024px) {
        width: 100%;
      }
      &.desktop {
        display: flex;
        justify-content: flex-end;
        gap: 32px;
        margin-right: 380px;
        @media (max-width: 1280px) {
          margin-right: 0;
        }
      }
    }
  }
  &.more-equal {
    > .container {
      @media (max-width: 1440px) {
        width: 1240px;
      }
      @media (max-width: 1366px) {
        width: 1160px;
      }
      @media (max-width: 1280px) {
        flex-direction: column;
        width: 1010px;
      }
      @media (max-width: 1280px) {
        width: auto;
        margin: 0 20px;
      }
      .dynamic-video-left {
        .big-title {
          position: relative;
          img {
            position: absolute;
            top: 0;
            right: 0;
            transform: translate(56%, -47%);
            @media (max-width: 1440px) {
              width: 400px;
            }
            @media (max-width: 1280px) {
              display: none;
            }
          }
        }
        .dynamic-video-responsive {
          @media (max-width: 1280px) {
            display: block;
          }
          figure {
            @media (max-width: 1280px) {
              width: auto;
              border: none;
              border-radius: none;
            }
            @media (max-width: 1024px) {
              width: auto;
            }
          }
        }
      }
      .dynamic-video-right {
        width: 670px;
        margin-top: -150px;
        @media (max-width: 1280px) {
          width: auto;
          margin-top: 0;
          margin-bottom: 40px;
        }
        @media (max-width: 1024px) {
          display: block;
          width: 100%;
        }
        figure {
          margin-bottom: 40px;
          @media (max-width: 1280px) {
            display: none;
          }
        }
        .cta {
          display: flex;
          gap: 32px;
          @media (max-width: 1024px) {
            flex-direction: column;
            gap: 16px;
          }
        }
      }
    }
  }
}
