/* Fix cropping + center iframe for Emotion Explorer */

#ai-div-emotionframe {
  max-width: 1100px;
  margin: 0 auto;
  height: auto !important;
  overflow: visible !important;
}

#ai-iframe-emotionframe,
#iframe-emotionframe,
#emotionframe {
  height: 3600px !important;
  width: 100% !important;
  display: block;
}

/* === ATLAS PAGE 998 CHROME STRIP (claude) === */
/* Keep BM header & footer; dark the body and the iframe area only */
body.page-id-998 {
  background: #0e1116 !important;
}
body.page-id-998 .wp-site-blocks {
  background: #0e1116 !important;
}
/* Header: dark background, light text, but keep the logo + nav visible */
body.page-id-998 header.wp-block-template-part,
body.page-id-998 .wp-site-blocks > header {
  background: #0e1116 !important;
}
body.page-id-998 header .site-title,
body.page-id-998 header .site-title a,
body.page-id-998 header .wp-block-site-title a,
body.page-id-998 header .site-tagline,
body.page-id-998 header .wp-block-site-tagline,
body.page-id-998 header .wp-block-navigation,
body.page-id-998 header .wp-block-navigation a,
body.page-id-998 header .wp-block-navigation-item a,
body.page-id-998 header .wp-block-navigation-link__label {
  color: #f4f1ea !important;
}
body.page-id-998 header .wp-block-navigation .wp-block-navigation__submenu-container {
  background: #1a1f27 !important;
  border-color: #2a313c !important;
}
body.page-id-998 header .wp-block-navigation .wp-block-navigation__submenu-container a {
  color: #f4f1ea !important;
}
/* Footer: dark too */
body.page-id-998 footer.wp-block-template-part,
body.page-id-998 .wp-site-blocks > footer {
  background: #0e1116 !important;
  color: #b9b1a3 !important;
}
body.page-id-998 footer a { color: #d4c8b3 !important; }
/* Hide the page title "Atlas" — iframe has its own hero */
body.page-id-998 .entry-header,
body.page-id-998 .wp-block-post-title { display: none !important; }
/* Strip padding around content so iframe goes edge-to-edge */
body.page-id-998 main,
body.page-id-998 .wp-block-post-content,
body.page-id-998 article,
body.page-id-998 .entry-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100vw !important;
  background: #0e1116 !important;
}
body.page-id-998 .wp-block-post-content > * { margin: 0 !important; }
/* The Atlas iframe itself */
body.page-id-998 iframe {
  display: block !important;
  width: 100vw !important;
  min-height: calc(100vh - 80px) !important;
  height: calc(100vh - 80px) !important;
  border: none !important;
  background: #0e1116 !important;
  margin: 0 !important;
}
body.page-id-998 .advanced-iframe,
body.page-id-998 [id*="advanced_iframe"] {
  margin: 0 !important;
  padding: 0 !important;
  width: 100vw !important;
  background: #0e1116 !important;
}
/* === END ATLAS === */
