/*
  ENET TCD Bridge v1
  Status: LOCAL CSS DRAFT FOR REVIEW
  Purpose: page-id scoped wrapper bridge for TCD lower pages.
  Normal pages in this draft: BRAND page-id-85, PRODUCTS page-id-98.
  WELLNESS page-id-101 is intentionally excluded from the normal bridge
  because WELLNESS_MODE = hold and it remains an artboard exception.
*/

body.page-id-85,
body.page-id-98 {
  background: #fff !important;
}

body.page-id-85 #container,
body.page-id-98 #container {
  background: #fff !important;
}

body.page-id-85 #lp_page_header,
body.page-id-98 #lp_page_header {
  display: none !important;
}

body.page-id-85 #page_content,
body.page-id-98 #page_content {
  width: min(1100px, calc(100vw - 48px)) !important;
  max-width: 1100px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: transparent !important;
}

body.page-id-85 #page_content > article.post_content,
body.page-id-85 #page_content .post_content,
body.page-id-85 #page_content .tcdce-body,
body.page-id-98 #page_content > article.post_content,
body.page-id-98 #page_content .post_content,
body.page-id-98 #page_content .tcdce-body {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body.page-id-85 #footer,
body.page-id-85 footer,
body.page-id-98 #footer,
body.page-id-98 footer {
  margin-top: 0 !important;
  background: #fff !important;
}

/*
  Copyright rule:
  The page body must not add footer/copyright markup.
  Restore #copyright only after DOM verification in a separate implementation gate.
*/

@media (max-width: 760px) {
  body.page-id-85 #page_content,
  body.page-id-98 #page_content {
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* GATE 3 SAFE CANDIDATE: verified #page_content shell connections. */
body.page-id-103 #page_content {
  width: min(1100px, calc(100vw - 48px)) !important;
  max-width: 1100px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: transparent !important;
}

@media (max-width: 760px) {
  body.page-id-103 #page_content {
      width: 100% !important;
      max-width: 100% !important;
    }
}

body.page-id-176 #page_content {
  width: min(1100px, calc(100vw - 48px)) !important;
  max-width: 1100px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: transparent !important;
}

@media (max-width: 760px) {
  body.page-id-176 #page_content {
      width: 100% !important;
      max-width: 100% !important;
    }
}

/* PRODUCTION 5: RUSH page-id-105 normal HTML shell connection. */
body.page-id-105 {
  background: #fff !important;
}

body.page-id-105 #container {
  background: #fff !important;
}

body.page-id-105 #lp_page_header {
  display: none !important;
}

body.page-id-105 #page_content {
  width: min(1100px, calc(100vw - 48px)) !important;
  max-width: 1100px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: transparent !important;
}

body.page-id-105 #page_content > article.post_content,
body.page-id-105 #page_content .post_content,
body.page-id-105 #page_content .tcdce-body {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body.page-id-105 #footer,
body.page-id-105 footer {
  margin-top: 0 !important;
  background: #fff !important;
}

/* WordPress wpautop inserts presentational br nodes after media/actions. */
body.page-id-105 .enet-ds-page--rush figure > br,
body.page-id-105 .enet-ds-page--rush .rush-actions > br {
  display: none !important;
}

@media (max-width: 760px) {
  body.page-id-105 #page_content {
    width: 100% !important;
    max-width: 100% !important;
  }
}
