/**
 * @file
 * Quote component — sHTG pull quote banner.
 *
 */

.layout-container {

  .quote {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  .quote__inner {
    max-width: 994px;
    margin-inline: auto;
    padding-bottom: 0px;
    display: grid;
    grid-template-columns: 25% 75%;
    align-items: center;
  }


  /* ==========================================================================
     Image
     ========================================================================== */

  .quote__media {
    position: relative;
    height: auto;
  }

  .quote__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 221px;

  }

  .quote__disclaimer {
    position: absolute;
    bottom: 12px;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    line-height: 13px;
    font-weight: 400;
    color: black;
    text-align: left;
    right: 100%;

  }

  .quote__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    text-align: center;
  }

  .quote__text {
    margin: 0;
    padding: 0;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    line-height: 28px;
    font-weight: 500;
    color: var(--color-purple, #4f08b0);
  }

  .quote__text p {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    color: inherit;
  }

  .quote__text strong,
  .quote__text b {
    font-weight: 700;
  }

  .quote__attribution {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 120%;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #4F08B0;
  }

  .quote--image-right {
    .quote__inner {
      grid-template-columns: 75% 25%;
    }

    .quote__media {
      order: 2;
    }

    .quote__content {
      order: 1;
    }

    .quote__disclaimer {
      left: 100%;
    }

    .responsive-space {
      display: none;
    }
  }

  /* ==========================================================================
     Mobile
     ========================================================================== */

  @media (max-width: 767px) {
    .quote__inner {
      position: relative;
      padding: 0;
      padding-right: 24px;
      display: grid;
      grid-template-columns: 45% 53%;
      align-items: stretch;
      max-width: none;
    }


    .quote__media {
      margin-bottom: -2px;
      margin-top: auto;
    }

    .quote__image {
      position: relative;
      left: -18%;
      width: 118%;
      height: auto;
      display: block;
      max-width: none;
      max-height: 274px;

    }

    .quote__content {
      text-align: left;
      padding-bottom: 56px;
      padding-top: 33px;
      gap: 0;
    }

    .quote__text {
      font-size: 16px;
      line-height: 22px;
      margin-bottom: 16px;

      br {
        display: none;
      }

    }

    .quote__attribution {
      font-size: 12px;
      line-height: 14px;
      padding-left: 32px;
      text-indent: -9px;
    }

    .responsive-space {
      display: inline;
    }

    .responsive-space::after {
      content: '\0020';
    }

    .quote--image-right {
      .quote__inner {
        grid-template-columns: 53% 45%;
        padding-left: 24px;
        padding-right: 0;
      }

      .quote__image {
        position: relative;
        left: auto;
        width: 115%;
        height: 112%;
        display: block;
        max-width: none;
      }


    }
  }

}

@media (max-width: 1200px) {
  .quote__disclaimer {
    left: 100%;
  }

  .layout-container .quote--image-right {
    .quote__disclaimer {
      right: 100%;
      left: auto;
    }

  }
}

.quote__disclaimer {
  width: 97px;
}