.grs-section {
  margin: 64px auto;
  padding: 32px;
  max-width: 1100px;
  background: radial-gradient(circle at 10% 10%, #f8fbff 0%, #ffffff 60%);
  border: 1px solid #e6ebf2;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.grs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.grs-title {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
}

.grs-subtitle {
  margin: 0;
  font-size: 15px;
  color: #475569;
}

.grs-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
}

.grs-g {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: conic-gradient(#4285f4 0 90deg, #34a853 90deg 180deg, #fbbc05 180deg 270deg, #ea4335 270deg 360deg);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}

.grs-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.grs-grid::-webkit-scrollbar {
  height: 8px;
}

.grs-grid::-webkit-scrollbar-thumb {
  background: #cbd5f5;
  border-radius: 999px;
}

.grs-grid::-webkit-scrollbar-track {
  background: #f8fafc;
}

.grs-card {
  background: #ffffff;
  border: 1px solid #e6ebf2;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: 240px;
  scroll-snap-align: start;
}

.grs-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(66,133,244,0.15), rgba(251,188,5,0.12)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.grs-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.grs-author {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.grs-meta {
  font-size: 12px;
  color: #64748b;
}

.grs-rating {
  display: inline-flex;
  gap: 2px;
}

.grs-star {
  width: 16px;
  height: 16px;
}

.grs-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #1f2937;
}

.grs-link {
  font-size: 13px;
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.grs-link:hover {
  text-decoration: underline;
}

.grs-empty {
  padding: 18px;
  border: 1px dashed #cbd5f5;
  border-radius: 12px;
  color: #475569;
  text-align: center;
}

@media (max-width: 900px) {
  .grs-section {
    margin: 32px 16px;
    padding: 24px;
  }

  .grs-card {
    flex-basis: calc((100% - 16px) / 2);
  }

  .grs-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .grs-card {
    flex-basis: 85%;
  }
}
