\
/* wrapper */
.apt-gallery { max-width: 1024px; margin: 0 auto; }

/* grid items (si appoggia a PureCSS) */
.apt-gallery .apt-item { padding: 8px; box-sizing: border-box; }
.apt-thumb { width: 100%; height: auto; display: block; border-radius: 6px; }

/* hero video */
.apt-hero-video { position: relative; overflow: hidden; border-radius: 8px; }
.apt-hero-video__tag { width: 100%; height: auto; display: block; }
.apt-hero-gif { position: relative; display:block; }
.apt-hero-gif img { width:100%; height:auto; display:block; border-radius:8px; }

.apt-hero-video::after,
.apt-hero-gif::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(237,83,105,.35), rgba(200,0,60,.15));
  pointer-events: none;
  border-radius: 8px;
}

.apt-play {
  position: absolute; left: 24px; top: 24px;
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; z-index: 2;
}
.apt-play::before {
  content: "";
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 3px 10px rgba(0,0,0,.18);
}
.apt-play__label {
  font-weight: 600; color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.35);
}

@media (min-width: 1024px) {
  .apt-gallery .apt-item { padding: 10px; }
}
