.NodeMediaTrending-title {
  line-height: 1.26;
  font-family: var(--title-font);
  font-weight: normal;
  margin: 0 0 2rem;
  font-size: clamp(9px, 2.3rem, 23px);
}
@media (max-width: 999px) {
  .NodeMediaTrending-title {
    font-size: 2.2rem;
  }
}

.NodeMediaTrending-type {
  font-size: clamp(9px, 1.2rem, 12px);
  text-transform: uppercase;
  font-family: var(--base-font);
  letter-spacing: 1px;
  margin: 0 0 2rem;
  order: -1;
}

.NodeMediaTrending {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  position: relative;
}
@media (max-width: 999px) {
  .NodeMediaTrending {
    display: grid;
    gap: 0 2rem;
    grid-template-columns: 1fr auto;
    grid-template-areas: "type img" "title img" "chapo chapo";
  }
}
.NodeMediaTrending-title a {
  text-decoration: none;
}
.NodeMediaTrending-title a::before {
  content: "";
  position: absolute;
  inset: 0px;
  z-index: 10;
}
.NodeMediaTrending-title a:hover {
  text-decoration: underline;
}
@media (max-width: 999px) {
  .NodeMediaTrending-title {
    grid-area: title;
    margin-bottom: 2rem;
  }
}
.NodeMediaTrending-img {
  order: -2;
  margin-bottom: 1.5rem;
  overflow: hidden;
  position: relative;
  align-self: start;
}
.NodeMediaTrending-img::after {
  content: "";
  height: 3rem;
  width: 3rem;
  background: white url("/themes/custom/academie_sciences/assets/img/icons_sprite.svg#play1") center no-repeat;
  background-size: 1.2rem 1.2rem;
  border-radius: 50%;
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
}
@media (max-width: 999px) {
  .NodeMediaTrending-img {
    grid-area: img;
  }
}
.NodeMediaTrending-img img {
  display: block;
  width: 100%;
  aspect-ratio: 275/180;
  object-fit: cover;
  transform: none;
  transition: transform 0.2s ease-out 0s;
}
@media (max-width: 679px) {
  .NodeMediaTrending-img img {
    width: 110px;
  }
}
.NodeMediaTrending-type {
  margin-bottom: 1.5rem;
}
@media (max-width: 999px) {
  .NodeMediaTrending-type {
    grid-area: type;
    margin-bottom: 0.5rem;
  }
}
.NodeMediaTrending-chapo {
  font-size: clamp(12px, 1.4rem, 14px);
}
.NodeMediaTrending-chapo p:last-child {
  margin-bottom: 0;
}
@media (max-width: 999px) {
  .NodeMediaTrending-chapo {
    grid-area: chapo;
  }
}
.NodeMediaTrending:has(a:hover) .NodeMediaTrending-img img, .NodeMediaTrending:focus-within .NodeMediaTrending-img img {
  transition-timing-function: ease-in;
  transform: scale(1.05);
}

/*# sourceMappingURL=nodeMediaTrending.css.map */
