.hgsm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.hgsm-card {
  display: block;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hgsm-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.hgsm-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: #0f172a;
}

.hgsm-card p {
  margin: 0 0 12px;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.5;
}

.hgsm-count {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0369a1;
  background: #e0f2fe;
  padding: 4px 10px;
  border-radius: 999px;
}

.hgsm-pdf-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.hgsm-pdf-item {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 10px;
  background: #fff;
}

.hgsm-pdf-item a {
  display: block;
  padding: 16px 18px;
  text-decoration: none;
  color: #0f172a;
}

.hgsm-pdf-item a:hover {
  background: #f8fafc;
}

.hgsm-year,
.hgsm-type {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.82rem;
  color: #64748b;
}

.hgsm-empty {
  padding: 24px;
  background: #f8fafc;
  border-radius: 8px;
  color: #64748b;
}

.hgsm-study-header {
  margin-bottom: 8px;
}

.hgsm-study-header h1 {
  margin-bottom: 8px;
}

.hgsm-study-header p {
  color: #475569;
  max-width: 720px;
}
