.container-wrapper {
  & .zigzag-cards {
    border-radius: 20px;
    padding: 18px;
    margin-top: 36px;
    margin-bottom: 36px;
    background: var(--2, #f5f6fa);
    /* margin-bottom: 40px; */

    & .zigzag-card {
      & .card {
        border: none;
        border-radius: 20px;
        /* height: 100%; */
        padding: 32px;

        & h2 {
          font-size: 1.5rem;
          margin-bottom: 16px;
        }

        & h3 {
          font-size: 1.25rem;
          font-weight: 500;
          margin-bottom: 24px;
        }

        & p {
          font-size: 1em;

          &:last-child {
            margin-bottom: 0;
          }

          & a {
            position: relative;
            z-index: 1;
            display: inline-flex;
            padding: 16px 40px;
            justify-content: center;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
            font-size: 1.125rem;
            font-style: normal;
            font-weight: 800;
            line-height: 1;
            border-radius: 12px;
            text-decoration: none;
            user-select: none;
            border: 0;
            color: var(--wYellow-900, #b92c00);
            background: var(--Yellow-2, #fff0b4);
            margin-top: 10px;

            &:focus {
              outline: none;
            }

            &:hover {
              color: var(--0, #b92c00);
              background: var(--wYellow-300, #ffe680);
              box-shadow:
                0px 1px 0px 0px var(--wYellow-3, #ffe370),
                0px 4px 0px 0px var(--Yellow-5, #ffa800);
            }

            &:active {
              background: var(--wYellow-100, #fff3e0);
              box-shadow:
                0px 1px 0px 0px var(--wYellow-3, #ffe370),
                0px 4px 0px 0px var(--wYellow-5, #ffa800);
            }
          }

          strong {
            font-weight: 600;
          }
        }

        & ul {
          /* margin-bottom: 0; */
          & li {
            margin: 0 0 4px 0;
            line-height: 1.2;
          }
        }
      }

      & .image-container,
      & .video-container {
        flex-shrink: 0;

        & a {
          height: auto;
          display: inline-block;
          position: relative;
        }

        & img {
          object-fit: cover;
          width: 100%;
          border-radius: 20px;
        }
      }

      & .video-container {
        & svg.play-button {
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translateX(-50%) translateY(-50%);
        }
      }
    }

    & .zigzag-card.zigzag-card--third {
      & .card {
        flex: 1 1 67%;
        max-width: 67%;
      }

      & .image-container,
      & .video-container {
        flex: 1 1 33%;
        max-width: 33%;
      }
    }

    & .zigzag-card.zigzag-card--half {
      .card,
      & .image-container,
      & .video-container {
        flex: 1 1 50%;
        max-width: 50%;
      }
    }

    & .zigzag-card.zigzag-card--full {
      .card {
        flex: 1 1 100%;
        max-width: 100%;
      }
    }

    & .insight {
      border-radius: 20px;
      background: var(--Yellow-6, #ff8400);
      margin: 0 -60px;

      position: relative;
      /* overflow: hidden; */

      & .insight__container {
        padding: 30px 60px;
      }

      & .insight__badge {
        position: absolute;
        top: 0;
        left: 0;
        border-radius: 4px;
        background: #ffffff;
        padding: 4px 8px;
        font-size: 1rem;
        color: var(--wYellow-700, #f5671f);
        font-weight: 800;
        transform: translateX(10%) translateY(-25%) rotate(-5deg);
      }

      & .insight_details {
        position: relative;
        z-index: 1;

        & .insight__title {
          color: var(--0, #fff);
          font-size: 2.25rem;
          font-style: normal;
          font-weight: 700;
          line-height: 1;
        }

        & .insight__text {
          color: #fff;
          font-size: 1.25rem;
          font-style: normal;
          font-weight: 700;
          line-height: 1.33;
          max-width: 60%;
          text-wrap-style: balance;
        }
      }

      & .insight__image {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
      }
    }

    & .cta {
      background: #b92c00;
      height: 350px;
      border-radius: 20px;
      width: 100%;
      margin-top: 0;
      max-width: none;

      & .cta__title {
        text-align: center;

        & h2 {
          font-size: 2.25rem;
          font-weight: 500;
          color: #ffe370;
          text-wrap-style: balance;
        }
      }
    }
  }
}

@media (max-width: 1399px) {
  .container-wrapper {
    & .zigzag-cards {
      max-width: 1037px;
      margin-right: auto;
      margin-left: auto;

      & .insight {
        margin: 0;
      }
    }
  }
}

@media (max-width: 991px) {
  .container-wrapper {
    & .zigzag-cards {
      & .zigzag-card {
        & .image-container,
        & .video-container {
          /* height: 100%; */
          flex-shrink: initial;
          flex-basis: 100%;

          & img {
            height: 100%;
            object-fit: cover;
            border-radius: 20px;
          }
        }
      }
    }
  }
}

@media (max-width: 911px) {
  .container-wrapper {
    & .zigzag-cards {
      & .insight {
        /* padding: 30px 40px; */
      }

      & .insight__container {
        padding: 30px 40px;
      }
    }
  }
}

@media (max-width: 767px) {
  .container-wrapper {
    & .zigzag-cards {
      & .zigzag-card.zigzag-card--third {
        & .card {
          max-width: 100%;

          span {
            font-size: 1.166667rem;
          }
        }

        & .image-container,
        & .video-container {
          max-width: 320px;
          margin: 0 auto;
          width: 100%;
          margin-bottom: -40px;
          position: relative;
          z-index: 1;
        }
      }

      & .zigzag-card.zigzag-card--half {
        & .card {
          max-width: 100%;
        }

        & .image-container,
        & .video-container {
          max-width: 320px;
          margin: 0 auto;
          width: 100%;
          margin-bottom: -40px;
          position: relative;
          z-index: 1;
        }
      }
    }
  }
}

@media (max-width: 575px) {
  .container-wrapper {
    & .zigzag-cards {
      & .zigzag-card {
        /* margin-bottom: 48px; */

        & .card {
          padding: 30px;

          & h2 {
            font-size: 1.5rem;
            margin-bottom: 12px;
          }

          & h3 {
            font-size: 1.25rem;
            margin-bottom: 16px;
          }

          & p {
            font-size: 1rem;
            line-height: 1.75;

          & a {
            padding: 16px;
          }
        }

        & .image-container,
        & .video-container {
          & img {
            width: auto;
            height: 140px !important;
          }
        }

        & .video-container {
          & svg.play-button {
            width: 48px;
            height: 48px;
          }
        }
      }

      & .zigzag-card:has(.image-container, .video-container) {
        & .card {
          padding: 48px 12px 30px 12px;
        }
      }

      & .zigzag-card.zigzag-card--third {
        .card,
        & .image-container,
        & .video-container {
          flex: 1 1 100%;
          max-width: 100%;
        }
      }

      & .zigzag-card.zigzag-card--third {
        & .image-container,
        & .video-container {
          margin-bottom: -40px;
          width: 280px;
          height: auto;
          z-index: 1;
        }
      }

      & .zigzag-card.zigzag-card--half {
        card,
        & .image-container,
        & .video-container {
          flex: 1 1 100%;
          max-width: 100%;
        }
      }

      & .zigzag-card.zigzag-card--half {
        & .image-container,
        & .video-container {
          width: 280px;
          height: auto;
          z-index: 1;
          margin-bottom: -40px;
        }
      }

      & .insight {
        background: var(--Yellow-4, #ffda40);
        background-image: url("https://www.wizer-training.com/hubfs/bg-circles-mobile.png");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        margin: 0;
        padding: 16px 32px;
        overflow: visible;

        & .insight_details {
          & .insight__text {
            max-width: 100%;
          }
        }
      }

      & .cta {
        height: auto;

        & .cta__title {
          & h2 {
            font-size: 1.5rem;
          }
        }
      }
    }
  }
}
