/* KALAM_CLEAN_ARTICLE_ENDING_V190
 * The old theme UI beneath the text has been retired: tag chips, author bio,
 * previous/next buttons and the bulky six-photo recommendations grid.
 * Manually selected related readings stay available in an editorial layout.
 */
body.single-post.kads-unified-site .cm_post_page_lay_wrap article.post-detail > .post_tags,
body.single-post.kads-unified-site .cm_post_page_lay_wrap .author_box,
body.single-post.kads-unified-site .cm_post_page_lay_wrap nav.post-navigation,
body.single-post.kads-unified-site .cm_post_page_lay_wrap section.cm_related_post_container {
  display:none!important;
}
/* Do not hide any .cm-col-lg-12 wrapper: the theme puts the entire post
 * and author box in the same grid column. Hide only the component elements. */
/* Preserve the handcrafted internal links already present in many posts. */
html body.single-post.kads-unified-site .cm_post_page_lay_wrap article.post-detail > .the_content > section.ka-related-compact {
  display:block!important;
  width:min(100%,900px)!important;
  max-width:900px!important;
  margin:38px auto 54px!important;
  padding:26px 0 0!important;
  background:transparent!important;
  border:0!important;
  border-top:1px solid #ded8d0!important;
  border-radius:0!important;
  box-shadow:none!important;
  direction:rtl!important;
  text-align:right!important;
  box-sizing:border-box!important;
}
body.single-post.kads-unified-site .cm_post_page_lay_wrap .ka-related-compact .ka-related-heading {
  display:block!important;
  padding:0!important;
  margin:0 0 18px!important;
  border:0!important;
  background:transparent!important;
}
body.single-post.kads-unified-site .cm_post_page_lay_wrap .ka-related-compact .ka-related-heading h2 {
  margin:0!important;
  padding:0!important;
  color:#171717!important;
  border:0!important;
  font:700 clamp(22px,2.3vw,27px)/1.6 "IBM Plex Sans Arabic",Tahoma,sans-serif!important;
  text-align:right!important;
}
body.single-post.kads-unified-site .cm_post_page_lay_wrap .ka-related-compact .ka-related-grid {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
}
body.single-post.kads-unified-site .cm_post_page_lay_wrap .ka-related-compact .ka-related-grid > a.ka-related-link {
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  min-width:0!important;
  min-height:88px!important;
  margin:0!important;
  padding:18px 20px!important;
  border:1px solid #ded8d0!important;
  border-radius:2px!important;
  background:#f6f3ed!important;
  box-shadow:none!important;
  color:#171717!important;
  text-decoration:none!important;
  transition:border-color .2s ease,background .2s ease!important;
}
body.single-post.kads-unified-site .cm_post_page_lay_wrap .ka-related-compact .ka-related-grid > a.ka-related-link:hover {
  background:#f0e9e1!important;
  border-color:#a94332!important;
}
body.single-post.kads-unified-site .cm_post_page_lay_wrap .ka-related-compact .ka-related-title {
  flex:1 1 auto!important;
  min-width:0!important;
  font:600 16px/1.8 "IBM Plex Sans Arabic",Tahoma,sans-serif!important;
  color:#171717!important;
  text-align:right!important;
  overflow-wrap:anywhere!important;
  unicode-bidi:plaintext;
}
body.single-post.kads-unified-site .cm_post_page_lay_wrap .ka-related-compact .ka-related-arrow {
  display:inline-block!important;
  flex:0 0 auto!important;
  color:#a94332!important;
  font:700 19px/1 "IBM Plex Sans Arabic",Tahoma,sans-serif!important;
}
body.single-post.kads-unified-site .cm_post_page_lay_wrap .ka-related-compact a:focus-visible {
  outline:2px solid #a94332!important;
  outline-offset:3px!important;
}
@media(max-width:650px) {
  body.single-post.kads-unified-site .cm_post_page_lay_wrap .ka-related-compact .ka-related-grid {
    grid-template-columns:minmax(0,1fr)!important;
    gap:10px!important;
  }
  body.single-post.kads-unified-site .cm_post_page_lay_wrap .ka-related-compact .ka-related-grid > a.ka-related-link {
    min-height:72px!important;
    padding:15px 16px!important;
  }
  html body.single-post.kads-unified-site .cm_post_page_lay_wrap article.post-detail > .the_content > section.ka-related-compact {
    margin:25px auto 35px!important;
    padding-top:20px!important;
  }
}
@media(prefers-reduced-motion:reduce) {
  body.single-post.kads-unified-site .cm_post_page_lay_wrap .ka-related-compact a {transition:none!important;}
}
