/* ─── Helios Reviews Grid ─── */

.hr-reviews-wrap {
  width: 100%;
}

/* Header */
.hr-header-wrap {
  margin-bottom: 28px;
}

.hr-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.hr-header-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e8e8e6;
}

.hr-header-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0;
  padding: 0;
}

.hr-header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.hr-rating-big {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2d6a4f;
}

.hr-stars-big {
  display: flex;
  gap: 2px;
}
.hr-stars-big svg {
  width: 20px;
  height: 20px;
  fill: #f4a623;
}

.hr-review-count {
  font-size: 0.88rem;
  color: #6b6b6b;
}

.hr-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #2d6a4f;
  background: #e9f5ee;
  padding: 4px 12px;
  border-radius: 100px;
  line-height: 1;
}
.hr-verified svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.hr-subline {
  font-size: 0.88rem;
  color: #6b6b6b;
  margin: 0;
}
.hr-subline a {
  color: #2d6a4f;
  text-decoration: none;
  font-weight: 500;
}
.hr-subline a:hover {
  text-decoration: underline;
}

/* Filters */
.hr-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hr-filter-btn {
  padding: 7px 16px;
  border: 1px solid #e8e8e6;
  border-radius: 100px;
  background: #fff;
  color: #6b6b6b;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  line-height: 1.4;
}
.hr-filter-btn:hover {
  border-color: #2d6a4f;
  color: #2d6a4f;
}
.hr-filter-btn.hr-active {
  background: #2d6a4f;
  color: #fff;
  border-color: #2d6a4f;
}

/* Grid
   The Elementor widget controls columns via a responsive control, which
   generates its own CSS. Do NOT add !important overrides here — they would
   fight the widget's tablet/mobile settings.
   The shortcode has no Elementor, so it gets .hr-grid--static below. */
.hr-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Masonry
   CSS multi-column, so cards keep their natural height and short reviews
   don't leave dead space under them. break-inside: avoid is what stops a
   card being sliced in half across a column boundary — without it the
   layout falls apart. Cards flow top-to-bottom down each column rather
   than left-to-right across rows; that is inherent to multi-column. */
.hr-masonry {
  column-count: 3;
  column-gap: 16px;
}
.hr-masonry .hr-card {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  width: 100%;
  margin-bottom: 16px;
  /* A flex card can still be split by some engines, so pin it as a block
     that owns its own layout context. */
  display: block;
}
/* The card's internal spacing came from flex gap, which a block card has no
   use for. Restore it explicitly. */
.hr-masonry .hr-card > * + * {
  margin-top: 12px;
}
/* Hidden cards must not reserve column space. */
.hr-masonry .hr-card.hr-hidden {
  display: none;
}

/* Shortcode fallback only: no Elementor responsive control available. */
@media (max-width: 1024px) {
  .hr-grid--static {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .hr-grid--static {
    grid-template-columns: 1fr;
  }
}

/* Card */
.hr-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid #e8e8e6;
  transition: border-color 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hr-card:hover {
  transform: translateY(-2px);
}
.hr-card.hr-negative {
  border-left: 3px solid #d64545;
}
.hr-card.hr-hidden {
  display: none;
}

/* Card top */
.hr-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.hr-card-top .hr-reviewer {
  min-width: 0; /* let the name truncate instead of shoving the badge out */
}
.hr-card-top .hr-reviewer-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hr-reviewer {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.hr-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e9f5ee;
  color: #2d6a4f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.hr-reviewer-name {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hr-reviewer-date {
  font-size: 0.78rem;
  color: #6b6b6b;
}

.hr-platform {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 0.72rem;
  color: #6b6b6b;
  background: #f7f7f5;
  padding: 3px 9px;
  border-radius: 100px;
  font-weight: 500;
  flex-shrink: 0;
  white-space: nowrap;
}
.hr-platform img {
  width: 14px;
  height: 14px;
}

/* Stars */
.hr-card-stars {
  display: flex;
  gap: 2px;
}
.hr-card-stars svg {
  width: 16px;
  height: 16px;
  fill: #f4a623;
}
.hr-card-stars svg.hr-empty {
  fill: #ddd;
}

/* Text */
.hr-review-text {
  font-size: 0.88rem;
  line-height: 1.6;
  flex-grow: 1;
}
.hr-review-text.hr-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Read more */
.hr-read-more {
  background: none;
  border: none;
  color: #2d6a4f;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  text-align: left;
}
.hr-read-more:hover {
  text-decoration: underline;
}

/* Tags */
.hr-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.hr-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 500;
  background: #e9f5ee;
  color: #2d6a4f;
}

/* Reply */
.hr-reply {
  background: #e9f5ee;
  border-radius: 10px;
  padding: 14px;
  font-size: 0.82rem;
  border-left: 3px solid #2d6a4f;
  line-height: 1.5;
}
.hr-reply-label {
  font-weight: 600;
  font-size: 0.76rem;
  color: #2d6a4f;
  margin-bottom: 4px;
}

/* Load more */
.hr-load-more-wrap {
  text-align: center;
  margin-top: 28px;
}
.hr-load-more {
  padding: 12px 32px;
  border: 1px solid #e8e8e6;
  border-radius: 100px;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.hr-load-more:hover {
  border-color: #2d6a4f;
  color: #2d6a4f;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.06);
}

/* ── Slider ──────────────────────────────────────────────
   A horizontal carousel. The viewport clips, the track is a
   flex row that translateX-es, and each card is sized to a
   fraction of the viewport based on data-per-view (handled
   in JS so it can be responsive without media-query sprawl). */
.hr-slider {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hr-slider-viewport {
  overflow: hidden;
  flex: 1 1 auto;
}
.hr-slider-track {
  display: flex;
  gap: 16px;
  align-items: stretch;   /* equal-height cards, like the grid rows */
  will-change: transform;
  transition: transform 0.45s ease;
}
.hr-slider-track .hr-card {
  flex: 0 0 auto;   /* width set inline by JS */
  box-sizing: border-box;
  height: auto;
}
.hr-slider-arrow {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #d7d8da;
  background: #fff;
  color: #1d2327;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s, opacity 0.2s;
}
.hr-slider-arrow:hover {
  border-color: #7E3BED;
  color: #7E3BED;
}
.hr-slider-arrow[disabled] {
  opacity: 0.35;
  cursor: default;
}
.hr-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.hr-slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cdd0d4;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.hr-slider-dots button.hr-active {
  background: #7E3BED;
  transform: scale(1.25);
}
@media (max-width: 600px) {
  .hr-slider-arrow { width: 34px; height: 34px; }
}

/* ── Trust badge ─────────────────────────────────────────
   Self-contained: Google mark + rating on the left, a thin
   divider, then the editable headline and subline. Renders
   as an <a> when a link is set, otherwise a <div>. */
.hr-badge-outer {
  display: flex;
}
.hr-badge {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 16px 22px;
  border: 1px solid #e2e3e5;
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
a.hr-badge:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}
.hr-badge-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hr-badge-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 18px;
  color: #1d2327;
  line-height: 1;
}
.hr-badge-star { color: #F5B301; }
.hr-badge-divider {
  width: 1px;
  align-self: stretch;
  background: #e2e3e5;
  margin: 2px 0;
}
.hr-badge-headline {
  font-weight: 700;
  font-size: 19px;
  line-height: 1.2;
  color: #1d2327;
}
.hr-badge-subline {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}
@media (max-width: 480px) {
  .hr-badge { gap: 12px; padding: 14px 16px; }
  .hr-badge-headline { font-size: 16px; }
}

/* Fomo variant: card with a coloured left accent bar. */
.hr-badge--fomo {
  border-left: 5px solid #7E3BED;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* Bar variant: inline strip, no background, no shadow, no border. */
.hr-badge--bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
a.hr-badge--bar:hover {
  box-shadow: none;
  transform: none;
}
.hr-badge-bar-label {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: #1d2327;
  text-transform: uppercase;
}
.hr-badge-bar-stars {
  display: inline-flex;
  gap: 2px;
}
.hr-badge-bar-stars .hr-badge-star { width: 20px; height: 20px; }
.hr-badge-bar-stars .hr-empty { color: #e5e7eb; }
.hr-badge-bar-count {
  font-weight: 600;
  font-size: 15px;
  color: #1d2327;
}
.hr-badge-wordmark { display: inline-block; vertical-align: middle; }
