/* TentoniNumérik R44.3.21 — Actualités récentes séquentielles.
   Une seule actualité à la fois sur ordinateur, tablette et téléphone.
   Le carrousel natif app.js est la seule présentation. */

body.home-route .news-pro-121 .tn-ref-news-device{
  display:none!important;
  visibility:hidden!important;
}

body.home-route .home-pro-121 .news-pro-121{
  height:720px!important;
  min-height:720px!important;
  max-height:none!important;
  grid-template-rows:66px minmax(0,1fr) 30px!important;
  padding:16px 20px 14px!important;
  overflow:hidden!important;
}

body.home-route .home-pro-121 .news-slider-121{
  position:relative!important;
  display:block!important;
  height:100%!important;
  min-height:0!important;
  padding:0 14px!important;
  box-sizing:border-box!important;
}

body.home-route .home-pro-121 .news-viewport-121{
  position:relative!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  padding:16px 0 10px!important;
  margin:0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

body.home-route .home-pro-121 .news-track-121{
  position:relative!important;
  display:flex!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  transform:translate3d(-100%,0,0);
  transition:transform .66s cubic-bezier(.22,.68,.25,1)!important;
  will-change:transform!important;
}

body.home-route .home-pro-121 .news-track-121.tn-news-no-transition{
  transition:none!important;
}

body.home-route .home-pro-121 .news-slide-121,
body.home-route .home-pro-121 .news-slide-121.is-active,
body.home-route .home-pro-121 .news-slide-121.tn-news-sequential-slide{
  position:relative!important;
  inset:auto!important;
  flex:0 0 100%!important;
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  max-width:100%!important;
  padding:0 4px!important;
  margin:0!important;
  box-sizing:border-box!important;
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:none!important;
  transition:none!important;
}

body.home-route .home-pro-121 .news-slide-121 .news-card,
body.home-route .home-pro-121 .news-slide-121 .news-card:nth-child(even){
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  display:grid!important;
  grid-template-columns:48% minmax(0,52%)!important;
  grid-template-rows:1fr!important;
  border-radius:22px!important;
  overflow:hidden!important;
}

body.home-route .home-pro-121 .news-slide-121 .news-media{
  grid-column:1!important;
  grid-row:1!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
}

body.home-route .home-pro-121 .news-slide-121 .news-body{
  grid-column:2!important;
  grid-row:1!important;
  min-width:0!important;
  min-height:0!important;
  padding:28px 30px!important;
  gap:12px!important;
  justify-content:flex-start!important;
}

body.home-route .home-pro-121 .news-slide-121 .news-body h3{
  font-size:27px!important;
  line-height:1.12!important;
  -webkit-line-clamp:3!important;
}

body.home-route .home-pro-121 .news-slide-121 .news-body p{
  font-size:15px!important;
  line-height:1.5!important;
  -webkit-line-clamp:7!important;
}

body.home-route .home-pro-121 .news-slide-121 .news-date{
  font-size:13px!important;
}

body.home-route .home-pro-121 .news-slide-121 .publication-source{
  font-size:12px!important;
}

body.home-route .home-pro-121 .news-slide-121 .soft-link{
  font-size:13px!important;
  padding:9px 13px!important;
}

/* Les flèches flottent sur les bords : elles ne consomment plus deux colonnes du contenu. */
body.home-route .home-pro-121 .news-arrow-121{
  position:absolute!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  z-index:20!important;
  margin:0!important;
}
body.home-route .home-pro-121 .news-prev-121{left:-7px!important;right:auto!important}
body.home-route .home-pro-121 .news-next-121{right:-7px!important;left:auto!important}

/* Pagination compacte : adaptée à 6, 20 ou 50 actualités. */
body.home-route .home-pro-121 .news-pagination-121{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  margin:3px 0 0!important;
}

body.home-route .news-counter-121{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  min-width:48px!important;
  color:#59708f!important;
  font-size:11px!important;
  font-weight:800!important;
  font-variant-numeric:tabular-nums!important;
}

body.home-route .news-counter-121 strong{
  color:#176fd1!important;
  font-size:13px!important;
}

body.home-route .news-progress-121{
  position:relative!important;
  display:block!important;
  width:min(180px,42vw)!important;
  height:5px!important;
  overflow:hidden!important;
  border-radius:999px!important;
  background:#dce7f3!important;
}

body.home-route .news-progress-121 i{
  display:block!important;
  width:0;
  height:100%!important;
  border-radius:999px!important;
  background:#2478ee!important;
  transition:width .35s ease!important;
}

/* Tablette : toujours une seule actualité, carte horizontale généreuse. */
@media(min-width:721px) and (max-width:1050px){
  body.home-route .home-pro-121 .news-pro-121{
    height:600px!important;
    min-height:600px!important;
    padding:14px 16px 12px!important;
  }

  body.home-route .home-pro-121 .news-slider-121,
  body.home-route .home-pro-121 .news-pagination-121{
    display:block!important;
    visibility:visible!important;
  }

  body.home-route .home-pro-121 .news-pagination-121{
    display:flex!important;
  }

  body.home-route .home-pro-121 .news-slide-121 .news-card{
    grid-template-columns:45% minmax(0,55%)!important;
  }

  body.home-route .home-pro-121 .news-slide-121 .news-body{
    padding:21px 22px!important;
    gap:9px!important;
  }

  body.home-route .home-pro-121 .news-slide-121 .news-body h3{
    font-size:22px!important;
  }

  body.home-route .home-pro-121 .news-slide-121 .news-body p{
    font-size:13px!important;
    -webkit-line-clamp:6!important;
  }

  body.home-route .home-pro-121 .news-arrow-121{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
  }
}

/* Téléphone : une seule carte verticale, lisible et suffisamment grande. */
@media(max-width:720px){
  body.home-route .home-pro-121 .news-pro-121{
    height:650px!important;
    min-height:650px!important;
    padding:10px 12px 12px!important;
    border-radius:18px!important;
  }

  body.home-route .home-pro-121 .news-slider-121,
  body.home-route .home-pro-121 .news-pagination-121{
    display:block!important;
    visibility:visible!important;
  }

  body.home-route .home-pro-121 .news-pagination-121{
    display:flex!important;
  }

  body.home-route .home-pro-121 .news-viewport-121{
    padding:10px 0 8px!important;
  }

  body.home-route .home-pro-121 .news-slide-121{
    padding:0 2px!important;
  }

  body.home-route .home-pro-121 .news-slide-121 .news-card{
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:46% 54%!important;
    border-radius:17px!important;
  }

  body.home-route .home-pro-121 .news-slide-121 .news-media{
    grid-column:1!important;
    grid-row:1!important;
  }

  body.home-route .home-pro-121 .news-slide-121 .news-body{
    grid-column:1!important;
    grid-row:2!important;
    padding:14px 16px 15px!important;
    gap:6px!important;
  }

  body.home-route .home-pro-121 .news-slide-121 .publication-meta{
    gap:6px!important;
    padding-bottom:5px!important;
  }

  body.home-route .home-pro-121 .news-slide-121 .news-date{
    font-size:10px!important;
  }

  body.home-route .home-pro-121 .news-slide-121 .publication-source{
    font-size:9px!important;
    max-width:55%!important;
  }

  body.home-route .home-pro-121 .news-slide-121 .news-body h3{
    font-size:18px!important;
    line-height:1.14!important;
    -webkit-line-clamp:2!important;
  }

  body.home-route .home-pro-121 .news-slide-121 .news-body p{
    font-size:11.5px!important;
    line-height:1.38!important;
    -webkit-line-clamp:4!important;
  }

  body.home-route .home-pro-121 .news-slide-121 .soft-link{
    font-size:10.5px!important;
    padding:7px 10px!important;
  }

  body.home-route .home-pro-121 .news-arrow-121{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    min-height:38px!important;
  }

  body.home-route .home-pro-121 .news-prev-121{left:-5px!important}
  body.home-route .home-pro-121 .news-next-121{right:-5px!important}
}

@media(prefers-reduced-motion:reduce){
  body.home-route .home-pro-121 .news-track-121{
    transition:none!important;
  }
}
