/* v4.9.0: compact vertical rhythm and transparent, non-sticky navigation */
:root{--bd49-nav-bg:transparent;--bd49-compact-gap:clamp(18px,2.5vw,32px)}
/* Transparent navigation wrappers across the plugin and common WordPress themes */
.bdhp .bdhp-header,.bdhp .bdhp-nav,.bdhp .bdhp-navigation,.bdhp .bdhp-site-header,
.brahamastra-header,.brahamastra-nav,.bdhp-header,.bdhp-site-nav,
.site-header,.site-header-inner,.main-header-bar,.ast-primary-header-bar,
.wp-site-blocks>header,.wp-block-template-part:has(nav),header.wp-block-template-part,
.elementor-location-header,.elementor-location-header .elementor-section,
.elementor-location-header .elementor-container,.elementor-location-header .elementor-widget-wrap,
#masthead,#site-header,#header,.header-wrapper,.header-main,.header-inner,
.primary-header,.primary-navigation,.main-navigation,.navbar,.site-navigation{
 background:transparent!important;background-color:transparent!important;box-shadow:none!important;
}
/* Avoid sticky/fixed headers and overlapping duplicate bars */
.bdhp .bdhp-header,.bdhp .bdhp-nav,.bdhp .bdhp-site-header,
.site-header,.main-header-bar,.ast-primary-header-bar,#masthead,#site-header,
.elementor-location-header,.header-wrapper,.header-main,.primary-header,.navbar{
 position:relative!important;inset:auto!important;top:auto!important;transform:none!important;
}
html{scroll-padding-top:12px}
/* Reduce oversized gaps while preserving comfortable readable sections */
.bdhp .bdhp-section{padding-top:clamp(34px,4vw,58px)!important;padding-bottom:clamp(34px,4vw,58px)!important}
.bdhp .bdhp-section-label{margin-bottom:clamp(12px,1.6vw,20px)!important}
.bdhp .bdhp-about-layout,.bdhp .bdhp-cap-grid,.bdhp .bdhp-leadership-grid,.bdhp .bdhp-product-cards-v46{row-gap:var(--bd49-compact-gap)!important}
.bdhp .bdhp-products-intro-v46{margin-bottom:clamp(20px,2.8vw,34px)!important}
.bdhp .bdhp-about-copy p,.bdhp .bdhp-cap-card p,.bdhp .bdhp-leadership-grid p{margin-block:0 12px}
.bdhp .bdhp-proof>div{padding-block:14px!important}
.bdhp .bdhp-contact-card,.bdhp .bdhp-defence-band{margin-block:clamp(18px,2.5vw,30px)!important}
/* Compact product catalogue and product-detail spacing */
.bd-products .bd-products-hero,.bd-products .bdp-hero{padding-top:clamp(28px,3.5vw,48px)!important;padding-bottom:clamp(28px,3.5vw,48px)!important}
.bd-products .bdp-grid,.bd-products .bd-products-grid,.bd-products .bdp-products-grid{gap:14px!important}
.bd-product-single .bdp-product-hero,.bd-product-page .bdp-product-hero{padding-top:clamp(26px,3.5vw,48px)!important;padding-bottom:clamp(26px,3.5vw,48px)!important}
.bd-product-single .bdp-portfolio-cta,.bd-product-page .bdp-portfolio-cta{margin-block:20px!important}
/* Transparent branded nav should remain readable on light hero backgrounds */
.bdhp .bdhp-header a,.bdhp .bdhp-nav a,.bdhp .bdhp-navigation a,.bdhp .bdhp-site-header a,
.site-header a,.main-navigation a,.primary-navigation a,.navbar a{ text-shadow:none!important }
@media(max-width:700px){
 .bdhp .bdhp-section{padding:30px 18px!important}
 .bdhp .bdhp-section-label{margin-bottom:12px!important}
 .bdhp .bdhp-products-intro-v46{gap:12px!important}
 .bd-products .bd-products-hero,.bd-products .bdp-hero{padding:26px 18px!important}
 .bd-product-single .bdp-product-hero,.bd-product-page .bdp-product-hero{padding:24px 18px!important}
}
