/* ============================================================
 * Melissa Dawn — managed-page layout reset  (v1.3.1, browser-verified)
 * Makes redesigned pages render like the standalone HTML:
 * full page width, no sidebar, no title/breadcrumb bar,
 * no comments, no outer spacing.
 *
 * IMPORTANT: Enfold puts the layout-marker classes .sidebar_right /
 * .sidebar_left on the CONTENT WRAPPER (.container_wrap) itself — NOT
 * only on the sidebar. So we must hide ONLY the real `aside.sidebar`
 * element, and never touch .sidebar_right / .sidebar_left, or the whole
 * content column collapses. We also force display:block on Enfold's grid
 * wrappers (they are display:inline by default) so the content has size.
 * ============================================================ */

/* remove Enfold's title bar + breadcrumb */
.md-managed .title_container { display: none !important; }
.md-managed .breadcrumb,
.md-managed .breadcrumbs { display: none !important; }

/* zero outer spacing around the content */
.md-managed #main { padding: 0 !important; margin: 0 !important; border: 0 !important; }
.md-managed #main > .container_wrap { padding: 0 !important; border: 0 !important; background: transparent !important; }
.md-managed .container_wrap_first { padding-top: 0 !important; }

/* container goes full page width */
.md-managed #main .container { width: 100% !important; max-width: 100% !important; padding: 0 !important; margin: 0 !important; }

/* hide ONLY the real sidebar element */
.md-managed aside.sidebar { display: none !important; }

/* content column fills full width (force block — Enfold grid units are inline) */
.md-managed .content,
.md-managed .template-page.content,
.md-managed #main .content { display: block !important; float: none !important; width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
.md-managed .av-content-small,
.md-managed .av-content-medium { width: 100% !important; max-width: 100% !important; }

/* inner entry wrappers: block + full width, no padding */
.md-managed .entry-content-wrapper,
.md-managed .post-entry,
.md-managed .entry-content { display: block !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }

/* remove comments / comment form */
.md-managed #comments,
.md-managed #respond,
.md-managed .comment-container { display: none !important; }
