/*
Jensen Google Reviews Carousel
*/

.jhi-gr {
  --jhi-gr-orange: var(--jhi-orange, #f58220);
  --jhi-gr-orange-dark: var(--jhi-orange-dark, #c95f0a);
  --jhi-gr-ink: var(--jhi-black, #121417);
  --jhi-gr-text: var(--jhi-text, #30363d);
  --jhi-gr-muted: var(--jhi-muted, #66717c);
  --jhi-gr-line: var(--jhi-border, #dde2e7);
  --jhi-gr-soft: var(--jhi-light-gray, #f4f6f8);
  --jhi-gr-white: #fff;
  position: relative;
  padding: clamp(62px, 8vw, 100px) 20px;
  overflow: hidden;
  color: var(--jhi-gr-text);
  background:
    radial-gradient(circle at 90% 8%, rgba(245,130,32,.13), transparent 24rem),
    linear-gradient(180deg, #fff, var(--jhi-gr-soft));
}

.jhi-gr::before {
  content: "";
  position: absolute;
  top: -130px;
  left: -130px;
  width: 300px;
  height: 300px;
  border: 45px solid rgba(245,130,32,.055);
  border-radius: 50%;
}

.jhi-gr__shell {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.jhi-gr__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.jhi-gr__heading h2 {
  margin: 10px 0 8px;
  color: var(--jhi-gr-ink);
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -.045em;
  line-height: 1.05;
}

.jhi-gr__heading p {
  max-width: 650px;
  margin: 0;
  color: var(--jhi-gr-muted);
  font-size: 1.05rem;
}

.jhi-gr__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(245,130,32,.25);
  border-radius: 999px;
  color: var(--jhi-gr-orange-dark);
  background: rgba(245,130,32,.09);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.jhi-gr__kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jhi-gr-orange);
  box-shadow: 0 0 0 5px rgba(245,130,32,.12);
}

.jhi-gr__summary {
  flex: 0 0 auto;
  min-width: 195px;
  padding: 17px 20px;
  border: 1px solid rgba(245,130,32,.2);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 13px 35px rgba(18,20,23,.09);
  text-align: center;
}

.jhi-gr__summary strong {
  display: block;
  color: var(--jhi-gr-ink);
  font-size: 2rem;
  line-height: 1;
}

.jhi-gr__summary-stars,
.jhi-gr__stars {
  color: var(--jhi-gr-orange);
  letter-spacing: 3px;
}

.jhi-gr__summary span:last-child {
  display: block;
  margin-top: 4px;
  color: var(--jhi-gr-muted);
  font-size: .83rem;
}

.jhi-gr__stage {
  min-height: 350px;
}

.jhi-gr__slides {
  position: relative;
}

.jhi-gr__review {
  position: relative;
  min-height: 285px;
  padding: clamp(28px, 5vw, 55px);
  overflow: hidden;
  border: 1px solid rgba(245,130,32,.19);
  border-radius: 26px;
  background:
    radial-gradient(circle at 93% 8%, rgba(245,130,32,.09), transparent 19rem),
    #fff;
  box-shadow: 0 22px 62px rgba(18,20,23,.13);
}

.jhi-gr__review.is-active {
  animation: jhi-gr-enter .42s ease both;
}

@keyframes jhi-gr-enter {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

.jhi-gr__quote {
  position: absolute;
  top: 5px;
  right: 28px;
  color: rgba(245,130,32,.13);
  font-family: Georgia, serif;
  font-size: 9rem;
  line-height: 1;
  pointer-events: none;
}

.jhi-gr__stars {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  font-size: 1.25rem;
}

.jhi-gr__text {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 0 30px;
  padding: 0;
  border: 0;
  color: var(--jhi-gr-ink);
  background: transparent;
  font-size: clamp(1.17rem, 2.3vw, 1.55rem);
  font-style: normal;
  font-weight: 650;
  line-height: 1.65;
}

.jhi-gr__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.jhi-gr__avatar {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 7px 18px rgba(18,20,23,.16);
}

.jhi-gr__avatar--fallback {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--jhi-gr-orange), var(--jhi-gr-orange-dark));
  font-weight: 900;
}

.jhi-gr__author-info {
  min-width: 0;
}

.jhi-gr__author-name {
  display: inline-block;
  color: var(--jhi-gr-ink);
  font-weight: 900;
  text-decoration: none;
}

.jhi-gr__author-name:hover {
  color: var(--jhi-gr-orange-dark);
}

.jhi-gr__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin-top: 3px;
  color: var(--jhi-gr-muted);
  font-size: .84rem;
}

.jhi-gr__meta a {
  color: var(--jhi-gr-orange-dark);
  font-weight: 700;
}

.jhi-gr__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
}

.jhi-gr__arrow {
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--jhi-gr-line);
  border-radius: 50%;
  color: var(--jhi-gr-ink);
  background: #fff;
  box-shadow: 0 7px 18px rgba(18,20,23,.08);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, color .18s ease, border-color .18s ease;
}

.jhi-gr__arrow:hover {
  color: #fff;
  transform: translateY(-2px);
  border-color: var(--jhi-gr-orange);
  background: var(--jhi-gr-orange);
}

.jhi-gr__dots {
  display: flex;
  gap: 8px;
}

.jhi-gr__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #b9c0c7;
  box-shadow: none;
  cursor: pointer;
  transition: width .18s ease, background .18s ease;
}

.jhi-gr__dot.is-active {
  width: 30px;
  background: var(--jhi-gr-orange);
}

.jhi-gr__loading,
.jhi-gr__error,
.jhi-gr__message {
  display: grid;
  min-height: 250px;
  padding: 30px;
  place-items: center;
  align-content: center;
  border: 1px dashed rgba(245,130,32,.35);
  border-radius: 24px;
  background: rgba(255,255,255,.76);
  text-align: center;
}

.jhi-gr__spinner {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border: 4px solid rgba(245,130,32,.18);
  border-top-color: var(--jhi-gr-orange);
  border-radius: 50%;
  animation: jhi-gr-spin .8s linear infinite;
}

@keyframes jhi-gr-spin {
  to { transform: rotate(360deg); }
}

.jhi-gr__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 28px;
  color: var(--jhi-gr-muted);
  font-size: .78rem;
  line-height: 1.55;
}

.jhi-gr__attribution {
  display: inline-block;
  margin-right: 7px;
  color: #3c4043;
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.jhi-gr__disclosure {
  display: inline;
}

.jhi-gr__footer a:not(.jhi-gr__button) {
  color: var(--jhi-gr-orange-dark);
}

.jhi-gr__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 19px;
  border: 1px solid var(--jhi-gr-orange);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--jhi-gr-orange), var(--jhi-gr-orange-dark));
  box-shadow: 0 9px 23px rgba(245,130,32,.22);
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease;
}

.jhi-gr__button:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 13px 30px rgba(245,130,32,.3);
}

.jhi-gr__button--outline {
  color: var(--jhi-gr-orange-dark);
  background: #fff;
  box-shadow: none;
}

.jhi-gr__button--outline:hover {
  color: #fff;
  background: var(--jhi-gr-orange);
}

.jhi-gr [hidden] {
  display: none !important;
}

.jhi-gr :focus-visible {
  outline: 3px solid var(--jhi-gr-orange);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .jhi-gr {
    padding-right: 14px;
    padding-left: 14px;
  }

  .jhi-gr__heading,
  .jhi-gr__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .jhi-gr__summary {
    width: 100%;
    box-sizing: border-box;
  }

  .jhi-gr__review {
    min-height: 380px;
    padding: 30px 23px;
    border-radius: 20px;
  }

  .jhi-gr__quote {
    right: 12px;
    font-size: 7rem;
  }

  .jhi-gr__text {
    font-size: 1.12rem;
  }

  .jhi-gr__footer {
    text-align: center;
  }

  .jhi-gr__button {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jhi-gr__review.is-active,
  .jhi-gr__spinner {
    animation: none;
  }
}
