/* MultiAdam v258 — strict visual correction patch. Front-page presentation only. */
body.ma-v258-front{--ma258-green:#0F5D3D;--ma258-bright:#18C982;--ma258-ink:#0E1E18;--ma258-cream:#F8F5ED;--ma258-line:#DDE7E1}

/* Hero desktop polish: keep text white, balance image/text, avoid over-tall composition. */
body.ma-v258-front .ma-hero{height:min(62vh,600px)!important;min-height:510px!important;max-height:600px!important}
body.ma-v258-front .ma-hero-bg{background-image:url('../images/hero-v258-runner.jpg')!important;background-size:auto 100%!important;background-position:left center!important;background-repeat:no-repeat!important;background-color:#0b2d22!important}
body.ma-v258-front .ma-hero:after{background:linear-gradient(90deg,rgba(5,22,16,.03) 0%,rgba(5,23,17,.10) 34%,rgba(7,31,23,.72) 57%,rgba(6,28,21,.96) 100%)!important}
body.ma-v258-front .ma-v23-hero-copy{padding:38px 6% 38px 55%!important;justify-content:center!important;align-items:flex-start!important;text-align:right!important}
body.ma-v258-front .ma-v23-hero-copy h1,
body.ma-v258-front .ma-v23-hero-copy p,
body.ma-v258-front .ma-v23-hero-copy .ma-v23-tracks{color:#fff!important;-webkit-text-fill-color:#fff!important;text-decoration:none!important}
body.ma-v258-front .ma-v23-hero-copy h1{font-size:clamp(2.75rem,4.5vw,4.25rem)!important;line-height:1.08!important;margin:7px 0 10px!important;max-width:560px!important;word-break:normal!important;overflow-wrap:normal!important}
body.ma-v258-front .ma-v23-hero-line{font-size:clamp(.94rem,1.25vw,1.08rem)!important;line-height:1.72!important;max-width:520px!important}
body.ma-v258-front .ma-v23-tracks{font-size:.84rem!important;margin:11px 0 16px!important;white-space:nowrap!important}
body.ma-v258-front .ma-v26-hero-actions{width:min(100%,445px)!important;gap:8px!important}
body.ma-v258-front .ma-v26-hero-actions .ma-btn{min-height:50px!important;border-radius:16px!important}

/* Feature strip: tighter, aligned, readable. */
body.ma-v258-front .ma-v256-feature-grid{padding:13px 0!important;align-items:stretch!important}
body.ma-v258-front .ma-v256-feature-item{min-height:70px!important;padding:4px 16px!important;gap:8px!important;align-content:center!important}
body.ma-v258-front .ma-v256-feature-icon{width:36px!important;height:36px!important}
body.ma-v258-front .ma-v256-feature-icon svg{width:20px!important;height:20px!important}
body.ma-v258-front .ma-v256-feature-item strong{font-size:.92rem!important;line-height:1.25!important}
body.ma-v258-front .ma-v256-feature-item:first-child strong{font-size:1.22rem!important}
body.ma-v258-front .ma-v256-feature-item small{font-size:.68rem!important;line-height:1.35!important}

/* Choose Path: explicit image + copy columns; avoids RTL inset bugs and vertical word wrapping. */
body.ma-v258-front .ma-v258-paths{padding-top:42px!important}
body.ma-v258-front .ma-v258-paths .ma-v23-section-title{margin-bottom:18px!important}
body.ma-v258-front .ma-v258-paths .ma-v23-section-title h2{font-size:clamp(2.2rem,4.2vw,3.6rem)!important;line-height:1.08!important;margin-top:6px!important;word-break:normal!important;overflow-wrap:normal!important;text-wrap:balance!important}
body.ma-v258-front .ma-v258-path-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
body.ma-v258-front .ma-v258-path-card{height:324px!important;min-width:0!important;display:grid!important;grid-template-columns:43% 57%!important;direction:ltr!important;position:relative!important;overflow:hidden!important;border:1px solid #dbe6e0!important;border-radius:24px!important;background:#f2fbf7!important;box-shadow:none!important}
body.ma-v258-front .ma-v258-path-card.is-programming{background:#0b1713!important;border-color:#182a23!important}
body.ma-v258-front .ma-v258-path-media{min-width:0!important;overflow:hidden!important;height:100%!important;background:#e8f5ef!important}
body.ma-v258-front .ma-v258-path-card.is-programming .ma-v258-path-media{background:#0b1713!important}
body.ma-v258-front .ma-v258-path-media img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:42% center!important;display:block!important}
body.ma-v258-front .ma-v258-path-card.is-programming .ma-v258-path-media img{object-position:36% center!important}
body.ma-v258-front .ma-v258-path-card.is-running .ma-v258-path-media img{object-position:36% center!important}
body.ma-v258-front .ma-v258-path-copy{direction:rtl!important;min-width:0!important;padding:24px 20px 20px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;text-align:right!important;overflow:hidden!important}
body.ma-v258-front .ma-v258-path-copy>span{color:#18a96f!important;font:900 .7rem/1.3 Inter,Vazirmatn,sans-serif!important;letter-spacing:.10em!important;white-space:nowrap!important}
body.ma-v258-front .ma-v258-path-copy h3{font-size:clamp(1.45rem,2vw,1.9rem)!important;line-height:1.25!important;margin:9px 0 7px!important;color:var(--ma258-ink)!important;width:100%!important;max-width:none!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;writing-mode:horizontal-tb!important;text-wrap:balance!important}
body.ma-v258-front .ma-v258-path-copy p{font-size:.86rem!important;line-height:1.6!important;margin:0 0 13px!important;color:#737c77!important;width:100%!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;writing-mode:horizontal-tb!important}
body.ma-v258-front .ma-v258-path-copy a{margin-top:auto!important;display:inline-flex!important;align-items:center!important;gap:7px!important;padding:8px 12px!important;border:1px solid #d7e3dc!important;border-radius:999px!important;background:rgba(255,255,255,.88)!important;color:var(--ma258-green)!important;font-size:.78rem!important;font-weight:900!important;white-space:nowrap!important;line-height:1.2!important}
body.ma-v258-front .ma-v258-path-copy a b{font-size:1rem!important;line-height:1!important}
body.ma-v258-front .ma-v258-path-card.is-programming .ma-v258-path-copy h3{color:#fff!important;-webkit-text-fill-color:#fff!important}
body.ma-v258-front .ma-v258-path-card.is-programming .ma-v258-path-copy p{color:#aeb8b3!important}
body.ma-v258-front .ma-v258-path-card.is-programming .ma-v258-path-copy a{background:transparent!important;border-color:#405149!important;color:#9ce7c4!important}

/* Old v257 background-card implementation is intentionally retired. */
body.ma-v258-front .ma-v257-path-card{display:none!important}

/* Front-page support: never cover Hero, feature strip, or path CTAs on mobile/tablet. */
@media(max-width:900px){
 body.ma-v258-front .ma-v49-home-support-float{display:none!important}
}
@media(min-width:901px){
 body.ma-v258-front .ma-v49-home-support-float{width:50px!important;height:50px!important;min-height:50px!important;padding:0!important;left:18px!important;bottom:18px!important;display:grid!important;place-items:center!important;border-radius:50%!important;overflow:hidden!important}
 body.ma-v258-front .ma-v49-home-support-float strong{display:none!important}
 body.ma-v258-front .ma-v49-home-support-float span{width:50px!important;height:50px!important;font-size:1.3rem!important}
}

/* Responsive path cards: compact, horizontal, no broken text or overflow. */
@media(max-width:900px){
 body.ma-v258-front .ma-v258-path-grid{grid-template-columns:1fr!important;gap:10px!important}
 body.ma-v258-front .ma-v258-path-card{height:206px!important;grid-template-columns:42% 58%!important;border-radius:21px!important}
 body.ma-v258-front .ma-v258-path-copy{padding:15px 14px 14px!important}
 body.ma-v258-front .ma-v258-path-copy>span{font-size:.63rem!important}
 body.ma-v258-front .ma-v258-path-copy h3{font-size:1.28rem!important;line-height:1.22!important;margin:6px 0!important}
 body.ma-v258-front .ma-v258-path-copy p{font-size:.75rem!important;line-height:1.5!important;margin-bottom:9px!important}
 body.ma-v258-front .ma-v258-path-copy a{font-size:.7rem!important;padding:7px 10px!important}
}

@media(max-width:760px){
 body.ma-v258-front .ma-header .ma-nav{min-height:56px!important;padding:3px 9px!important}
 body.ma-v258-front .ma-header-logo,body.ma-v258-front .ma-header .ma-brand img{max-height:35px!important}
 body.ma-v258-front .ma-hero{height:560px!important;min-height:560px!important;max-height:560px!important}
 body.ma-v258-front .ma-hero-bg{background-size:cover!important;background-position:31% center!important}
 body.ma-v258-front .ma-hero:after{background:linear-gradient(90deg,rgba(4,20,15,.03) 0%,rgba(4,22,16,.12) 35%,rgba(4,24,17,.66) 68%,rgba(4,23,17,.93) 100%),linear-gradient(180deg,rgba(4,18,14,.01),rgba(4,22,16,.14) 55%,rgba(4,23,17,.48))!important}
 body.ma-v258-front .ma-v23-hero-copy{padding:22px 14px 22px 38%!important}
 body.ma-v258-front .ma-v23-hero-copy h1{font-size:2.08rem!important;line-height:1.08!important;margin:6px 0 9px!important}
 body.ma-v258-front .ma-v23-hero-line{font-size:.83rem!important;line-height:1.65!important}
 body.ma-v258-front .ma-v23-tracks{font-size:.64rem!important;margin:9px 0 13px!important}
 body.ma-v258-front .ma-v26-hero-actions .ma-btn{min-height:47px!important}
 body.ma-v258-front .ma-v256-feature-grid{padding:10px 5px!important}
 body.ma-v258-front .ma-v256-feature-item{min-height:84px!important;padding:3px 4px!important;grid-template-columns:1fr!important;grid-template-rows:auto auto auto!important;justify-items:center!important;text-align:center!important;gap:2px!important}
 body.ma-v258-front .ma-v256-feature-icon{width:34px!important;height:34px!important;grid-row:auto!important}
 body.ma-v258-front .ma-v256-feature-item strong{font-size:.74rem!important}.ma-v256-feature-item:first-child strong{font-size:1.08rem!important}
 body.ma-v258-front .ma-v256-feature-item small{font-size:.58rem!important}
 body.ma-v258-front .ma-v258-paths{padding-top:30px!important}
 body.ma-v258-front .ma-v258-paths .ma-v23-section-title h2{font-size:2.35rem!important;line-height:1.08!important}
}

@media(max-width:430px){
 body.ma-v258-front .ma-hero{height:545px!important;min-height:545px!important;max-height:545px!important}
 body.ma-v258-front .ma-hero-bg{background-position:29% center!important}
 body.ma-v258-front .ma-v23-hero-copy{padding-inline-start:36%!important;padding-inline-end:13px!important}
 body.ma-v258-front .ma-v23-hero-copy h1{font-size:1.98rem!important}
 body.ma-v258-front .ma-v258-path-card{height:192px!important;grid-template-columns:40% 60%!important}
 body.ma-v258-front .ma-v258-path-copy{padding:13px 12px!important}
 body.ma-v258-front .ma-v258-path-copy h3{font-size:1.15rem!important;line-height:1.2!important;margin:5px 0!important}
 body.ma-v258-front .ma-v258-path-copy p{font-size:.70rem!important;line-height:1.42!important;margin-bottom:7px!important}
 body.ma-v258-front .ma-v258-path-copy a{font-size:.66rem!important;padding:6px 9px!important}
}

@media(max-width:370px){
 body.ma-v258-front .ma-v258-path-card{height:188px!important;grid-template-columns:39% 61%!important}
 body.ma-v258-front .ma-v258-path-copy h3{font-size:1.08rem!important}
 body.ma-v258-front .ma-v258-path-copy p{font-size:.67rem!important}
}
