ul.danh-sach-cong-ty {
  --line-height: 1.5em;
  --radius: 4px;
  --000053: #000053;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}
ul.danh-sach-cong-ty li.cong-ty__item {
  --x: calc((100% - 32px)/22);
  display: grid;
  grid-template-areas: "heading heading heading" "feature_image services services" "feature_image content content" "feature_image tru_so_chinh tru_so_chinh" "feature_image website website" "feature_image button_contact avg_rating" "latest_review latest_review latest_review";
  grid-template-columns: calc(10 * var(--x)) calc(6 * var(--x)) calc(6 * var(--x));
  grid-gap: 16px;
}
ul.danh-sach-cong-ty li.cong-ty__item .ct__header {
  grid-area: heading;
  display: flex;
  align-items: center;
  column-gap: 32px;
}
ul.danh-sach-cong-ty li.cong-ty__item .ct__header .ct__avatar img {
  --size-avatar: 64px;
  width: var(--size-avatar);
  height: var(--size-avatar);
  object-fit: cover;
  border-radius: 50%;
}
ul.danh-sach-cong-ty li.cong-ty__item .ct__header .ct__name h3.ct__title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: var(--line-height);
  display: flex;
  gap: 10px;
  align-items: center;
}
ul.danh-sach-cong-ty li.cong-ty__item .ct__header .ct__name h3.ct__title a {
  color: #202020;
  transition: all 0.3s ease;
}
ul.danh-sach-cong-ty li.cong-ty__item .ct__header .ct__name h3.ct__title a:hover {
  color: #44f;
}
ul.danh-sach-cong-ty li.cong-ty__item .ct__header .ct__name p.ct__subtitle {
  font-size: 18px;
  line-height: var(--line-height);
  margin: 0;
  margin-top: 10px;
}
ul.danh-sach-cong-ty li.cong-ty__item .ct__header .ct__name p.ct__subtitle img {
  width: 20px;
  height: 20px;
}
ul.danh-sach-cong-ty li.cong-ty__item .ct__gallery-image {
  grid-area: feature_image;
}
ul.danh-sach-cong-ty li.cong-ty__item .ct__gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  aspect-ratio: 1.6;
}
ul.danh-sach-cong-ty li.cong-ty__item p {
  margin: 0;
}
ul.danh-sach-cong-ty li.cong-ty__item p.tru-so-chinh {
  grid-area: tru_so_chinh;
}
ul.danh-sach-cong-ty li.cong-ty__item p.website {
  grid-area: website;
}
ul.danh-sach-cong-ty li.cong-ty__item p.ct__services {
  grid-area: services;
  font-size: 14px;
}
ul.danh-sach-cong-ty li.cong-ty__item p.ct__services span {
  display: flex;
  gap: 8px;
}
ul.danh-sach-cong-ty li.cong-ty__item p.ct__services span a {
  padding: 8px;
  display: inline-block;
  border: 1px solid var(--000053);
  color: var(--000053);
  border-radius: var(--radius);
}
ul.danh-sach-cong-ty li.cong-ty__item .ct__content {
  grid-area: content;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
}
ul.danh-sach-cong-ty li.cong-ty__item a.button_contact {
  grid-area: button_contact;
  padding: 12px 32px;
  background-image: linear-gradient(to left, #000053 50%, #44f 50%);
  background-size: 200%;
  background-position: center right;
  color: #fff !important;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 16px;
  line-height: var(--line-height);
  text-align: center;
  transition: all 0.3s ease;
}
ul.danh-sach-cong-ty li.cong-ty__item a.button_contact:hover {
  background-position: center left;
}
ul.danh-sach-cong-ty li.cong-ty__item .rating-parent-contain {
  grid-area: avg_rating;
  position: relative;
}
ul.danh-sach-cong-ty li.cong-ty__item .rating-parent-contain .rating_contain {
  display: inline-grid;
  width: 190px;
  grid-template-areas: "avg icon" "avg sum";
  grid-template-columns: 1fr 3fr;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  grid-gap: 5px 10px;
}
ul.danh-sach-cong-ty li.cong-ty__item .rating-parent-contain .rating_contain span.average {
  grid-area: avg;
  padding: 12px;
  border-radius: var(--radius);
  background-color: #F0F2F4;
  font-size: 20px;
  font-weight: 700;
  line-height: var(--line-height);
  color: var(--000053);
  width: 53px;
  text-align: center;
}
ul.danh-sach-cong-ty li.cong-ty__item .rating-parent-contain .rating_contain .icon-start {
  grid-area: icon;
  position: relative;
}
ul.danh-sach-cong-ty li.cong-ty__item .rating-parent-contain .rating_contain .icon-start span.yellow-starts {
  position: absolute;
}
ul.danh-sach-cong-ty li.cong-ty__item .rating-parent-contain .rating_contain .icon-start span.yellow-starts span {
  background: url("/wp-content/uploads/2025/02/rating.png") left / cover no-repeat;
  z-index: 1;
}
ul.danh-sach-cong-ty li.cong-ty__item .rating-parent-contain .rating_contain .icon-start span.gray-starts span {
  background: url("/wp-content/uploads/2025/02/rating-1.png") center/ contain no-repeat;
}
ul.danh-sach-cong-ty li.cong-ty__item .rating-parent-contain .rating_contain .icon-start span.yellow-starts, ul.danh-sach-cong-ty li.cong-ty__item .rating-parent-contain .rating_contain .icon-start span.gray-starts {
  display: flex;
  gap: 5px;
}
ul.danh-sach-cong-ty li.cong-ty__item .rating-parent-contain .rating_contain .icon-start span.yellow-starts span, ul.danh-sach-cong-ty li.cong-ty__item .rating-parent-contain .rating_contain .icon-start span.gray-starts span {
  --size-star: 20px;
  width: var(--size-star);
  height: var(--size-star);
  display: inline-block;
}
ul.danh-sach-cong-ty li.cong-ty__item .rating-parent-contain .rating_contain .total-review {
  grid-area: sum;
  color: #5b5b5b;
  font-weight: 700;
  font-size: 14px;
}
ul.danh-sach-cong-ty li.cong-ty__item .rating-parent-contain .rating_contain .total-review span {
  font-weight: 500;
  text-decoration: underline;
}
ul.danh-sach-cong-ty li.cong-ty__item .latest-review {
  grid-area: latest_review;
  background-color: #f0f2f4;
  padding: 16px 20px;
  border-radius: var(--radius);
  display: grid;
  grid-template-areas: "avatar inf" ". content";
  grid-template-columns: 1fr 10fr;
  grid-gap: 8px 16px;
  margin-top: 16px;
}
ul.danh-sach-cong-ty li.cong-ty__item .latest-review * {
  padding: 0;
  margin: 0;
}
ul.danh-sach-cong-ty li.cong-ty__item .latest-review .reviewer-avatar {
  grid-area: avatar;
}
ul.danh-sach-cong-ty li.cong-ty__item .latest-review .reviewer-avatar img {
  border-radius: 50%;
  aspect-ratio: 1;
}
ul.danh-sach-cong-ty li.cong-ty__item .latest-review .review-inf {
  grid-area: inf;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
ul.danh-sach-cong-ty li.cong-ty__item .latest-review .review-inf span {
  display: block;
}
ul.danh-sach-cong-ty li.cong-ty__item .latest-review .review-inf .review-name {
  font-weight: 700;
  font-size: 16px;
  line-height: var(--line-height);
}
ul.danh-sach-cong-ty li.cong-ty__item .latest-review .review-inf span, ul.danh-sach-cong-ty li.cong-ty__item .latest-review .review-inf p {
  line-height: 1em;
}
ul.danh-sach-cong-ty li.cong-ty__item .latest-review p.review-content {
  grid-area: content;
}
ul.danh-sach-cong-ty li.cong-ty__item:nth-of-type(n+2) {
  border-top: 1px solid #D4D4D4;
  padding-top: 24px;
}
ul.danh-sach-cong-ty[number_page="1"] {
  --color-top1: #44F;
  --color-top2: #7575FF;
  --color-top3: #A8A8FF;
}
ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(-n+3) {
  border-width: 4px;
  border-style: solid;
  padding: 20px;
  border-radius: 8px;
  position: relative;
}
ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(-n+3) .ct__avatar {
  position: relative;
}
ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(-n+3) .ct__avatar::before {
  content: "";
  width: 100%;
  height: 30px;
  display: block;
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: center bottom;
  margin-bottom: -8px;
  z-index: 1;
  position: relative;
}
ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(-n+3) .ct__avatar::after {
  content: "";
  width: 100%;
  transform: scale(1.2);
  height: 83px;
  display: block;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: bottom center;
  position: absolute;
  bottom: 4px;
}
ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(-n+3) .ct__inf .contact-and-rating .rating_contain {
  grid-template-areas: "avg icon" "sum sum";
  grid-gap: 5px 0;
}
ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(-n+3) .ct__inf .contact-and-rating .rating_contain span.average {
  background-color: #CDA035;
  clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 96% 85%, 55% 99%, 50% 100%, 45% 99%, 4% 85%, 0% 80%);
}
ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(-n+3) .ct__inf .contact-and-rating .rating_contain .icon-start {
  --spacing-vertical: 10%;
  grid-area: icon;
  position: relative;
  display: flex;
  align-items: center;
  top: var(--spacing-vertical);
  height: calc(85% - var(--spacing-vertical) * 2);
  border-radius: 0 3px 3px 0 !important;
  border-image-slice: 1;
  border-image-width: 2px 2px 2px 0;
  border: 2px solid #CDA035;
  background: linear-gradient(180deg, #6C6C6C, #505050, #313131);
}
ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(-n+3) .ct__inf .contact-and-rating .rating_contain .icon-start span.yellow-starts, ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(-n+3) .ct__inf .contact-and-rating .rating_contain .icon-start span.gray-starts {
  width: 100%;
  justify-content: center;
  gap: 5px;
}
ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(-n+3) .ct__inf .contact-and-rating .rating_contain .icon-start span.yellow-starts span, ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(-n+3) .ct__inf .contact-and-rating .rating_contain .icon-start span.gray-starts span {
  --size-star: 18px;
  width: var(--size-star);
  height: var(--size-star);
  display: inline-block;
}
ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(-n+3)::after {
  content: "";
  width: 270px;
  height: 40px;
  display: inline-block;
  position: absolute;
  right: -1px;
  top: -1px;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 10% 100%, 9% 98%, 8% 95%, 7% 89%);
}
ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(1) {
  border-color: var(--color-top1);
}
ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(1) .ct__avatar::before {
  background-image: url("/wp-content/uploads/2025/02/rank1.png");
}
ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(1) .ct__avatar::after {
  background-image: url("/wp-content/uploads/2025/02/top1.svg");
}
ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(2) {
  border-color: var(--color-top2);
}
ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(2) .ct__avatar::before {
  background-image: url("/wp-content/uploads/2025/02/rank2.png");
}
ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(2) .ct__avatar::after {
  background-image: url("/wp-content/uploads/2025/02/top2.svg");
}
ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(3) {
  border-color: var(--color-top3);
}
ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(3) .ct__avatar::before {
  background-image: url("/wp-content/uploads/2025/02/rank3.png");
}
ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(3) .ct__avatar::after {
  background-image: url("/wp-content/uploads/2025/02/top3.svg");
}
ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(1)::after {
  background-color: var(--color-top1);
}
ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(2)::after {
  background-color: var(--color-top2);
}
ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(3)::after {
  background-color: var(--color-top3);
}
ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(n+4) {
  border-top: 1px solid #D4D4D4;
  padding-top: 24px;
}
.pagination {
  padding-top: 50px;
  --radius: 4px;
  justify-content: center;
  gap: 10px;
  --height-button: 44px;
  margin: 0;
}
.pagination * {
  line-height: var(--height-button);
  display: inline-block !important;
  background-color: #F0F2F4;
  border-radius: var(--radius);
  font-size: 16px;
  color: #000053;
}
.pagination > span {
  background-color: #000053;
  color: #fff;
}
.pagination > :not(.next, .prev) {
  width: var(--height-button);
  text-align: center;
}
.pagination .next, .pagination .prev {
  padding: 0 16px;
  display: flex;
  gap: 8px;
  align-items: center;
}
@media (max-width: 767px) {
  ul.danh-sach-cong-ty {
    --line-height: 1.5em;
    --radius: 4px;
    --000053: #000053;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    row-gap: 24px;
  }
  ul.danh-sach-cong-ty li.cong-ty__item {
    --x: calc((100% - 24px)/3);
    display: grid;
    grid-template-areas: "heading heading heading" "feature_image services services" "feature_image avg_rating avg_rating" "content content content" "tru_so_chinh tru_so_chinh tru_so_chinh" "website website website" "button_contact button_contact button_contact" "latest_review latest_review latest_review";
    grid-template-columns: calc(1 * var(--x)) calc(1 * var(--x)) calc(1 * var(--x));
    grid-gap: 12px;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .ct__header {
    grid-area: heading;
    display: flex;
    align-items: center;
    column-gap: 16px;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .ct__header .ct__avatar img {
    min-width: 50px !important;
    height: 50px;
    object-fit: cover;
    max-width: 50px !important;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .ct__header .ct__name h3.ct__title {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
    line-height: 25px;
    display: flex;
    gap: 10px;
    align-items: center;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .ct__header .ct__name h3.ct__title a {
    color: #202020;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .ct__header .ct__name p.ct__subtitle {
    font-size: 14px;
    line-height: var(--line-height);
    margin: 0;
    margin-top: 5px;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .ct__header .ct__name p.ct__subtitle img {
    width: 16px;
    height: 16px;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .ct__gallery-image {
    grid-area: feature_image;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .ct__gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    aspect-ratio: 1.6;
  }
  ul.danh-sach-cong-ty li.cong-ty__item p {
    margin: 0;
  }
  ul.danh-sach-cong-ty li.cong-ty__item p.ct__services {
    font-size: 14px;
    overflow-x: scroll;
    scrollbar-width: none;
  }
  ul.danh-sach-cong-ty li.cong-ty__item p.ct__services span {
    display: flex;
    gap: 4px;
  }
  ul.danh-sach-cong-ty li.cong-ty__item p.ct__services span a {
    padding: 4px;
    display: inline-block;
    border: 1px solid var(--000053);
    color: var(--000053);
    border-radius: var(--radius);
    white-space: nowrap;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .ct__content {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
  }
  ul.danh-sach-cong-ty li.cong-ty__item p.tru-so-chinh, ul.danh-sach-cong-ty li.cong-ty__item p.website, ul.danh-sach-cong-ty li.cong-ty__item p.ct__subtitle, ul.danh-sach-cong-ty li.cong-ty__item .ct__content {
    font-size: 15px !important;
  }
  ul.danh-sach-cong-ty li.cong-ty__item a.button_contact {
    padding: 12px 24px;
    background-color: var(--000053);
    color: #fff !important;
    border-radius: var(--radius);
    font-weight: 800;
    font-size: 16px;
    line-height: var(--line-height);
    text-align: center;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .rating-parent-contain {
    position: unset;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .rating-parent-contain .rating_contain {
    display: inline-grid;
    width: 100%;
    grid-template-areas: "icon avg sum";
    grid-template-columns: unset;
    position: unset;
    transform: unset;
    grid-gap: 0px;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .rating-parent-contain .rating_contain span.average {
    grid-area: avg;
    padding: 0px;
    border-radius: var(--radius);
    background-color: transparent;
    font-size: 14px;
    font-weight: 700;
    line-height: var(--line-height);
    color: var(--000053);
    width: unset;
    text-align: center;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .rating-parent-contain .rating_contain .icon-start {
    grid-area: icon;
    position: relative;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .rating-parent-contain .rating_contain .icon-start span.yellow-starts {
    position: absolute;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .rating-parent-contain .rating_contain .icon-start span.yellow-starts span {
    z-index: 1;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .rating-parent-contain .rating_contain .icon-start span.yellow-starts, ul.danh-sach-cong-ty li.cong-ty__item .rating-parent-contain .rating_contain .icon-start span.gray-starts {
    display: flex;
    gap: 2px;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .rating-parent-contain .rating_contain .icon-start span.yellow-starts span, ul.danh-sach-cong-ty li.cong-ty__item .rating-parent-contain .rating_contain .icon-start span.gray-starts span {
    --size-star: 18px;
    width: var(--size-star);
    height: var(--size-star);
    display: inline-block;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .rating-parent-contain .rating_contain .total-review {
    grid-area: sum;
    color: #5b5b5b;
    font-weight: 700;
    font-size: 14px;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .rating-parent-contain .rating_contain .total-review span {
    font-weight: 400;
    text-decoration: underline;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .latest-review {
    background-color: #f0f2f4;
    padding: 16px;
    border-radius: var(--radius);
    display: none;
    grid-template-areas: "avatar inf" "content content";
    grid-template-columns: 40px 1fr;
    grid-gap: 8px;
    margin-top: 16px;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .latest-review * {
    padding: 0;
    margin: 0;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .latest-review .reviewer-avatar {
    grid-area: avatar;
    display: flex;
    align-items: center;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .latest-review .reviewer-avatar img {
    border-radius: 50%;
    aspect-ratio: 1;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .latest-review .review-inf {
    grid-area: inf;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 5px;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .latest-review .review-inf span {
    display: block;
    font-size: 16px;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .latest-review .review-inf .review-name {
    font-weight: 700;
    font-size: 16px;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .latest-review .review-inf span, ul.danh-sach-cong-ty li.cong-ty__item .latest-review .review-inf p {
    line-height: 1em !important;
  }
  ul.danh-sach-cong-ty li.cong-ty__item .latest-review p.review-content {
    grid-area: content;
  }
  ul.danh-sach-cong-ty li.cong-ty__item:nth-of-type(n+2) {
    border-top: 1px solid #D4D4D4;
    padding-top: 24px;
  }
  ul.danh-sach-cong-ty[number_page="1"] {
    --color-top1: #44F;
    --color-top2: #7575FF;
    --color-top3: #A8A8FF;
  }
  ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(-n+3) {
    border-width: 4px;
    border-style: solid;
    padding: 40px 10px 10px;
    border-radius: 8px;
    position: relative;
  }
  ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(-n+3) .ct__avatar {
    position: relative;
  }
  ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(-n+3) .ct__avatar img {
    aspect-ratio: 1;
  }
  ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(-n+3) .ct__avatar::before {
    content: "";
    width: 100%;
    height: 30px;
    display: block;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center bottom;
    margin-bottom: -8px;
    z-index: 1;
    position: relative;
  }
  ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(-n+3) .ct__avatar::after {
    content: "";
    width: 100%;
    transform: scale(1.2);
    height: 83px;
    display: block;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: bottom center;
    position: absolute;
    bottom: 4px;
  }
  ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(-n+3) .ct__inf .contact-and-rating {
    gap: 12px;
  }
  ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(-n+3) .ct__inf .contact-and-rating .rating-parent-contain {
    position: relative;
    width: 100%;
    margin: 0px;
    height: 54px;
  }
  ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(-n+3) .ct__inf .contact-and-rating .rating-parent-contain .rating_contain {
    grid-template-areas: "avg icon sum";
    width: 100%;
    grid-template-columns: 53px 1fr 1fr;
  }
  ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(-n+3) .ct__inf .contact-and-rating .rating-parent-contain .rating_contain span.average {
    background-color: #CDA035;
    clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 96% 85%, 55% 99%, 50% 100%, 45% 99%, 4% 85%, 0% 80%);
  }
  ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(-n+3) .ct__inf .contact-and-rating .rating-parent-contain .rating_contain .icon-start {
    --spacing-vertical: 10%;
    grid-area: icon;
    position: relative;
    display: flex;
    align-items: center;
    top: var(--spacing-vertical);
    height: calc(85% - var(--spacing-vertical) * 2);
    border-radius: 0 3px 3px 0 !important;
    border-image-slice: 1;
    border-image-width: 2px 2px 2px 0;
    border: 2px solid #CDA035;
    background: linear-gradient(180deg, #6C6C6C, #505050, #313131);
    margin-right: 4px;
    width: 130px;
  }
  ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(-n+3) .ct__inf .contact-and-rating .rating-parent-contain .rating_contain .icon-start span.yellow-starts, ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(-n+3) .ct__inf .contact-and-rating .rating-parent-contain .rating_contain .icon-start span.gray-starts {
    width: 100%;
    justify-content: space-evenly !important;
    padding: 0 5px;
  }
  ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(-n+3) .ct__inf .contact-and-rating .rating-parent-contain .rating_contain .total-review {
    line-height: 46px;
  }
  ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(-n+3) .latest-review {
    margin-top: 0;
  }
  ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(-n+3)::after {
    content: "";
    width: 50%;
    height: 40px;
    display: inline-block;
    position: absolute;
    right: -1px;
    top: -1px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 10% 100%, 9% 98%, 8% 95%, 7% 89%);
  }
  ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(1) {
    border-color: var(--color-top1);
  }
  ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(1) .ct__avatar::before {
    background-image: url("/wp-content/uploads/2025/02/rank1.png");
  }
  ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(1) .ct__avatar::after {
    background-image: url("/wp-content/uploads/2025/02/top1.svg");
  }
  ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(2) {
    border-color: var(--color-top2);
  }
  ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(2) .ct__avatar::before {
    background-image: url("/wp-content/uploads/2025/02/rank2.png");
  }
  ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(2) .ct__avatar::after {
    background-image: url("/wp-content/uploads/2025/02/top2.svg");
  }
  ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(3) {
    border-color: var(--color-top3);
  }
  ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(3) .ct__avatar::before {
    background-image: url("/wp-content/uploads/2025/02/rank3.png");
  }
  ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(3) .ct__avatar::after {
    background-image: url("/wp-content/uploads/2025/02/top3.svg");
  }
  ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(1)::after {
    background-color: var(--color-top1);
  }
  ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(2)::after {
    background-color: var(--color-top2);
  }
  ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(3)::after {
    background-color: var(--color-top3);
  }
  ul.danh-sach-cong-ty[number_page="1"] li.cong-ty__item:nth-of-type(n+4) {
    border-top: 1px solid #D4D4D4;
    padding-top: 24px;
  }
  .pagination {
    padding-top: 50px;
    --radius: 4px;
    justify-content: center;
    gap: 10px;
    --height-button: 44px;
    margin: 0;
    flex-wrap: wrap;
  }
  .pagination * {
    line-height: var(--height-button);
    display: inline-block !important;
    background-color: #F0F2F4;
    border-radius: var(--radius);
    font-size: 16px;
    color: #000053;
  }
  .pagination span {
    background-color: #000053;
    color: #fff;
  }
  .pagination :not(.next, .prev) {
    width: var(--height-button);
    text-align: center;
  }
  .pagination .next, .pagination .prev {
    padding: 0;
  }
  .pagination .next span, .pagination .prev span {
    display: none !important;
  }
}
