/* Ahmet Halim Elements v1.3.11 — desktop homepage guard.
   The homepage is the visual reference. Mobile fixes must never redefine the
   approved desktop composition. These rules intentionally run only above the
   tablet/mobile range and restore the pre-responsive homepage geometry. */

@media (min-width:1025px){
  body.ah-home-page{
    --hv-max:1600px!important;
  }

  body.ah-home-page .ah-header,
  body.ah-home-page .ah-header--name-only{
    width:min(1600px,calc(100% - 96px))!important;
    max-width:1600px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  body.ah-home-page .ah-hero-inner,
  body.ah-home-page .ah-services-home-inner,
  body.ah-home-page .ah-projects-home-inner,
  body.ah-home-page .ah-blog-home-inner{
    width:min(1600px,calc(100% - 96px))!important;
    max-width:1600px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
  }

  /* The proof strip was deliberately slightly narrower in the approved Home. */
  body.ah-home-page .ah-stats:not(.ah-stats--about){
    width:min(1480px,calc(100% - 144px))!important;
    max-width:1480px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  /* Reassert the approved desktop Services-on-Home composition. */
  body.ah-home-page .ah-services-home-inner{
    padding:70px 0 58px!important;
  }
  body.ah-home-page .ah-services-top{
    display:grid!important;
    grid-template-columns:1.05fr .92fr auto!important;
    gap:64px!important;
    align-items:center!important;
    margin:0 0 32px!important;
  }
  body.ah-home-page .ah-services-top h2{
    max-width:460px!important;
    margin:0!important;
    font-size:48px!important;
    line-height:.98!important;
  }
  body.ah-home-page .ah-services-top>p{
    max-width:390px!important;
    margin:14px 0 0!important;
    font-size:13px!important;
    line-height:1.5!important;
  }
  body.ah-home-page .ah-services-all{
    align-self:start!important;
    margin-top:31px!important;
    white-space:nowrap!important;
  }
  body.ah-home-page .ah-services--home .ah-services-grid{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:0!important;
  }
  body.ah-home-page .ah-services--home .ah-services-grid article{
    min-height:158px!important;
    padding:18px 34px 20px 0!important;
    margin-right:30px!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
  body.ah-home-page .ah-services--home .ah-services-grid article:last-child{
    margin-right:0!important;
  }
  body.ah-home-page .ah-service-icon{
    font-size:36px!important;
  }
  body.ah-home-page .ah-services--home h3{
    font-size:16px!important;
  }
  body.ah-home-page .ah-services--home p{
    max-width:235px!important;
    font-size:12px!important;
  }
}
