* {
    box-sizing: border-box;

    /*font-family: "Roboto", sans-serif;*/
    /*font-size: 12px;*/
}

p,
h2,
button {
  margin: 0;
  padding: 0;
}

.rent-card {
  display: grid;
  grid-template-columns: 4fr 1fr;
  grid-template-rows: 1fr, 1fr;
  grid-template-areas:
    "top-left btns"
    "bottom-left btns";

  width: 100%;
  padding: 16px 16px 19px 22px;
  margin-bottom: 20px;
  border-radius: 10px;

  box-shadow: 0 0 6px rgba(79, 79, 79, 0.24);
}

.main__block {
  grid-area: top-left;

  max-width: 815px;
}

.main__info {
  grid-area: bottom-left;

  margin-top: 7px;
}

.rent-card__tips {
  grid-area: btns;
}

.strong {
  font-weight: bold;
}

.info-list {
  position: relative;
  display: flex;
  justify-content: space-between;

  padding: 0 20px 15px 0;

  list-style: none;
  line-height: 18px;
}

.info-list__item:not(:last-of-type) {
  margin-right: 20px;
}

.info-list:after {
  content: "";

  position: absolute;
  bottom: 0;

  width: 100%;
  height: 1px;

  background-color: rgba(0, 0, 0, 0.2);
}

.info-list__text {
  padding: 0;
  margin: 0;
}

.blocks {
  display: flex;
  justify-content: flex-start;
}

.info__id {
  margin-bottom: 8px;

  font-size: 13px;
}

.detail__title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;

  font-size: 20px;
  font-weight: bold;

  overflow: hidden;
}

.detail__subtitle {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;

  margin-bottom: 11px;

  font-size: 16px;
  line-height: 24px;

  overflow: hidden;
}

.blocks__part {
  margin-right: 44px;
}

.blocks__part:nth-of-type(2) {
  margin-right: 90px;
}

.tips {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;

  margin-top: 6px;
}

.tips__status:empty {
  margin-bottom: 86px;
}

.tips__status:not(:empty) {
  width: 142px;
  /*height: 32px;*/
  margin-bottom: 54px;
  padding: 0 5px;
  border: none;
  border-radius: 4px;

  background-color: #ffb800;

  font-size: 12px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  /*line-height: 32px;*/
}

.tips__details {
  width: 130px;
  height: 32px;
  border: 2px solid #4bc6ec;
  border-radius: 16px;

  background-color: #fff;

  font-size: 14px;
  text-transform: uppercase;
  text-align: center;
  line-height: 28px;

  outline: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.tips__details:hover {
  box-shadow: 0 0 6px rgba(79, 79, 79, 0.24);
  text-decoration: none;

  background-color: #4bc6ec;
  color: #fff;
}

.tips-title {
  text-align: right;
}

@media screen and (max-width: 768px) {
  .info-list,
  .blocks {
    flex-wrap: wrap;
  }

  .info-list__item:not(:last-of-type),
  .blocks__part {
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 576px) {
  .rent-card {
    display: flex;
    flex-direction: column;
  }

  .rent-card__tips {
    position: relative;

    width: 100%;
    padding-top: 10px;
  }

  .rent-card__tips:before {
    content: "";

    position: absolute;
    top: 0;
    display: block;

    width: 100%;
    height: 1px;

    background-color: rgba(0, 0, 0, 0.2);
  }

  .tips {
    flex-direction: row;
  }

  .tips__status {
    margin-bottom: 0;
  }

  .tips-title {
    text-align: left;
  }

  .detail__title {
    font-size: 18px;
    -webkit-line-clamp: 2;
  }

  .detail__subtitle {
    font-size: 14px;
    -webkit-line-clamp: 3;
  }
}

@media screen and (max-width: 380px) {
  .rent-card__tips {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .tips {
    flex-direction: column;
  }

  .tips__status {
    margin-bottom: 20px;
  }
}
