@media (max-width: 1024px), (max-width: 1366px) and (pointer: coarse) {
  .project-info-grid > .preview-col {
    min-width: 0;
  }

  .preview-col .preview-box {
    min-height: 0;
  }

  .preview-col .preview-video iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
  }

  .gallery-full-bleed .gallery-item {
    min-height: 0;
    flex-direction: column;
  }

  .preview-col .preview-box img,
  .gallery-full-bleed .gallery-item img {
    display: block;
    width: 100%;
    height: auto;
  }
}

@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait), (min-width: 769px) and (max-width: 1366px) and (pointer: coarse) and (orientation: portrait) {
  .project-info-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}
