.papertrail_testimonials {
  display: flex;
  width: 100%;
  padding: 128px 0;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #030213;

  .container {
    display: flex;
    max-width: 1280px;
    width: 100%;
    padding: 0 24px;
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .content {
    display: flex;
    max-width: 1232px;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .headers {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
  }

  .header {
    :is(h1, h2, h3, h4, h5, h6, p) {
      color: #fff;
      font-family: "Roboto", sans-serif;
      font-size: 48px;
      font-style: normal;
      font-weight: 700;
      line-height: 60px;
      letter-spacing: 0;
      margin: 0;
    }
  }

  .subheader {
    :is(h1, h2, h3, h4, h5, h6, p) {
      color: #c9d8d8;
      font-family: "Roboto", sans-serif;
      font-size: 22px;
      font-style: normal;
      font-weight: 400;
      line-height: 32px;
      letter-spacing: 0;
      margin: 0;
    }
  }

  .card-row {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 16px;
    min-height: 208px;
  }

  .card-row--center {
    justify-content: center;
    align-self: stretch;
  }

  .card {
    display: flex;
    width: 400px;
    flex-shrink: 0;
    padding: 24px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    border: 1px solid #ffffff1a;
    background: #ffffff0d;
    box-shadow: 0 16px 40px 0 #141e2d47;
  }

  .card-testimonial {
    color: #cbd5e1;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
    white-space: normal;

    :is(h1, h2, h3, h4, h5, h6, p) {
      margin: 0;
      line-height: 24px;
    }
  }

  .card-author-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    min-width: 0;
  }

  .card-author {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 0;
  }

  .card-author-initials {
    display: flex;
    padding: 16px 16px;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    border-radius: 10000px;
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 700;
  }

  .card-author-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 24px;
    min-width: 0;
  }

  .card-author-name {
    color: #cbd5e1;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0;
    overflow-wrap: break-word;
  }

  .card-author-title {
    color: #94a3b8;
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0;
    overflow-wrap: break-word;
  }

  .card-author-company {
    color: #94a3b8;
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0;
    overflow-wrap: break-word;
  }

  .card-author-image {
    height: 36px;
    flex-shrink: 0;
    align-self: stretch;
    aspect-ratio: 11/5;
  }

  .card-row-ctas {
    display: none;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
  }

  &.has-overflow .card-row-ctas {
    display: flex;
  }

  .card-row-cta {
    display: flex;
    width: 48px;
    height: 48px;
    padding: 12px;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    border-radius: 1000px;
    border: 1px solid #ccc;
    background: #fff;
    color: #000;
  }

  .card-row-cta svg,
  .card-row-cta svg * {
    color: currentColor;
    stroke: currentColor;
  }

  .card-row-cta-prev {
    /* icon points right by default, so flip it for "previous" */
    svg {
      transform: rotate(180deg);
    }
  }

  .card-row-cta:disabled {
    background: #000;
    color: #ccc;
    border: 1px solid #ccc;
    cursor: not-allowed;
  }

  @media (max-width: 1260px) {
    .card-row:not(.card-row--two-cards) {
      gap: 16px;
      align-self: stretch;
      width: calc(100% + 24px);
      padding-right: 24px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scrollbar-width: none;

      &::-webkit-scrollbar {
        display: none;
      }
    }

    .card-row:not(.card-row--two-cards) .card {
      scroll-snap-align: start;
    }
  }

  @media (max-width: 1023px) {
    & {
      padding: 80px 0;
    }
  }

  @media (max-width: 845px) {
    .card-row--two-cards {
      justify-content: flex-start;
      gap: 16px;
      align-self: stretch;
      width: calc(100% + 24px);
      padding-right: 24px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scrollbar-width: none;

      &::-webkit-scrollbar {
        display: none;
      }
    }

    .card-row--two-cards .card {
      scroll-snap-align: start;
    }
  }

  @media (max-width: 639px) {
    .card {
      width: 352px;
      gap: 3px;
    }

    & {
      padding: 48px 0;
    }

    .header {
      :is(h1, h2, h3, h4, h5, h6, p) {
        font-size: 34px;
        line-height: 44px;
      }
    }

    .subheader {
      :is(h1, h2, h3, h4, h5, h6, p) {
        font-size: 18px;
        line-height: 24px;
      }
    }
  }
}
