/* Native Blocksy related posts, with the identity of the solution's category. */
body.al-solution .ct-related-posts-container{
  background:var(--al-related-background,var(--al-background));
  padding:clamp(48px,6vw,80px) 0;
  --grid-columns-gap:24px;
}
body.al-solution .ct-related-posts .ct-module-title{
  color:#fff;font-size:clamp(24px,2.3vw,32px);line-height:1.3;margin:0 0 32px;
}
body.al-solution .ct-related-posts-items>article{
  min-width:0;padding:20px;border-radius:20px;background:#fff;
  box-shadow:0 8px 24px rgba(0,0,0,.09);
}
body.al-solution .ct-related-posts-items>article>.hentry{height:100%;display:flex;flex-direction:column}
body.al-solution .ct-related-posts .ct-media-container{border-radius:12px;flex-shrink:0}
body.al-solution .ct-related-posts .al-related-image{aspect-ratio:16/9;overflow:hidden}
body.al-solution .ct-related-posts .al-related-image img{width:100%;height:100%;object-fit:cover}
body.al-solution .ct-related-posts .related-entry-title{
  margin:0;font-size:17px;line-height:1.5;font-weight:700;letter-spacing:0;
}
body.al-solution .ct-related-posts .related-entry-title a{color:#111;text-decoration:none}
body.al-solution .ct-related-posts .related-entry-title a:hover{color:var(--theme-palette-color-1,#1600ff)}
body.al-solution .ct-related-posts a:focus-visible{outline:2px solid currentColor;outline-offset:5px}
/* A native touch rail on smaller screens, with the next card visible as a cue. */
@media(max-width:999px){
  body.al-solution .ct-related-posts-container .ct-container{width:100%;max-width:none}
  body.al-solution .ct-related-posts .ct-module-title{padding-inline:24px;margin-bottom:24px}
  body.al-solution .ct-related-posts-items[data-layout="grid"]{
    display:grid;grid-template-columns:none;grid-auto-flow:column;
    grid-auto-columns:min(78vw,340px);gap:16px;
    overflow-x:auto;overscroll-behavior-x:contain;
    padding:12px 24px 28px;scroll-padding-inline:24px;
    scroll-snap-type:x mandatory;
    scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.7) transparent;
  }
  body.al-solution .ct-related-posts-items>article{padding:18px;scroll-snap-align:start}
}
