/* Isolated to SEO Mastery's bottom cards; preserves original article design. */
body.single-post .ds-knowledge .seom-auto-related .ds-blog-grid{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;
}
body.single-post .ds-knowledge .seom-auto-related .ds-blog-grid[data-seom-count="3"]{
 grid-template-columns:repeat(3,minmax(0,1fr));
}
body.single-post .ds-knowledge .seom-auto-related .ds-blog-grid[data-seom-count="2"]{
 grid-template-columns:repeat(2,minmax(0,1fr));
}
body.single-post .ds-knowledge .seom-auto-related .ds-blog-grid[data-seom-count="1"]{
 grid-template-columns:minmax(0,1fr);max-width:310px;
}
body.single-post .ds-knowledge .seom-auto-related .ds-blog-thumb{
 position:relative;overflow:hidden;aspect-ratio: 1.65 / 1;
}
body.single-post .ds-knowledge .seom-auto-related .ds-blog-thumb img{
 width:100%;height:100%;object-fit:cover;display:block;
}
body.single-post .ds-knowledge .seom-auto-related .seom-auto-no-photo{
 display:flex;align-items:center;justify-content:center;width:100%;height:100%;
 background:linear-gradient(130deg,#edf7e8,#cbe9c5);color:#255a28;font-size:12px;font-weight:700;
}
body.single-post .ds-knowledge .seom-auto-related .ds-blog-badge.seom-auto-new{
 background:#22622a!important;color:#fff!important;font-weight:800;
}
body.single-post .ds-knowledge .seom-auto-related .seom-auto-card h3,
body.single-post .ds-knowledge .seom-auto-related .seom-auto-card p {color:#111!important;}
@media(max-width:900px){
 body.single-post .ds-knowledge .seom-auto-related .ds-blog-grid,
 body.single-post .ds-knowledge .seom-auto-related .ds-blog-grid[data-seom-count]{
  grid-template-columns:repeat(2,minmax(0,1fr));
 }
}
@media(max-width:560px){
 body.single-post .ds-knowledge .seom-auto-related .ds-blog-grid,
 body.single-post .ds-knowledge .seom-auto-related .ds-blog-grid[data-seom-count]{
  grid-template-columns:1fr;max-width:100%;
 }
}
