/* STAGE 16 | landing cover ONLY | 2026-11-08
   The old .ac-art max-height:590px caused a wide fixed box and 30px side
   letterboxing. This fixes the box geometry, not just the border decoration.
   The original PNG (1122 x 1402) remains untouched. */
body.algorithm-page .ac-art.ac-art--cover {
  display: block;
  box-sizing: border-box;
  width: min(100%, 472.125px);
  min-width: 0;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  margin-inline: auto;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.algorithm-page .ac-art.ac-art--cover > img.ac-cover-img {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-width: 100%;
  max-height: none !important;
  aspect-ratio: 1122 / 1402;
  object-fit: fill;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
@media (max-width: 760px) {
  body.algorithm-page .ac-art.ac-art--cover {
    width: min(100%, 345px);
    margin-inline: auto;
  }
}
