/* hero width same as normal content container + single column */

body.fc-revamp main > section.hero,
body.fc-revamp main > section.sectionHero,
body.fc-revamp .fc-hero-section{
  padding-left:0 !important;
  padding-right:0 !important;
}

/* hero container = same width as lower content container */
body.fc-revamp main > section.hero > .container,
body.fc-revamp main > section.sectionHero > .container,
body.fc-revamp .fc-hero-section > .container,
body.home-editorial .home-hero > .container,
body.home-editorial .home-hero-shell{
  width:min(calc(100% - 40px), 1280px) !important;
  max-width:1280px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* КЛЮЧЕВОЕ ИСПРАВЛЕНИЕ:
   оставляем grid, но делаем ровно 1 колонку */
body.fc-revamp .heroGrid,
body.fc-revamp .heroGridWide,
body.fc-revamp .fc-hero-grid,
body.fc-revamp .container.heroGrid,
body.fc-revamp .container.heroGridWide{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  grid-auto-columns:minmax(0,1fr) !important;
  gap:0 !important;
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
  align-items:start !important;
}

/* Всё содержимое hero — в первую и единственную колонку */
body.fc-revamp .heroGrid > *,
body.fc-revamp .heroGridWide > *,
body.fc-revamp .fc-hero-grid > *{
  grid-column:1 / 2 !important;
  min-width:0 !important;
}

/* убираем правые пустые / декоративные блоки, если они есть */
body.fc-revamp .bannerCard,
body.fc-revamp .pricing-hero-aside,
body.fc-revamp .hero-offer-card{
  display:none !important;
}

/* основной hero-блок */
body.fc-revamp .heroCard.pageHeroCard,
body.fc-revamp .heroCard,
body.fc-revamp .intro-block{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

/* home-editorial hero, если активен */
body.home-editorial .home-hero-shell,
body.home-editorial .home-hero-editorial{
  width:100% !important;
  max-width:1280px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* мобильный ритм */
@media (max-width:760px){
  body.fc-revamp main > section.hero > .container,
  body.fc-revamp main > section.sectionHero > .container,
  body.fc-revamp .fc-hero-section > .container,
  body.home-editorial .home-hero > .container,
  body.home-editorial .home-hero-shell{
    width:min(calc(100% - 24px), 1280px) !important;
  }
}
