.clientsListing .cardClients__content--wrapper,
.clientsListing .cardClients__content--wrapper-with-description {
  max-height: none;
  height: auto;
}

.clientsListing .cardClients__desc {
  margin: 12px 0 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 150%;
  color: #000;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.clientsListing .cardClients__date {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  color: #6b6e70;
}

@media (max-width: 991px) {
  .clientsListing .cardClients__desc {
    font-size: 14px;
  }

  .clientsListing .cardClients__date {
    font-size: 14px;
  }
}

/* 992–1499px: lay the banner out at the 1500px design, then zoom the whole
   hero so type, chevron, and photo stay in proportion. */
@media (min-width: 992px) and (max-width: 1499px) {
  .clientsListingPage .heroBanner {
    width: 1500px;
    max-width: none;
    zoom: calc((100vw / 1500px) * 100%);
  }

  .clientsListingPage .heroBanner__main {
    padding-top: calc(140px * (1500px / 100vw));
  }

  .clientsListingPage .heroBanner__content {
    font-size: 22.5px;
    line-height: 30px;
  }

  .clientsListingPage .heroBanner__title {
    font-size: 56.25px;
    line-height: 110%;
  }

  .clientsListingPage .heroBanner__thumbnail {
    min-height: 780px;
    height: 100%;
    aspect-ratio: auto;
    right: -80px !important;
    width: calc(100% + 320px);
    background-size: cover;
    /* Second zoom, same percentage as the hero, so the chevron and photo shrink again. */
    zoom: calc((100vw / 1500px) * 100%);
  }

  /* Chevron is 960px wide in the 1500px design, with its tip 48px to the
     right of the thumbnail's left edge so it clears the 557px text block.
     Parent zoom then scales that whole placement with the viewport. */
  .clientsListingPage .heroBanner__thumbnail--sparator {
    /*width: 960px;
    max-width: none;
    top: -399.4946px;
    left: 48px;
    */
  }

  /* Chevron inner corner is 337.47px into the 960px arrow, shifted 48px with it. */
  /*
  .clientsListingPage .heroBanner__thumbnail--photo {
    left: 384.47px;
    width: calc(100% - 384.47px);
  }
  */
}




.clientsListingPage .heroBanner__thumbnail--photo {
    left: 0;
    width: auto;
  }


.clientsListingPage .heroBanner__desc {
  width: 90%;
}

.heroBanner__content p {
  width: 90%;
}

@media (max-width: 1200px) {
    .heroBanner__thumbnail--sparator {
        top: calc(0px + (100vw - 992px) * -0.3028);
    }
}

/* 992–1100px: the chevron is zoomed twice and stops short of the text column.
   Stretch this page's arrow to the thumbnail, keeping the offset above. */
@media (min-width: 992px) and (max-width: 1100px) {
  .clientsListingPage .heroBanner__thumbnail--sparator {
    width: auto;
    height: calc(100% + (100vw - 992px) * 0.3028);
  }
}

/* 500–991px: the shared banner is a fixed 314px box with background-size:cover,
   so the photo is cropped. Show the image at its own aspect ratio in this range only. */
@media (min-width: 500px) and (max-width: 991px) {
  .clientsListingPage .heroBanner__thumbnail {
    width: 100%;
    height: auto;
    min-height: 0;
    margin-left: 0;
    margin-right: 0;
    right: auto;
    padding-bottom: 0;
  }

  .clientsListingPage .heroBanner__thumbnail--hasPhoto {
    background-image: none !important;
  }

  .clientsListingPage .heroBanner__thumbnail--photo {
    display: block !important;
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: 0;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    z-index: 0;
  }

  .clientsListingPage .heroBanner__thumbnail--sparator-mobile {
    z-index: 2;
  }
}


.clientsListingPage .cardHighlights__image {
  background-size: cover;
}

.clientsListingPage .cardHighlights__image--logo {
  background-size: 100%;
}

/* Hero copy on the clients listing page.
   Desktop (>=992px): Description 20px, Disclaimer 14px.
   Mobile (<=991px): both 14px. */
@media (min-width: 992px) {
  .clientsListingPage .heroBanner__desc,
  .clientsListingPage .heroBanner__desc p {
    font-size: 20px;
    font-weight: 400;
    line-height: 150%;
  }

  .clientsListingPage .heroBanner__note,
  .clientsListingPage .heroBanner__content .heroBanner__note,
  .clientsListingPage .heroBanner__note p {
    font-size: 14px !important;
    font-weight: 400;
    line-height: 150%;
  }
  .clientsListingPage .heroBanner__content .heroBanner__note{
    margin-bottom: 20px;
  }
}

@media (max-width: 991px) {
  .clientsListingPage .heroBanner__desc,
  .clientsListingPage .heroBanner__desc p,
  .clientsListingPage .heroBanner__note,
  .clientsListingPage .heroBanner__content .heroBanner__note,
  .clientsListingPage .heroBanner__note p {
    font-size: 14px !important;
    font-weight: 400;
    line-height: 150%;
  }
}

.clientsListingPage .cardClients__thumbnails--image.image-ourClient {
    background-size: contain;
    background-origin: content-box;
    aspect-ratio: 1 / 0.55;
    padding: 30px;
}