/* r207 — English dataset cards: keep the Chinese fixed card height with a
   scrollable gray description instead of letting long English copy grow cards. */
html[lang="en"] body.page-dataset .sec1 .list .item .item_text.f_16 {
  height: auto !important;
  max-height: 3em !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}
html[lang="en"] body.page-dataset .sec1 .box .content .r .item .item_text.f_16 {
  height: auto !important;
  max-height: 4.5em !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}
/* r239 — detail “Related Datasets”. r181 sets max-height:none and
   overflow:visible on every .item_text, so a long English blurb becomes
   the grid item’s min-content and the card grows past the bitmap.
   Lock the Chinese card height and scroll the description inside it. */
@media screen and (min-width: 769px) {
  html[lang="en"] body.page-dataset .home .container .sec2 .list .item {
    height: 10.4166666667vw;
    min-height: 0;
    overflow: hidden;
  }
  html[lang="en"] body.page-dataset .home .container .sec2 .list .item .item_title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  html[lang="en"] body.page-dataset .home .container .sec2 .list .item .item_text.f_16 {
    height: auto !important;
    max-height: 4.5em !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
}
