.thumbnail__icon {
  width: 2.5000rem;
  height: 2.5000rem;
  position: absolute;
  left: 0.9375rem;
  top: 0.9375rem;
  background-color: var(--hh-color-background);
  border-radius: 50%;
  border: 0.0625rem solid var(--hh-color-light);
  color: var(--hh-color-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.thumbnail__icon > svg {
  width: 0.7500rem;
  height: 0.8750rem;
}

.thumbnail__deferred-media > * {
  display: block;
  max-width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.thumbnail__overlay-toggle {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: transparent;
  border: none;
  display: block;
  margin: 0;
  padding: 0;
  z-index: 2;
}

.thumbnail__deferred-poster {
  width: 100%;
  height: 100%;
  background-color: transparent;
  border: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumbnail__deferred-poster > img {
  width: auto;
  height: 100%;
}

.thumbnail__deferred-poster-button {
  background-color: var(--hh-color-background);
  border: 0.0625rem solid var(--hh-color-light);
  border-radius: 50%;
  color: var(--hh-color-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.8750rem;
  width: 3.8750rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
  transition: transform var(--hh-duration-short) ease,
    color var(--hh-duration-short) ease;
  z-index: 1;
}

.thumbnail__deferred-poster-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.thumbnail__deferred-poster-button > svg {
  width: 1.2500rem;
  height: 1.2500rem;
}

.thumbnail__deferred-poster-button > svg.icon-play {
  margin-left: 0.1250rem;
}

/* @todo port to web component */
.deferred-media[loaded] > .thumbnail__deferred-poster {
  display: none;
}

.thumbnail__image {
  width: 100%;
  height: 100%;
  display: block;
  scroll-snap-align: center;
}

.thumbnail__image img {
  height: 100%;
  object-fit: cover;
}

@media screen and (min-width: 750px) {
  .thumbnail__image {
    overflow: hidden;
  }
}
