/* Shared case heroes and return-control clearance; desktop stays authored. */
@media(max-width:1180px) {
  .case-page .case-hero { padding-bottom:24px; }
  .case-page .case-hero + section { padding-top:32px; }
  .case-page .sber-close.case-hero + section { padding-top:clamp(72px,10vw,110px); }
  .case-page .sber-gallery.case-hero-visual { min-height:clamp(320px,45svh,540px); padding-block:32px; height:auto; align-content:center; }
  .case-page case-back {
    left:max(12px, env(safe-area-inset-left, 0px));
    bottom:max(16px, env(safe-area-inset-bottom, 0px));
  }
}
@media(max-width:1180px) and (max-height:600px) and (orientation:landscape) {
  .case-page .sber-gallery.case-hero-visual { min-height:calc(clamp(320px,85svh,480px) - 24px); padding-top:8px; padding-bottom:0; align-content:end; align-items:end; }
}

/* Only the heading moves, and only while the phone hero uses columns. */
@media (min-width:741px) and (orientation:landscape) {
  :root[data-case-type-mode="phone"] .blizkie-intro-copy > h1 {
    transform:translateY(6px);
  }
}
