/*! NBC v7348 · P3 Decision Guides · density, closure, mobile reading order */
body.page-template-guide[data-p3-guide-release="v7348"] .dg3-closure{
  padding:clamp(52px,5.2vw,76px) 0!important;
  border-top:1px solid rgba(255,255,255,.09)!important;
  background:linear-gradient(180deg,rgba(139,207,154,.025),rgba(255,255,255,0) 72%)!important;
}
body.page-template-guide[data-p3-guide-release="v7348"] .dg3-closure-grid{
  display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.72fr);gap:clamp(46px,7vw,92px);align-items:end;
}
body.page-template-guide[data-p3-guide-release="v7348"] .dg3-closure-copy h2{
  max-width:820px;margin:9px 0 16px;font:700 clamp(2rem,3.4vw,3.15rem)/1.03 Archivo,sans-serif;letter-spacing:-.045em;color:#fff;
}
body.page-template-guide[data-p3-guide-release="v7348"] .dg3-closure-copy>p{
  max-width:720px;margin:0;color:#aeb7b2;font-size:1rem;line-height:1.62;
}
body.page-template-guide[data-p3-guide-release="v7348"] .dg3-closure-actions{
  display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding-left:clamp(0px,2vw,28px);border-left:1px solid rgba(255,255,255,.09);
}
body.page-template-guide[data-p3-guide-release="v7348"] .dg3-closure-note{
  margin:0 0 2px;color:#89948e;font:500 .72rem/1.4 "IBM Plex Mono",monospace;letter-spacing:.065em;text-transform:uppercase;
}
body.page-template-guide[data-p3-guide-release="v7348"] .dg3-closure-actions .dg3-btn{margin:0;}
body.page-template-guide[data-p3-guide-release="v7348"] .dg3-closure-actions .dg3-link{margin:0;}

/* Keep the actual proof before the gate at every breakpoint. */
body.page-template-guide[data-p3-guide-release="v7348"] .f1-guide-folio{display:block!important;}
body.page-template-guide[data-p3-guide-release="v7348"] #nutzen{order:initial!important;}
body.page-template-guide[data-p3-guide-release="v7348"] #vorschau{order:initial!important;}
body.page-template-guide[data-p3-guide-release="v7348"] #guide-access{order:initial!important;}

@media (max-width:760px){
  /* Hero already contains a useful decision model; do not repeat the same PDF page twice on mobile. */
  body.page-template-guide[data-p3-guide-release="v7348"] .dg3-hero .hg-document-page{display:none!important;}
  body.page-template-guide[data-p3-guide-release="v7348"] .dg3-hero .hg-document-caption{margin-top:14px!important;}
  body.page-template-guide[data-p3-guide-release="v7348"] .dg3-hero{min-height:0!important;padding-bottom:46px!important;}
  body.page-template-guide[data-p3-guide-release="v7348"] .f1-guide-folio[data-folio]{padding:52px 0!important;}
  body.page-template-guide[data-p3-guide-release="v7348"] .f1-guide-folio .dg3-section-head{gap:14px!important;margin-bottom:25px!important;}
  body.page-template-guide[data-p3-guide-release="v7348"] .f1-guide-folio .dg3-outcome{padding:17px 0!important;}
  body.page-template-guide[data-p3-guide-release="v7348"] .f1-guide-folio .dg3-outcome>p{margin-top:5px!important;}
  body.page-template-guide[data-p3-guide-release="v7348"] .f1-guide-folio .dg3-access-box{gap:26px!important;}
  body.page-template-guide[data-p3-guide-release="v7348"] .dg3-closure{padding:48px 0 52px!important;}
  body.page-template-guide[data-p3-guide-release="v7348"] .dg3-closure-grid{grid-template-columns:1fr;gap:30px;}
  body.page-template-guide[data-p3-guide-release="v7348"] .dg3-closure-copy h2{font-size:clamp(1.9rem,9.2vw,2.6rem);max-width:14ch;}
  body.page-template-guide[data-p3-guide-release="v7348"] .dg3-closure-actions{gap:13px;padding:26px 0 0;border-left:0;border-top:1px solid rgba(255,255,255,.09);}
}

/* Access belongs to the same working paper as benefit + preview. Older guide layers
   painted this section dark while retaining folio ink, producing low contrast. */
body.page-template-guide[data-p3-guide-release="v7348"] [data-p74-guide-paper="access"]{
  background:var(--nbc-folio-paper,#f1eee5)!important;
  color:var(--nbc-folio-ink,#0b1710)!important;
}
body.page-template-guide[data-p3-guide-release="v7348"] [data-p74-guide-paper="access"] :is(h2,h3,strong,label){
  color:var(--nbc-folio-ink,#0b1710)!important;
  -webkit-text-fill-color:currentColor!important;
}
body.page-template-guide[data-p3-guide-release="v7348"] [data-p74-guide-paper="access"] :is(p,small){
  color:var(--nbc-folio-muted,#46534b)!important;
  -webkit-text-fill-color:currentColor!important;
}
body.page-template-guide[data-p3-guide-release="v7348"] [data-p74-guide-paper="access"] :is(.dg3-label,.dg4-gate-row button,.dg3-return,a){
  color:var(--nbc-folio-moss,#315f3e)!important;
}

/* Same ownership layer as Ambilight's legacy guide plate: later declaration wins
   without escalating selector specificity or adding inline styles. */
@layer nbc.legacy.nbc-ambilight-premium {
  body.page-template-guide[data-p3-guide-release="v7348"][data-ambilight-visual="v7048"] [data-p74-guide-paper="access"]{
    background-color:var(--nbc-folio-paper,#f1eee5)!important;
    background-image:none!important;
  }
}
