/* One site-wide photograph edge, including imported WordPress markup.
   Important prevents old inline/scoped styles from bypassing this contract. */
:root {
  --photo-radius: 1.25rem;
}
/* Clip the image and its overlay to the same homepage card silhouette. */
.editorial-photo {
  border-radius: var(--photo-radius);
  overflow: hidden;
}
main img,
.ce-viewer-picture img {
  border-radius: var(--photo-radius) !important;
}
/* Identity artwork must retain its original silhouette. */
main :is(.university-logos, .academic-benefit-logos, .brand) img,
main img[src$="/logo.png"],
main img[src*="Logo-CEC"] {
  --photo-radius: 0;
}
/* A thumbnail's link clips hover zoom to the same edge as the photograph. */
main
  :is(.ce-gallery-body, .ce-card-grid, .gallery-collection-grid, .photo-memory)
  a:has(> img) {
  border-radius: var(--photo-radius);
  overflow: hidden;
}
/* Preserve the complete photograph without rounding an empty letterbox. */
.ce-explorer .ce-gallery--inline img,
.ce-explorer :is(.ce-history-intro, .ce-history-milestone) .ce-gallery img,
.archive-disclosure > .entry-feature {
  display: block;
  width: auto;
  height: auto;
  aspect-ratio: auto;
  max-width: 100%;
  margin-inline: auto;
}
.ce-viewer-picture {
  display: grid;
  place-items: center;
}
.ce-viewer-picture img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}
/* Generated at build time: preserve source references without duplicate display. */
[data-repeated-photo],
[data-repeated-photo-wrapper],
[data-card-taxonomy] {
  display: none !important;
}
