.testata-video[data-astro-cid-kkh3xlpq] {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: .5rem 3rem;
}

.testata-video[data-astro-cid-kkh3xlpq] .intro[data-astro-cid-kkh3xlpq] {
  margin: 0;
}

.sala[data-astro-cid-kkh3xlpq] {
  padding-bottom: var(--sezione);
}

.schermo[data-astro-cid-kkh3xlpq] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: end;
}

.quadro[data-astro-cid-kkh3xlpq] {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  overflow: hidden;
  background: var(--inchiostro);
  isolation: isolate;
}

.sfondo[data-astro-cid-kkh3xlpq] {
  position: absolute;
  inset: -40px;
  background: center / cover no-repeat;
  filter: blur(34px) brightness(.55) saturate(1.1);
  z-index: -1;
}

.lettore[data-astro-cid-kkh3xlpq] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
}

.quadro[data-astro-cid-kkh3xlpq] iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.avvia-yt[data-astro-cid-kkh3xlpq] {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .9rem;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
  font: inherit;
}

.tondo[data-astro-cid-kkh3xlpq] {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #fff;
  color: var(--rosso);
  transition: transform .25s var(--curva);
}

.tondo[data-astro-cid-kkh3xlpq] svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}

.avvia-yt[data-astro-cid-kkh3xlpq]:hover .tondo[data-astro-cid-kkh3xlpq] {
  transform: scale(1.07);
}

.nota-yt[data-astro-cid-kkh3xlpq] {
  font-size: .875rem;
  color: #fffc;
}

.barra[data-astro-cid-kkh3xlpq] {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #ffffff2e;
  pointer-events: none;
}

.barra[data-astro-cid-kkh3xlpq] span[data-astro-cid-kkh3xlpq] {
  display: block;
  height: 100%;
  background: var(--rosso);
  transform: scaleX(0);
  transform-origin: 0;
  transition: transform .25s linear;
}

.yt[data-astro-cid-kkh3xlpq] .barra[data-astro-cid-kkh3xlpq], .yt[data-astro-cid-kkh3xlpq] .controlli[data-astro-cid-kkh3xlpq] {
  display: none;
}

.in-arrivo[data-astro-cid-kkh3xlpq] {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  padding: .4rem .8rem;
  border-radius: 999px;
  background: #ffffffeb;
  color: var(--inchiostro);
  font-size: .875rem;
  font-weight: 560;
  display: none;
}

.vuoto[data-astro-cid-kkh3xlpq] .in-arrivo[data-astro-cid-kkh3xlpq] {
  display: block;
}

.vuoto[data-astro-cid-kkh3xlpq] .sfondo[data-astro-cid-kkh3xlpq] {
  filter: brightness(.9);
  inset: 0;
}

.controlli[data-astro-cid-kkh3xlpq] {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  gap: .5rem;
}

.ctrl[data-astro-cid-kkh3xlpq] {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: #14181d9e;
  color: #fff;
  backdrop-filter: blur(10px);
  transition: background-color .2s;
}

.ctrl[data-astro-cid-kkh3xlpq]:hover {
  background: #14181de6;
}

.ctrl[data-astro-cid-kkh3xlpq] svg {
  width: 1.25rem;
  height: 1.25rem;
}

.didascalia[data-astro-cid-kkh3xlpq] {
  padding-bottom: .5rem;
}

.d-data[data-astro-cid-kkh3xlpq] {
  display: block;
  font-size: .875rem;
  color: var(--grafite);
  margin-bottom: .6rem;
}

.d-titolo[data-astro-cid-kkh3xlpq] {
  font-size: var(--t-2);
  margin-bottom: 1rem;
}

.d-testo[data-astro-cid-kkh3xlpq] {
  color: var(--grafite);
  max-width: 40ch;
}

.d-link[data-astro-cid-kkh3xlpq] {
  margin-top: .5rem;
}

.pellicola[data-astro-cid-kkh3xlpq] {
  margin-top: clamp(3rem, 6vw, 5rem);
}

.pellicola[data-astro-cid-kkh3xlpq] h2[data-astro-cid-kkh3xlpq] {
  font-size: var(--t-3);
  margin-bottom: 1.25rem;
}

.striscia[data-astro-cid-kkh3xlpq] {
  list-style: none;
  margin: 0;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 0 var(--margine) 1rem;
  scroll-padding-inline: var(--margine);
  scrollbar-width: thin;
}

.striscia[data-astro-cid-kkh3xlpq] li[data-astro-cid-kkh3xlpq] {
  flex: 0 0 clamp(220px, 24vw, 320px);
  scroll-snap-align: start;
}

.fotogramma[data-astro-cid-kkh3xlpq] {
  display: grid;
  gap: .5rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.miniatura[data-astro-cid-kkh3xlpq] {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--palco);
  outline: 3px solid #0000;
  outline-offset: -3px;
  transition: outline-color .2s;
}

.miniatura[data-astro-cid-kkh3xlpq] img[data-astro-cid-kkh3xlpq] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--curva);
}

.vuota[data-astro-cid-kkh3xlpq] {
  display: block;
  height: 100%;
  background: var(--inchiostro);
}

.fotogramma[data-astro-cid-kkh3xlpq]:hover img[data-astro-cid-kkh3xlpq] {
  transform: scale(1.05);
}

.in-onda[data-astro-cid-kkh3xlpq] {
  position: absolute;
  left: .7rem;
  top: .7rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  background: var(--rosso);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity .2s;
}

.fotogramma[data-astro-cid-kkh3xlpq][aria-current="true"] .miniatura[data-astro-cid-kkh3xlpq] {
  outline-color: var(--rosso);
}

.fotogramma[data-astro-cid-kkh3xlpq][aria-current="true"] .in-onda[data-astro-cid-kkh3xlpq] {
  opacity: 1;
}

.f-titolo[data-astro-cid-kkh3xlpq] {
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.25;
}

.f-data[data-astro-cid-kkh3xlpq] {
  font-size: .8125rem;
  color: var(--grafite);
  margin-top: -.25rem;
}

@media (width <= 900px) {
  .schermo[data-astro-cid-kkh3xlpq] {
    grid-template-columns: 1fr;
  }

  .quadro[data-astro-cid-kkh3xlpq] {
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .barra[data-astro-cid-kkh3xlpq] span[data-astro-cid-kkh3xlpq], .miniatura[data-astro-cid-kkh3xlpq] img[data-astro-cid-kkh3xlpq], .tondo[data-astro-cid-kkh3xlpq] {
    transition: none;
  }
}
