/* MenkulEX v1.1.27 — Corporate typography balance.
   Scope: front-end readability only. No layout/grid/color redesign.
   Goal: slightly smaller, clearer and more consistent text rhythm across public pages. */
html body.xan-font-clarity-v189{
  --xan-type-body-size:15px;
  --xan-type-body-line:1.62;
  --xan-type-card-title:18px;
  --xan-type-card-copy:14px;
  --xan-type-small:12px;
}
html body.xan-font-clarity-v189 :where(.xan-main p,.xan-main li,.xan-main dd,.xan-main blockquote,.xan-main address){
  font-size:var(--xan-type-body-size)!important;
  line-height:var(--xan-type-body-line)!important;
}
html body.xan-font-clarity-v189 :where(.xan-main small,.xan-main figcaption,.xan-main .xan-meta,.xan-main .xan-caption,.xan-main .xan-help){
  font-size:var(--xan-type-small)!important;
  line-height:1.45!important;
}
html body.xan-font-clarity-v189 :where(.xan-main .xan-btn,.xan-main button,.xan-main [role="button"],.xan-main input,.xan-main select,.xan-main textarea){
  font-size:14px!important;
}
/* Single article reading flow: fixes oversized FAQ/headings without changing the article shell. */
body.single-post .xan-single-post-v171 .xan-single-hero-v171 h1{
  font-size:clamp(30px,2.65vw,42px)!important;
  line-height:1.12!important;
  letter-spacing:-.018em!important;
}
body.single-post .xan-single-post-v171 .xan-single-hero-v171 p{
  font-size:clamp(15px,1.18vw,17px)!important;
  line-height:1.58!important;
}
body.single-post .xan-single-post-v171 .xan-single-prose-v127{
  font-size:15px!important;
  line-height:1.64!important;
}
body.single-post .xan-single-post-v171 .xan-single-prose-v127 p,
body.single-post .xan-single-post-v171 .xan-single-prose-v127 li{
  font-size:15px!important;
  line-height:1.66!important;
  letter-spacing:0!important;
}
body.single-post .xan-single-post-v171 .xan-single-prose-v127 h2{
  font-size:clamp(22px,1.65vw,27px)!important;
  line-height:1.24!important;
  margin-top:26px!important;
  margin-bottom:10px!important;
}
body.single-post .xan-single-post-v171 .xan-single-prose-v127 h3{
  font-size:clamp(18px,1.28vw,22px)!important;
  line-height:1.28!important;
  margin-top:22px!important;
  margin-bottom:8px!important;
}
body.single-post .xan-single-post-v171 .xan-single-prose-v127 h4,
body.single-post .xan-single-post-v171 .xan-single-prose-v127 h5,
body.single-post .xan-single-post-v171 .xan-single-prose-v127 h6{
  font-size:clamp(16px,1.08vw,19px)!important;
  line-height:1.32!important;
  margin-top:18px!important;
  margin-bottom:7px!important;
}
body.single-post .xan-single-post-v171 .xan-single-end-cta-v127 strong{
  font-size:clamp(19px,1.35vw,24px)!important;
  line-height:1.22!important;
}
body.single-post .xan-single-post-v171 .xan-single-end-cta-v127 p{
  font-size:14px!important;
  line-height:1.55!important;
}
/* Blog archive cards: keep the current grid, only refine text rhythm. */
.xan-blog-list-premium-v1103 .xan-blog-card-body-v1103 h2{
  font-size:clamp(15.5px,.88vw,17.5px)!important;
  line-height:1.25!important;
}
.xan-blog-list-premium-v1103 .xan-blog-card-body-v1103 p{
  font-size:13.2px!important;
  line-height:1.56!important;
}
.xan-blog-list-premium-v1103 .xan-blog-card-meta-v1103 small{
  font-size:10px!important;
  line-height:1.2!important;
}
.xan-blog-list-premium-v1103 .xan-blog-card-actions-v1103 .xan-blog-read-v124{
  font-size:12.5px!important;
}
/* Project detail and listing copy: modest reduction only. */
body.single-xan_project .xan-project-detail-v145 :where(p,li,span),
body.post-type-archive-xan_project .xan-listing-page-v168 :where(p,li,span){
  font-size:clamp(13px,.95vw,14.5px)!important;
}
body.single-xan_project .xan-project-detail-v145 :where(h1,.xan-project-summary-copy-v145 strong){
  font-size:clamp(26px,2.05vw,34px)!important;
  line-height:1.12!important;
}
body.single-xan_project .xan-project-detail-v145 :where(h2){
  font-size:clamp(21px,1.55vw,27px)!important;
  line-height:1.22!important;
}
body.single-xan_project .xan-project-detail-v145 :where(h3){
  font-size:clamp(17px,1.2vw,21px)!important;
  line-height:1.28!important;
}
body.single-xan_project .xan-project-detail-v145 .xan-project-summary-cards-v145 strong{
  font-size:14px!important;
  line-height:1.24!important;
}
body.single-xan_project .xan-project-detail-v145 .xan-project-summary-cards-v145 span,
body.single-xan_project .xan-project-detail-v145 .xan-project-summary-actions-v145 a > span{
  font-size:11.5px!important;
  line-height:1.25!important;
}
/* Generic cards/directories: prevent oversized card text while preserving hierarchy. */
html body.xan-font-clarity-v189 :where(.xan-card,.xan-premium-card,.xan-tool-card,.xan-network-card-v177,.xan-network-office-card-v177,.xan-network-consultant-card-v177,.xan-list-card) :where(h2,h3,strong){
  line-height:1.24!important;
}
html body.xan-font-clarity-v189 :where(.xan-card,.xan-premium-card,.xan-tool-card,.xan-network-card-v177,.xan-network-office-card-v177,.xan-network-consultant-card-v177,.xan-list-card) :where(p,li,small,span){
  line-height:1.55!important;
}
/* Footer text should stay readable but less bulky. */
.xan-footer :where(p,li,a,span,small){
  font-size:13px!important;
  line-height:1.55!important;
}
.xan-footer :where(h2,h3,h4,strong){
  font-size:15px!important;
  line-height:1.3!important;
}
@media(max-width:760px){
  html body.xan-font-clarity-v189{
    --xan-type-body-size:14.5px;
    --xan-type-body-line:1.6;
  }
  body.single-post .xan-single-post-v171 .xan-single-hero-v171 h1{
    font-size:clamp(25px,6.2vw,31px)!important;
  }
  body.single-post .xan-single-post-v171 .xan-single-prose-v127 p,
  body.single-post .xan-single-post-v171 .xan-single-prose-v127 li{
    font-size:14.5px!important;
    line-height:1.64!important;
  }
  body.single-post .xan-single-post-v171 .xan-single-prose-v127 h2{
    font-size:clamp(20px,5.1vw,24px)!important;
  }
  body.single-post .xan-single-post-v171 .xan-single-prose-v127 h3{
    font-size:clamp(17px,4.4vw,21px)!important;
  }
}
