/* Nivando: one shared vertical-spacing contract. The approved homepages remain unchanged.
   Normal content 96/80/64; compact FAQ, CTA and related sections 72/64/48.
   Existing Core hero uses the same inner layout padding across non-home pages. */
:root{--nv-space-section:96px;--nv-space-compact:72px;--nv-space-grid:24px;--nv-space-content:32px;--nv-space-hero-top:53px;--nv-space-hero-bottom:96px;--nv-space-heading:16px;--nv-space-paragraph:16px}
@media(max-width:920px){:root{--nv-space-section:80px;--nv-space-compact:64px;--nv-space-hero-top:58px;--nv-space-hero-bottom:75px}}
@media(max-width:650px){:root{--nv-space-section:64px;--nv-space-compact:48px;--nv-space-grid:18px;--nv-space-content:24px;--nv-space-hero-top:48px;--nv-space-hero-bottom:64px}}
html body main:is(#main,main)>section:not(.core-hero,.d-hero,.hero,.legal-hero,.notfound-hero,.mag-hero,.mag-article-head,.core-faq-section,.core-cta-section,.core-anchor-bar,.d-anchor-bar,.anchor-bar,.nv-case-related-nav,.nv-field-fleet,.nv-insights-preview,.nv-footer-insights,.mag-list,.mag-sources){padding-block:var(--nv-space-section)!important;margin-block:0!important}
html body main:is(#main,main)>section:not(.core-hero,.d-hero,.hero,.legal-hero,.notfound-hero,.mag-hero,.mag-article-head,.core-faq-section,.core-cta-section,.core-anchor-bar,.d-anchor-bar,.anchor-bar,.nv-case-related-nav,.nv-field-fleet,.nv-insights-preview,.nv-footer-insights,.mag-list,.mag-sources)>.wrap{padding-block:0!important;margin-block:0!important}
html body main:is(#main,main)>:is(.core-faq-section,.core-cta-section,.nv-case-related-nav){padding-block:var(--nv-space-compact)!important;margin-block:0!important}
html body main:is(#main,main)>:is(.core-faq-section,.core-cta-section,.nv-case-related-nav)>.wrap{padding-block:0!important;margin-block:0!important}
html body main:is(#main,main)>.core-faq-section .core-faq-layout{align-items:start!important;align-content:start!important;min-height:0!important;height:auto!important}
html body main:is(#main,main)>.core-faq-section :is(.core-faq-intro,.core-faq-list){align-self:start!important;margin-block:0!important;padding-block:0!important;min-height:0!important;height:auto!important}
html body main:is(#main,main)>.core-faq-section .core-faq-list>.core-faq-item{margin-block:0!important}
html body main:is(#main,main)>.core-faq-section .core-faq-intro>.core-kicker{margin-block:0!important}
html body main:is(#main,main)>.core-faq-section .core-faq-intro h2{margin-block:var(--nv-space-heading) 0!important}
html body main:is(#main,main)>.core-faq-section .core-faq-intro>.read{margin-block:var(--nv-space-grid) 0!important}
html body main:is(#main,main)>.core-cta-section .core-cta-panel{margin-block:0!important}
html body main:is(#main,main)>.core-hero .core-hero-layout{padding-block:var(--nv-space-hero-top) var(--nv-space-hero-bottom)!important;margin-block:0!important}
html body main:is(#main,main)>:is(.legal-hero,.notfound-hero,.mag-hero):not(.core-hero){padding-block:var(--nv-space-compact)!important;margin-block:0!important}
html body main:is(#main,main)>.mag-content{padding-block:var(--nv-space-section)!important;margin-block:0!important}
html body main:is(#main,main)>.mag-after-newsletter{padding-block:var(--nv-space-section)!important}
html body main:is(#main,main)>.nv-insights-preview{padding-block:var(--nv-space-section)!important;margin-block:0!important}
html body main:is(#main,main) :is(.section-header,.core-section-intro,.mag-sectionhead,.d-section-intro){margin-block-end:var(--nv-space-content)!important}
html body main:is(#main,main) :is(.nv-sector-editorial-grid,.mag-grid){gap:var(--nv-space-grid)!important}
html body main:is(#main,main) :is(.mag-prose section,.article-block)>p+p{margin-block-start:var(--nv-space-paragraph)!important}

/* Reference project section participates in the same content spacing contract. */
html body main:is(#main,main).nv-cases[data-nv-reference-structure]>section.section:is(#projekt,.projekt){padding-block:var(--nv-space-section)!important;margin-block:0!important}
/* Responsive grid: prevent intrinsic media/text sizes from stretching the page. */
@media(max-width:920px){
html body main.nv-info .nv-why-media figure{grid-template-columns:minmax(0,1fr)!important;min-width:0;max-width:100%}
html body main.nv-info :is(.nv-why-media figure>*,.nv-emea-inner>*,.nv-info-div-grid>*,.nv-info-value-grid>*,.core-hero-layout>*){min-width:0;max-width:100%;overflow-wrap:anywhere}
html body main.nv-info .nv-why-media img{width:100%;height:auto;max-width:100%;max-height:385px;object-fit:cover}
html body main.nv-info .nv-emea-inner{grid-template-columns:minmax(0,1fr)!important}
html body main.nv-info .nv-info-div-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:650px){html body main.nv-info .nv-info-div-grid{grid-template-columns:minmax(0,1fr)!important}}
