/* The existing Video portfolio paper is the shared site canvas. */
:root {
  --btw-paper: #f8f5ef;
  background-color: var(--btw-paper);
}

/* Additional CSS had locked the body to white. Keep the override scoped. */
body {
  background-color: var(--btw-paper) !important;
}

body #page,
body :is(.site-content, .site-main),
body .elementor-location-header .elementor-section.header,
body :is(.btw-video-portfolio, .btw-inquiry),
body.btw-child-photo :is(.hero-caption, .hero-caption .view-toolbar, .hero-caption .view-switch) {
  background-color: var(--btw-paper);
}

/* Astra applies separate article backgrounds on some legacy layouts. */
body article:is(.ast-article-single, .ast-article-post) {
  background-color: var(--btw-paper) !important;
}

/* The generated footer applies a separate background to each band. */
body :is(.site-footer, .elementor-location-footer),
body .elementor-location-footer .elementor-section:is(.footer-top, .footer-bottom):not(.elementor-motion-effects-element-type-background),
body .elementor-location-footer .elementor-section:is(.footer-top, .footer-bottom) > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-color: var(--btw-paper) !important;
}

/* Match open navigation to the page without changing the menu's hit areas. */
body div:is(.jet-mobile-menu, .jet-mobile-menu__container-inner),
body .jet-mobile-menu__instance--slide-out-layout .jet-mobile-menu__container > .jet-mobile-menu__container-inner,
body #jet-mobile-menu-6747f31db8029 > .jet-mobile-menu__instance.jet-mobile-menu__instance--slide-out-layout.right-container-position.default-toggle-position > .jet-mobile-menu__container > div {
  background-color: var(--btw-paper) !important;
}

body .elementor-location-header .elementor-nav-menu--dropdown,
body .elementor-location-header .elementor-nav-menu .sub-menu {
  background-color: var(--btw-paper);
}

/* The mirrored Media Tools catalog keeps its equipment card colors. */
body.btw-media-tools-standalone,
body.btw-media-tools-standalone .btw-media-tools-page {
  background-color: var(--btw-paper) !important;
}
