.quote {
  max-width: 1440px;
  padding: 0 var(--offset-x);
  margin: var(--offset-y) auto;
}

.quote__body {
  font-weight: 600;
}

.quote__author {
  font-size: 14px;
  line-height: 20px;
}

.quote__name {
  font-weight: 600;
}

.quote__media img {
  width: 100%;
}

/* default styling */

.quote--default {
  max-width: 1000px;
}

.quote--default .quote__body {
  font-size: 54px;
  line-height: 1.14;
}

.quote--default .quote__wrapper {
  display: flex;
  align-items: center;
  gap: 35px;
  margin-top: 30px;
}

.quote--default .quote__media {
  height: 115px;
  aspect-ratio: 1/1;
}

.quote--default .quote__media img {
  border-radius: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
}

/* styling for the split layout (image left & text right) */

.quote--split.quote--media .quote__wrapper {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.quote--split.quote--media .quote__body {
  font-size: 34px;
  line-height: 41px;
}

.quote--split .quote__author {
  margin-top: 20px;
}

@media (min-width: 1025px) {
  .quote__media {
    max-width: 425px;
  }

  .quote--split.quote--media {
    display: flex;
    justify-content: center;
    gap: 5rem;
  }

  .quote--split.quote--media.quote--top {
    margin-top: calc(var(--offset-y) + 100px);
  }

  .quote--split.quote--media.quote--top .quote__wrapper {
    margin-top: -100px;
    justify-content: flex-start;
  }

  .quote--split.quote--media.quote--bottom {
    margin-bottom: calc(var(--offset-y) + 100px);
  }

  .quote--split.quote--media.quote--bottom .quote__wrapper {
    margin-bottom: -100px;
    justify-content: flex-end;
  }

  .quote--split .quote__media img {
    /* width: 60%; */
    margin: 0 auto;
  }

  .quote--split.quote--media .quote__wrapper {
    justify-content: center;
  }

  .quote--split.quote--media .quote__wrapper {
    margin: 0;
    max-width: 425px;
  }

  .quote--split .quote__body {
    font-size: 40px;
    line-height: 54px;
    max-width: 980px;
  }
}

@media (max-width: 1024px) {
  .quote--default .quote__body {
    font-size: 44px;
  }

  .quote--split .quote__media {
    max-width: 75%;
  }

  .quote--top.quote--media {
    flex-direction: column-reverse;
  }

  .quote--split.quote--media .quote__wrapper {
    margin: 50px var(--offset-x);
  }
}

@media (min-width: 651px) and (max-width: 1024px) {
  .quote--split .quote__body {
    font-size: 36px;
    line-height: 45px;
  }
}

@media (max-width: 650px) {
  .quote--default .quote__body {
    font-size: 34px;
  }

  .quote--split .quote__body {
    font-size: 30px;
    line-height: 40px;
  }
}