/*
 * JujuyConectado · Home Noticias Destacadas V4
 * v9.5.55.235 SAFE-MODULAR-UX-ADMIN
 * Carrusel editorial compacto: 200×120, imagen 68, texto 52, gap 12, snap horizontal.
 */

body.home .jc-home-news-v4-head{
  margin-bottom:8px;
  min-height:28px;
}
body.home .jc-home-news-v4-head h2{
  margin:0;
  color:#0c3b74;
  font-size:20px;
  line-height:1.2;
}
body.home .jc-home-news-v4-head a{
  color:#1769e0;
  font-size:10.5px;
  font-weight:850;
  white-space:nowrap;
  text-decoration:none;
}

body.home .jc-home-news-v4-rail{
  display:flex;
  align-items:stretch;
  gap:12px;
  width:100%;
  max-width:100%;
  height:120px;
  padding:0 0 2px;
  margin:0;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-padding-inline:0;
  overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  touch-action:pan-x pan-y;
}
body.home .jc-home-news-v4-rail::-webkit-scrollbar{display:none}

body.home .jc-home-news-v4-card{
  flex:0 0 200px;
  width:200px;
  min-width:200px;
  height:120px;
  margin:0;
  padding:0;
  overflow:hidden;
  scroll-snap-align:start;
  scroll-snap-stop:always;
  border:1px solid #dfe6ed;
  border-radius:12px;
  background:#fff;
  box-shadow:0 5px 16px rgba(20,54,94,.055);
}
body.home .jc-home-news-v4-link{
  display:grid;
  grid-template-rows:68px 52px;
  width:100%;
  height:120px;
  color:#0c3158;
  text-decoration:none;
}
body.home .jc-home-news-v4-link:hover{color:#0c3158}
body.home .jc-home-news-v4-link:focus-visible{
  outline:3px solid rgba(23,105,224,.3);
  outline-offset:-3px;
  border-radius:12px;
}

body.home .jc-home-news-v4-media{
  display:block;
  width:200px;
  height:68px;
  overflow:hidden;
  background:#edf3f8;
  border-radius:12px 12px 0 0;
}
body.home .jc-home-news-v4-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}
body.home .jc-home-news-v4-placeholder{
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  color:#68819a;
  font-size:13px;
  font-weight:900;
  background:linear-gradient(135deg,#eaf3ff,#f7faff);
}

body.home .jc-home-news-v4-copy{
  display:flex;
  flex-direction:column;
  width:100%;
  height:52px;
  min-height:52px;
  padding:4px 8px 4px;
  overflow:hidden;
  background:#fff;
}
body.home .jc-home-news-v4-title{
  display:-webkit-box;
  margin:0;
  overflow:hidden;
  color:#0c3158;
  font-size:13px;
  font-weight:800;
  line-height:1.12;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  text-overflow:ellipsis;
}
body.home .jc-home-news-v4-meta{
  display:flex;
  align-items:center;
  gap:4px;
  min-width:0;
  margin-top:auto;
  color:#8a96a3;
  font-size:10.5px;
  font-weight:600;
  line-height:1;
  white-space:nowrap;
}
body.home .jc-home-news-v4-meta svg{
  flex:0 0 12px;
  width:12px;
  height:12px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
body.home .jc-home-news-v4-meta span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
}

@media (hover:hover) and (pointer:fine){
  body.home .jc-home-news-v4-card{
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
  }
  body.home .jc-home-news-v4-card:hover{
    transform:translateY(-2px);
    border-color:#cbd9e6;
    box-shadow:0 9px 22px rgba(20,54,94,.09);
  }
}

@media(max-width:700px){
  body.home .jc-home-news-v4-head{margin-bottom:8px}
  body.home .jc-home-news-v4-head h2{font-size:17px}
  body.home .jc-home-news-v4-head a{font-size:10px}
  body.home .jc-home-news-v4-rail{
    gap:12px;
    height:120px;
  }
  body.home .jc-home-news-v4-card{
    flex-basis:200px;
    width:200px;
    min-width:200px;
    height:120px;
  }
}

@media(prefers-reduced-motion:reduce){
  body.home .jc-home-news-v4-card{transition:none}
}
