/* Card geometry stays in the shared Paak system. This file owns media and labels. */
.page-home
  .featured-works
  .list
  .item
  .work-wrapper
  .thumbnail
  .paak-project-name {
  left: 2.4rem;
  bottom: 2.4rem;
  right: auto;
  top: auto;
  width: auto;
  height: auto;
  max-width: calc(100% - 4.8rem);
  transform: none;
  z-index: 4;
  white-space: normal;
  text-shadow: 0 1px 8px rgb(0 0 0 / 0.5);
}
/* Captions sit below media; no dark overlay is needed for legibility. */
.page-home .featured-works .thumbnail::after {
  display: none;
}
.paak-rd-preview {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #080808;
}
.paak-rd-preview > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.paak-rd-preview iframe {
  position: absolute;
  inset: 0 auto auto 0;
  border: 0;
  transform-origin: 0 0;
  visibility: hidden;
}
.paak-rd-preview.is-ready iframe {
  visibility: visible;
}
.paak-rd-preview.is-ready > img {
  visibility: hidden;
}
.page-home .featured-works .thumbnail video[data-work-hover-video] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}
.page-home .featured-works .item.is-previewing video[data-work-hover-video] {
  opacity: 1;
}
@media (width < 768px) {
  .page-home
    .featured-works
    .list
    .item
    .work-wrapper
    .thumbnail
    .paak-project-name {
    left: 1.6rem;
    bottom: 1.6rem;
    max-width: calc(100% - 3.2rem);
  }
}
