.fme-reviews {
  --fme-review-text: #17212b;
  --fme-review-muted: #66717c;
  --fme-review-border: #dfe5e9;
  --fme-review-surface: #ffffff;
  --fme-review-soft: #f5f7f8;
  --fme-review-accent: #168a63;
  --fme-review-star-empty: #d9dee3;
  --fme-review-link: #125f91;
  --fme-review-radius: 12px;

  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(190px, 220px) minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  overflow: hidden;
  color: var(--fme-review-text);
  background: var(--fme-review-surface);
  border: 1px solid var(--fme-review-border);
  border-radius: var(--fme-review-radius);
  box-shadow: 0 2px 14px rgba(23, 33, 43, 0.06);
  font-family: inherit;
  line-height: 1.35;
}

.fme-reviews *,
.fme-reviews *::before,
.fme-reviews *::after {
  box-sizing: border-box;
}

section.fme-reviews a.fme-reviews__summary,
section.fme-reviews a.fme-reviews__summary:link,
section.fme-reviews a.fme-reviews__summary:visited,
section.fme-reviews a.fme-reviews__summary:hover,
section.fme-reviews a.fme-reviews__summary:focus,
section.fme-reviews a.fme-reviews__summary:active,
section.fme-reviews a.fme-review,
section.fme-reviews a.fme-review:link,
section.fme-reviews a.fme-review:visited,
section.fme-reviews a.fme-review:hover,
section.fme-reviews a.fme-review:focus,
section.fme-reviews a.fme-review:active {
  color: inherit;
  text-decoration: none !important;
}

.fme-reviews__summary {
  display: flex;
  min-width: 0;
  min-height: 164px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 18px 22px;
  border-right: 1px solid var(--fme-review-border);
  transition: background-color 160ms ease;
}

.fme-reviews__summary:hover {
  background: var(--fme-review-soft);
}

.fme-reviews__eyebrow {
  margin-bottom: 2px;
  color: var(--fme-review-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fme-reviews__heading {
  margin: 0 0 8px;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.05;
}

.fme-stars {
  display: inline-flex;
  gap: 3px;
  flex: 0 0 auto;
}

.fme-star {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  overflow: hidden;
  color: #ffffff;
  background: var(--fme-review-accent);
  border-radius: 2px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1;
}

.fme-stars--large .fme-star {
  width: 26px;
  height: 26px;
  font-size: 18px;
}

.fme-star--partial {
  background: linear-gradient(
    90deg,
    var(--fme-review-accent) 0 var(--fme-star-fill, 80%),
    var(--fme-review-star-empty) var(--fme-star-fill, 80%) 100%
  );
}

.fme-star--empty {
  background: var(--fme-review-star-empty);
}

.fme-reviews__score,
.fme-reviews__count,
.fme-reviews__source {
  display: block;
}

.fme-reviews__score {
  margin-top: 8px;
  font-size: 14px;
}

.fme-reviews__count {
  margin-top: 1px;
  color: var(--fme-review-muted);
  font-size: 13px;
}

.fme-reviews__source {
  margin-top: 7px;
  color: var(--fme-review-link);
  font-size: 13px;
  font-weight: 700;
}

.fme-reviews__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
}

.fme-review {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 164px;
  padding: 18px 20px 16px;
  border-left: 1px solid var(--fme-review-border);
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.fme-review:first-child {
  border-left: 0;
}

.fme-review:hover {
  z-index: 1;
  background: var(--fme-review-soft);
  box-shadow: inset 0 -3px 0 var(--fme-review-accent);
}

.fme-review article {
  display: flex;
  height: 100%;
  min-width: 0;
  flex-direction: column;
}

.fme-review__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.fme-review__external {
  color: var(--fme-review-muted);
  font-size: 15px;
  transition: transform 160ms ease, color 160ms ease;
}

.fme-review:hover .fme-review__external {
  color: var(--fme-review-link);
  transform: translate(1px, -1px);
}

.fme-review__meta {
  margin: 8px 0 0;
  overflow: hidden;
  color: var(--fme-review-muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fme-review__meta strong {
  color: var(--fme-review-text);
}

.fme-review__title {
  margin: 4px 0 0;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fme-review__excerpt {
  display: -webkit-box;
  margin: 5px 0 0 !important;
  padding: 0 !important;
  overflow: hidden;
  color: #303b45;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 13px;
  font-style: normal;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.fme-review__link-text {
  margin-top: auto;
  padding-top: 7px;
  color: var(--fme-review-link);
  font-size: 12px;
  font-weight: 700;
}

.fme-reviews a:focus-visible {
  z-index: 2;
  outline: 3px solid rgba(18, 95, 145, 0.35);
  outline-offset: -3px;
}

@media (max-width: 920px) {
  .fme-reviews {
    display: block;
    overflow: visible;
  }

  .fme-reviews__summary {
    min-height: 0;
    padding: 18px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--fme-review-border);
  }

  .fme-reviews__list {
    grid-auto-columns: minmax(260px, 86%);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 14px;
    scroll-padding-inline: 14px;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .fme-review {
    min-height: 166px;
    padding: 17px 18px 15px;
    background: var(--fme-review-surface);
    border: 1px solid var(--fme-review-border);
    border-radius: 10px;
    scroll-snap-align: start;
  }

  .fme-review:first-child {
    border-left: 1px solid var(--fme-review-border);
  }
}

@media (max-width: 430px) {
  .fme-reviews__summary {
    padding: 16px;
  }

  .fme-stars--large .fme-star {
    width: 24px;
    height: 24px;
    font-size: 16px;
  }

  .fme-reviews__list {
    grid-auto-columns: minmax(246px, 90%);
    gap: 10px;
    padding: 12px;
    scroll-padding-inline: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fme-reviews *,
  .fme-reviews *::before,
  .fme-reviews *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
