.reviews {
    margin: 0;
    position: relative;
}

.reviews__list.has-button {
    padding-bottom: 80px;
}

.reviews .load-more-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    max-width: max-content;
    margin: 24px auto;
}

.reviews .modal--legal-button,
.reviews-a .modal--legal-button {
    display: flex;
    align-items: center;
    text-decoration: none;
    width: 100%;
    padding: 7px 0 0;
    outline: none;
}

.reviews .modal--legal-button svg,
.reviews-a .modal--legal-button svg {
    fill: #a9abae;
}

.reviews .modal--legal-button span,
.reviews-a .modal--legal-button span {
  font-size: 12px;
}

.reviews .modal,
.reviews-a .modal {
    padding: 1.5rem;
    border-radius: 1.5rem;
}

.reviews .modal__title,
.reviews-a .modal__title {
    display: flex;
    align-items: center;
}

.reviews .modal .btn-close.btn-close--sm,
.reviews-a .modal .btn-close.btn-close--sm {
    fill: #808284;
    width: 1.25rem;
    height: 1.25rem;
    top: 1rem;
    right: 1rem;
}

.reviews .modal__title span {
    display: flex;
    align-items: center;
    width: 93%;
    font-size: 1.25rem;
    color: #474849;
    font-weight: 600;
    line-height: 1.5rem;
    text-align: left;
}

.reviews .text--xs,
.reviews-a .text--xs {
    padding-left: 0;
}

.reviews .text--xs span,
.reviews-a .text--xs span {
    font-size: 12px;
}

.reviews__list {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    gap: 0;
}

.reviews__item {
    padding: 28px 0;
    border-radius: 8px;
    width: 100%;
}

.reviews__comment {
    margin: 10px 0;
    color: #000;
}

.reviews__comment .show-more__content--hidden,
.reviews__comment .show-more__content {
    font-size: 1rem;
    line-height: 160%;
    font-family: Inter, sans-serif;
    color: #58595b;
}

.reviews__item .review__flag svg {
    fill: rgb(110, 111, 113);
}

.reviews__item .card--reviews-rating-module .review-answer {
  margin-top: .5rem;
}

.reviews__experience-date {
    font-size: 12px;
    color: #6e6f71;
}

.reviews__publication-date {
    margin-bottom: 4px;
}

.review__like {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
}

.review__like a {
    align-items: center;
    gap: 6px;
    padding: .25rem .5rem;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: .75rem;
    font-weight: 700;
    color: #015aa3;
    background-color: #e9f2fb;
    border-radius: .25rem;
    text-decoration: none;
}

.review__like a:hover {
    text-decoration: none;
    color: #061428;
}

.reviews__rating-wrapper {
    display: flex;
    font-size: 16px;
    color: #000;
    flex-wrap: wrap;
    gap: 8px;
}

.reviews__rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.reviews__rating svg,
.modal--review .reviews__rating svg {
    fill: #ffce00;
}

.reviews__like-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: 6px;
}

.review-comment-wrapper {
  display: flex;
  align-items: normal;
  flex-direction: column;
  gap: 16px;
  margin-top: 6px;
}

.reviews__no-reviews {
    padding: 0 1rem;
    width: 100%;
    display: block;
    text-align: center;
}

.reviews-title {
    padding: 24px 24px 0 24px;
    margin: 0;
    font-size: 1.625rem;
}

@media screen and (max-width: 768px){
    .reviews__item {
        padding: 18px 0;
    }

    .reviews__comment {
        margin: 6px 0;
    }

    .reviews-title {
        padding: 12px 12px 0 12px;
        margin: 0;
        font-size: 1.25rem;
    }

    .reviews .text--xs {
        padding-left: 0;
        padding-bottom: 8px;
    }

    .reviews .modal--legal-button {
        padding: 7px 0 0 0;
    }

    .reviews .load-more-btn {
        margin: 18px auto;
    }
}

.reviews__date-wrappar {
    width: 100%;
}

@media screen and (min-width: 991px) {
    .reviews__date-wrappar {
        display: flex;
        align-items: center;
        gap: 10px;
        width: auto;
    }

    .reviews__date-wrappar .reviews__publication-date {
        margin-bottom: 0;
    }
}

/* Reply Inputs */
.reply-placeholder {
  color: #7d7b7b;
  cursor: pointer;
  padding: 8px;
  border: 1px solid #7d7b7b;
  border-radius: 8px;
}

.reply-placeholder:hover {
  color: #6b6868;
}

.reply-input {
  width: 100%;
  min-height: 60px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  resize: vertical; /* resize only vertically */
  margin-bottom: 10px;
}

.reply-input-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.form-group--spaced.form-item-field-reply-body-0-value {
  margin-bottom: 0;
}

/*#edit-actions--3 {*/
/*  display: flex;*/
/*  width: 100%;*/
/*  justify-content: flex-end;*/
/*}*/

/* More actions dropdown */
.actions-wrapper {
  position: relative;
}

.btn-more-actions {
  position: absolute;
  right: 0;
  top: -5px;
  cursor: pointer;
  width: 24px;
  height: 14px;
  background-image: radial-gradient(circle, #666 2.5px, transparent 2.8px);
  background-size: 8px 16px;
  background-color: transparent;
  border: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.actions-tooltip {
  position: absolute;
  right: 0;
  top: 12px;
  background: #015aa3;;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  border-radius: 8px 0 8px 8px;
  font-weight: 600;
  min-width: 150px;
  z-index: 90;
}

.tooltip-action {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  text-decoration: none;
  color: #fff;
  fill: #fff;
  justify-content: flex-start;
}

.tooltip-action:hover,
.tooltip-action:focus,
.tooltip-action:active {
  text-decoration: none;
  color: #fff;
  fill: #fff;
  outline: none;
  background: #014a85;
  border-radius: 8px 0 8px 8px;
}

/* Thanks answer after Reply */
.reply-buttons .shared-reviews-wrapper.thankyou-message {
    padding-top: 0;
    padding-bottom: .75rem;
}
.reply-buttons .shared-reviews-wrapper.thankyou-message h2 {
    font-size: 1.25rem;
}
.reply-buttons .shared-reviews-wrapper.thankyou-message p {
    margin-top: .5rem;
}
/* Actions wrapper */
.actions-wrapper-reply {
  display: flex;
  gap: 1rem;
}
