.aam-native-reviews {
  color: #111;
  font-family: inherit;
  margin: 0 auto;
  max-width: 1220px;
  padding: 0 0 40px;
}

.aam-native-reviews a {
  color: #c01f44;
  text-decoration: none;
}

.aam-native-reviews a:hover,
.aam-native-reviews a:focus {
  text-decoration: underline;
}

.aam-review-copy {
  margin: 0 auto 34px;
  max-width: 760px;
  text-align: center;
}

.aam-review-copy h1 {
  color: #2f3f44;
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0 0 34px;
  text-transform: uppercase;
}

.aam-review-copy p {
  color: #696969;
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0 auto 28px;
  text-align: left;
}

.aam-review-choice {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.aam-tripadvisor-choice {
  color: #00aa6c;
  font-size: 1.05rem;
  font-weight: 700;
}

.aam-reviews-embed-style {
  font-family: Arial, Helvetica, sans-serif;
  margin: 20px auto 0;
  max-width: 1480px;
  width: 100%;
}

.aam-reviews-embed-style .aam-review-summary {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 0 25px;
  min-height: 51px;
}

.aam-reviews-embed-style .aam-review-summary-details {
  min-width: 0;
}

.aam-reviews-embed-style .aam-review-summary h2 {
  color: #111;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 6px;
}

.aam-reviews-embed-style .aam-review-rating-line {
  align-items: center;
  color: #333;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 8px;
  line-height: 1.25;
}

.aam-stars {
  color: #f7b51f;
  display: inline-flex;
  font-size: 20px;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.aam-reviews-embed-style .aam-review-rating-line .aam-stars {
  font-size: 18px;
}

.aam-reviews-embed-style .aam-leave-review {
  align-items: center;
  background: #064cff;
  border-radius: 3px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  min-height: 37px;
  padding: 0 18px;
  text-align: center;
  text-decoration: none;
}

.aam-reviews-embed-style .aam-leave-review:hover,
.aam-reviews-embed-style .aam-leave-review:focus {
  background: #003fd1;
  text-decoration: none;
}

.aam-review-form-panel {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  display: none;
  margin: 0 0 25px;
  padding: 20px;
}

.aam-review-form-panel:target {
  display: block;
}

.aam-review-form {
  display: grid;
  gap: 14px;
}

.aam-review-form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 150px;
}

.aam-review-form label {
  display: grid;
  gap: 6px;
}

.aam-review-form label span,
.aam-review-file-field > span {
  color: #111;
  font-size: 14px;
  font-weight: 700;
}

.aam-review-form input:not([type="file"]),
.aam-review-form select,
.aam-review-form textarea {
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  color: #111;
  font: inherit;
  min-height: 40px;
  padding: 8px 10px;
  width: 100%;
}

.aam-review-form textarea {
  line-height: 1.45;
  min-height: 120px;
  resize: vertical;
}

.aam-review-file-field {
  display: grid;
  gap: 6px;
}

.aam-review-file-control {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.aam-review-file-button {
  background: #fff;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  color: #111;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  min-height: 40px;
  padding: 0 14px;
}

.aam-review-file-button:hover,
.aam-review-file-button:focus {
  background: #f7f7f7;
  border-color: #b6b6b6;
}

.aam-review-file-name {
  color: #333;
  font-size: 14px;
}

.aam-review-submit {
  background: #064cff;
  border: 0;
  border-radius: 3px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  justify-self: start;
  min-height: 40px;
  padding: 0 18px;
}

.aam-review-submit:hover,
.aam-review-submit:focus {
  background: #003fd1;
}

.aam-review-form-notice {
  background: #edf8ef;
  border: 1px solid #b9e2c1;
  border-radius: 6px;
  color: #1d5d2a;
  font-size: 14px;
  margin: 0 0 14px;
  padding: 10px 12px;
}

.aam-review-form-error {
  background: #fff4f4;
  border-color: #f0b5b5;
  color: #9d1c1c;
}

.aam-review-honeypot {
  display: none;
}

.aam-reviews-embed-style .aam-review-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.aam-reviews-embed-style .aam-review-card {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  box-shadow: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 403px;
  overflow: hidden;
}

.aam-reviews-embed-style .aam-review-card:focus {
  outline: 2px solid #064cff;
  outline-offset: 2px;
}

.aam-reviews-embed-style .aam-review-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  padding: 20px;
}

.aam-reviews-embed-style .aam-review-card-header {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: 0 0 10px;
}

.aam-reviews-embed-style .aam-reviewer {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 0;
}

.aam-reviews-embed-style .aam-reviewer img,
.aam-reviews-embed-style .aam-reviewer-initial {
  border-radius: 50%;
  flex: 0 0 40px;
  height: 40px;
  width: 40px;
}

.aam-reviews-embed-style .aam-reviewer img {
  object-fit: cover;
}

.aam-reviews-embed-style .aam-reviewer-initial {
  align-items: center;
  background: #7c6a5e;
  color: #fff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 500;
  justify-content: center;
}

.aam-reviews-embed-style .aam-reviewer strong,
.aam-reviews-embed-style .aam-reviewer small {
  display: block;
}

.aam-reviews-embed-style .aam-reviewer strong {
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aam-reviews-embed-style .aam-reviewer small {
  color: #555;
  font-size: 12px;
  line-height: 1.4;
}

.aam-reviews-embed-style .aam-review-source-badge {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.aam-reviews-embed-style .aam-review-source-badge img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.aam-reviews-embed-style .aam-review-source-badge-website,
.aam-reviews-embed-style .aam-review-source-badge-custom {
  height: 32px;
  width: 62px;
}

.aam-reviews-embed-style .aam-review-card .aam-stars {
  font-size: 22px;
  margin: 0 0 12px;
}

.aam-reviews-embed-style .aam-review-text {
  color: #111;
  display: -webkit-box;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.aam-reviews-embed-style .aam-review-more {
  color: #111;
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 2px;
  text-decoration: none;
}

.aam-reviews-embed-style .aam-review-more:hover,
.aam-reviews-embed-style .aam-review-more:focus {
  text-decoration: underline;
}

.aam-reviews-embed-style .aam-review-media {
  background: #f5f5f5;
  display: grid;
  flex: 0 0 166px;
  height: 166px;
  overflow: hidden;
}

.aam-reviews-embed-style .aam-review-media.is-hidden {
  display: none;
}

.aam-reviews-embed-style .aam-review-media img {
  display: block;
  grid-area: 1 / 1;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  width: 100%;
}

.aam-reviews-embed-style .aam-review-media span {
  align-items: center;
  background: rgba(0, 0, 0, 0.86);
  border-radius: 4px;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  grid-area: 1 / 1;
  justify-self: end;
  justify-content: center;
  line-height: 1;
  margin: 5px;
  min-height: 24px;
  min-width: 32px;
  padding: 0 5px;
  align-self: start;
}

.aam-review-empty {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}

.aam-review-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 28px 0 0;
}

.aam-review-modal[hidden] {
  display: none;
}

.aam-review-modal {
  bottom: 0;
  display: grid;
  left: 0;
  place-items: center;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 999999;
}

.aam-review-modal-backdrop {
  background: rgba(0, 0, 0, 0.64);
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
}

.aam-review-modal-panel {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  color: #111;
  max-height: min(760px, calc(100vh - 48px));
  max-width: min(720px, calc(100vw - 32px));
  overflow: auto;
  padding: 24px;
  position: relative;
  width: 100%;
}

.aam-review-modal-close {
  align-items: center;
  background: #111;
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 26px;
  height: 36px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 14px;
  top: 14px;
  width: 36px;
}

.aam-review-modal-header {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  padding-right: 44px;
}

.aam-review-modal-avatar {
  align-items: center;
  background: #7c6a5e center / cover no-repeat;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 18px;
  font-weight: 700;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.aam-review-modal-name,
.aam-review-modal-date {
  display: block;
}

.aam-review-modal-name {
  font-size: 18px;
}

.aam-review-modal-date {
  color: #555;
  font-size: 13px;
}

.aam-review-modal-source {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 28px;
  min-width: 28px;
}

.aam-review-modal-source img {
  display: block;
  max-height: 26px;
  max-width: 42px;
  object-fit: contain;
}

.aam-review-modal-stars {
  color: #f6a400;
  font-size: 24px;
  letter-spacing: 2px;
  margin: 18px 0 12px;
}

.aam-review-modal-text {
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 18px;
  white-space: pre-wrap;
}

.aam-review-modal-media {
  display: grid;
  overflow: hidden;
  place-items: center;
  position: relative;
}

.aam-review-modal-media[hidden] {
  display: none;
}

.aam-review-modal-image {
  background: #f5f5f5;
  border-radius: 6px;
  display: block;
  grid-area: 1 / 1;
  max-height: 520px;
  object-fit: contain;
  width: 100%;
}

.aam-review-modal-media-nav {
  align-items: center;
  align-self: center;
  background: rgba(0, 0, 0, 0.72);
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 34px;
  grid-area: 1 / 1;
  height: 40px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 4px;
  width: 40px;
  z-index: 1;
}

.aam-review-modal-media-nav[hidden] {
  display: none;
}

.aam-review-modal-media-prev {
  justify-self: start;
  margin-left: 12px;
}

.aam-review-modal-media-next {
  justify-self: end;
  margin-right: 12px;
}

.aam-review-modal-media-count {
  align-self: start;
  background: rgba(0, 0, 0, 0.78);
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  grid-area: 1 / 1;
  justify-self: end;
  line-height: 1;
  margin: 10px;
  padding: 5px 7px;
  z-index: 1;
}

.aam-review-modal-media-count[hidden] {
  display: none;
}

.aam-review-modal-open {
  overflow: hidden;
}

.aam-review-page-numbers {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.aam-review-page-link,
.aam-review-page-ellipsis {
  align-items: center;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  color: #313131;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  min-height: 38px;
  min-width: 38px;
  padding: 0 12px;
  text-decoration: none;
}

.aam-review-page-link:hover,
.aam-review-page-link:focus {
  border-color: #064cff;
  color: #064cff;
}

.aam-review-page-link.is-current {
  background: #064cff;
  border-color: #064cff;
  color: #fff;
}

.aam-review-page-link.is-disabled,
.aam-review-page-ellipsis {
  color: #999;
}

.aam-review-page-link.is-disabled {
  background: #f7f7f7;
}

.aam-review-page-ellipsis {
  border-color: transparent;
  min-width: 28px;
  padding: 0;
}

@media (max-width: 1024px) {
  .aam-reviews-embed-style .aam-review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .aam-native-reviews {
    padding: 0 16px 32px;
  }

  .aam-reviews-embed-style .aam-review-summary {
    align-items: flex-start;
    gap: 16px;
  }

  .aam-reviews-embed-style .aam-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .aam-review-copy {
    margin-bottom: 28px;
  }

  .aam-review-copy h1 {
    margin-bottom: 28px;
  }

  .aam-reviews-embed-style .aam-review-summary {
    flex-direction: column;
  }

  .aam-reviews-embed-style .aam-leave-review {
    width: 100%;
  }

  .aam-review-form-grid {
    grid-template-columns: 1fr;
  }

  .aam-reviews-embed-style .aam-review-grid {
    grid-template-columns: 1fr;
  }

  .aam-review-pagination {
    gap: 8px;
  }

  .aam-review-page-link,
  .aam-review-page-ellipsis {
    min-height: 36px;
    min-width: 36px;
    padding: 0 10px;
  }
}
