.node-teaser {
  display: flex;
  flex-flow: row;

  height: var(--height-podcast-teaser);

  position: relative;
}

.node-teaser--picto {
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
}

.node-teaser--picto img {
  height: 2rem;
  width: auto;
}

.node-teaser--image {
  font-size: 0;
}
.node-teaser--image img {
  height: var(--height-podcast-teaser);
  width: auto;
}


.node-teaser--infos {
  padding: 0.5em 1em;
  flex: 1;
}

.node-teaser--categories {
  padding: 0.5em 0.8em 0.5em 0;

  display:flex;
  flex-flow: column;
}

.node-teaser--categories a {
  text-transform: uppercase;
  font-weight: 700;

  font-size: 0.8em;
  letter-spacing: 0.05rem;

  margin-bottom: 0.2em;
}

.node-teaser--time-and-date {
  position: absolute;
  bottom: 0;
  right: 0;
}

.node-teaser--date time,
.node-teaser--date time:after {
  background-color: white;
  color: var(--color-black);

  font-weight: 600;
}


.node-teaser--date {
  margin-top: auto;
  text-align: right;
  padding-top: 0.5em;
  display: inline-block;
}

.node-teaser--date time {
  position: relative;

  padding-right: 0.5em;
  padding-left: 0.7em;
}

.node-teaser--date time:after {
  content: '';
  display: inline-block;
  width: 1em;
  transform: skew(-25deg, 0deg);
  height: 100%;
  position: absolute;
  transform-origin: bottom left;
  top: 0px;
  left: -0.7em;
}

@media only screen and (max-width: 55em) {
  .node-teaser--categories {
    display: none;
  }
}

@media only screen and (max-width: 40em) {
  .node-teaser--infos {
    padding: 1vw 2vw;
  }

  .node-teaser {
    --height-podcast-teaser: 21vw;
  }

}

@media only screen and (max-width: 25.87em) {
  .node-teaser {
    font-size: 4vw;
  }
}
