.search-result[data-tab="before_after"]
  .list.post-box.list-comment.review_beauty,
.search-result[data-tab="review"] .list.post-box.list-comment.review_beauty {
  gap: 0 !important;
}

.post__before-after-custom,
.post-rating {
  padding: 0 0 16px;
}

.post__before-after-custom::after,
.post-rating::after {
  background-color: #f2f1f6 !important;
  height: 0.5px !important;
}

.post__before-after-custom .d-flex.header,
.post-rating .d-flex.header {
  margin-bottom: 15px;
}

.post__before-after-custom .img-des,
.post-rating .img-des {
  gap: 0;
  margin-bottom: 0;
  align-items: center;
  display: flex;
}

.post__before-after-custom .img-des a.thumb-link,
.post-rating .img-des a.thumb-link {
  width: 35px !important;
  height: 30px !important;
  margin-right: 5px;
  display: block;
  background: transparent;
}

.post__before-after-custom .img-des a.thumb-link img#avatar-img,
.post-rating .img-des a.thumb-link img#avatar-img {
  width: 30px !important;
  height: 30px !important;
  object-fit: cover;
  border-radius: 100%;
  overflow: hidden;
}

.post__before-after-custom .img-des .name-meta,
.post-rating .img-des .name-meta {
  width: calc(100% - 31px);
}

.post__before-after-custom .img-des .name-meta h5,
.post-rating .img-des .name-meta h5 {
  line-height: 14.32px;
}

.post__before-after-custom .img-des .name-meta h5 a.name,
.post-rating .img-des .name-meta h5 a.name {
  font-weight: 500;
  font-size: 12px;
  color: #000001;
}

.post__before-after-custom .img-des .name-meta .date,
.post-rating .img-des .name-meta .date {
  font-weight: 400;
  font-size: 10px;
  line-height: 11.93px;
  color: #acacb0;
}

.post__before-after-custom .verification,
.post-rating .verification {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  margin-right: 0;
  line-height: 0;
}

.verification span.receipt-verification {
  margin-right: 0 !important;
  height: 22px;
  border-radius: 30px;
  border-width: 1px;
  padding: 5px 10px;
  background: #f25ea2cc;
  border: 1px solid #f25ea2;
  color: #fff !important;
  line-height: 11px;
}

.list-rate {
  gap: 3px;
  align-items: center;
  margin-bottom: 10px;
}

.list-rate span {
  margin-left: 2px;
  color: #000001;
  font-weight: 500;
  font-size: 10px;
  line-height: 12px;
  font-weight: 500 !important;
}

.post__before-after-custom .spa-name,
.post-rating .spa-name {
  margin: 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: #000001;
}

.post__before-after-custom .tag-box,
.post-rating .tag-box {
  margin-bottom: 15px;
  overflow-x: auto;
}

.post__before-after-custom.post .tag-scroll a.service-category-v2,
.post-rating.post .tag-scroll a.service-category-v2 {
  background-color: #f2f1f6 !important;
  border-radius: 5px;
  margin-right: 5px !important;
  color: #8d8d90 !important;
  font-weight: 400;
  font-size: 10px;
  height: 22px;
  line-height: 11px;
  padding: 5px 10px;
}

.post__before-after-custom.post .excerpt,
.post-rating.post .excerpt {
  margin: 0 0 15px;
}

.post__before-after-custom.post .excerpt .excerpt-all p,
.post-rating.post .excerpt p {
  font-weight: 400;
  font-size: 13px;
  line-height: 15.51px;
  color: #000001;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.excerpt .excerpt-all .more-content {
  color: #a8a8ad;
  padding-top: 10px;
  font-weight: 400;
  font-size: 13px;
  line-height: 15.51px;
}

.post__before-after-custom .thumb-des,
.post-rating .thumb-des {
  display: grid;
  gap: 15px 10px !important;
  height: unset;
  grid-template-areas: unset !important;
  grid-template-columns: repeat(3, 1fr) !important;
}

[data-tab="before_after"] .post__before-after-custom .thumb-des .box,
[data-tab="review"] .post-rating .thumb-des .box {
  border-radius: 0 !important;
  position: relative;
  grid-area: unset !important;
  aspect-ratio: 1 !important;
  width: 100% !important;
}

.post__before-after-custom .thumb-des .box a,
.post-rating .thumb-des .box a {
  width: 100%;
}

.post__before-after-custom .thumb-des .box img,
.post-rating .thumb-des .box img {
  border-radius: 5px;
  overflow: hidden;
}

.post__before-after-custom .sub-thumb,
.post-rating .sub-thumb {
  color: #fff;
  background-color: #000001a6;
  padding: 2px 6.4px;
  font-weight: 400;
  font-size: 10px;
  line-height: 11.93px;
  text-align: center;
  text-transform: none;
  border-radius: 11px;
  left: 5px;
  bottom: 5px;
  height: 16px;
  width: auto;
  min-width: 43px;
}

.post__before-after-custom .like-comment.like-comment-custom,
.post-rating .like-comment.like-comment-custom {
  border-top: 1px solid #f2f1f6;
  margin-top: 15px !important;
  padding: 15px 0 0 !important;
  gap: 25px !important;
  line-height: normal !important;
}

.post__before-after-custom .like-comment.like-comment-custom a span,
.post__before-after-custom .like-comment.like-comment-custom span,
.post-rating .like-comment.like-comment-custom span,
.post-rating .like-comment.like-comment-custom a span {
  font-weight: 500;
  font-size: 12px;
  line-height: unset !important;
  color: #000001;
  margin: 0 !important;
}

.post__before-after-custom .like-comment.like-comment-custom > *,
.post-rating .like-comment.like-comment-custom > * {
  display: flex;
  align-items: center;
  gap: 5px;
}

.post__before-after-custom
  .like-comment.like-comment-custom
  span.share-action-popup {
  margin-left: 0 !important;
  display: flex;
  align-items: center;
  gap: 5px;
}

.like-comment-like.active svg path,
.list-comment .dislike-btn svg path {
  fill: #f25ea2 !important;
  stroke: #f25ea2 !important;
}

.post-talk_v3 div.img {
  margin-bottom: 10px;
  border: 1px solid #f2f1f6;
  border-radius: 16px;
  background: #fdf5fa;
  overflow: hidden;
}

.post-talk_v3 div.img a {
  border-radius: 0;
  overflow: unset;
}

.post-talk_v3 .img img {
  border-radius: 0;
}

.post-talk_v3 img.talk-default-image {
  width: 28px;
  height: 28px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

span.best-type.pin-icon-top {
  position: unset;
  width: auto;
  height: auto;
  margin-bottom: 10px;
}

span.best-type.pin-icon-top img {
  position: unset;
  vertical-align: middle;
}

.post-talk_v3 div.img span.like-comment-like {
  position: absolute;
  top: 10px;
  right: 10px;
  margin: 0;
  z-index: 2;
  width: 30px;
  height: 30px;
  text-align: right;
}

.post-talk_v3 div.img span.like-comment-like.active svg path {
  fill: #f25ea2 !important;
  stroke: #fff !important;
  opacity: 1;
}

.post-talk_v3 h5 {
  margin-bottom: 10px;
  line-height: 16.71px;
}

.post-talk_v3 h5 img {
  display: none !important;
}

.post-talk_v3 .box-title {
  font-weight: 500;
  font-size: 14px;
  color: #000001;
}

.post-talk_v3 .post-right-custom a:not(:last-child) {
  margin-right: 15px;
}

.post-talk_v3 .post-right-custom a:last-child {
  margin: 0 !important;
}

.post-right-custom svg {
  width: auto;
}

.post-talk_v3 .post-right-custom span {
  margin-left: 5px;
  font-size: 10px;
  line-height: 100%;
  color: #000001;
}

@media (max-width: 768px) {
  .post__before-after-custom .thumb-des .box,
  .post-rating .thumb-des .box {
    height: 86px !important;
  }
}
