/* Home layout, shared by RU / EN.
   The approved-photo stylesheet alone controls the three photo rectangles.
   Viewport height changes spacing, never the crop or the agreed CTA size. */
.home-viewport{
 --home-safe-bottom:env(safe-area-inset-bottom,0px);
 -webkit-text-size-adjust:100%;text-size-adjust:100%;
}
.home-viewport #legal-footer{
 padding-bottom:calc(18px + var(--home-safe-bottom))!important;
}
@media screen and (min-width:1101px){
 .home-viewport .desktop-home{
  height:auto;min-height:0;grid-template-rows:auto auto auto;
 }
 .home-viewport .desktop-home-hero{
  position:relative;display:block;overflow:hidden;
 }
 .home-viewport .desktop-home-summary{
  min-height:0;padding-top:20px;padding-bottom:20px;
 }
}
@media screen and (max-width:1100px){
 .home-viewport .responsive-home{
  --home-description-gap:clamp(20px,2.3svh,28px);
  --home-action-gap:clamp(20px,2.4svh,28px);
 }
 .home-viewport .responsive-home .home-description{
  margin-top:var(--home-description-gap);margin-bottom:0;
 }
 .home-viewport .responsive-home .home-actions{
  margin-top:var(--home-action-gap);
 }
 .home-viewport .responsive-home .home-body{padding-bottom:20px}
}
@media screen and (max-width:599px){
 .home-viewport .responsive-home{
  --home-description-gap:clamp(12px,2.3svh,18px);
  --home-action-gap:clamp(16px,2.5svh,24px);
 }
 .home-viewport .responsive-home .home-header{min-height:56px}
 .home-viewport .responsive-home .home-description{
  font-size:max(14px,3.757225vw);
  line-height:max(19px,5.057803vw);
 }
 .home-viewport .responsive-home .home-description span{white-space:normal}
 .home-viewport .responsive-home .home-body{padding-bottom:16px}
}
