/*
 * GARCÍA CANDO · R5.07
 * Corrección exclusivamente para Node y RADIX.
 * - Node: el contenido vuelve a vivir sobre la cortinilla/fotografía, sin bloque negro vacío intermedio.
 * - RADIX: elimina el fondo claro expuesto alrededor de la barra superior; el fondo oscuro llega hasta arriba.
 */

/* =========================================================
   NODE · contenido sobre la cortinilla
   ========================================================= */
body .node-shell{
  position:relative!important;
  display:block!important;
  min-height:100vh!important;
  overflow:hidden!important;
  background:#070809!important;
}
body .node-visual{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  width:100%!important;
  height:100%!important;
  min-height:100%!important;
  pointer-events:none!important;
}
body .node-visual-sticky{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-height:100%!important;
  overflow:hidden!important;
}
body .node-photo{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  background-size:cover!important;
}
body .node-content{
  position:relative!important;
  z-index:3!important;
  width:min(760px,52vw)!important;
  max-width:760px!important;
  min-height:100vh!important;
  margin:0!important;
  padding:clamp(52px,6vw,88px) clamp(28px,5vw,84px) 82px!important;
  background:transparent!important;
}
body .node-content::before{
  z-index:4!important;
  top:clamp(92px,9vw,132px)!important;
}
body .node-content .profile{
  position:relative!important;
  z-index:4!important;
  padding-top:72px!important;
  margin:0!important;
}
body .node-content .node-glass-panel,
body .node-content .node-foot{
  position:relative!important;
  z-index:4!important;
}
body .node-visual-sticky::before{
  /* Conserva la cortinilla editable, pero garantiza lectura del contenido superpuesto. */
  background:
    linear-gradient(90deg,rgba(7,8,9,.93) 0%,rgba(7,8,9,.80) 30%,rgba(7,8,9,.43) 56%,rgba(7,8,9,.08) 78%,rgba(7,8,9,0) 100%),
    linear-gradient(180deg,rgba(0,0,0,.10),rgba(0,0,0,.03) 55%,rgba(0,0,0,.42))!important;
}

@media(max-width:900px){
  body .node-shell{
    min-height:100vh!important;
  }
  body .node-content{
    width:100%!important;
    max-width:none!important;
    min-height:100vh!important;
    margin:0!important;
    padding:48px 22px 70px!important;
    background:transparent!important;
  }
  body .node-content .profile{
    /* Mantiene el respiro vertical solicitado previamente bajo la barra compartida. */
    padding-top:116px!important;
  }
  body .node-content::before{
    left:22px!important;
    top:126px!important;
  }
  body .node-visual{
    position:absolute!important;
    inset:0!important;
    height:100%!important;
    min-height:100%!important;
    order:initial!important;
  }
  body .node-visual-sticky{
    position:absolute!important;
    height:100%!important;
  }
  body .node-visual-sticky::before{
    background:
      linear-gradient(180deg,rgba(7,8,9,.18) 0%,rgba(7,8,9,.34) 28%,rgba(7,8,9,.67) 62%,rgba(7,8,9,.94) 100%)!important;
  }
  body .node-content .node-glass-panel{
    max-width:660px!important;
  }
}

@media(max-width:520px){
  body .node-content{
    padding:42px 18px 62px!important;
  }
  body .node-content .profile{
    padding-top:128px!important;
  }
  body .node-content::before{
    left:18px!important;
    top:136px!important;
  }
}

/* =========================================================
   RADIX · fondo oscuro continuo hasta el borde superior
   ========================================================= */
html.gc507-radix-dark,
html.gc507-radix-dark body,
body[data-gc-page="radix"]{
  background:#08080e!important;
}
html.gc507-radix-dark body[data-gc-page="radix"] > .gc503-global-header{
  /* El espacio exterior de la barra revela el mismo fondo oscuro, nunca el paper claro. */
  margin-bottom:0!important;
}
body[data-gc-page="radix"] > main{
  margin-top:0!important;
  background:#08080e!important;
}
body[data-gc-page="radix"] .rx-hero{
  margin-top:0!important;
  background-color:#08080e!important;
}
body[data-gc-page="radix"] #gc885316ToneCurtain.gc885316-to-white{
  /* Evita el destello blanco del antiguo cambio tonal de RADIX. */
  background:#08080e!important;
}
