/* v47: Coordinate-space audit. The body remains viewport-wide; scale the coherent composition,
   not the page root. Small screens retain v43 byte-for-byte visual layout. */
/* Nereus — composición proporcional sin escalar <body> ni el documento.
   Referencia gráfica aprobada: 1440 × 900. */
:root { --nereus-layout-scale: 1; }
@media (min-width:1482px) {
  html { width:100%; min-width:0; background:#c7c2bc; }
  body { width:100% !important; max-width:none !important; margin:0 !important; zoom:1 !important; }
  .site-header .nav {
    width:1180px !important; max-width:none !important;
    margin-inline:auto !important; zoom:var(--nereus-layout-scale) !important;
  }
  /* HERO: photos, text, emblem and floating cards have the same reference coordinate system. */
  body.ns-home .ns-story {
    height:calc(1800px * var(--nereus-layout-scale)) !important;
  }
  body.ns-home .ns-stage {
    width:1440px !important; max-width:none !important;
    min-height:796px !important; height:796px !important;
    top:104px !important;
    margin-inline:auto !important;
    zoom:var(--nereus-layout-scale) !important;
  }
  body.equipo-preview .eq-hero-stage {
    width:1440px !important; max-width:none !important;
    min-height:796px !important; height:796px !important;
    margin-inline:auto !important;
    zoom:var(--nereus-layout-scale) !important;
  }
  body.equipo-preview .eq-photo { width:475.2px !important; }
  body.equipo-preview .eq-hero-content { left:461px !important; right:461px !important; }
  /* Every regular section remains full-bleed; scale only its content */
  body.ns-home main > section > .shell,
  body.equipo-preview main > section > .shell {
    box-sizing:border-box;
    width:1354px !important; max-width:none !important;
    margin-left:auto !important; margin-right:auto !important;
    zoom:var(--nereus-layout-scale) !important;
  }
  body.ns-home main > .ns-story > .ns-stage > .shell {
    width:calc(100% - 260px) !important;
    zoom:1 !important;
  }
  body.specialty-v36 main,body.nc-v41 main {
    box-sizing:border-box;
    width:1440px !important;max-width:none !important;
    margin-inline:auto !important;
    zoom:var(--nereus-layout-scale) !important;
  }
  body footer > .shell {
    box-sizing:border-box; width:1180px !important;max-width:none !important;
    margin-inline:auto !important;zoom:var(--nereus-layout-scale) !important;
  }
}
@media (min-width:1482px) {
  /* Interior SEO/service/legal templates also use the same proportional canvas. */
  body:not(.ns-home):not(.equipo-preview):not(.specialty-v36):not(.nc-v41) main {
    box-sizing:border-box;
    width:1440px !important;
    max-width:none !important;
    margin-inline:auto !important;
    zoom:var(--nereus-layout-scale) !important;
  }
}

/* v47.3 · Equipo: nombres completos siempre en una línea.
   Recentramos suavemente la composición 20–30px hacia la derecha respecto a v47.2,
   manteniendo márgenes con las fotografías.
   No alteramos el diseño móvil. */
@media (min-width:1051px) {
  body.equipo-preview .eq-hero-content {
    left:calc(50% - clamp(16px, 3vw, 55px)) !important;
    right:auto !important;
    width:560px !important;
    max-width:calc(100% - 28px) !important;
    transform:translate(-50%,calc(-50% + 2px)) !important;
  }
  body.equipo-preview .eq-identities {
    width:100% !important;
    grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr) !important;
    column-gap:12px !important;
    align-items:center !important;
  }
  body.equipo-preview .eq-team-emblem { width:42px !important; height:49px !important; }
  body.equipo-preview .eq-identity h2 {
    white-space:nowrap !important;
    text-wrap:nowrap !important;
    font-size:clamp(17px,1.35vw,24px) !important;
    line-height:1.2 !important;
    margin-bottom:9px !important;
  }
  body.equipo-preview .eq-identity p {
    white-space:nowrap !important;
    font-size:clamp(9px,.72vw,11px) !important;
    line-height:1.3 !important;
  }
}
