/*
 * WordPress host bridge.
 *
 * Component styles remain scoped to .tn1-kb in teslano1-knowledge.css.
 * This file only removes theme page chrome that constrains the knowledge UI,
 * and it is active exclusively when Tn1_Frontend adds the body class below.
 */

body.tn1-knowledge-ui-page .main-page-wrapper > .wd-content-layout.container {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding: 0 !important;
}

body.tn1-knowledge-ui-page .main-page-wrapper > .wd-content-layout > .wd-content-area,
body.tn1-knowledge-ui-page .main-page-wrapper > .wd-content-layout > .wd-content-area > article.entry-content {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Generic WordPress themes: keep the shortcode root from inheriting block gaps. */
body.tn1-knowledge-ui-page .tn1-kb {
  margin-block: 0 !important;
}
