/* D&B Phase 3C.4 - shared layout rhythm + private header refinement */
:root{
  --dnb-page-max:1240px;
  --dnb-section-xl:80px;
  --dnb-section-lg:64px;
  --dnb-section-md:48px;
  --dnb-gap-lg:32px;
  --dnb-gap-md:24px;
  --dnb-gap-sm:16px;
}

/* Private Account/Admin header: remove redundant Download CTA and give Account identity room. */
.site-header-private .nav-actions{margin-left:auto;min-width:200px;justify-content:flex-end}
.site-header-private .nav-account-chip{min-width:190px;padding-right:14px}
.site-header-private .nav-account-copy{min-width:118px}
.site-header-private .nav-account-copy strong{max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Public sub-pages use the same vertical rhythm. */
.page-hero{padding-top:74px!important;padding-bottom:56px!important}
.page-hero .container{max-width:var(--dnb-page-max)}
.page-hero h1{margin-bottom:16px!important}
.page-hero p{margin-bottom:0}

.product-page-hero + .product-detail-section{padding-top:64px!important}
.product-detail-section{padding-top:68px!important;padding-bottom:68px!important}
.product-detail{grid-template-columns:minmax(0,1.55fr) minmax(290px,.65fr)!important;gap:38px!important}
.product-detail .detail-card{width:100%;max-width:360px;justify-self:end}
.product-detail.reverse .detail-card{justify-self:end}
.common-account-section{padding-top:68px!important;padding-bottom:72px!important}

.download-hero{padding-bottom:54px!important}
.download-main{padding-top:56px!important;padding-bottom:68px!important}
.download-release-card{padding:30px!important;gap:24px!important}
.install-steps{margin-top:48px!important}
.install-grid{gap:16px!important}
.install-grid article{padding-top:20px!important;padding-bottom:20px!important}

/* Other public tabs: reduce the empty band between hero and first real section. */
.pricing-page-hero + .section,
.education-hero + .section,
.enterprise-hero + .section{padding-top:60px!important}
.business-pricing-section,
.enterprise-note{padding-top:68px!important;padding-bottom:68px!important}

@media(max-width:1100px){
  .site-header-private .nav-account-chip{min-width:0}
  .product-detail{grid-template-columns:minmax(0,1.35fr) minmax(270px,.75fr)!important;gap:28px!important}
}
@media(max-width:820px){
  .page-hero{padding-top:58px!important;padding-bottom:44px!important}
  .product-detail{grid-template-columns:1fr!important}
  .product-detail .detail-card,.product-detail.reverse .detail-card{max-width:none;justify-self:stretch}
  .product-detail-section,.common-account-section{padding-top:52px!important;padding-bottom:52px!important}
  .download-main{padding-top:44px!important;padding-bottom:54px!important}
}
