/* Módulos internos: el encabezado ocupa también el carril del menú.
   Inicio conserva exactamente su composición propia. */
@media (min-width: 901px) {
  .workspace > .content.ventyum-standard > .hero:first-child,
  .workspace > .content.ventyum-standard > .ventyum-page-hero:first-child,
  .workspace > .content.ventyum-standard > .command-hero:first-child,
  .workspace > .content.ventyum-standard > .payroll-hero:first-child,
  .workspace > .content.ventyum-standard > .reports-hero:first-child,
  .workspace > .content.ventyum-standard > .hacienda-hero:first-child,
  .workspace > .content.ventyum-standard > .transactions-hero:first-child,
  .workspace > .content.ventyum-standard > .orders-hero-web:first-child,
  .workspace > .content.ventyum-standard > .control-carga-hero:first-child,
  .workspace > .content.ventyum-standard > .settings-hero:first-child {
    width: calc(100% + var(--sidebar-rail-width, 68px) + var(--content-pad-x, 22px) + var(--content-pad-x, 22px) - var(--page-edge, 18px) - var(--page-edge, 18px)) !important;
    margin-left: calc(0px - var(--sidebar-rail-width, 68px) - var(--content-pad-x, 22px) + var(--page-edge, 18px)) !important;
    margin-right: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 900px) {
  .workspace > .content.ventyum-standard > .hero:first-child,
  .workspace > .content.ventyum-standard > .ventyum-page-hero:first-child,
  .workspace > .content.ventyum-standard > .command-hero:first-child,
  .workspace > .content.ventyum-standard > .payroll-hero:first-child,
  .workspace > .content.ventyum-standard > .reports-hero:first-child,
  .workspace > .content.ventyum-standard > .hacienda-hero:first-child,
  .workspace > .content.ventyum-standard > .transactions-hero:first-child,
  .workspace > .content.ventyum-standard > .orders-hero-web:first-child,
  .workspace > .content.ventyum-standard > .control-carga-hero:first-child,
  .workspace > .content.ventyum-standard > .settings-hero:first-child {
    width: 100% !important;
    margin-left: 0 !important;
  }
}


@media (min-width: 901px) {
  #root#root#root#root#root#root#root#root#root#root#root#root .workspace > .content.ventyum-standard > :is(.hero,.ventyum-page-hero,.command-hero,.payroll-hero,.reports-hero,.hacienda-hero,.transactions-hero,.orders-hero-web,.control-carga-hero,.settings-hero):first-child {
    width: calc(100% + var(--sidebar-rail-width, 68px) + var(--content-pad-x, 22px) + var(--content-pad-x, 22px) - var(--page-edge, 18px) - var(--page-edge, 18px)) !important;
    margin-left: calc(0px - var(--sidebar-rail-width, 68px) - var(--content-pad-x, 22px) + var(--page-edge, 18px)) !important;
    margin-right: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}


