/* R */

/* 
TODO
- handle if image does not keep aspect ratio to fill slot?
*/

/* Serie */
.event-serie {
  --ratio: 3 / 2;
  position: absolute !important;
  top: 0;
  right: 0;
  display: grid;
  place-items: end;
  width: 100%;
  height: auto;
  aspect-ratio: var(--ratio);
}
.event-serie img {
  inline-size: var(--size-button);
  margin: var(--margin);
} 
@media screen and (min-width: 30em) {
  .event-serie {
    --ratio: 2 / 3;
    height: 100%;
  }
}