/** SaltaConectada 1.0.32 · contrato público 1024 + armonía Header/micrositios. */
:root{--sc-public-max:1024px}

/* Techo real de 1024 para shells públicos. Fondos, overlays, drawers y fixed quedan libres. */
body:not(.wp-admin) :is(
  .jc-container,.jcb-container,.jc-msbase-shell,.jc-pt-v288-shell,.jc-cjc-shell,.jc-cjc-header__row,
  .jc-cls270-shell,.jc-cls270-header__row,.jc-microsites-v2-shell,.jc-bares-content,.jc-bares-first-row,
  .jc-commerce-shell,.jc-commerce-directory__shell,.jc-commerce-header-v281__row,.jc-context-strip-v439__inner,.jc-jobs-shell,
  .jc-ccj5-shell,.jc-ccj5-header__row,.jc-tramites-shell,.jc-regions-shell,.jc-region2-shell,
  .sc-cuponeta-v121__shell,.sc-cuponeta-v121__hero,.sc-cuponeta-v121__results,
  .jc-tourism-shell,.jc-news-v3__shell,.jc-noticias-shell-v2,.jc-profesionales-shell-v2,
  .jc-zone-site>.jc-container,.jc-dashboard-page>.jc-container,.jc-page-main>.jc-container
){width:min(calc(100% - 24px),var(--sc-public-max))!important;max-width:var(--sc-public-max)!important;margin-left:auto!important;margin-right:auto!important}

/* Componentes públicos que todavía arrastraban 1180/1120. */
body:not(.wp-admin) :is(.jc-msbase-header__row,.jc-cls270-header__row,.jc-cjc-header__row,.jc-ccj5-header__row){max-width:var(--sc-public-max)!important}
body:not(.wp-admin) :is(.jc-msbase,.jc-cjc,.jc-cls270,.jc-ccj5,.sc-cuponeta-v121,.jc-tramites-main,.jc-regions-index,.jc-region2-main){min-width:0!important}
body.sc-microsites main [class*="shell"]{max-width:var(--sc-public-max)!important;margin-left:auto!important;margin-right:auto!important}

/* Marca SC canónica dentro de identidades locales de micrositios. */
body:not(.wp-admin) :is(.jc-microsite-banner-v2__logo,.jc-microsites-v2-identity__logo,.jc-msbase-header__logo img,.jc-news-v3__logo){
  display:block!important;width:auto!important;height:auto!important;max-width:min(100%,360px)!important;max-height:84px!important;object-fit:contain!important;object-position:center!important;transform:none!important
}

/* Header: la geometría productiva se gobierna únicamente desde header-app-canvas-v129.css. */

@media(max-width:760px){
  body:not(.wp-admin) :is(
    .jc-container,.jcb-container,.jc-msbase-shell,.jc-pt-v288-shell,.jc-cjc-shell,.jc-cjc-header__row,
    .jc-cls270-shell,.jc-cls270-header__row,.jc-microsites-v2-shell,.jc-bares-content,.jc-bares-first-row,
    .jc-commerce-shell,.jc-jobs-shell,.jc-ccj5-shell,.jc-ccj5-header__row,.jc-tramites-shell,.jc-regions-shell,
    .sc-cuponeta-v121__shell,.jc-news-v3__shell,.jc-noticias-shell-v2,.jc-profesionales-shell-v2
  ){width:min(calc(100% - 12px),var(--sc-public-max))!important}
  body:not(.wp-admin) :is(.jc-microsite-banner-v2__logo,.jc-microsites-v2-identity__logo,.jc-news-v3__logo){max-height:68px!important}
}
