.canpress-container a:empty,
.canpress-container ul:empty,
.canpress-container dl:empty,
.canpress-container div:empty,
.canpress-container section:empty,
.canpress-container article:empty,
.canpress-container p:empty,
.canpress-container h1:empty,
.canpress-container h2:empty,
.canpress-container h3:empty,
.canpress-container h4:empty,
.canpress-container h5:empty,
.canpress-container h6:empty,
.entry-content a:empty,
.entry-content ul:empty,
.entry-content dl:empty,
.entry-content div:empty,
.entry-content section:empty,
.entry-content article:empty,
.entry-content p:empty,
.entry-content h1:empty,
.entry-content h2:empty,
.entry-content h3:empty,
.entry-content h4:empty,
.entry-content h5:empty,
.entry-content h6:empty {
  display: block !important;
}

/* Universal ancestor override — works on any theme regardless of class names */
*:has(> .canpress-main),
*:has(> * > .canpress-main),
*:has(> * > * > .canpress-main),
*:has(> * > * > * > .canpress-main),
*:has(> * > * > * > * > .canpress-main),
*:has(> * > * > * > * > * > .canpress-main),
*:has(> * > * > * > * > * > * > .canpress-main),
*:has(> * > * > * > * > * > * > * > .canpress-main) {
 max-width: 100% !important;
 width: 100% !important;
 transform: none !important;
 padding: 0 !important;
 margin: 0 !important;
 font-size: initial !important;
 padding-block: 0 !important;
 margin-block: 0 !important;
 margin-inline-start: unset !important;
 margin-inline-end: unset !important;
}
.canpress-main {
	font-size: 16px !important;
}
/* Prevent scroll jump during load — JS adds .canpress-ready once loaded */
html:has(.canpress-main):not(.canpress-ready),
html:has(.canpress-main):not(.canpress-ready) body {
  overflow: hidden !important;
  scroll-behavior: auto !important;
}

/* Hide page titles, breadcrumbs, and hero sections on canpress pages */
body:has(.canpress-main) #page-title,
body:has(.canpress-main) .page-title,
body:has(.canpress-main) .page-title-inner,
body:has(.canpress-main) .page-title-wrap,
body:has(.canpress-main) .page-title-bar,
body:has(.canpress-main) .page-title-section,
body:has(.canpress-main) .page-title-area,
body:has(.canpress-main) .page-header,
body:has(.canpress-main) .page-header-wrap,
body:has(.canpress-main) .page-header.cf,
body:has(.canpress-main) .entry-header,
body:has(.canpress-main) .entry-title,
body:has(.canpress-main) .page-hero,
body:has(.canpress-main) .hero-section,
body:has(.canpress-main) .hero-area,
body:has(.canpress-main) .inner-banner,
body:has(.canpress-main) .page-banner,
body:has(.canpress-main) .title-bar,
body:has(.canpress-main) .title-area,
body:has(.canpress-main) .title-section,
body:has(.canpress-main) .breadcrumbs,
body:has(.canpress-main) .breadcrumbs-container,
body:has(.canpress-main) .breadcrumb,
body:has(.canpress-main) .breadcrumb-trail,
body:has(.canpress-main) .breadcrumb-wrapper,
body:has(.canpress-main) .woocommerce-breadcrumb,
body:has(.canpress-main) .yoast-breadcrumbs,
body:has(.canpress-main) .rank-math-breadcrumb,
body:has(.canpress-main) .seopress-breadcrumbs,
body:has(.canpress-main) .ast-breadcrumbs-wrapper,
body:has(.canpress-main) .storefront-breadcrumb,
body:has(.canpress-main) .thegem-page-title,
body:has(.canpress-main) .zak-page-header,
body:has(.canpress-main) .nv-page-title-wrap,
body:has(.canpress-main) .nv-title-meta-wrap,
body:has(.canpress-main) .fusion-page-title-bar,
body:has(.canpress-main) .avada-page-titlebar-wrapper,
body:has(.canpress-main) .et_pb_title_container,
body:has(.canpress-main) .elementor-page-title,
body:has(.canpress-main) .kadence-breadcrumbs,
body:has(.canpress-main) .kb-row-layout-wrap.page-title,
body:has(.canpress-main) .oceanwp-page-header,
body:has(.canpress-main) .page-header-title,
body:has(.canpress-main) .sydney-page-header,
body:has(.canpress-main) .starter-page-title,
body:has(.canpress-main) .flavor-page-header,
body:has(.canpress-main) .hentry-header,
body:has(.canpress-main) .single-post-header,
body:has(.canpress-main) .block-content > .page-title-block,
body:has(.canpress-main) .wp-block-post-title,
body:has(.canpress-main) [class*="page-title"],
body:has(.canpress-main) [class*="breadcrumb"]:not(nav):not(header):not(.canpress-main *),
body:has(.canpress-main) [id*="page-title"] {
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

.canva-embed {
  display: none !important;
}
nav ul, li a {
	text-decoration: none !important;
}

.canpress-container nav ul, .canpress-container nav li {
	margin: initial;
}

.canpress-container p {
    margin:0px !important;
}
.canpress-header br {
	height: 0px !important;
	margin: 0px !important;
	display: none;
}

[class*="animate--"] {
  opacity: 1 !important;
  animation: none !important;
}

.grid__item:has(.canpress-main) {
  left: 0 !important;
}

.rte-setting a:not(.rte__image),
.rte a:not(.rte__image) {
  display: unset !important;
}

.grid__item .section-header > h1.section-header__title {
  display: none !important;
}

#PageContainer.page-container .wrapper .grid__item header.section-header {
  display: none !important;
}
#PageContainer.page-container .rte p,
#PageContainer.page-container .rte ul,
#PageContainer.page-container .rte ol {
  margin-bottom: unset !important;
}
.page-container {
  overflow: unset !important;
}

.canpress-main img {
  max-width: unset !important;
}
.canpress-main { min-height: 100vh !important; }

.rte:has(.canpress-main) img {
  height: unset;
  max-width: unset !important;
  border: unset !important;
  border-radius: unset !important;
  box-shadow: unset !important;
  margin-bottom: unset !important;
}

.rte:has(.canpress-main) li {
  list-style: auto !important;
}

ul,
li {
  list-style-position: unset !important;
}

main:before,
main:after,
[role="main"]:before,
[role="main"]:after {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.DF_utQ:has(iframe[src^="https://cdn.canpress.io"]), .DF_utQ div:has(iframe[src^="https://cdn.canpress.io"])
{
  width: 100% !important;
  transform: none !important;
}

.light {
  opacity: unset;
}

.canpress-main,
.canpress-container {
  height: 100%;
  width: 100%;
}

.canpress-container {
  position: relative;
}


.canpress-container main > div > div > div {
  overflow: visible !important;
  height: 100vh !important;
}

/* Hide double scrollbar on Windows for some pages/themes. For Chrome, Safari and Opera */
.canpress-container main > div > div::-webkit-scrollbar {
  display: none;
}
.canpress-container main > div > div {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}


video {
  filter: unset !important;
}


main .wp-block-cover {
	display: none !important;
  opacity:0;
  visibility: hidden;
  min-height:0px !important;
}
main > .wp-block-group {
	padding: 0px !important;
	margin: 0px !important;
	display: none !important;
}
main header, .default-header {
	display: none !important;
	padding: 0px !important;
	margin: 0px !important;
	box-sizing: border-box;
}