/* v0.6.5: true full-viewport single heroes even when the theme has a flex sidebar. */
body.ncc-page-with-hero{overflow-x:clip;background:var(--ncc-background,#101010)}
body.ncc-page-with-hero #content{padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:0!important;max-width:none!important;width:100%!important}
body.ncc-page-with-hero #content>.ast-container,
body.ncc-page-with-hero #content .ast-container:has(> #primary.ncc-publication-main){width:100%!important;max-width:none!important;padding:0!important;margin:0!important;display:block!important}
body.ncc-page-with-hero #content #secondary{display:none!important}
body.ncc-page-with-hero #primary.ncc-publication-main,
body.ncc-page-with-hero #content #primary.ncc-publication-main{
  position:relative!important;display:block!important;float:none!important;clear:both!important;
  flex:0 0 100vw!important;flex-shrink:0!important;min-width:100vw!important;
  width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;
  margin-right:0!important;padding:0!important;border:0!important;box-shadow:none!important;
}
body.ncc-page-with-hero .ncc-publication-main>.ncc-publication{width:100%!important;max-width:none!important;min-width:0}
/* Above rule is supplemented for Astra's full-width .ast-container. */
body.ncc-page-with-hero #content>.ast-container>#primary.ncc-publication-main{margin-left:0!important}
/* Overlay the existing header, not a plugin-generated duplicate. Scoped to pages that have an NCC hero. */
body.ncc-header-overlay #masthead,
body.ncc-header-overlay header#site-header,
body.ncc-header-overlay .site-header,
body.ncc-header-overlay .elementor-location-header{
 position:fixed!important;top:var(--wp-admin--admin-bar--height,0px)!important;left:0!important;right:0!important;
 z-index:9999!important;background:transparent!important;box-shadow:none!important;
 transition:background-color .25s ease,box-shadow .25s ease;
}
body.ncc-header-overlay #masthead .ast-primary-header-bar,
body.ncc-header-overlay #masthead .ast-main-header-wrap,
body.ncc-header-overlay #masthead .ast-builder-grid-row-container,
body.ncc-header-overlay #masthead .ast-above-header-bar,
body.ncc-header-overlay #masthead .ast-below-header-bar{
 background:transparent!important;box-shadow:none!important;border-color:transparent!important;
}
body.ncc-header-overlay #masthead .main-header-menu .menu-link,
body.ncc-header-overlay #masthead .site-title a{color:#f6f4f0!important}
body.ncc-header-overlay #masthead .ast-header-html a{color:#f6f4f0!important}
body.ncc-header-overlay #masthead .ast-mobile-svg,body.ncc-header-overlay #masthead .menu-toggle{color:#f6f4f0!important}
body.ncc-header-overlay.ncc-header-scrolled #masthead,
body.ncc-header-overlay.ncc-header-scrolled header#site-header,
body.ncc-header-overlay.ncc-header-scrolled .site-header,
body.ncc-header-overlay.ncc-header-scrolled .elementor-location-header{
 background:rgba(14,14,14,.96)!important;box-shadow:0 4px 22px rgba(0,0,0,.33)!important;backdrop-filter:blur(12px)
}
body.ncc-header-overlay.ncc-header-scrolled #masthead .ast-primary-header-bar,
body.ncc-header-overlay.ncc-header-scrolled #masthead .ast-main-header-wrap,
body.ncc-header-overlay.ncc-header-scrolled #masthead .ast-builder-grid-row-container{
 background:rgba(14,14,14,.92)!important;
}
/* Non-publication content keeps the same editorial header without changing its archive cards. */
.ncc-entry .ncc-entry-hero{min-height:clamp(490px,65svh,900px)}
.ncc-entry .ncc-entry-art{position:absolute;inset:0;pointer-events:none;z-index:-1;opacity:.6;background:radial-gradient(ellipse at 81% 37%,rgba(153,88,69,.32),transparent 42%),repeating-radial-gradient(ellipse at 74% 47%,transparent 0 33px,rgba(203,166,120,.12) 34px,transparent 35px)}
.ncc-entry.ncc-pub-has-image .ncc-entry-art{opacity:.14}
.ncc-entry .ncc-pub-hero-heading{max-width:1060px}
.ncc-entry .ncc-pub-hero-subtitle{max-width:800px}
.ncc-entry-body{max-width:1120px;width:calc(100% - 10vw);padding:clamp(55px,7vw,105px) 0 clamp(70px,9vw,140px);margin:0 auto}
.ncc-entry-content{max-width:900px;font:400 clamp(15px,1.2vw,18px)/1.8 system-ui,-apple-system,sans-serif;color:var(--ncc-muted,#c0b8b0)}
.ncc-entry-content h2,.ncc-entry-content h3,.ncc-entry-content h4{color:var(--ncc-text,#f6f4f0);font-family:Georgia,serif}
.ncc-entry-content a{color:var(--ncc-accent,#d4ad81)}
.ncc-entry-content .ncc-details,.ncc-entry-content .ncc-media,.ncc-entry-content .ncc-linked{margin-top:35px}
.ncc-entry-content .ncc-details dl>div{border-color:var(--ncc-border,#444)}
.ncc-entry-content .ncc-pub-back{margin-top:48px}
@media(max-width:640px){
  .ncc-entry-body{width:calc(100% - 38px);padding:45px 0 85px}
  .ncc-entry .ncc-entry-hero{min-height:max(500px,70svh)}
  body.ncc-header-overlay #masthead,body.ncc-header-overlay header#site-header,body.ncc-header-overlay .site-header,body.ncc-header-overlay .elementor-location-header{top:var(--wp-admin--admin-bar--height,0px)!important}
}

/* v0.6.6: focal positions from Core (single pages and section hubs). */
.ncc-publication .ncc-pub-hero-image,.ncc-explore .ncc-explore-hero-image{object-position:var(--ncc-focus-desktop,50% 50%)}
@media(max-width:767px){.ncc-publication .ncc-pub-hero-image,.ncc-explore .ncc-explore-hero-image{object-position:var(--ncc-focus-mobile,50% 50%)}}

/* v0.7.3: compact cinematic course hero; only the preview is clipped, not the full press text. */
.ncc-entry.ncc-entry-course h1{font-size:clamp(38px,4.8vw,78px)!important;line-height:1.03;letter-spacing:-.047em;max-width:1080px}
.ncc-entry.ncc-entry-course .ncc-pub-hero-inner{padding-top:clamp(132px,14vh,188px)}
.ncc-entry.ncc-entry-course .ncc-pub-hero-subtitle{font-size:clamp(13px,1vw,16px);line-height:1.56;max-width:690px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;max-height:3.12em}
@media(max-width:767px){
  .ncc-entry.ncc-entry-course h1{font-size:clamp(34px,7.8vw,53px)!important;line-height:1.06}
  .ncc-entry.ncc-entry-course .ncc-pub-hero-inner{padding-top:135px}
}
