/* Make diagram images responsive and clickable */
img[alt*="Architecture"],
img[alt*="Diagram"],
img[alt*="Workflow"],
img[alt*="Overview"],
img[alt*="Model"],
img[alt*="Pipeline"],
img[alt*="Plugin"] {
  cursor: zoom-in;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  max-width: 100%;
}

img[alt*="Architecture"]:hover,
img[alt*="Diagram"]:hover,
img[alt*="Workflow"]:hover,
img[alt*="Overview"]:hover,
img[alt*="Model"]:hover,
img[alt*="Pipeline"]:hover,
img[alt*="Plugin"]:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* Card grid for landing page */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.grid-card {
  padding: 1.5rem;
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 8px;
  transition: box-shadow 0.2s;
}

.grid-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.grid-card h3 {
  margin-top: 0;
}
