/* Card measurements read from https://www.xinocler.com/products on 2026-11-24.
   Keep the existing grid, breakpoints, product order and card links unchanged. */
.xinocler-home .home-screen-updates .homepage-product-directory .directory-product {
  display:flex; flex-direction:column; min-width:0; border-radius:12px;
  --product-divider-color:#d5dbe3;
  border:1px solid var(--product-divider-color); background:#f1f5fb; box-shadow:none;
  overflow:hidden; text-decoration:none;
  transition:box-shadow .3s;
}
.xinocler-home .home-screen-updates .homepage-product-directory .directory-product-media {
  position:relative; aspect-ratio:16 / 9; max-height:192px;
  overflow:hidden; background:#203f61;
}
.xinocler-home .home-screen-updates .homepage-product-directory .directory-product-media>img {
  display:block; width:100%; height:100%; object-fit:cover;
  transition:transform .5s;
}
.xinocler-home .home-screen-updates .homepage-product-directory .directory-product-category {
  top:8px; left:8px; padding:2px 8px; margin:0;
  font-size:10px; line-height:15px; font-weight:400!important;
  border-radius:4px; background:rgb(30 136 229 / 90%); color:#fff;
}
.xinocler-home .home-screen-updates .homepage-product-directory .directory-product-body {
  display:flex; flex-direction:column; flex:1; padding:16px 16px 12px;
  background:transparent;
}
.xinocler-home .home-screen-updates .homepage-product-directory .directory-product-summary {
  display:block; flex:1; padding:0; margin:0; background:transparent;
}
.xinocler-home .home-screen-updates .homepage-product-directory .directory-product-body h2 {
  font-size:12px; line-height:17px; font-weight:400!important;
  letter-spacing:var(--tracking-heading); color:#192a47; margin:0 0 8px; padding:0;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  transition:color .3s;
}
.xinocler-home .home-screen-updates .homepage-product-directory .directory-product-body p {
  font-size:10px; line-height:17px; font-weight:300!important;
  letter-spacing:var(--tracking-body); color:#546479; height:34px; margin:0 0 12px;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.xinocler-home .home-screen-updates .homepage-product-directory .directory-product-bottom {
  display:flex; justify-content:space-between; align-items:center;
  padding:8px 0 0; margin:0; gap:12px; border-top:1px solid var(--product-divider-color);
  font-size:12px; line-height:16px; color:#21588d;
}
.xinocler-home .home-screen-updates .homepage-product-directory .directory-product-bottom>span:first-child {
  font-size:10px; line-height:15px; font-weight:400!important; color:#4b6078;
}
.xinocler-home .home-screen-updates .homepage-product-directory .directory-product-bottom>span:last-child {
  display:inline-flex; align-items:center; font-size:10px; line-height:16px;
  font-weight:400!important; color:#21588d; transition:transform .3s;
}
.xinocler-home .home-screen-updates .homepage-product-directory .directory-product-bottom i {
  font-size:12px; line-height:12px; margin-left:4px;
}
.xinocler-home .home-screen-updates .homepage-product-directory .directory-product:is(:hover,:focus-visible) {
  border-color:var(--product-divider-color); box-shadow:0 10px 15px rgb(30 136 229 / 5%);
}
.xinocler-home .home-screen-updates .homepage-product-directory .directory-product:is(:hover,:focus-visible) h2 { color:#21588d!important; }
.xinocler-home .home-screen-updates .homepage-product-directory .directory-product:is(:hover,:focus-visible) .directory-product-bottom>span:last-child { transform:translateX(4px); }
.xinocler-home .home-screen-updates .homepage-product-directory .directory-product:focus-visible { outline:2px solid #1e88e5; outline-offset:3px; }
@media(prefers-reduced-motion:reduce) {
  .xinocler-home .homepage-product-directory .directory-product,
  .xinocler-home .homepage-product-directory .directory-product * { transition:none!important; transform:none!important; }
}

/* Adjust image height so the fourth chapter fits shorter desktop windows. */
@media (min-width: 992px) {
  .xinocler-home .home-screen-updates .homepage-product-directory .directory-product-media {
    height: clamp(72px, calc(22svh - 105px), 192px);
    aspect-ratio: auto;
  }
  .home-screen-updates .news-editorial-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
  .home-screen-updates .news-editorial-briefs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-updates-followon {
    padding-bottom: 32px;
  }
  .home-updates-followon .home-screen-next i {
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 992px) and (max-height: 1199px) {
  .xinocler-home .home-screen-updates .homepage-product-directory .directory-product-body {
    padding: 8px 12px;
  }
  .xinocler-home .home-screen-updates .homepage-product-directory .directory-product-body h2 {
    margin-bottom: 4px;
  }
  .xinocler-home .home-screen-updates .homepage-product-directory .directory-product-body p {
    margin-bottom: 6px;
    height: 30px;
    line-height: 15px;
  }
  .xinocler-home .home-screen-updates .homepage-product-directory .directory-product-bottom {
    padding-top: 5px;
  }
  .xinocler-five-screens .home-screen-updates .xinocler-news-editorial {
    padding-top: 12px;
    padding-bottom: 10px;
  }
  .home-screen-updates .news-editorial-feature {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
    padding-bottom: 0;
  }
  .home-screen-updates .news-editorial-feature-frame {
    height: 76px;
  }
}

@media (min-width: 992px) and (max-height: 1099px) {
  .home-updates-followon {
    padding-bottom: 16px;
  }
}

@media (max-width: 575px) {
  .home-screen-updates .news-editorial-heading {
    flex-wrap: wrap;
  }
}

/* Align each news action to the bottom right of its article. */
.xinocler-home .home-screen-updates :is(.news-editorial-feature,.news-editorial-brief) {
  position:relative;
}
.xinocler-home .home-screen-updates .news-editorial-copy {
  padding-bottom:18px;
}
.xinocler-home .home-screen-updates .news-editorial-more {
  position:absolute;
  inset-inline-end:0;
  inset-block-end:0;
}

@media (max-width: 991px) {
  .xinocler-home .home-screen-updates .news-editorial-brief {
    padding-bottom: 18px;
  }
  .xinocler-home .home-screen-updates .news-editorial-brief .news-editorial-copy {
    padding-bottom: 0;
  }
}
