/* NOVTINIS 1.0.263 — Accueil, rail commercial Mise en avant uniquement.
   Le titre de la section indique déjà la nature du placement ; sur la photo,
   PUB reste identifié sans pastille ni fond, comme les petites cartes Catégories.
   Aucun style Publicité locale, Recherche, Wallet ou Offre+ n'est modifié. */
html body.home .home-section-sponsored .nt-home-sponsored-disclosure,
html body.front-page .home-section-sponsored .nt-home-sponsored-disclosure {
  position: absolute !important;
  top: auto !important;
  right: 6px !important;
  bottom: 6px !important;
  left: auto !important;
  z-index: 8 !important;
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  letter-spacing: .025em !important;
  text-shadow: 0 1px 3px rgba(0,0,0,.9) !important;
  pointer-events: none !important;
}

/* Photos : légèrement plus hautes, sans élargir artificiellement la carte. */
@media (max-width: 980px) {
  html body.home .home-section-sponsored,
  html body.front-page .home-section-sponsored {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  html body.home .home-section-sponsored .home-section-head,
  html body.front-page .home-section-sponsored .home-section-head {
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin-bottom: 12px !important;
  }
  html body.home .home-section-sponsored .home-grid-sponsored,
  html body.front-page .home-section-sponsored .home-grid-sponsored {
    padding-left: 10px !important;
    padding-right: 10px !important;
    scroll-padding-left: 10px !important;
  }
  html body.home .home-section-sponsored .home-grid-sponsored .nt-home-discovery-card .nt-home-discovery-media,
  html body.front-page .home-section-sponsored .home-grid-sponsored .nt-home-discovery-card .nt-home-discovery-media {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 5 / 4 !important;
    overflow: hidden !important;
  }
  html body.home .home-section-sponsored .home-grid-sponsored .nt-home-discovery-card .nt-home-discovery-media img,
  html body.front-page .home-section-sponsored .home-grid-sponsored .nt-home-discovery-card .nt-home-discovery-media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}
