.smart-houses {
  display: flex
}

.smart-houses .smart-house {
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(65, 68, 73, 0.2);
  display: flex;
  flex: 1;
  position: relative
}

.smart-houses .smart-house a {
  color: inherit;
  display: flex;
  flex: 1;
  text-decoration: none
}

.smart-houses .smart-house-inner {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px
}

.smart-houses .smart-house-inner:hover .smart-house-motto {
  transform: translateY(0);
  transition: transform .2s ease-in-out
}

.smart-houses.smart-houses-list {
  flex-direction: column
}

.smart-houses.smart-houses-list .smart-house {
  margin-bottom: 16px
}

.smart-houses.smart-houses-list .smart-house:last-of-type {
  margin-bottom: 0
}

.smart-houses.smart-houses-blocks {
  flex-direction: row
}

.smart-houses.smart-houses-blocks .smart-house {
  flex: 1;
  margin-right: 20px;
  min-height: 180px
}

.smart-houses.smart-houses-blocks .smart-house:last-of-type {
  margin-right: 0
}

.smart-houses.smart-houses-blocks .smart-house-inner {
  padding: 20px
}

.smart-houses.smart-houses-blocks .smart-house-motto {
  align-items: flex-end;
  padding-right: 20px;
  padding-top: 70px
}

.smart-houses .smart-house-name {
  color: #414449;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5
}

.smart-houses .smart-house-points {
  font-size: 36px;
  line-height: 1.2
}

.smart-houses .smart-house-logo {
  background-position: center;
  background-size: cover;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(65, 68, 73, 0.2);
  height: 64px;
  position: absolute;
  right: -10px;
  top: -10px;
  width: 64px;
  z-index: 2
}

.smart-houses .smart-house-motto-mask {
  bottom: 0;
  left: 0;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1
}

.smart-houses .smart-house-motto {
  bottom: 0;
  color: #fff;
  display: flex;
  left: 0;
  line-height: 1.5;
  padding: 20px 75px 16px 20px;
  position: absolute;
  right: 0;
  top: 0;
  transform: translateY(100%);
  transition: transform .15s ease-in-out
}
