/* MenkulEX v1.1.09 — blog heading scale + centered article headings + balanced archive covers */

/* Single post hero: smaller, calmer, centered */
body.single-post .xan-single-post-v171 .xan-single-hero-shell-v127{
  width:min(calc(100% - 40px), 980px)!important;
  max-width:980px!important;
  margin:0 auto!important;
  text-align:center!important;
}
body.single-post .xan-single-post-v171 .xan-single-back-v127{
  display:inline-flex!important;
  margin:0 auto 10px!important;
}
body.single-post .xan-single-post-v171 .xan-single-hero-v171 h1{
  max-width:860px!important;
  margin:8px auto 14px!important;
  font-size:clamp(30px,2.7vw,42px)!important;
  line-height:1.12!important;
  letter-spacing:-.03em!important;
  font-weight:500!important;
  text-align:center!important;
}
body.single-post .xan-single-post-v171 .xan-single-hero-v171 p{
  max-width:760px!important;
  margin:0 auto!important;
  font-size:16px!important;
  line-height:1.72!important;
  text-align:center!important;
  text-justify:auto!important;
  hyphens:none!important;
}

/* Article inner headings: centered, more modest scale */
body.single-post .xan-single-post-v171 .xan-single-prose-v1103 h2,
body.single-post .xan-single-post-v171 .xan-single-prose-v1103 h3,
body.single-post .xan-single-post-v171 .xan-single-prose-v1103 h4{
  max-width:860px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  text-align:center!important;
  color:#041F40!important;
  font-weight:500!important;
  letter-spacing:-.02em!important;
}
body.single-post .xan-single-post-v171 .xan-single-prose-v1103 h2{
  font-size:clamp(24px,2vw,32px)!important;
  line-height:1.24!important;
  margin-top:30px!important;
  margin-bottom:12px!important;
}
body.single-post .xan-single-post-v171 .xan-single-prose-v1103 h3{
  font-size:clamp(21px,1.7vw,27px)!important;
  line-height:1.26!important;
  margin-top:26px!important;
  margin-bottom:10px!important;
}
body.single-post .xan-single-post-v171 .xan-single-prose-v1103 h4{
  font-size:clamp(18px,1.45vw,23px)!important;
  line-height:1.3!important;
  margin-top:22px!important;
  margin-bottom:8px!important;
}

/* Archive cards: visual balance and consistent image behavior */
body.blog .xan-blog-grid-premium-v1103,
body.category .xan-blog-grid-premium-v1103{
  align-items:stretch!important;
}
body.blog .xan-blog-card-premium-v1103,
body.category .xan-blog-card-premium-v1103{
  min-height:100%!important;
}
body.blog .xan-blog-card-premium-v1103 .xan-blog-card-media-v124,
body.category .xan-blog-card-premium-v1103 .xan-blog-card-media-v124{
  aspect-ratio:16/10!important;
  min-height:230px!important;
  overflow:hidden!important;
}
body.blog .xan-blog-card-premium-v1103 .xan-blog-card-media-v124 img,
body.blog .xan-blog-card-premium-v1103 .xan-blog-card-image-v170,
body.category .xan-blog-card-premium-v1103 .xan-blog-card-media-v124 img,
body.category .xan-blog-card-premium-v1103 .xan-blog-card-image-v170{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
  display:block!important;
}
body.blog .xan-blog-card-body-v1103,
body.category .xan-blog-card-body-v1103{
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
}
body.blog .xan-blog-card-body-v1103 h2,
body.category .xan-blog-card-body-v1103 h2{
  font-size:clamp(19px,1.45vw,26px)!important;
  line-height:1.22!important;
  min-height:3.66em!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  overflow:hidden!important;
}
body.blog .xan-blog-card-body-v1103 p,
body.category .xan-blog-card-body-v1103 p{
  font-size:14px!important;
  line-height:1.68!important;
  min-height:6.72em!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:4!important;
  overflow:hidden!important;
}
body.blog .xan-blog-card-actions-v1103,
body.category .xan-blog-card-actions-v1103{
  margin-top:auto!important;
}

@media (max-width: 1024px){
  body.blog .xan-blog-card-premium-v1103 .xan-blog-card-media-v124,
  body.category .xan-blog-card-premium-v1103 .xan-blog-card-media-v124{
    min-height:210px!important;
  }
}
@media (max-width: 760px){
  body.single-post .xan-single-post-v171 .xan-single-hero-shell-v127{
    width:calc(100% - 28px)!important;
  }
  body.single-post .xan-single-post-v171 .xan-single-hero-v171 h1{
    font-size:clamp(27px,7vw,34px)!important;
  }
  body.single-post .xan-single-post-v171 .xan-single-hero-v171 p{
    font-size:15px!important;
  }
  body.single-post .xan-single-post-v171 .xan-single-prose-v1103 h2{
    font-size:clamp(22px,5.5vw,28px)!important;
  }
  body.single-post .xan-single-post-v171 .xan-single-prose-v1103 h3{
    font-size:clamp(19px,4.8vw,24px)!important;
  }
  body.single-post .xan-single-post-v171 .xan-single-prose-v1103 h4{
    font-size:clamp(17px,4.4vw,21px)!important;
  }
  body.blog .xan-blog-card-premium-v1103 .xan-blog-card-media-v124,
  body.category .xan-blog-card-premium-v1103 .xan-blog-card-media-v124{
    min-height:195px!important;
  }
  body.blog .xan-blog-card-body-v1103 h2,
  body.category .xan-blog-card-body-v1103 h2{
    min-height:auto!important;
  }
  body.blog .xan-blog-card-body-v1103 p,
  body.category .xan-blog-card-body-v1103 p{
    min-height:auto!important;
  }
}
