/* HTML pages: render full-width without card container */
section.min-h-\[70vh\].bg-white > .container,
section[class*="min-h-[70vh]"][class*="bg-white"] > .container {
  max-width: 100% !important;
  padding: 0 !important;
}

section.min-h-\[70vh\].bg-white > .container > div:first-child,
section[class*="min-h-[70vh]"][class*="bg-white"] > .container > div:first-child {
  display: none !important;
}

section.min-h-\[70vh\].bg-white > .container > div:nth-child(2),
section[class*="min-h-[70vh]"][class*="bg-white"] > .container > div:nth-child(2) {
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

section.min-h-\[70vh\].bg-white > .container > div:nth-child(2) > h1,
section[class*="min-h-[70vh]"][class*="bg-white"] > .container > div:nth-child(2) > h1 {
  display: none !important;
}

section.min-h-\[70vh\].bg-white > .container > div:nth-child(2) > .html-content,
section[class*="min-h-[70vh]"][class*="bg-white"] > .container > div:nth-child(2) > .html-content {
  padding: 0 !important;
  margin: 0 !important;
}

/* Optional: hide header/footer inside HTML content when requested */
.html-content.nasaq-strip-html-chrome header,
.html-content.nasaq-strip-html-chrome footer {
  display: none !important;
}

/* Optional: hide NASAQ header/footer when requested */
body.nasaq-hide-site-chrome header,
body.nasaq-hide-site-chrome footer {
  display: none !important;
}

/* Iframe mode for HTML templates (isolated) */
.html-content .nasaq-html-frame {
  width: 100% !important;
  border: 0 !important;
  display: block !important;
}
