.gr-section {
  background: #ffffff;
  width: 100%;
  box-sizing: border-box;
}

.gr-layout {
  display: flex;
  gap: 139px;
  align-items: flex-start;
}

/* ── META PANEL ── */
.gr-meta {
  flex-shrink: 0;
  width: 258px;
}

.gr-meta__from {
  font-family: Archivo;
  font-weight: 400;
  font-size: 20px;
  line-height: 132%;
  margin-bottom: 10px;
}

.gr-meta__logo {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.gr-meta__logo-b {
  color: #4285F4;
}

.gr-meta__logo-r {
  color: #EA4335;
}

.gr-meta__logo-y {
  color: #FBBC04;
}

.gr-meta__logo-g {
  color: #2BA45B;
}

.gr-meta__rating-label {
  font-family: Archivo;
  font-weight: 500;
  font-size: 24px;
  line-height: 120%;
  display: inline;
}

.gr-meta__rating-sub {
font-family: Archivo;
font-weight: 300;
font-size: 14px;
line-height: 126%;
padding-left: 10px;
display: inline;
}

.gr-meta__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

.gr-meta__star {
  font-size: 26px;
  color: #F9AB00;
  line-height: 1;
}

.gr-meta__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1.5px solid #2BA45B;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 24px;
  line-height: 130%;
  background: #2BA45B;
}


.gr-meta__nav {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}

.gr-meta__nav-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid #ddd;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #444;
  transition: border-color 0.15s, background 0.15s;
  line-height: 1;
  user-select: none;
}

.gr-meta__nav-btn:hover {
  border-color: #aaa;
  background: #f8f8f8;
}

.gr-meta__nav-btn:active {
  background: #eee;
}

.gr-meta__dots {
  display: flex;
  gap: 5px;
  align-items: center;
    margin: 20px 0 0 2px;
}

.gr-meta__dot {
  height: 4px;
  border-radius: 2px;
  background: #ddd;
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
  width: 30px;

}

.gr-meta__dot--active {
  background: #000000;
  width: 56px;
}

/* ── CAROUSEL ── */
.gr-carousel {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-width: 0;
}

.gr-carousel__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  transition: transform 0.4s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

/* ── CARD ── */
.gr-card {
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s;
  width: 325px;
  height: 420px;
}

.gr-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.gr-card__quote {
  display: none;
  font-size: 48px;
  line-height: 1;
  color: #e0e0e0;
  font-family: 'DM Serif Display', serif;
  margin-bottom: -8px;
}

.gr-card__name {
  font-family: Archivo;
  font-weight: 500;
  font-size: 24px;
  line-height: 100%;
  margin-bottom: 4px;
}

.gr-card__stars {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 2px;
}

.gr-card__star {
  font-size: 25px;
  color: #F9AB00;
}

.gr-card__stars[data-rating="1"] .gr-card__star:nth-child(n+2),
.gr-card__stars[data-rating="2"] .gr-card__star:nth-child(n+3),
.gr-card__stars[data-rating="3"] .gr-card__star:nth-child(n+4),
.gr-card__stars[data-rating="4"] .gr-card__star:nth-child(n+5) {
  display: none;
}

.gr-card__verified {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #4285F4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 3px;
}

.gr-card__verified svg {
  width: 8px;
  height: 8px;
  fill: white;
}

.gr-card__text {
  font-family: Archivo;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  line-height: 135%;
  letter-spacing: 0%;

}

/* ── DESKTOP: last card breathing room ── */
@media (min-width: 768px) {
  .gr-card:last-child {
    margin-right: 10px;
  }
}
.gr-card__text{
  font-size: 24px;
}
/* ── TABLET ── */
@media (min-width: 768px) and (max-width: 1024px) {
  .gr-section {
    padding: 0 24px;
  }
}

/* ── MOBILE ── */
@media (max-width: 767px) {
  .gr-section {
    padding: 0;
    overflow-x: hidden;
  }

  .gr-layout {
    flex-direction: column;
    gap: 20px;
  }

  /* ── meta: logo+badge left | rating right ── */
  .gr-meta {
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto auto;
    column-gap: 16px;
    row-gap: 0;
    align-items: start;
  }

  .gr-meta__from {
    grid-column: 1;
    grid-row: 1;
    font-size: 11px;
    margin-bottom: 6px;
   color:  #696F75;
  }

  .gr-meta__logo {
    grid-column: 1;
    grid-row: 2;
    font-size: 26px;
    margin-bottom: 10px;
  }

  .gr-meta__badge {
    grid-column: 1;
    grid-row: 3;
    margin-bottom: 0;
    width: fit-content;
  }

  .gr-meta__rating-block {
    grid-column: 2;
    grid-row: 1 / 4;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    text-align: right;
  }

  .gr-meta__rating-label {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
  }

  .gr-meta__rating-sub {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .gr-meta__stars {
    justify-content: flex-end;
    margin-bottom: 0;
  }

  .gr-meta__nav {
    display: none;
  }

  .gr-meta__dots {
    display: none;
  }

  .gr-meta__mobile-nav {
display: none;
  }

  /* ── carousel & cards ── */
  .gr-carousel {
    width: 100%;
    overflow: hidden;
  }

  .gr-card:first-child {
    margin-left: 16px;
  }

  .gr-card:last-child {
    margin-right: 16px;
  }

  .gr-card {
    width: 320px;
    min-width: 320px;
    height: 540px;
  }

  .gr-card__quote {
    display: block;
  }
}

@media (min-width: 768px) {
  .gr-meta__mobile-nav {
    display: none;
  }
}