/* ============================================
   MENUS - Reviews Page
   ============================================ */

/* ── Hero ──────────────────────────────────────────────────────────── */
.reviews-hero {
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
}

.reviews-hero__inner {
  max-width: 600px;
}

.reviews-hero__title {
  font-family: var(--font-body);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--color-fg);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.reviews-hero__title em {
  font-style: italic;
  color: var(--color-accent-deep);
}

/* MenuS ocena na kartici (umesto broja korisnickih komentara) */
.venue-card__rating-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-fg);
  opacity: 0.65;
}

.reviews-hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-fg);
  opacity: 0.65;
  max-width: 480px;
}

/* ── Filters ───────────────────────────────────────────────────────── */
.reviews-filters-section {
  padding-bottom: var(--space-8);
}

.reviews-filters {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  align-items: center;
}

.reviews-search__field {
  position: relative;
  flex: 1;
  min-width: 220px;
}

.reviews-search__field svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--color-fg);
  opacity: 0.4;
  pointer-events: none;
}

.reviews-search__field .input {
  padding-left: 2.75rem;
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  height: 52px;
}

.reviews-select-wrap {
  min-width: 160px;
}

.reviews-select {
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  cursor: pointer;
  padding-inline: var(--space-5);
}

/* ── Masonry (matches home) ────────────────────────────────────────────
   reviews.js assigns each card a grid-row-end span based on its height,
   exactly like the home grid. Skeletons get a fixed span so the grid keeps
   real height on load and the footer never rides up under the loader. */
@media (min-width: 641px) {
  #reviews-grid.venue-grid {
    grid-auto-rows: 8px;
  }

  #reviews-grid .venue-card-skeleton {
    grid-row: span 46;
  }
}

/* When the grid holds only the empty state, drop masonry so the
   illustration + CTA center cleanly (same as home). */
#reviews-grid.venue-grid--empty {
  display: block !important;
  grid-template-columns: none !important;
}


/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .reviews-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .reviews-search__field,
  .reviews-select-wrap,
  .reviews-filters .btn-primary {
    width: 100%;
  }

  .reviews-filters .btn-primary {
    height: 52px;
  }
}
