/**
 * JujuyConectado Pro 2026 · 9.5.55.505
 * WINDOWS FULL FRAME 768 MASTER V1
 * Patrón validado: Automotores V503.
 */
@media (min-width:901px){
  body.jc-full-frame-768-v505:not(.cjrd-mini-app):not(.jc-ccj-floating-frame){
    --jc-container:768px!important;
    --jc-public-max:768px!important;
    --jc-portal-max:768px!important;
  }

  /* Canvas único: Header → contenido → Footer = 768. */
  body.jc-full-frame-768-v505 #jc-content-shell{
    box-sizing:border-box!important;
    width:min(768px,100%)!important;
    max-width:768px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;
    padding-bottom:106px!important;
    overflow-x:clip!important;
  }
  body.jc-full-frame-768-v505 #jc-content-shell > main,
  body.jc-full-frame-768-v505 #jc-content-shell > section{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  /* Header Global: geometría Tablet V503, sin User-Agent. */
  body.jc-full-frame-768-v505 .jc-global-header-v466{
    height:154px!important;background:#eef2f6!important;border-bottom:0!important;box-shadow:none!important;
  }
  body.jc-full-frame-768-v505 .jc-global-header-v466__shell{
    box-sizing:border-box!important;width:min(100%,768px)!important;max-width:768px!important;height:154px!important;
    margin-left:auto!important;margin-right:auto!important;padding:5px 14px 4px!important;
    grid-template-rows:88px 54px!important;gap:3px!important;background:#fff!important;
    border-left:1px solid #d8e0e8!important;border-right:1px solid #d8e0e8!important;border-bottom:1px solid #d8e0e8!important;
    box-shadow:0 3px 14px rgba(16,43,75,.07)!important;
  }
  body.jc-full-frame-768-v505 .jc-global-header-v466__top{grid-template-columns:48px minmax(0,1fr) 116px!important;gap:8px!important}
  body.jc-full-frame-768-v505 .jc-global-header-v466__edge-stack{grid-template-rows:36px 36px!important;gap:7px!important}
  body.jc-full-frame-768-v505 .jc-global-header-v466__edge{width:36px!important;height:36px!important}
  body.jc-full-frame-768-v505 .jc-global-header-v466__edge img{width:30px!important;height:30px!important}
  body.jc-full-frame-768-v505 .jc-global-header-v466__brand{height:86px!important}
  body.jc-full-frame-768-v505 .jc-global-header-v466__brand img{max-height:80px!important;max-width:180px!important}
  body.jc-full-frame-768-v505 .jc-global-header-v466__radio{grid-template-columns:64px 45px!important;gap:5px!important;height:86px!important}
  body.jc-full-frame-768-v505 .jc-global-header-v466__radio-logo{width:64px!important;height:74px!important}
  body.jc-full-frame-768-v505 .jc-global-header-v466__radio-logo img{width:61px!important;height:61px!important}
  body.jc-full-frame-768-v505 .jc-global-header-v466__radio-control button{width:32px!important;height:32px!important}
  body.jc-full-frame-768-v505 .jc-global-header-v466__radio-control small{font-size:8.5px!important}
  body.jc-full-frame-768-v505 .jc-global-header-v466__bottom{grid-template-columns:53px minmax(0,1fr) 53px!important;gap:10px!important}
  body.jc-full-frame-768-v505 .jc-global-header-v466__assistant{width:53px!important;height:53px!important}
  body.jc-full-frame-768-v505 .jc-global-header-v466__assistant img{width:52px!important;height:52px!important}
  body.jc-full-frame-768-v505 .jc-global-header-v466__search{height:42px!important;max-width:none!important;justify-self:stretch!important;border-radius:16px!important}
  body.jc-full-frame-768-v505 .jc-global-header-v466__search input{font-size:12px!important}
  body.jc-full-frame-768-v505 .jc-global-header-v466-spacer{height:154px!important;min-height:154px!important}
  body.jc-full-frame-768-v505 .jc-global-header-v466__drawer{left:max(0px,calc(50% - 384px))!important}

  /* Footer web: mismo eje y ancho 768. */
  body.jc-full-frame-768-v505 .jc-web-footer-v2{
    position:fixed!important;left:50%!important;right:auto!important;bottom:0!important;z-index:10030!important;
    width:min(768px,100vw)!important;max-width:768px!important;margin:0!important;transform:translateX(-50%)!important;overflow:visible!important;
  }
  body.jc-full-frame-768-v505 .jc-web-footer-v2__main{
    box-sizing:border-box!important;width:100%!important;max-width:768px!important;min-height:92px!important;
    grid-template-columns:minmax(122px,.85fr) auto minmax(105px,.85fr)!important;gap:6px!important;margin:0 auto!important;padding:10px 8px!important;
  }
  body.jc-full-frame-768-v505 .jc-web-footer-v2__name{font-size:14px!important}
  body.jc-full-frame-768-v505 .jc-web-footer-v2__brand p{font-size:8.2px!important}
  body.jc-full-frame-768-v505 .jc-footer-nav-webwin{grid-template-columns:repeat(9,minmax(42px,48px))!important;gap:2px!important}
  body.jc-full-frame-768-v505 .jc-footer-nav-webwin>a{font-size:7px!important;padding-inline:1px!important}
  body.jc-full-frame-768-v505 .jc-footer-nav-webwin .jc-web-footer-v2__icon{width:26px!important;height:26px!important;flex-basis:26px!important}
  body.jc-full-frame-768-v505 .jc-footer-nav-webwin .jc-web-footer-v2__icon svg{width:20px!important;height:20px!important}
  body.jc-full-frame-768-v505 .jc-footer-nav-webwin>a.is-publish .jc-web-footer-v2__icon{width:46px!important;height:46px!important;flex-basis:46px!important}
  body.jc-full-frame-768-v505 .jc-footer-webwin-install__action{gap:4px!important;padding:6px 7px!important;font-size:7.5px!important}
  body.jc-full-frame-768-v505 .jc-footer-webwin-install__icon{width:17px!important;height:17px!important;flex-basis:17px!important}

  /* Identity Bar: borde total 768; contenido interno conserva aire Tablet. */
  body.jc-full-frame-768-v505 .jc-ms-identity-bar-v473{
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;
  }
  body.jc-full-frame-768-v505 .jc-ms-identity-bar-v473__inner{
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;
    min-height:60px!important;grid-template-columns:104px minmax(0,1fr)!important;gap:11px!important;padding:5px 12px!important;
  }
  body.jc-full-frame-768-v505 .jc-ms-identity-bar-v473__logo{width:104px!important;height:44px!important}
  body.jc-full-frame-768-v505 .jc-ms-identity-bar-v473__logo img{max-height:44px!important}
  body.jc-full-frame-768-v505 .jc-ms-identity-bar-v473__description{font-size:12.075px!important}

  /* Shells reales: todos llenan el mismo frame validado en Automotores. */
  body.jc-full-frame-768-v505 :is(
    .jc-msbase-shell,.jc-pt-v288-shell,.jc-microsites-v2-shell,.jc-jobs-shell,.jc-cjc-shell,
    .jc-cuponeta-shell,.jc-cuponeta-shell__layout,.jc-commerce-v3,.jc-commerce-shell,.jc-classifieds-shell,
    .jc-tramites-info-shell,.jc-tramites-shell,.jc-info-util-dual-shell,.jc-region2-shell,.jc-news-v3__body,
    .jc-ccj5-shell,.jc-ccj5-header__row,.jcp-solos-home-shell,.jcp-solos360-shell,.jcp-solos-public-shell,
    .jcb-locality-index>.jcb-shell,.jcb-locality-premium>.jcb-shell,.cjrd3-shell,.cjrd2-shell,.cjtv330-shell,
    .jc-zone-site>.jc-container,.jc-radio-rd-v112 .jc-radio-shell
  ){
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
    margin-left:0!important;margin-right:0!important;
  }

  /* Contenedores genéricos usados como riel principal en algunos renderers. */
  body.jc-full-frame-768-v505 :is(
    .jc-regions-index>.jc-section>.jc-container,
    .jc-region2-main>.jc-container,
    .jc-tramites-info-shell>.jc-container,
    .jcb-professionals-page>.jc-container,
    .jcb-professionals-page>.jcb-microsite-ad-zone>.jcb-container,
    .jc-commerce-single>.jc-container,
    .jc-listing-page>.jc-container,
    .jc-community-site>.jc-container,
    .jc-ccj5>.jc-container,
    .jc-noticias-shell-v2>.jc-container,
    .jc-zone-site>.jc-container
  ){
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important;
  }

  /* Microsite Base (Bares/Boliches/Gastronomía/Automotores): dos columnas Tablet, 100% del frame. */
  body.jc-full-frame-768-v505 .jc-msbase-grid{width:100%!important;max-width:100%!important;min-width:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  body.jc-full-frame-768-v505 .jc-msbase-shell > :is(.jc-msbase-publications,.jc-msbase-business-cta,.jc-msbase-sofi){box-sizing:border-box!important;min-width:0!important;max-width:100%!important}

  /* V2 / Turismo / Profesionales / Inmuebles: rama Tablet dentro de 768. */
  body.jc-full-frame-768-v505 :is(.jc-microsites-v2-shell,.jc-commerce-shell,.jc-classifieds-shell){
    --jc-v2-gutter:12px!important;--jc-v2-gap:9px!important;--jc-v2-lead-height:232px!important;--jc-v2-radius:20px!important;
    --jc-shell-gutter:12px!important;--jc-shell-gap:9px!important;--jc-lead-height:232px!important;--jc-shell-radius:20px!important;
    column-gap:9px!important;row-gap:16px!important;
  }
  body.jc-full-frame-768-v505 :is(.jc-profesionales-v2-grid,.jc-turismo-v2-grid,.jc-inmuebles-v2-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.jc-full-frame-768-v505 :is(
    .jc-profesionales-shell-v2 .jc-profesionales-v2-card--lead,
    .jc-turismo-shell-v2 .jc-turismo-v2-card--lead,
    .jc-inmuebles-shell-v2 .jc-inmuebles-v2-card--lead
  ){
    grid-column:2!important;grid-row:auto!important;grid-template-rows:minmax(0,48%) minmax(0,52%)!important;height:232px!important;border-radius:20px!important;
  }
  body.jc-full-frame-768-v505 .jc-profesionales-shell-v2 .jc-profesionales-v2-card--lead .jc-router-card__copy p,
  body.jc-full-frame-768-v505 .jc-turismo-shell-v2 .jc-turismo-v2-card--lead .jc-router-card__copy p{display:none!important}

  /* Empleos y Clasificados: densidad Tablet sin contraer el frame. */
  body.jc-full-frame-768-v505 .jc-jobs-shell{gap:16px!important;padding:12px 0 34px!important}
  body.jc-full-frame-768-v505 :is(.jc-classifieds-shell,.jc-jobs-shell){--jc-shell-gutter:12px!important;--jc-shell-gap:9px!important;--jc-lead-height:232px!important;--jc-shell-radius:20px!important}
  body.jc-full-frame-768-v505 :is(.jc-classifieds-shell,.jc-jobs-shell) .jc-dual-microsite-card__logo{width:min(92%,220px)!important;max-height:50%!important}
  body.jc-full-frame-768-v505 :is(.jc-classifieds-shell,.jc-jobs-shell) :is(.jc-dual-microsite-card h1,.jc-dual-microsite-card__title){font-size:clamp(14px,4vw,28px)!important}

  /* Cuponeta: rama Tablet. */
  body.jc-full-frame-768-v505 .jc-coupon-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.jc-full-frame-768-v505 .jc-cuponeta-admin-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.jc-full-frame-768-v505 .jc-cuponeta-state-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.jc-full-frame-768-v505 :is(.jc-cuponeta-period-grid,.jc-cuponeta-top-grid){grid-template-columns:1fr!important}

  /* Solos y Solas: densidad de directorio Tablet. */
  body.jc-full-frame-768-v505 .jcp-solos-directory .jcp-solos-person-grid.is-directory{grid-auto-columns:clamp(285px,42%,340px)!important}

  /* Publication Detail V275/V279 y Comercio: frame completo 768 + geometría Tablet. */
  body.jc-full-frame-768-v505.jc-pd275-active .jc-pd275-header,
  body.jc-full-frame-768-v505.jc-pd275-active .jc-listing-page>.jc-container,
  body.jc-full-frame-768-v505.jc-pd275-active .jc-commerce-shell{
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important;
  }
  body.jc-full-frame-768-v505.jc-pd275-active .jc-pd275-header{margin:10px 0 12px!important}
  body.jc-full-frame-768-v505.jc-pd275-active .jc-pd275-header__row,
  body.jc-full-frame-768-v505.jc-pd275-active .jc-pd275-header__row.is-dual{
    grid-template-columns:46px minmax(130px,1fr) minmax(130px,1fr) 106px!important;min-height:70px!important;padding:5px 9px!important;gap:6px!important;
  }
  body.jc-full-frame-768-v505.jc-pd275-active .jc-pd275-header__brand{height:58px!important}
  body.jc-full-frame-768-v505.jc-pd275-active .jc-pd275-header__brand img{height:52px!important}
  body.jc-full-frame-768-v505.jc-pd275-active .jc-pd275-header__description{font-size:11px!important;line-height:1.25!important}
  body.jc-full-frame-768-v505.jc-pd275-active .jc-pd275-header__publish{min-height:35px!important;padding:7px 10px!important;font-size:11px!important}
  body.jc-full-frame-768-v505.jc-pd275-active .jc-listing-layout{grid-template-columns:1fr!important}
  body.jc-full-frame-768-v505.jc-pd275-active .jc-contact-card{position:static!important;top:auto!important}
  body.jc-full-frame-768-v505.jc-pd275-active .jc-commerce-v2-grid{grid-template-columns:1fr!important}
  body.jc-full-frame-768-v505.jc-pd279-v2 :is(.jc-listing-main,.jc-pd279-columns,.jc-pd279-left,.jc-pd279-right,.jc-listing-related,.jc-trust-reviews){min-width:0!important;max-width:100%!important}

  /* Ningún hijo directo de un shell maestro puede reensanchar el documento. */
  body.jc-full-frame-768-v505 :is(
    .jc-msbase-shell,.jc-pt-v288-shell,.jc-microsites-v2-shell,.jc-commerce-v3,.jc-commerce-shell,
    .jc-classifieds-shell,.jc-jobs-shell,.jc-cuponeta-shell__layout,.jc-tramites-info-shell,.jc-region2-shell,
    .jcp-solos-home-shell,.jc-listing-page>.jc-container
  ) > *{min-width:0!important;max-width:100%}


  /* ==========================================================
   * V505 · EXCEPCIONES QUE QUEDABAN FUERA DEL MASTER
   * ========================================================== */

  /* Conecta tu Suerte · usuarios registrados (/conectactusuerte/).
   * El shell histórico restaba 32px y, en viewport Windows, no entraba
   * en su breakpoint Tablet <=960. V505 ocupa el frame 768 completo y
   * replica la composición Tablet dentro de ese frame. */
  body.jc-full-frame-768-v505 .jc-weekly-luck,
  body.jc-full-frame-768-v505 .jc-weekly-luck .jc-container,
  body.jc-full-frame-768-v505 .jc-weekly-luck .jc-weekly-hero__grid{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  body.jc-full-frame-768-v505 .jc-weekly-luck .jc-weekly-hero__grid{
    grid-template-columns:1fr!important;
  }
  body.jc-full-frame-768-v505 .jc-weekly-luck .jc-weekly-brand{
    align-items:center!important;
    text-align:center!important;
    padding:18px!important;
  }
  body.jc-full-frame-768-v505 .jc-weekly-luck .jc-weekly-brand p{margin-left:auto!important;margin-right:auto!important}
  body.jc-full-frame-768-v505 .jc-weekly-luck .jc-weekly-actions{justify-content:center!important}
  body.jc-full-frame-768-v505 .jc-weekly-luck .jc-weekly-prize{max-width:680px!important;margin-left:auto!important;margin-right:auto!important}
  body.jc-full-frame-768-v505 .jc-weekly-luck .jc-weekly-how__grid,
  body.jc-full-frame-768-v505 .jc-weekly-luck .jc-weekly-winners__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}

  /* Conecta tu Suerte · nuevas cuentas (/conectasuerte/).
   * Este renderer es standalone y no usa Header/Footer globales. Se
   * normaliza su frame propio al mismo ancho aprobado de 768px. */
  body.jc-full-frame-768-v505.jc-luck-page .jc-luck-app,
  body.jc-full-frame-768-v505.jc-luck-page .jc-luck-app--pro{
    box-sizing:border-box!important;
    width:min(768px,100%)!important;
    max-width:768px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body.jc-full-frame-768-v505.jc-luck-page .jc-luck-pro-hero--reference,
  body.jc-full-frame-768-v505.jc-luck-page .jc-luck-how,
  body.jc-full-frame-768-v505.jc-luck-page .jc-luck-main-grid,
  body.jc-full-frame-768-v505.jc-luck-page .jc-luck-official-source,
  body.jc-full-frame-768-v505.jc-luck-page .jc-luck-public-result{
    box-sizing:border-box!important;
    max-width:100%!important;
    min-width:0!important;
  }

  /* Conecta y Aprende · renderer/contexto real confirmado.
   * Todos los shells dejan de restar gutters propios y llenan el frame
   * Master 768. No se altera contenido, progreso, filtros ni navegación. */
  body.jc-full-frame-768-v505.jc-aprende-context :is(
    .jc-aprende-main,
    .jc-aprende-shell,
    .jc-aprende-hub,
    .jc-aprende-course-body-grid
  ){
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  body.jc-full-frame-768-v505.jc-aprende-context .jc-aprende-nav .jc-aprende-shell{
    width:100%!important;
    max-width:100%!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  /* A 768 reales, estas son las ramas naturales <=980/900 que el
   * viewport físico de Windows no activaba. */
  body.jc-full-frame-768-v505.jc-aprende-context .jc-aprende-hero-grid{grid-template-columns:1fr!important}
  body.jc-full-frame-768-v505.jc-aprende-context .jc-aprende-hero-points{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.jc-full-frame-768-v505.jc-aprende-context .jc-aprende-hero-brand{grid-template-columns:175px minmax(0,1fr)!important}
  body.jc-full-frame-768-v505.jc-aprende-context .jc-aprende-course-grid{grid-template-columns:1fr!important}
  body.jc-full-frame-768-v505.jc-aprende-context .jc-aprende-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.jc-full-frame-768-v505.jc-aprende-context :is(.jc-aprende-alert-grid,.jc-aprende-glossary-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.jc-full-frame-768-v505.jc-aprende-context .jc-aprende-course-layout{grid-template-columns:minmax(0,1fr) 300px!important}
  body.jc-full-frame-768-v505.jc-aprende-context .jc-aprende-section{padding-top:18px!important;padding-bottom:18px!important}

  /* Comunidad Conectada Jujuy · accesos rápidos Windows.
   * El markup ya está separado 5 + 5; V505 deja de aplanarlo con
   * display:contents y elimina el carrusel lateral sólo en Windows. */
  body.jc-full-frame-768-v505.jc-ccj-route .jc-ccj5-homebar__nav{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:6px!important;
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
    padding:1px 0 4px!important;
    justify-content:stretch!important;
  }
  body.jc-full-frame-768-v505.jc-ccj-route :is(
    .jc-ccj5-homebar__row,
    .jc-ccj5-homebar__row--one,
    .jc-ccj5-homebar__row--two
  ){
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:5px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    justify-content:stretch!important;
  }
  body.jc-full-frame-768-v505.jc-ccj-route .jc-ccj5-homebar__nav a{
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:42px!important;
    padding:7px 5px!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    line-height:1.08!important;
    font-size:10px!important;
    border-radius:15px!important;
  }

}
