.post, .slide {
  position: relative;
}
.post-flag-wrap {
  position: absolute;
  width: 75px;
  height: 75px;
  right: 0;
  top: 0;
  z-index: 100;
  pointer-events: none;
}

.post-flag {
  width: 100%;
  height: 100%;
  transform: rotate(45deg);
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

@media (min-width: 641px) {
  .post-flag-wrap {
    width: 138px;
    height: 138px;
    left: 0;
    top: 0;
    transition: width 0.1s ease, height 0.1s ease;
  }
  .post-flag {
    transform: rotate(-45deg);
  }
}
@media (any-hover: hover) and (min-width: 641px) {
  .slide:hover .post-flag-wrap {
    width: 42px;
    height: 42px;
  }
}