/* Four original 3:4 artworks are displayed without overlays or cropping. */
.post-grid { gap: 2px; }
.post-tile { display: block; aspect-ratio: 3 / 4; }
.post-artwork { display: block; width: 100%; height: 100%; object-fit: contain; aspect-ratio: 3 / 4; }
.post-tile:hover .post-artwork { transform: scale(1.015); }
.post-tile .post-artwork { transition: transform .25s ease; }
#modalPost { width: min(44vh, 390px); aspect-ratio: 3 / 4; }
#modalPost .post-artwork { width: 100%; height: 100%; }

.pillars-artwork { height: auto; min-height: 0; align-items: start; }
.pillars-artwork .pillar { background: transparent; overflow: visible; }
.pillars-artwork .pillar::after { content: none; }
.pillars-artwork img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; }
.pillars-artwork .pillar.kinera img { width: 100%; height: auto; margin: 0; }

.edu-adapt { display: block; margin-top: 14px; }
.edu-adapt img { display: block; width: min(100%, 150px); height: auto; aspect-ratio: 3 / 4; }

@media (orientation: landscape) {
  .compare-panel .compare-item,
  .compare-panel .compare-item:first-child { grid-template-rows: clamp(44px, 8vw, 150px) auto; align-items: end; }
  .compare-panel .compare-item img,
  .compare-panel .compare-item:first-child img { width: 100%; height: 100%; object-fit: contain; object-position: left center; align-self: center; }
}
@media (max-width: 700px) {
  .pillars-artwork { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #modalPost { width: min(47vh, 75vw); }
  .edu-adapt img { width: min(100%, 190px); }
}
