#plans {
  padding-left: 2rem;
  padding-right: 2rem;
}

#plans .row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

#plans .card {
  border-radius: 16px;
  box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.15);
  margin-top: 1rem;
  max-width: 400px;
}

#plans .card>div {
  padding: 30px 34px 34px;
  text-align: left;
}

#plans .card>* a {
  width: 100%;
  margin: 0;
}

.plan-title {
  display: flex;
  align-items: center;
}

.plan-title h4 {
  font-weight: 700;
  font-size: 24px;
  line-height: 200%;
  letter-spacing: -0.02em;
  margin: 0;
}

#plans .card header img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.plan-title img {
  height: 32px;
  object-fit: contain;
  margin-left: 1rem;
}

#plans .plan-stats p {
  line-height: 150%;
  font-size: 14px;
  font-weight: 400;
}

.plan-stats,
.plan-description {
  color: #4F4F4F;
  margin: 8px 0;
}

#plans .plan-rate {
  color: #D74344;
  font-weight: 700;
}

#plans .plan-description {
  margin: 0.5rem 0;
  font-size: 12px;
  line-height: 140%;
}

/* Tablet adjustments */
@media (min-width: 768px) {
  .plan-title h4 {
    font-size: 36px;
    line-height: 48px;
  }

  .plan-title img {
    height: 48px;
  }

  #plans .card {
    margin-right: 0.8rem;
    margin-left: 0.8rem;
    flex: 1;
  }

  #plans .card>div {
    padding: 36px 39px 40px;
  }
}

/* Laptop adjustments */
@media (min-width: 900px) {
  #plans .card>div {
    padding: 36px 40px 40px;
  }
}