/* Document previews shared by the product resources and their detail pages. */
.resources-download-grid .resource-overview-preview {
  display: block;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: contain;
  background: var(--bg);
}
.resources-download-grid .resource-overview-format {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.resource-overview-head .page-head-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.resource-overview-head .resource-overview-preview {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
@media (max-width: 720px) {
  .resource-overview-head {
    padding-block: 2rem;
  }
  .resource-overview-head .page-head-row,
  .resources-download-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .resource-overview-head h1 {
    font-size: clamp(2rem, 8.5vw, 2.5rem);
    line-height: 1.1;
    text-wrap: balance;
  }
}
