/* Expertise pages (parts/expertise-*.php, page-public-health-strategy.php). */

/* Tall side images: on desktop the box keeps the design's crop ratio (--ex-ratio) as a
   minimum and stretches with the row; the image itself never drives the height, so any
   upload fits. */
@media (min-width: 1024px) {
  .ex-service-media { position: relative; aspect-ratio: var(--ex-ratio, 900 / 1000); }
  .ex-service-media > img { position: absolute; inset: 0; }
}
@media (max-width: 1023.98px) {
  .ex-service-media > img { aspect-ratio: 4 / 3; }
}
