.rating {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.rating-circles,
.rating-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.rating-circles p {
  font-family: var(--font-family);
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 26px;
  color: #7C828D;
  margin-right: 10px;
}

.rating-circle {
  flex: 0 0 auto;
  display: flex;
  width: 14px;
  height: 14px;
  margin-right: 5px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.rating-circle.active {
  background: var(--gold);
  border-color: var(--gold);
}

.all-reviews-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

@media (max-width: 1000px) {
  .modal-content {
    width: 90%;
    margin: 5% auto;
    padding: 10px;
    overflow-y: hidden;
  }

  .modal-form label {
    margin-top: 0px;
  }

  .close {
    font-size: 24px;
  }

  .modal-form input,
  .modal-form textarea {
    font-size: 14px;
    padding: 12px;
  }

  .modal-form button {
    font-size: 16px;
    padding: 12px;
  }
}

@media (max-width: 768px) {
  .star {
    cursor: default;
  }

}

.es-reviews {
  margin-bottom: 70px;
}

.es-reviews__container {
  display: flex;
  flex-direction: column;
  row-gap: 40px;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 0 70px 0;
}

.es-reviews__title-inner {}

.es-reviews__title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 64px;
  color: var(--white);
  line-height: 104px;
}

.es-reviews__list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 1310px) {
  .es-reviews__container {
    row-gap: 20px;
  }

  .es-reviews__container {
    padding: 20px 20px 0 20px;
  }

}

@media (max-width: 1023px) {
  .es-reviews__container {
    margin: 0 auto;
  }

}

@media (max-width: 980px) {
  .es-reviews__title {
    font-size: 54px;
    line-height: 88px;
  }
}

@media (max-width: 768px) {
  .es-reviews {
    margin-bottom: 50px;
  }
}

@media (max-width: 560px) {
  .es-reviews__container {
    padding: 0 5px;
  }

  .es-reviews__title-inner {
    padding: 0 10px;
  }

  .es-reviews {
    margin-bottom: 40px;
  }
}

@media (max-width: 680px) {
  .es-reviews__title {
    font-size: 32px;
    line-height: 52px;
  }

  .es-reviews__container {
    row-gap: 15px;
  }
}