/* Anayanex — Google Reviews (replaces text marquee) */
.wpr-marquee-area.ax-google-reviews .section-inner.ax-g-reviews {
  background: #fff;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.ax-g-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--color-border, #e5e7eb);
  flex-wrap: wrap;
}

.ax-g-header__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.ax-g-header .ax-g-logo {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.ax-g-header__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #202124;
  line-height: 1.25;
}

.ax-g-header__sub {
  margin: 2px 0 0;
  font-size: 13px;
  color: #5f6368;
  line-height: 1.4;
}

.ax-g-header__score {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ax-g-header__rating {
  font-size: 28px;
  font-weight: 500;
  color: #202124;
  letter-spacing: -0.02em;
  line-height: 1;
}

.ax-g-header__count {
  font-size: 13px;
  color: #5f6368;
  margin-left: 2px;
}

.ax-g-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

.ax-g-star {
  display: block;
  fill: #dadce0;
}

.ax-g-star.is-filled {
  fill: #fbbc04;
}

.ax-g-marquee {
  overflow: hidden;
  padding: 22px 0 26px;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.ax-g-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 0 24px;
  animation: ax-g-scroll 48s linear infinite;
  will-change: transform;
}

.ax-g-marquee:hover .ax-g-track {
  animation-play-state: paused;
}

@keyframes ax-g-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ax-g-card {
  flex: 0 0 320px;
  width: 320px;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 12px;
  padding: 16px 16px 18px;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08), 0 1px 3px 1px rgba(60, 64, 67, 0.06);
  box-sizing: border-box;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.ax-g-card:hover {
  border-color: #c0c4c8;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.12), 0 4px 8px 3px rgba(60, 64, 67, 0.08);
}

.ax-g-card__head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.ax-g-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  flex-shrink: 0;
  letter-spacing: 0;
  line-height: 1;
  font-family: "Google Sans", Roboto, Arial, sans-serif;
}

.ax-g-card__meta {
  min-width: 0;
  flex: 1;
}

.ax-g-card__name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ax-g-card__name {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #202124;
  line-height: 1.3;
  font-family: Roboto, Arial, sans-serif;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.ax-g-header__title,
.ax-g-header__sub,
.ax-g-card__text,
.ax-g-card__date,
.ax-g-header__count {
  text-transform: none !important;
  letter-spacing: normal;
}

.ax-g-card__name-row .ax-g-logo {
  width: 16px;
  height: 16px;
  opacity: 0.9;
  flex-shrink: 0;
}

.ax-g-card__rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.ax-g-card__date {
  font-size: 12px;
  color: #70757a;
  font-family: Roboto, Arial, sans-serif;
}

.ax-g-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #3c4043;
  font-family: Roboto, Arial, sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 767px) {
  .ax-g-header {
    padding: 18px 16px;
    gap: 14px;
    flex-direction: column;
    align-items: flex-start;
  }

  .ax-g-header__score {
    width: 100%;
    flex-wrap: wrap;
  }

  .ax-g-header__rating {
    font-size: 24px;
  }

  .ax-g-header__sub {
    max-width: 100%;
  }

  .ax-g-card {
    flex-basis: 280px;
    width: 280px;
  }

  .ax-g-track {
    animation-duration: 40s;
    padding: 0 16px;
  }

  .ax-g-marquee {
    padding: 16px 0 20px;
  }
}

@media (max-width: 420px) {
  .ax-g-card {
    flex-basis: min(280px, 78vw);
    width: min(280px, 78vw);
  }
}

@media (max-height: 480px) and (orientation: landscape) {
  .ax-g-header {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    padding: 14px 18px;
  }

  .ax-g-marquee {
    padding: 12px 0 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ax-g-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
  }

  .ax-g-marquee {
    mask-image: none;
    -webkit-mask-image: none;
    overflow-x: auto;
  }
}
