/* Vertical YouTube Short shown beside a service page's intro */
.hm-short {
  position: relative;
  width: min(100%, 360px);
  margin: 0 auto;
}
.hm-short::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border-radius: 26px;
  background: #fbe6f1;
}
.hm-short__film {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  max-height: 640px;
  border-radius: 26px;
  background: #6a1a4b;
  box-shadow: 0 24px 54px rgba(106, 26, 75, .24);
}
.hm-short__film iframe,
.hm-short__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
}
.hm-short__poster { display: block; overflow: hidden; background: #6a1a4b; cursor: pointer; }
.hm-short__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}
.hm-short__poster:hover img { transform: scale(1.04); }
.hm-short__poster:focus-visible { outline: 3px solid #c93788; outline-offset: -5px; }
.hm-short__play {
  position: absolute;
  top: 82%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  color: #fff;
  background: #c93788;
  box-shadow: 0 0 0 0 rgba(201, 55, 136, .5);
  transform: translate(-50%, -50%);
  animation: hm-short-pulse 2.4s ease-out infinite;
}
.hm-short__play svg { margin-left: 3px; }
@keyframes hm-short-pulse {
  to { box-shadow: 0 0 0 22px rgba(201, 55, 136, 0); }
}
@media (max-width: 575px) {
  .hm-short { width: min(calc(100% - 12px), 310px); }
  .hm-short::before { inset: 10px -10px -10px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-short__play { animation: none; }
  .hm-short__poster img { transition: none; }
}
