/* Start custom CSS *//* ══════════════════════════════════════════════
   Растягиваем ТОЛЬКО контент страницы.
   Шапка и футер Elementor остаются нетронутыми.
══════════════════════════════════════════════ */

/* Убираем ограничение только у основной области контента */
.site-main,
#main,
main.site-main,
.wp-site-blocks > main,
.entry-content,
article .entry-content {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 auto;
}

/* Только Elementor-секции ВНУТРИ контента страницы,
   но НЕ в хедере (.elementor-location-header)
   и НЕ в футере (.elementor-location-footer) */
.elementor-location-header .elementor-container,
.elementor-location-header .e-con-inner,
.elementor-location-header .e-container {
  /* Шапку не трогаем — оставляем как есть */
  max-width: unset;
}

.elementor-location-footer .elementor-container,
.elementor-location-footer .e-con-inner,
.elementor-location-footer .e-container {
  /* Футер не трогаем — оставляем как есть */
  max-width: unset;
}

/* Растягиваем контент ТОЛЬКО на страницах
   с вашим кастомным HTML (не шапка, не футер) */
.hfeed .site-content .elementor-section.elementor-section-boxed
  > .elementor-container {
  max-width: 100% !important;
}/* End custom CSS */