
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin: 1.2rem 0 2rem 0;
}
.gallery-card {
  display: block;
  border: 1px solid var(--color-background-border);
  border-radius: 14px;
  padding: 0.9rem;
  text-decoration: none;
  background: var(--color-background-primary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.gallery-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.10);
  text-decoration: none;
}
.gallery-card img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--color-background-secondary);
  margin-bottom: 0.7rem;
}
.gallery-card h3 { margin: 0.2rem 0 0.35rem 0; }
.gallery-card p { margin: 0; color: var(--color-foreground-muted); font-size: 0.95rem; }
.gallery-card-placeholder {
  height: 170px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, rgba(127,127,127,0.15), rgba(127,127,127,0.04));
  color: var(--color-foreground-muted);
  margin-bottom: 0.7rem;
}
.callout {
  border-left: 4px solid var(--color-brand-primary);
  padding: 0.75rem 1rem;
  background: var(--color-background-secondary);
  border-radius: 8px;
  margin: 1rem 0;
}

.compact-gallery-grid .gallery-card-placeholder { height: 120px; font-size: 1.2rem; }
.compact-gallery-grid .gallery-card img { height: 120px; }
