/* R75 — structural cleanup requested after R74.
 * Removes slider counters, fixes footer locale leakage, and tightens mobile section rhythm.
 */

/* Slider: no 01/02 or 02/02 counters on any viewport. */
body.home .r66-slide-index{display:none!important}
body.home .r66-slide-copy{min-width:0!important}
body.home .r66-hero-rail{grid-template-columns:minmax(0,1fr) 116px auto!important}

/* Footer locale lock: exactly ONE localized wordmark may render. R74 accidentally forced all three to display. */
.home .site-footer .footer-brand .r69-footer-brand .r67-brand-localized{
  display:none!important;
}
html[lang^="de"] .home .site-footer .footer-brand .r69-footer-brand .r67-brand-de,
html[lang^="en"] .home .site-footer .footer-brand .r69-footer-brand .r67-brand-en,
html[lang^="ar"] .home .site-footer .footer-brand .r69-footer-brand .r67-brand-ar{
  display:grid!important;
}

@media(max-width:760px){
  /* Remove the large rhythm inherited from R61 between hero and treatments. */
  body.home .hero.r66-hero + .services{
    padding-top:30px!important;
    border-top:0!important;
  }
  body.home .r66-hero-layout,
  html[dir="rtl"] body.home .r66-hero-layout{
    padding-bottom:12px!important;
  }
  body.home .r66-hero-media,
  html[dir="rtl"] body.home .r66-hero-media{
    margin-bottom:0!important;
  }

  /* With the counter gone, make the slider footer a small control rail rather than empty space. */
  body.home .r66-hero-rail{
    min-height:36px!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    padding:2px 1px 3px!important;
    gap:5px!important;
  }
  body.home .r66-slide-copy{display:none!important}
  body.home .r66-slide-progress{display:none!important}
  body.home .r66-hero-controls{
    grid-column:2!important;
    justify-self:end!important;
    gap:5px!important;
  }
  body.home .r66-hero-controls button{
    width:28px!important;
    height:28px!important;
  }

  /* Footer: a single compact identity block, no stacked translations. */
  .home .site-footer .footer-main{padding-top:20px!important}
  .home .site-footer .footer-brand{
    padding-bottom:16px!important;
  }
  .home .site-footer .footer-brand .r69-footer-brand{
    width:max-content!important;
    max-width:100%!important;
    margin:0 auto!important;
    grid-template-columns:54px minmax(0,220px)!important;
    gap:11px!important;
  }
  .home .site-footer .footer-brand .r69-footer-brand .r69-footer-brand-mark{
    width:54px!important;
    height:54px!important;
  }
  .home .site-footer .footer-brand .r69-footer-brand .approved-brand-raster{
    inset:5px!important;
    width:44px!important;
    height:44px!important;
  }
  .home .site-footer .footer-brand .r69-footer-brand-copy{
    width:100%!important;
    min-width:0!important;
    text-align:left!important;
  }
  .home .site-footer .footer-brand .r69-footer-brand .r67-brand-localized{
    gap:2px!important;
    justify-items:start!important;
  }
  .home .site-footer .footer-brand .r69-footer-brand .r67-brand-name{
    font-size:13.8px!important;
    line-height:1.08!important;
    white-space:nowrap!important;
  }
  .home .site-footer .footer-brand .r69-footer-brand .r67-brand-practice{
    margin-top:2px!important;
  }
  .home .site-footer .footer-brand .r69-footer-brand .r67-brand-practice b{
    font-size:6.2px!important;
    line-height:1.1!important;
    letter-spacing:.13em!important;
  }
  .home .site-footer .footer-brand .r69-footer-brand .r67-brand-location{
    font-size:5.5px!important;
    line-height:1.1!important;
    letter-spacing:.16em!important;
  }

  html[dir="rtl"] .home .site-footer .footer-brand .r69-footer-brand{
    grid-template-columns:minmax(0,220px) 54px!important;
  }
  html[dir="rtl"] .home .site-footer .footer-brand .r69-footer-brand-copy,
  html[dir="rtl"] .home .site-footer .footer-brand .r69-footer-brand .r67-brand-localized,
  html[dir="rtl"] .home .site-footer .footer-brand .r69-footer-brand .r67-brand-name,
  html[dir="rtl"] .home .site-footer .footer-brand .r69-footer-brand .r67-brand-practice,
  html[dir="rtl"] .home .site-footer .footer-brand .r69-footer-brand .r67-brand-practice b,
  html[dir="rtl"] .home .site-footer .footer-brand .r69-footer-brand .r67-brand-location{
    text-align:right!important;
    justify-items:end!important;
  }
}

@media(max-width:390px){
  .home .site-footer .footer-brand .r69-footer-brand{
    grid-template-columns:50px minmax(0,205px)!important;
  }
  html[dir="rtl"] .home .site-footer .footer-brand .r69-footer-brand{
    grid-template-columns:minmax(0,205px) 50px!important;
  }
  .home .site-footer .footer-brand .r69-footer-brand .r69-footer-brand-mark{width:50px!important;height:50px!important}
  .home .site-footer .footer-brand .r69-footer-brand .approved-brand-raster{width:40px!important;height:40px!important}
  .home .site-footer .footer-brand .r69-footer-brand .r67-brand-name{font-size:12.8px!important}
}
