@use './src/app/styles/font' as *;
@use './src/app/styles/variables' as *;

.card {
  width: 100%;
  padding: 0;
  box-shadow: 0 3px 11px 0 $shadow-white, 0 3px 3px -2px $shadow-grey, 0 1px 8px 0 $shadow-dark-grey;
}

.customer-info {
  display: flex;
  padding: 24px 24px 16px 24px;
}

.comments {
  padding: 0 24px 24px 24px;
}

.avatar {
  width: 40px;
  height: 40px;
  margin-right: 8px;
  border-radius: 50%;
}

.customer-name-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.customer-name {
  font-size: $fs-normal;
  font-weight: $fw-bold;
  margin: 0;
  color: $dark-grey;
}

.link {
  color: $blue;

  &:hover {
    text-decoration: underline;
  }
}

.date-publish {
  font-size: $fs-small;
  font-weight: $fw-lighter;
  margin: 0;
  color: $dark-grey;
}

.description {
  padding: 0 24px;
  color: $dark-grey;
  margin: 8px;
}

.title-text {
  font-size: $fs-normal;
  color: $dark-grey;
}

.description-text {
  margin: 0;
}

.content {
  margin: 12px 0 0 0;
}

.content-img {
  width: 100%;
}

.content-text-wrapper {
  padding: 0 40px;
}

.content-button {
  background-color: transparent;
  color: $dark-grey;
  box-shadow: none;
  margin-bottom: 16px;

  &:hover {
    background-color: $header-button-background-color-hover;
  }
}

.content-text {
  font-size: $fs-normal;
  color: $dark-grey;
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  font-weight: $fw-lighter;
  line-height: 1.5;
  letter-spacing: 0.00938em;
  margin: 0;
}

.action-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
}

.likes-wrapper {
  display: flex;
}

.likes-logo {
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.likes-logo + .likes-logo {
  margin-left: 8px;
}

.osm-map {
  width: 100%;
  height: 200px;
  border: 0;
  display: block;
}

.icons-block {
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.icon-wrapper {
  width: 48px;
  height: 48px;
  background-color: transparent;
  box-shadow: none;

  &:hover {
    background-color: $header-button-background-color-hover;
  }
}

.icon-wrapper + .icon-wrapper {
  margin-left: 8px;
}

.icon {
  color: rgba(110, 110, 110, 0.6);
}

.comment-wrapper {
  display: flex;
  margin: 0 -8px 0 -8px;
  padding: 16px 24px;
  border-top: 1px solid $white-gray;
  border-bottom: 1px solid $white-gray;
}

.comment-wrapper + .comment-wrapper {
  margin-top: -1px;
}

.comment-name {
  font-size: 12.32px;
  font-weight: $fw-lighter;
  margin: 0 0 4px 0;
  color: $dark-grey;
}

.comment-text {
  font-size: 12.8px;
  margin: 0;
}

.custom-comment-wrapper {
  padding: 8px 16px 0 16px;
  height: 50px;

  @media (max-width: $medium) {
    height: auto;
  }
}

.custom-icon {
  width: 40px;
  height: 40px;
  margin-right: 8px;
  box-shadow: none;
  font-size: $fs-normal;
}

.custom-comment {
  width: 88%;
  font-size: $fs-normal;
}
