/* Home (EN / RU) — round 2. Hero with a tall portrait photo; everything else uses shared components. */

.hero--home .hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; }
.hero--home .hero__title { text-wrap: balance; }
.hero--home .hero__lead { max-width: 580px; }
.hero--home .hero__lead--first { margin-bottom: 1rem; }
.hero--home .hero__actions { margin-bottom: 0; }

/* Portrait frame for teacher-child-craft (2:3 original) */
.hero__photo--portrait { aspect-ratio: 4 / 5; max-width: 460px; margin-left: auto; }
.hero__photo--portrait img { object-position: 50% 55%; }

/* Tablet / phone: text and buttons first, the portrait below, centred and capped */
@media (max-width: 991.98px) {
  .hero--home .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero--home .hero__media { order: 0; }
  .hero__photo--portrait { max-width: 440px; margin-inline: auto; }
}
