/*
 * Skulltag — Kadence wrapper suppression for Phase 2 CPTs (ex-snippet 20).
 *
 * Hides Kadence's `.entry-header` (duplicate H1) and strips its boxed
 * content background on our 7 CPTs + homepage so sp-article / ahero own
 * the visual.
 *
 * These rules are scoped via the body.single-<cpt> class so they only
 * apply where needed even though the file loads globally — kept simple
 * to avoid per-page wp_head emission overhead.
 */

/* Suppress Kadence duplicate title + box chrome on Skulltag CPTs */
.single-source_port .entry-header,
.single-mod_wad .entry-header,
.single-guide .entry-header,
.single-comparison .entry-header,
.single-glossary_term .entry-header,
.single-reference .entry-header,
.single-hub .entry-header,
body.home .entry-header { display: none; }

/* Strip Kadence box background + padding so sp-article / ahero own the layout */
.single-source_port .content-bg,
.single-mod_wad .content-bg,
.single-guide .content-bg,
.single-comparison .content-bg,
.single-glossary_term .content-bg,
.single-reference .content-bg,
.single-hub .content-bg {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
}

/* Kill Kadence's article wrapper padding */
.single-source_port .entry-content-wrap,
.single-mod_wad .entry-content-wrap,
.single-guide .entry-content-wrap,
.single-comparison .entry-content-wrap,
.single-glossary_term .entry-content-wrap,
.single-reference .entry-content-wrap,
.single-hub .entry-content-wrap { padding: 0 !important; }

/* Content area should not constrain width — our wrapper handles maxw */
.single-source_port .content-container.site-container,
.single-mod_wad .content-container.site-container,
.single-guide .content-container.site-container,
.single-comparison .content-container.site-container,
.single-glossary_term .content-container.site-container,
.single-reference .content-container.site-container,
.single-hub .content-container.site-container { max-width: none !important; padding: 0 !important; }

/* And kill any Kadence-injected post-meta / featured image above our hero */
.single-source_port .entry-hero,
.single-mod_wad .entry-hero,
.single-guide .entry-hero,
.single-comparison .entry-hero,
.single-glossary_term .entry-hero,
.single-reference .entry-hero,
.single-hub .entry-hero { display: none !important; }

/* Body background should be our --bg, not Kadence's */
body.single-source_port,
body.single-mod_wad,
body.single-guide,
body.single-comparison,
body.single-glossary_term,
body.single-reference,
body.single-hub {
	background: var(--bg) !important;
	color: var(--ink);
}
