/*
TucumanConectado · 1.0.11
HOME REGIONS BACKGROUND MASTER V1
Fondo oficial + 5 tarjetas superpuestas.
APP-first. Windows deriva del frame Tablet MASTER.
*/

body.home .tc-home-regions-v107 .jc-home-regions-stage-v523{
  position:relative!important;
  overflow:hidden!important;
  background-image:url("../images/tucuman/home-regiones-fondo-v111.webp")!important;
  background-size:cover!important;
  background-position:center top!important;
  background-repeat:no-repeat!important;
  border-radius:18px!important;
  padding:126px 10px 14px!important;
  min-height:555px!important;
}

/* La identidad ya está integrada al fondo provisto por el usuario. */
body.home .tc-home-regions-v107 .jc-home-regions-hero-v523{
  display:none!important;
}

body.home .tc-home-regions-v107 .jc-home-regions-grid-v523{
  position:relative!important;
  z-index:2!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:9px!important;
  width:100%!important;
}

body.home .tc-home-regions-v107 .tc-region-card-v104{
  display:block!important;
  min-height:112px!important;
  border-radius:16px!important;
  overflow:hidden!important;
  background-size:cover!important;
  background-position:center!important;
  border:1px solid rgba(255,255,255,.68)!important;
  box-shadow:0 7px 18px rgba(3,25,60,.22)!important;
}

body.home .tc-home-regions-v107 .tc-region-card-v104:nth-child(5){
  grid-column:1/-1!important;
  width:calc((100% - 9px)/2)!important;
  justify-self:center!important;
}

body.home .tc-home-regions-v107 .jc-home-regions-cta-v523{
  position:relative!important;
  z-index:2!important;
  display:flex!important;
  justify-content:center!important;
  margin-top:10px!important;
}

body.home .tc-home-regions-v107 .jc-home-regions-cta-v523 .jc-localities-all{
  background:rgba(255,255,255,.95)!important;
  border-radius:999px!important;
  padding:8px 14px!important;
  box-shadow:0 4px 14px rgba(3,25,60,.14)!important;
}

/* APP / navegador móvil */
@media(max-width:520px){
  body.home .tc-home-regions-v107 .jc-home-regions-stage-v523{
    padding:112px 8px 12px!important;
    min-height:520px!important;
    border-radius:16px!important;
    background-position:center top!important;
  }

  body.home .tc-home-regions-v107 .tc-region-card-v104{
    min-height:104px!important;
  }
}

/* Tablet */
@media(min-width:521px) and (max-width:900px){
  body.home .tc-home-regions-v107 .jc-home-regions-stage-v523{
    padding:150px 12px 16px!important;
    min-height:610px!important;
  }

  body.home .tc-home-regions-v107 .tc-region-card-v104{
    min-height:130px!important;
  }
}

/* Windows = Tablet centrado MASTER, 3 + 2 tarjetas centradas. */
@media(min-width:901px){
  body.home .tc-home-regions-v107 .jc-home-regions-stage-v523{
    width:100%!important;
    max-width:744px!important;
    margin:0 auto!important;
    padding:154px 14px 18px!important;
    min-height:625px!important;
  }

  body.home .tc-home-regions-v107 .jc-home-regions-grid-v523{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:10px!important;
  }

  body.home .tc-home-regions-v107 .tc-region-card-v104{
    grid-column:span 2!important;
    min-height:132px!important;
  }

  body.home .tc-home-regions-v107 .tc-region-card-v104:nth-child(4){
    grid-column:2 / span 2!important;
  }

  body.home .tc-home-regions-v107 .tc-region-card-v104:nth-child(5){
    grid-column:4 / span 2!important;
    width:auto!important;
    justify-self:stretch!important;
  }
}
