/* Fwrd v44 — precise RTL Clients alignment.
 * The bundled 980×230 logo sheet has 130px of built-in empty space at its
 * right edge. RTL crops that blank strip in CSS while LTR remains unchanged.
 * Applied only to stock artwork, not CMS custom images.
 * This matches the visible logos to the heading without changing typography
 * or the approved desktop layout in English.
 */
@media (min-width: 741px) {
  html[dir="rtl"] body.fwrd-v37 #about #clients.clients-fg {
    direction: rtl !important;
    align-items: flex-start !important;
    text-align: right !important;
    max-width: 1250px !important;
    margin-inline: 0 !important;
  }
  html[dir="rtl"] body.fwrd-v37 #about #clients.clients-fg > h3 {
    text-align: right !important;
    align-self: stretch !important;
    margin-inline: 0 !important;
    width: 100% !important;
  }
  html[dir="rtl"] body.fwrd-v37 #about #clients .client-logos {
    align-self: flex-start !important;
    width: min(100%,980px) !important;
    margin-inline-start: 0 !important;
    margin-inline-end: auto !important;
    justify-content: flex-start !important;
  }
  html[dir="rtl"] body.fwrd-v37 #about #clients #fwrdClientsProximity.fw42-default-sprite:not(.fwrd-wp-client-grid) {
    width: min(100%,858px) !important;
    max-width: 858px !important;
    aspect-ratio: 858 / 230 !important;
    overflow: hidden !important;
    margin-inline-start: 0 !important;
    margin-inline-end: auto !important;
  }
  /* Keep the entire 980px sheet at native proportions, reveal its first 858px.
     The RTL image is scaled when the container gets narrower on tablets. */
  html[dir="rtl"] body.fwrd-v37 #about #clients #fwrdClientsProximity.fw42-default-sprite:not(.fwrd-wp-client-grid) > :is(.fwrd-client-sheet-base,.fwrd-client-sheet-color) {
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    width: 114.219114% !important; /* 980 / 858 */
    max-width: none !important;
    height: 100% !important;
    object-fit: fill !important;
    object-position: left center !important;
  }
  html[dir="rtl"] body.fwrd-v37 #about #clients #fwrdClientsProximity.fwrd-wp-client-grid {
    margin-inline-start: 0 !important;
    margin-inline-end: auto !important;
    justify-content: start !important;
  }
}
/* At phone width, the v43 full-screen client area and evenly-sized CMS tiles
 * remain unchanged; reinforce RTL positioning for both the fallback grid and
 * the uploaded client grid only. */
@media (max-width: 740px) {
  html[dir="rtl"] body.fwrd-v37 #about #clients.clients-fg {
    text-align: right !important;
    align-items: stretch !important;
  }
  html[dir="rtl"] body.fwrd-v37 #about #clients.clients-fg > h3 {text-align:right!important;}
  html[dir="rtl"] body.fwrd-v37 #about #clients .client-logos,
  html[dir="rtl"] body.fwrd-v37 #about #clients #fwrdClientsProximity {
    margin-inline: 0 !important;
  }
}
