/**
 * JujuyConectado Pro 2026 · 9.5.55.666
 * HOME CONTENT MASTER FINAL POLISH V1
 * APP móvil = autoridad visual · APP Windows = derivación directa 768.
 * Header Master V665 y navegación global: congelados.
 */

/* Superficie general: limpia, cálida y sin ruido. */
html body.home .jc-home-builder-layout{
  background:#fbfaf8!important;
}

/* ---------------------------------------------------------------
 * 1) Carrusel premium · compacto de verdad.
 *    Conserva motor, autoplay y navegación. Sólo cambia geometría.
 * --------------------------------------------------------------- */
html body.home .jc-premium-v515{
  margin-top:5px!important;
  margin-bottom:7px!important;
}
@media(max-width:520px){
  html body.home .jc-premium-v515__stage{
    height:40vw!important;
    min-height:140px!important;
    max-height:158px!important;
  }
  html body.home .jc-premium-v515__item{
    aspect-ratio:2.25/1!important;
  }
  html body.home .jc-premium-v515__item:nth-child(2){
    width:min(calc(100vw - 30px),352px)!important;
    border-radius:12px!important;
    box-shadow:0 10px 25px rgba(31,38,135,.17)!important;
  }
  html body.home .jc-premium-v515__item:nth-child(1){left:-24%!important;opacity:.38!important}
  html body.home .jc-premium-v515__item:nth-child(3){left:91%!important;opacity:.72!important}
  html body.home .jc-premium-v515__item:nth-child(4){left:104%!important;opacity:.42!important}
  html body.home .jc-premium-v515__item:nth-child(5){left:114%!important;opacity:.24!important}
}
@media(min-width:521px) and (max-width:900px){
  html body.home .jc-premium-v515__stage{height:190px!important}
  html body.home .jc-premium-v515__item{aspect-ratio:2.35/1!important}
  html body.home .jc-premium-v515__item:nth-child(2){width:64%!important}
}
@media(min-width:901px){
  html body.home .jc-premium-v515{
    width:704px!important;
    max-width:704px!important;
  }
  html body.home .jc-premium-v515__stage{height:212px!important}
  html body.home .jc-premium-v515__item{aspect-ratio:2.45/1!important}
  html body.home .jc-premium-v515__item:nth-child(2){width:72%!important}
}

/* ---------------------------------------------------------------
 * 2) Ritmo vertical común del Home.
 * --------------------------------------------------------------- */
html body.home .jc-home-connections-v539,
html body.home .jc-home-portal-dashboard--news,
html body.home .jc-home-promotions-v607,
html body.home .jc-home-specials-v553,
html body.home .jc-home-regions-v523,
html body.home .jc-home-explorar-v561{
  scroll-margin-top:230px!important;
}
html body.home .jc-home-master-v663__section-head,
html body.home .jc-home-news-v4-head,
html body.home .jc-home-section-heading-v565{
  min-height:24px!important;
  margin-bottom:7px!important;
}
html body.home .jc-home-master-v663__section-head h2,
html body.home .jc-home-news-v4-head h2,
html body.home .jc-home-section-title-v565{
  font-size:19px!important;
  line-height:1.08!important;
  letter-spacing:-.28px!important;
}
html body.home .jc-home-master-v663__section-head a,
html body.home .jc-home-news-v4-head a{
  font-size:11.5px!important;
}

/* ---------------------------------------------------------------
 * 3) Conexiones · 3×2 estable, compacta y táctil.
 * --------------------------------------------------------------- */
html body.home .jc-home-connections-v539{
  padding:6px 0 9px!important;
}
html body.home .jc-home-connections-v539 .jc-home-connections-inner-v539{
  width:calc(100% - 20px)!important;
}
html body.home .jc-home-connections-v539 .jc-home-connections-grid-v539{
  gap:7px!important;
}
html body.home .jc-home-connections-v539 .jc-home-connection-card-v539{
  grid-template-rows:55px minmax(50px,auto)!important;
  min-height:112px!important;
  border-radius:12px!important;
  box-shadow:0 3px 10px rgba(16,46,91,.055)!important;
}
html body.home .jc-home-connections-v539 .jc-home-connection-media-v539{
  height:55px!important;
  padding:4px 6px 2px!important;
}
html body.home .jc-home-connection-copy-v663{
  gap:1px!important;
  padding:6px 22px 7px 7px!important;
}
html body.home .jc-home-connection-copy-v663 strong{
  font-size:11px!important;
  line-height:1.04!important;
}
html body.home .jc-home-connection-copy-v663 small{
  font-size:9.25px!important;
  line-height:1.12!important;
}
html body.home .jc-home-connection-arrow-v663{
  right:5px!important;
  bottom:6px!important;
  width:19px!important;
  height:19px!important;
  font-size:12px!important;
}

/* ---------------------------------------------------------------
 * 4) Ahora en Jujuy · rail editorial ligero.
 * --------------------------------------------------------------- */
html body.home .jc-home-portal-dashboard--news{
  padding:5px 0 8px!important;
}
html body.home .jc-home-portal-dashboard--news > .jc-container{
  width:calc(100% - 20px)!important;
}
html body.home .jc-home-news-v4-rail{
  gap:7px!important;
  height:122px!important;
}
html body.home .jc-home-news-v4-card{
  flex:0 0 144px!important;
  width:144px!important;
  min-width:144px!important;
  height:120px!important;
  border-radius:10px!important;
}
html body.home .jc-home-news-v4-link{
  grid-template-rows:69px 51px!important;
  height:120px!important;
}
html body.home .jc-home-news-v4-media{
  width:144px!important;
  height:69px!important;
  border-radius:10px 10px 0 0!important;
}
html body.home .jc-home-news-v4-copy{
  height:51px!important;
  min-height:51px!important;
  padding:5px 6px!important;
}
html body.home .jc-home-news-v4-title{
  font-size:10.8px!important;
  line-height:1.10!important;
}
html body.home .jc-home-news-v4-meta{font-size:8.7px!important}

/* ---------------------------------------------------------------
 * 5) Promociones · identidad y player contenidos.
 * --------------------------------------------------------------- */
html body.home .jc-home-promotions-v607{
  padding:5px 0 9px!important;
}
html body.home .jc-home-promotions-v607 > .jc-container{
  width:calc(100% - 20px)!important;
}
html body.home .jc-home-promotions-v607__banner{
  min-height:28px!important;
  margin-bottom:5px!important;
}
html body.home .jc-home-promotions-v607__banner img{
  max-height:40px!important;
}
html body.home .jc-home-promotions-v607__player{
  max-height:196px!important;
  border-radius:12px!important;
  box-shadow:0 4px 13px rgba(16,46,91,.075)!important;
}

/* ---------------------------------------------------------------
 * 6) Regiones · cierre visual compacto del bloque principal.
 * --------------------------------------------------------------- */
html body.home .jc-home-regions-v523{
  padding:5px 0 9px!important;
}
html body.home .jc-home-regions-v523 > .jc-container{
  width:calc(100% - 20px)!important;
}
html body.home .jc-home-regions-v523 .jc-home-regions-grid-v523{
  gap:6px!important;
}
html body.home .jc-home-regions-v523 .jc-region-cover{
  height:70px!important;
  min-height:70px!important;
  border-radius:10px!important;
  box-shadow:0 3px 10px rgba(16,46,91,.085)!important;
}
html body.home .jc-home-regions-v523 .jc-region-cover .jc-locality-cover-content{
  left:6px!important;
  right:6px!important;
  bottom:5px!important;
}
html body.home .jc-home-regions-v523 .jc-region-cover .jc-locality-cover-content strong{
  font-size:10.8px!important;
}

/* ---------------------------------------------------------------
 * 7) Especiales / Explorar · secundarios, misma familia visual.
 * --------------------------------------------------------------- */
html body.home .jc-home-specials-v553,
html body.home .jc-home-explorar-v561{
  padding-top:7px!important;
  padding-bottom:9px!important;
}
html body.home .jc-home-specials-v553 > .jc-container,
html body.home .jc-home-explorar-v561 > .jc-container{
  width:calc(100% - 20px)!important;
}
html body.home .jc-home-postnews-v384__card,
html body.home .jc-home-explorar-v561__card{
  border-radius:12px!important;
  box-shadow:0 3px 10px rgba(16,46,91,.05)!important;
}

/* ---------------------------------------------------------------
 * 8) Windows 768 · misma interfaz, sólo más aire.
 * --------------------------------------------------------------- */
@media(min-width:901px){
  html body.home .jc-home-connections-v539 .jc-home-connections-inner-v539,
  html body.home .jc-home-portal-dashboard--news > .jc-container,
  html body.home .jc-home-promotions-v607 > .jc-container,
  html body.home .jc-home-regions-v523 > .jc-container,
  html body.home .jc-home-specials-v553 > .jc-container,
  html body.home .jc-home-explorar-v561 > .jc-container{
    width:704px!important;
    max-width:704px!important;
  }
  html body.home .jc-home-connections-v539 .jc-home-connection-card-v539{
    grid-template-rows:72px minmax(58px,auto)!important;
    min-height:136px!important;
  }
  html body.home .jc-home-connections-v539 .jc-home-connection-media-v539{height:72px!important}
  html body.home .jc-home-connection-copy-v663 strong{font-size:12.5px!important}
  html body.home .jc-home-connection-copy-v663 small{font-size:10.4px!important}
  html body.home .jc-home-news-v4-card{flex-basis:158px!important;width:158px!important;min-width:158px!important}
  html body.home .jc-home-news-v4-media{width:158px!important}
  html body.home .jc-home-regions-v523 .jc-region-cover{height:92px!important;min-height:92px!important}
  html body.home .jc-home-regions-v523 .jc-region-cover .jc-locality-cover-content strong{font-size:12.5px!important}
}

@media(max-width:360px){
  html body.home .jc-home-connections-v539 .jc-home-connections-grid-v539{gap:5px!important}
  html body.home .jc-home-connection-copy-v663 strong{font-size:10.4px!important}
  html body.home .jc-home-connection-copy-v663 small{font-size:8.8px!important}
  html body.home .jc-home-regions-v523 .jc-region-cover{height:64px!important;min-height:64px!important}
}

@media(prefers-reduced-motion:reduce){
  html body.home .jc-premium-v515__item,
  html body.home .jc-home-connection-card-v539,
  html body.home .jc-home-news-v4-card{transition:none!important}
}
