
/* IPM 3.3 — header cleanup, hero button alignment, IRANSans-ready typography */
/* Uses IRANSans if it is installed/served by the site; does not bundle a font binary. */
.ipm26,.ipm26.ipm-lang-fa,.ipm26.ipm-lang-ar{
 font-family:"IRANSans","IRANSansWeb(FaNum)","IRANSansWeb",Tahoma,Arial,sans-serif!important;
}
.ipm26.ipm-lang-en,.ipm26.ipm-lang-ru{
 font-family:"IRANSans","Segoe UI",Arial,sans-serif!important;
}
.ipm26 h1,.ipm26 h2,.ipm26 h3,.ipm26 h4,.ipm26 b,.ipm26 strong{font-family:inherit!important}

/* Header: keep only theme, languages, login/signup. */
.ipm26-actions{display:flex!important;align-items:center!important;gap:8px!important;white-space:nowrap!important}
.ipm26-actions>span{display:none!important}
.ipm26-actions .ipm-lang-btn{display:inline-grid!important;place-items:center!important}
.ipm26-actions .ipm-theme-btn{display:inline-grid!important;place-items:center!important}
.ipm26-actions>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:34px!important;padding:0 15px!important}
.ipm26-actions .signup{background:#075b43!important;color:#fff!important}

/* Hero: prevent the analysis/about buttons from dropping below the hero. */
.ipm26-herotxt{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-width:0!important}
.ipm26-herotxt h1,.ipm26-herotxt h2{flex:0 0 auto!important}
.ipm26-pills{display:flex!important;flex-wrap:nowrap!important;justify-content:center!important;gap:7px!important;max-width:100%!important}
.ipm26-pills span{white-space:nowrap!important}
.ipm26-herobtn{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:center!important;gap:10px!important;margin-top:10px!important;width:auto!important}
.ipm26-herobtn a{display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;min-width:92px!important;height:36px!important;padding:0 18px!important;margin:0!important;line-height:1!important}

/* Keep hero content vertically inside its fixed reference height. */
@media(min-width:1060px){
 .ipm26-herotxt{padding-top:12px!important;padding-bottom:12px!important}
 .ipm26-herotxt h1{margin:0 0 2px!important;line-height:1.35!important}
 .ipm26-herotxt h2{margin:0 0 8px!important;line-height:1.45!important}
 .ipm26-pills span{padding:4px 9px!important;line-height:1.3!important}
}

/* Header controls stay compact on narrower desktop widths. */
@media(max-width:1250px) and (min-width:761px){
 .ipm26-actions{gap:5px!important}
 .ipm-lang-btn{min-width:22px!important;padding:0 4px!important}
 .ipm26-actions>a{padding:0 10px!important}
 .ipm26-search{width:min(420px,38vw)!important}
 .ipm26-pills{gap:4px!important}
 .ipm26-pills span{padding-left:7px!important;padding-right:7px!important}
}
