.requirements {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.75rem 0;
  padding: 0.4rem 0.6rem;
  border-radius: 0.5rem;
  background: var(--code-bg, rgba(220,220,255,0.1));
  filter: drop-shadow(3px 3px 2px #000000);
}

.req-label {
  font-weight: 600;
  margin-right: 0.25rem;
  white-space: nowrap;
}

.req-link {
  display: inline-flex;
  align-items: center;
}

.req-icon {
  height: 48px;               /* reasonable size */
  width: auto;
  aspect-ratio: 374 / 448;
  object-fit: contain;

  transition: transform 0.15s ease, opacity 0.15s ease;
}

.req-link:hover .req-icon {
  transform: scale(1.1);
  opacity: 0.9;
}
