/* Keep the working gesture and the device readable in narrow role cards. */
#corp-univers .cs-client img { object-position: 53% 46%; }
#corp-univers .cs-artisan img { object-position: 45% 41%; }
#corp-univers .cs-enterprise img { object-position: 53% 42%; }
#corp-univers .role-photo-credit [lang] { display: none; }
html:lang(fr) #corp-univers .role-photo-credit [lang=fr],
html:lang(ar) #corp-univers .role-photo-credit [lang=ar],
html:lang(en) #corp-univers .role-photo-credit [lang=en] { display: inline; }

@media (max-width: 720px) {
  #corp-main #corp-univers .cs-world { grid-template-columns: 38% minmax(0, 1fr); }
}

@media (max-width: 660px) {
  #ap-main.ax-page .ax-hero-photo,
  #ep-main.bx-page .bx-photo {
    display: block;
    height: auto;
    aspect-ratio: auto;
    background: #171818;
  }
  #ap-main.ax-page .ax-hero-photo img,
  #ep-main.bx-page .bx-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.9;
    object-position: center 35%;
  }
  #ap-main.ax-page .ax-hero-photo figcaption,
  #ep-main.bx-page .bx-photo figcaption {
    position: static;
    display: block;
    padding: 0;
    background: none;
  }
  #ap-main.ax-page .ax-photo-caption,
  #ep-main.bx-page .bx-demo {
    position: static;
    display: block;
    width: fit-content;
    margin: .55rem .85rem 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fbe8bd;
    font-size: .78rem;
  }
  #ap-main.ax-page .ax-photo-caption span,
  #ep-main.bx-page .bx-demo span {
    color: inherit;
  }
  #ap-main.ax-page .ax-preview,
  #ep-main.bx-page .bx-photo-card {
    width: 100%;
    max-width: none;
    border-radius: 0;
    padding: .6rem .85rem;
  }
}
