/* ==========================================================================
   About page hero
   ========================================================================== */

.aboutHero .aboutHero__grid{
  display: flex;
  justify-content: center;
  align-items: center;

  width: 100%;
}

.aboutHero .aboutHero__copy{
  width: 100%;
  max-width: 1080px;

  margin: 0 auto;
  padding: 64px 0;

  text-align: center;
}

.aboutHero .hero__title{
  max-width: 1000px;

  margin: 0 auto 24px;

  text-align: center;
}

.aboutHero .hero__lead{
  max-width: 980px;

  margin: 0 auto 32px;

  text-align: left;
  text-wrap: balance;
}

.aboutHero .hero__cta{
  justify-content: center;

  margin-bottom: 0;
}

.sub p{
  text-align: left;
}


/* ==========================================================================
   About — Why cards
   ========================================================================== */

.aboutWhy__cards{
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 20px;
}


/* ==========================================================================
   About — Why card
   ========================================================================== */

.aboutWhy__card{
  min-width: 0;

  overflow: hidden;

  background: #fff;

  border: 1px solid rgba(99, 50, 93, 0.10);
  border-radius: 22px;

  box-shadow:
    0 10px 28px rgba(40, 25, 38, 0.045);

  /*
   * Informational card only.
   * No hover / clickable behaviour.
   */
  transform: none;
  transition: none;
  cursor: default;
}


/* Disable generic .card hover styles */

.aboutWhy__card:hover{
  transform: none;

  border-color: rgba(99, 50, 93, 0.10);

  box-shadow:
    0 10px 28px rgba(40, 25, 38, 0.045);
}


/* ==========================================================================
   About — Why image
   ========================================================================== */

.aboutWhy__image{
  width: 100%;

  padding: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #f7f4f7;

  border-bottom: 1px solid rgba(99, 50, 93, 0.08);

  /*
   * Image height is determined by
   * its original aspect ratio.
   */
  overflow: visible;
}

.aboutWhy__image img{
  display: block;

  width: 100%;
  height: auto;

  max-width: 100%;

  margin: 0 auto;

  object-fit: contain;
  object-position: center;

  transform: none;
  transition: none;
}


/*
 * Prevent generic card hover styles
 * from scaling the image.
 */

.aboutWhy__card:hover .aboutWhy__image img{
  transform: none;
}


/* ==========================================================================
   About — Why content
   ========================================================================== */

.aboutWhy__card .card__body{
  padding: 24px 22px 26px;
}

.aboutWhy__card .h3{
  margin: 0 0 16px;

  font-size: 1.08rem;
  line-height: 1.35;
  font-weight: 800;

  color: #3d3043;
}

.aboutWhy__card .card__p{
  margin-bottom: 14px;

  font-size: 0.94rem;
  line-height: 1.65;

  color: rgba(15, 18, 34, 0.72);
}

.aboutWhy__card .card__p:last-child{
  margin-bottom: 0;
}


/* ==========================================================================
   About hero — desktop
   ========================================================================== */

@media (min-width: 1100px){

  .aboutHero .aboutHero__grid{
    grid-template-columns: none;
  }
}


/* ==========================================================================
   About cards — medium screens
   ========================================================================== */

@media (max-width: 1050px){

  .aboutWhy__cards{
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 20px;
  }

  .aboutWhy__card .card__body{
    padding: 26px 24px 28px;
  }
}


/* ==========================================================================
   About hero — mobile
   ========================================================================== */

@media (max-width: 760px){

  .aboutHero .aboutHero__copy{
    padding: 48px 0;
  }

  .aboutHero .hero__lead{
    max-width: 100%;

    font-size: 16px;

    text-wrap: pretty;
  }

  .aboutHero .hero__cta{
    flex-direction: column;
    align-items: center;
  }

  .aboutHero .hero__cta .btn{
    width: 100%;
    max-width: 320px;
  }
}


/* ==========================================================================
   About cards — mobile
   ========================================================================== */

@media (max-width: 620px){

  .aboutWhy__cards{
    grid-template-columns: 1fr;

    gap: 18px;
  }

  .aboutWhy__image{
    padding: 14px;
  }

  .aboutWhy__image img{
    width: 100%;
    height: auto;

    max-width: 100%;
  }

  .aboutWhy__card .card__body{
    padding: 22px 20px 24px;
  }

  .aboutWhy__card .h3{
    margin-bottom: 14px;

    font-size: 1.05rem;
    line-height: 1.35;
  }

  .aboutWhy__card .card__p{
    font-size: 0.94rem;
    line-height: 1.65;
  }
}


/* ==========================================================================
   About — small mobile
   ========================================================================== */

@media (max-width: 420px){

  .aboutWhy__image{
    padding: 12px;
  }

  .aboutWhy__image img{
    width: 100%;
    height: auto;

    max-width: 100%;
  }

  .aboutWhy__card{
    border-radius: 20px;
  }

  .aboutWhy__card .card__body{
    padding: 20px 18px 22px;
  }
}