/* Keeps the phone-search demonstration aligned with the other product demos. */
#by-phone .wrap {
  padding: 1.375rem 1.5rem;
}

#by-phone .wrap .feat {
  display: flex;
  flex-direction: column-reverse;
}

#by-phone .wrap .feat__head {
  margin-bottom: .875rem;
}

#by-phone .wrap .feat__copy p,
#by-phone .wrap .feat__head h2 {
  text-align: center;
}

#by-phone .wrap .feat__copy p + p,
#by-photo .wrap .feat__copy p + p,
#by-car .wrap .feat__copy p + p,
#by-place .wrap .feat__copy p + p {
  margin-top: 1rem;
}

#by-phone .wrap .feat__pic {
  display: flex;
  margin: 0 -1.25rem 1.25rem;
}

#by-phone .wrap .feat__pic img {
  align-self: flex-start;
  border-radius: 8px;
  flex: none;
  width: 100%;
}

@media screen and (min-width: 768px) {
  #by-phone .wrap .feat {
    align-items: center;
    flex-direction: row;
  }

  #by-phone .wrap .feat__body {
    margin-right: 1.75rem;
    width: calc(33.33333% - .16667rem);
  }

  #by-phone .wrap .feat__copy p,
  #by-phone .wrap .feat__head h2 {
    text-align: left;
  }

  #by-phone .wrap .feat__pic {
    margin: 0;
    width: calc(66.66667% - .58333rem);
  }
}

@media screen and (min-width: 768px) and (max-width: 1247px) {
  #by-phone .wrap .feat,
  #by-photo .wrap .feat,
  #by-car .wrap .feat,
  #by-place .wrap .feat,
  #by-photo .wrap .feat--flip,
  #by-car .wrap .feat--flip,
  #by-place .wrap .feat--flip {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  #by-phone .wrap .feat__body,
  #by-photo .wrap .feat__body,
  #by-car .wrap .feat__body,
  #by-place .wrap .feat__body,
  #by-photo .wrap .feat--flip .feat__body,
  #by-car .wrap .feat--flip .feat__body,
  #by-place .wrap .feat--flip .feat__body {
    margin: 0;
    width: auto;
  }

  #by-phone .wrap .feat__pic,
  #by-photo .wrap .feat__pic,
  #by-photo .wrap .feat__clip,
  #by-car .wrap .feat__pic,
  #by-place .wrap .feat__pic {
    margin: 0 0 1.5rem;
    width: auto;
  }
}

@media screen and (min-width: 1248px) {
  #by-phone .wrap {
    padding: 2.5rem 1.5rem;
  }

  #by-phone .wrap .feat {
    align-items: flex-start;
  }

  #by-phone .wrap .feat__body {
    margin-right: 7.5rem;
    width: 405px;
  }

  #by-phone .wrap .feat__head {
    margin: 5.3125rem 0 .875rem;
  }

  #by-phone .wrap .feat__pic {
    width: auto;
  }

  #by-phone .wrap .feat__pic img {
    height: 280px;
    width: 673px;
  }
}

@media screen and (min-width: 1440px) {
  #by-phone .wrap {
    padding: 2.5rem 7.5rem;
  }
}
