/*
TucumanConectado · 1.0.12
HOME REGIONS · SALTA VISUAL PARITY V1
APP autoridad: 2 rails, 3 + 2, ~2.25 tarjetas visibles.
*/
html body.home .tc-v112-regions{
  position:relative;
  box-sizing:border-box;
  width:100%;
  margin:0;
  padding:clamp(122px,34vw,184px) 12px 18px;
  overflow:hidden;
  background-color:#23bcec;
  background-image:
    url('../images/tucuman/home-regiones-fondo-v111.webp'),
    linear-gradient(180deg,#87e2f5 0%,#27bdea 58%,#10b5e0 100%);
  background-repeat:no-repeat,no-repeat;
  background-position:center top,center center;
  background-size:100% auto,100% 100%;
}
html body.home .tc-v112-regions__inner{
  position:relative;
  z-index:1;
  width:100%;
  max-width:100%;
  margin:0 auto;
}
html body.home .tc-v112-regions__sr-title{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
html body.home .tc-v112-regions__rail{
  display:flex;
  flex-wrap:nowrap;
  gap:8px;
  width:100%;
  max-width:100%;
  margin:0;
  padding:2px 1px 7px;
  overflow-x:auto;
  overflow-y:hidden;
  overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  scroll-snap-type:x proximity;
}
html body.home .tc-v112-regions__rail + .tc-v112-regions__rail{margin-top:9px}
html body.home .tc-v112-regions__rail::-webkit-scrollbar{display:none}
html body.home .tc-v112-region-card{
  flex:0 0 42.5%;
  width:42.5%;
  min-width:42.5%;
  max-width:42.5%;
  display:flex;
  flex-direction:column;
  box-sizing:border-box;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.76);
  border-radius:13px;
  background:rgba(255,255,255,.96);
  box-shadow:0 7px 18px rgba(0,48,110,.20);
  text-decoration:none;
  color:#152638;
  scroll-snap-align:start;
  transform:translateZ(0);
}
html body.home .tc-v112-region-card__media{
  display:block;
  width:100%;
  aspect-ratio:16/10;
  overflow:hidden;
  background:rgba(255,255,255,.72);
}
html body.home .tc-v112-region-card__media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
html body.home .tc-v112-region-card__title{
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  min-height:42px;
  padding:6px 7px;
  text-align:center;
  font-family:Arial,Helvetica,sans-serif;
  font-size:11px;
  font-weight:700;
  line-height:1.08;
  color:#17324f;
}

/* APP 360: mismo lenguaje que Salta, sin tarjeta contenedora cerrada. */
@media(max-width:520px){
  html body.home .tc-v112-regions{
    padding:clamp(118px,34vw,136px) 10px 18px;
    background-size:100% auto,100% 100%;
  }
}

/* Tablet: 3 arriba + 2 centradas abajo. */
@media(min-width:521px) and (max-width:900px){
  html body.home .tc-v112-regions{
    width:min(calc(100% - 24px),744px);
    margin:0 auto;
    padding:clamp(156px,25vw,190px) 14px 20px;
    border-radius:0 0 18px 18px;
  }
  html body.home .tc-v112-regions__rail{
    display:grid;
    overflow:visible;
    gap:10px;
    padding:2px 0 7px;
  }
  html body.home .tc-v112-regions__rail--top{grid-template-columns:repeat(3,minmax(0,1fr))}
  html body.home .tc-v112-regions__rail--bottom{
    grid-template-columns:repeat(2,minmax(0,1fr));
    width:calc(66.666% - 3px);
    margin-left:auto;
    margin-right:auto;
  }
  html body.home .tc-v112-region-card{width:100%;min-width:0;max-width:none}
  html body.home .tc-v112-region-card__title{font-size:12px;min-height:44px}
}

/* Windows: exactamente el lenguaje Tablet dentro del frame 744/768. */
@media(min-width:901px){
  html body.home .tc-v112-regions{
    width:744px;
    max-width:744px;
    margin:0 auto;
    padding:196px 16px 22px;
    border-radius:0 0 18px 18px;
  }
  html body.home .tc-v112-regions__rail{
    display:grid;
    overflow:visible;
    gap:11px;
    padding:2px 0 8px;
  }
  html body.home .tc-v112-regions__rail--top{grid-template-columns:repeat(3,minmax(0,1fr))}
  html body.home .tc-v112-regions__rail--bottom{
    grid-template-columns:repeat(2,minmax(0,1fr));
    width:calc(66.666% - 4px);
    margin-left:auto;
    margin-right:auto;
  }
  html body.home .tc-v112-region-card{width:100%;min-width:0;max-width:none}
  html body.home .tc-v112-region-card__title{font-size:12px;min-height:46px}
}
