/* Final mobile polish for the single-source responsive homepage.
 * Desktop remains the source of truth; only layout/alignment below 1024px is adjusted.
 */

/* Copy correction shared by desktop and responsive views. */
body.ir-page-home .ir-home-ref-rating-card > div:nth-child(2) strong::before{
  content:"اعتماد کاربران، سرمایه‌ی ماست"!important;
}

@media (max-width:1023px){
  /* Blog and FAQ headings belong on the RTL/right edge; secondary action stays opposite. */
  body.ir-page-home .ir-home-ref-section-row{
    flex-direction:row-reverse!important;
    direction:rtl!important;
  }
  body.ir-page-home .ir-home-ref-section-row h2{
    text-align:right!important;
  }

  /* The shared footer follows Home directly; no duplicate closing cards remain. */
  body.ir-page-home .ir-home-ref-shell{
    padding-bottom:10px!important;
  }
  body.ir-page-home .ir-site-footer{
    margin-top:0!important;
  }
}
