@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;500;600;700&display=swap');

.jgrs-wrap{
  --jgrs-bg:#eaf1f0;
  --jgrs-text:#050505;
  --jgrs-muted:#818181;
  --jgrs-star:#f8bd69;
  --jgrs-green:#004f52;
  display:flex;
  justify-content:space-between;
  gap:86px;
  align-items:center;
  width:100%;
  overflow:hidden;
  font-family:"Josefin Sans",sans-serif;
  color:var(--jgrs-text);
}

.jgrs-summary{padding:20px 0 20px 0;flex:0 0 390px}

.jgrs-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#e0ecec;
  color:var(--jgrs-green);
  border-radius:999px;
  padding:10px 16px 8px;
  font-size:11px;
  line-height:1;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.11em;
  margin-bottom:22px;
}

.jgrs-summary h2{
  font-family:"Josefin Sans",sans-serif;
  font-size:50px;
  line-height:1.05;
  margin:0 0 24px;
  font-weight:500;
  letter-spacing:-.035em;
}

.jgrs-rating-line{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  font-size:15px;
  line-height:1;
  color:var(--jgrs-muted);
  text-decoration:none;
}

.jgrs-google{
  font-weight:700;
  background:linear-gradient(90deg,#4285f4,#ea4335,#fbbc05,#34a853);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.jgrs-rating-line strong{color:#050505;font-weight:700}
.jgrs-stars{color:var(--jgrs-star);letter-spacing:2px;font-size:20px;line-height:1}
.jgrs-card-stars{color:var(--jgrs-green);letter-spacing:2px}

.jgrs-viewport{position:relative;min-width:0;flex:1 1 auto;overflow:hidden}

.jgrs-track{
  display:flex;
  gap:26px;
  overflow:visible;
  scroll-snap-type:none;
  scroll-behavior:auto;
  will-change:transform;
  transition:transform .32s ease;
  padding:4px 0 66px;
  scrollbar-width:none;
}
.jgrs-track::-webkit-scrollbar{display:none}

.jgrs-card{
  flex:0 0 350px;
  height:270px;
  min-height:270px;
  background:var(--jgrs-bg);
  border-radius:18px;
  padding:28px 30px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden;
  text-decoration:none;
  color:inherit;
}

.jgrs-card-stars{
  font-size:21px;
  line-height:1;
  margin-bottom:28px;
}

.jgrs-card p{
  font-size:15px;
  line-height:1.45;
  font-weight:400;
  margin:0 0 26px;
  max-width:292px;
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-overflow:ellipsis;
}

.jgrs-card strong{
  font-size:16px;
  line-height:1.2;
  font-weight:700;
}

.jgrs-arrows{
  position:absolute;
  right:0;
  bottom:0;
  z-index:5;
  display:flex;
  gap:12px;
}

.jgrs-arrows button{
  width:43px;
  height:43px;
  border:1px solid #111;
  border-radius:50%;
  background:#fff;
  color:#111;
  font-family:Arial,sans-serif;
  font-size:30px;
  line-height:1;
  cursor:pointer;
  touch-action:manipulation;
  pointer-events:auto;
  -webkit-tap-highlight-color:transparent;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 0 3px;
  transition:background .2s ease,color .2s ease,border-color .2s ease;
}
.jgrs-arrows button:hover{background:#111;color:#fff}
.jgrs-arrows button:focus,
.jgrs-arrows button:focus-visible,
.jgrs-arrows button:active{
  background:#fff;
  color:#111;
  border-color:#111;
  outline:none;
  box-shadow:none;
}

.jgrs-grid{display:flex}
.jgrs-grid .jgrs-track{display:flex;justify-content:flex-start;flex-wrap:wrap;overflow:visible;padding-bottom:0;transform:none!important;transition:none}
.jgrs-grid .jgrs-card{flex:0 1 350px;width:350px}
.jgrs-grid .jgrs-arrows{display:none}

@media(max-width:1200px){
  .jgrs-wrap{gap:48px}
  .jgrs-summary{flex-basis:350px}
  .jgrs-summary h2{font-size:44px}
}

@media(max-width:991px){
  .jgrs-wrap{flex-direction:column;align-items:stretch;gap:22px}
  .jgrs-summary{flex-basis:auto}
  .jgrs-summary h2{font-size:38px}
  .jgrs-card{flex-basis:330px}
  .jgrs-grid .jgrs-track{display:flex;flex-direction:column}
}

@media(max-width:560px){
  .jgrs-wrap{overflow:hidden}
  .jgrs-summary{padding:0}
  .jgrs-summary h2{font-size:34px}
  .jgrs-rating-line{gap:8px;font-size:14px}
  .jgrs-stars{font-size:17px}
  .jgrs-track{padding-bottom:18px}
  .jgrs-card{flex-basis:86vw;height:250px;min-height:250px;border-radius:16px;padding:26px 22px}
  .jgrs-card p{max-width:100%;font-size:14px}
  .jgrs-arrows{position:relative;right:auto;bottom:auto;justify-content:flex-end;margin-top:10px;padding-right:2px}
}

.jgrs-arrows button:disabled,
.jgrs-arrows button[aria-disabled="true"]{
  opacity:.38;
  cursor:default;
  pointer-events:none;
}

.jgrs-arrows button:disabled:hover,
.jgrs-arrows button[aria-disabled="true"]:hover{
  background:#fff;
  color:#111;
}

@media(max-width:560px){
  .jgrs-viewport{
    width:100%;
    overflow:hidden;
  }

  .jgrs-track{
    width:100%;
    overflow:visible;
    overscroll-behavior-x:none;
  }

  .jgrs-card{
    flex:0 0 min(390px, calc(100vw - 48px));
    width:min(390px, calc(100vw - 48px));
    max-width:min(390px, calc(100vw - 48px));
  }
}
