/* Web-design case studies. */

.gi--natural .gi__frame img,
.web-trio .gi__frame img { height: auto; }

/* Detail previews can show just the top of the page. */
.gi--top .gi__frame { aspect-ratio: 16 / 10; }
.gi--top .gi__frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.cs-section > .gi.gi--mobile-full .gi__frame { aspect-ratio: auto; }
.cs-section > .gi.gi--mobile-full .gi__frame img { height: auto; object-fit: contain; }

.web-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 20px; margin: 40px 0; }
.web-trio--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.web-trio .gi { margin: 0; }
.web-trio--maps .gi__frame { aspect-ratio: 580 / 960; }
.web-trio--maps .gi__frame img { height: 100%; object-fit: cover; object-position: top; }
.web-trio--two.web-trio--maps { max-width: 760px; margin-inline: auto; }
.web-trio .gi__cap { margin-top: 12px; }

@media (max-width: 700px) {
  .web-trio, .web-trio--two { grid-template-columns: 1fr; gap: 28px; }
  .web-trio--maps .gi__frame { max-width: 360px; margin-inline: auto; }
}
