/* Array List Block Styles */
.featured-array-list {
  margin: 0;
  padding: 0 2rem;

  .feature-array-headline {
    font-size: 24.5px;
    font-weight: 400;
    line-height: 31px;
    color: #1c1c1c;
    text-align: center;
    margin: 2em 0;
  }

  .container {
    max-width: 940px;
    margin: 0 auto;
    padding: 2.625rem 0;
  }

  .list-checkmark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
  }

  .list-checkmark:before {
    content: "\2713";
    background: #0b4b8d;
    color: #fff;
    height: 2rem;
    width: 2rem;
    text-align: center;
    line-height: 2rem;
    border-radius: 100%;
    display: inline-block;
  }

  .image {
    max-width: 447px;
  }

  .content {
    max-width: 461px;
  }

  section {
    margin-bottom: 60px;

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

  .flex {
    display: flex;
    gap: 2rem;
    align-items: flex-start;

    &.center-vertically {
      align-items: center;
    }

    &.image-right {
      flex-direction: row-reverse;
    }
  }

  .flex-1 {
    flex: 1;

    h3 {
      font-size: 17.5px;
      margin: 10px 0;
      font-weight: bold;
      line-height: 20px;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;

      &.framed {
        border: 1px solid #ddd;
        border-radius: 4px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      }

      &.autoHeight {
        height: auto;
      }
    }
  }

  h2 {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    margin: 0 0 20px 0;
    color: #333;
  }

  p {
    line-height: 1.6;
    color: #333;
    margin-bottom: 1.25rem;
  }

  .btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
  }

  .btn-success {
    background-image: linear-gradient(to bottom, #62c462, #51a351);
    color: #fff;
    border: 1px solid #51a351;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      0 1px 2px rgba(0, 0, 0, 0.05);

    &:hover {
      background-image: linear-gradient(to bottom, #51a351, #419341);
    }
  }

  .video {
    width: 100%;
  }

  .video iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
  }

  .wistia-responsive-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
  }

  .wistia-responsive-container .wistia_embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .flex {
      flex-direction: column;
      gap: 30px;

      &.reverse {
        flex-direction: column;
      }

      &.image-right {
        flex-direction: column;
      }
    }

    section {
      margin-bottom: 40px;
    }
  }
}