/* Reviews slider + hide cookie bar */

#cookie-notice,
.cookie-notice-container,
.cn-box-wrap,
#cookie-notice * {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

.site-footer,
footer#colophon,
footer.site-footer {
  padding-bottom: 2rem !important;
}

.grecaptcha-badge {
  bottom: 14px !important;
}

.reviews-slider {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem 0.85rem;
  align-items: center;
}

.reviews-viewport {
  overflow: hidden;
  width: 100%;
}

.reviews-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.reviews-slide {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  min-width: 0;
  margin: 0 !important;
  height: auto;
  display: flex;
  flex-direction: column;
}

.reviews-slide .testimonial-content {
  flex: 1;
  margin-bottom: 1rem;
}

.reviews-nav {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.reviews-nav:hover {
  background: #c41e1e;
  border-color: #c41e1e;
  color: #fff;
}

.reviews-nav:disabled {
  opacity: 0.35;
  cursor: default;
  background: #fff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.12);
}

.reviews-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: #cbd5e1;
  cursor: pointer;
}

.reviews-dot.is-active {
  background: #c41e1e;
  width: 22px;
}

.testimonial-grid {
  display: none !important;
}

.section.testimonials .testimonial-card {
  background: #fff !important;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-top: 4px solid #c41e1e;
  border-radius: 1rem;
  padding: 1.45rem 1.35rem 1.25rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.section.testimonials .testimonial-rating {
  color: #c41e1e;
  margin-bottom: 0.85rem;
}

.section.testimonials .testimonial-author-info h4 {
  margin: 0;
  color: #0f172a;
}

.section.testimonials .testimonial-author-info span {
  color: #64748b;
  font-size: 0.88rem;
}

@media (max-width: 992px) {
  .reviews-slide {
    flex-basis: calc((100% - 1.25rem) / 2);
  }
}

@media (max-width: 768px) {
  .reviews-slider {
    grid-template-columns: 1fr;
  }

  .reviews-nav {
    display: none;
  }

  .reviews-slide {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-track {
    transition: none;
  }
}
