/*
Theme Name:        Nucurate
Theme URI:         https://nucurate.com
Description:       Nucurate is a Salient child theme that ships the Nucurate marketing site (home, about, docs, contact, privacy, terms, homomorphic encryption) as ready-to-use page templates with the brand's full chrome (sticky header, off-canvas menu, prefooter newsletter, dark footer). Activate it on top of Salient and the front page, About, Docs, Contact, and legal pages are created and styled automatically. Built for WordPress 6.4+.
Author:            Nucurate
Author URI:        https://nucurate.com
Template:          salient
Version:           1.0.130
Tested up to:      6.9
Requires at least: 6.4
Requires PHP:      7.4
License:           GPL-2.0-or-later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       nucurate
Tags:              one-column, custom-menu, custom-logo, featured-images, full-width-template, threaded-comments, translation-ready
*/

/* Theme-level background only; leave Salient layout/settings untouched. */
html,
body,
#ajax-content-wrap,
.container-wrap,
.page-wrapper {
  background: #000 !important;
}

/* Prevent transient white paint flashes during rapid scroll/compositing.
   Do NOT set #header-space / #header-outer / #top here — it overrides the
   transparent hero overlay (Salient header must show hero through it). */
body.nc-skin,
body.nc-skin .nc-main,
body.nc-skin .sp-feature-stack,
body.nc-skin .sp-feature,
body.nc-skin .sp-feature__body,
body.nc-skin .sp-feature__media-col,
body.nc-skin .sp-feature__media-wrap,
body.nc-skin .sp-feature__media,
body.nc-skin .sp-card-stack,
body.nc-skin .sp-card-stack__card {
  background-color: #000 !important;
}

/* Hero overlay: keep Salient header transparent over hero (image or video).
   Loaded from style.css so it wins over nucurate-base.css load order. */
body.nc-home-top.nc-skin:not(.nc-header-solid) #header-space,
body.nc-skin:has(.sp-hero):not(.nc-header-solid) #header-space {
  background: transparent !important;
  background-color: transparent !important;
}
body.nc-home-top.nc-skin:not(.nc-header-solid) #header-outer,
body.nc-home-top.nc-skin:not(.nc-header-solid) #header-outer::before,
body.nc-home-top.nc-skin:not(.nc-header-solid) #header-outer::after,
body.nc-home-top.nc-skin:not(.nc-header-solid) #header-outer #top,
body.nc-home-top.nc-skin:not(.nc-header-solid) #header-outer header#top,
body.nc-skin:has(.sp-hero):not(.nc-header-solid) #header-outer,
body.nc-skin:has(.sp-hero):not(.nc-header-solid) #header-outer::before,
body.nc-skin:has(.sp-hero):not(.nc-header-solid) #header-outer::after,
body.nc-skin:has(.sp-hero):not(.nc-header-solid) #header-outer #top,
body.nc-skin:has(.sp-hero):not(.nc-header-solid) #header-outer header#top {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border-bottom-color: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* Salient paints white on inner header wrappers on desktop AND mobile — force clear. */
body.nc-home-top.nc-skin:not(.nc-header-solid) #header-outer #top .container,
body.nc-home-top.nc-skin:not(.nc-header-solid) #header-outer #top .container > .row,
body.nc-home-top.nc-skin:not(.nc-header-solid) #header-outer #top .row,
body.nc-home-top.nc-skin:not(.nc-header-solid) #header-outer #top .col,
body.nc-home-top.nc-skin:not(.nc-header-solid) #header-outer #top .col.span_3,
body.nc-home-top.nc-skin:not(.nc-header-solid) #header-outer #top .col.span_9,
body.nc-home-top.nc-skin:not(.nc-header-solid) #header-outer #top .col.span_12,
body.nc-skin:has(.sp-hero):not(.nc-header-solid) #header-outer #top .container,
body.nc-skin:has(.sp-hero):not(.nc-header-solid) #header-outer #top .container > .row,
body.nc-skin:has(.sp-hero):not(.nc-header-solid) #header-outer #top .row,
body.nc-skin:has(.sp-hero):not(.nc-header-solid) #header-outer #top .col,
body.nc-skin:has(.sp-hero):not(.nc-header-solid) #header-outer #top .col.span_3,
body.nc-skin:has(.sp-hero):not(.nc-header-solid) #header-outer #top .col.span_9,
body.nc-skin:has(.sp-hero):not(.nc-header-solid) #header-outer #top .col.span_12 {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}
body.nc-home-top.nc-skin:not(.nc-header-solid) #header-outer #top nav > ul > li > a,
body.nc-home-top.nc-skin:not(.nc-header-solid) #header-outer #top .slide-out-widget-area-toggle a,
body.nc-home-top.nc-skin:not(.nc-header-solid) #header-outer #top #logo,
body.nc-home-top.nc-skin:not(.nc-header-solid) #header-outer #top #logo a,
body.nc-skin:has(.sp-hero):not(.nc-header-solid) #header-outer #top nav > ul > li > a,
body.nc-skin:has(.sp-hero):not(.nc-header-solid) #header-outer #top .slide-out-widget-area-toggle a,
body.nc-skin:has(.sp-hero):not(.nc-header-solid) #header-outer #top #logo,
body.nc-skin:has(.sp-hero):not(.nc-header-solid) #header-outer #top #logo a {
  color: rgba(255, 255, 255, 0.95) !important;
}

/* Salient adds .light / .dark on #header-outer — keep those transparent over hero too. */
body.nc-home-top.nc-skin:not(.nc-header-solid) #header-outer.light,
body.nc-home-top.nc-skin:not(.nc-header-solid) #header-outer.dark,
body.nc-skin:has(.sp-hero):not(.nc-header-solid) #header-outer.light,
body.nc-skin:has(.sp-hero):not(.nc-header-solid) #header-outer.dark {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}















