/* Ocultar header/footer del tema — páginas personalizadas del plugin */
body.vc-custom-page #masthead,
body.vc-custom-page .site-header:not(.site-header),
body.vc-custom-page footer.site-footer:not(.site-footer),
body.vc-custom-page .ast-breadcrumbs-wrapper,
body.vc-custom-page .ast-single-entry-banner,
body.vc-custom-page .entry-header,
body.vc-custom-page .site-content > .ast-container > .entry-header,
body.vc-custom-page #secondary,
body.vc-custom-page .ast-separate-container .ast-article-single,
body.vc-custom-page .ast-page-builder-template .site-content > .ast-container {
  display: none !important;
}

body.vc-custom-page .site-content,
body.vc-custom-page #content,
body.vc-custom-page #primary,
body.vc-custom-page .site-main,
body.vc-custom-page .ast-separate-container {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

body.vc-custom-page .ast-container,
body.vc-custom-page .ast-separate-container .ast-article-single {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

body.vc-custom-page .entry-content {
  margin: 0 !important;
  padding: 0 !important;
}

body.vc-custom-page .site-content .ast-container {
  display: block !important;
}

body.vc-custom-page .vc-page-wrap {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Ocultar header/footer del tema — sitio completo (renovación) */
body.vc-hide-theme-chrome #masthead,
body.vc-hide-theme-chrome header.site-header,
body.vc-hide-theme-chrome .ast-main-header-wrap,
body.vc-hide-theme-chrome .ast-above-header-wrap,
body.vc-hide-theme-chrome .ast-below-header-wrap,
body.vc-hide-theme-chrome .ast-mobile-header-wrap,
body.vc-hide-theme-chrome #colophon,
body.vc-hide-theme-chrome .site-footer,
body.vc-hide-theme-chrome footer.site-footer,
body.vc-hide-theme-chrome .ast-footer-overlay,
body.vc-hide-theme-chrome .ast-small-footer,
body.vc-hide-theme-chrome .ast-breadcrumbs-wrapper,
body.vc-hide-theme-chrome .ast-single-entry-banner,
body.vc-hide-theme-chrome .ast-header-break-point .main-header-bar-wrap {
  display: none !important;
}

body.vc-hide-theme-chrome .site-content,
body.vc-hide-theme-chrome #content,
body.vc-hide-theme-chrome #primary,
body.vc-hide-theme-chrome .site-main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.vc-hide-theme-chrome.ast-header-break-point .site-content {
  margin-top: 0 !important;
}

/* Entradas individuales de blog (plantilla completa del plugin) */
body.vc-single-post {
  background: var(--vc-cream);
}
