/* Full screen iframe styles */
body,
html {
  margin: 0 !important;
  padding: 0 !important;
  height: 100vh !important;
  width: 100vw !important;
  overflow: hidden !important;
}

/* Hide WordPress elements for full screen experience */
header,
footer,
.wp-block-spacer,
.wp-block-post-title,
.wp-block-post-content,
main,
nav,
aside,
.wp-block-navigation,
.wp-block-site-header,
.wp-block-site-footer {
  display: none !important;
}

/* Ensure iframe takes full screen */
#custom_iframe,
iframe[id*="custom_iframe"] {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 999999 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* Remove any container constraints */
.custom-iframe-container,
.wp-block-post-content,
main {
  margin: 0 !important;
  padding: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  overflow: hidden !important;
}

/* Hide scrollbars across all browsers */
/* WebKit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  display: none !important;
}

/* Firefox */
html {
  scrollbar-width: none !important;
}

/* Internet Explorer and Edge (legacy) */
body {
  -ms-overflow-style: none !important;
}

/* Hide scrollbars on specific elements */
.custom-iframe-container,
#custom_iframe,
iframe[id*="custom_iframe"],
body,
html {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.custom-iframe-container::-webkit-scrollbar,
#custom_iframe::-webkit-scrollbar,
iframe[id*="custom_iframe"]::-webkit-scrollbar,
body::-webkit-scrollbar,
html::-webkit-scrollbar {
  display: none !important;
}
