:root {
  --red: #ec1d25;
  --texto: #fff;
}
* {
  box-sizing: border-box;
}
body {
  background: #000 !important;
}

@font-face {
  font-family: "Inter";
  src: url("http://dkumiip2e9ary.cloudfront.net/xalok/cinemania/especiales/dexter/fonts/Inter-VF.woff2")
    format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.c-detail__embed {
  overflow: unset !important;
}
.c-detail__top,
.c-detail__data {
  display: none !important;
}
.c-detail--special .c-detail__content {
  background: #000 !important;
  margin: 0 auto !important;
  padding: 0 !important;
}
.content-title-h1,
.content-title-h2,
.c-paragraph__title {
  color: var(--red) !important;
}
.content-title-h1,
.content-title-h2 {
  font-size: 3rem !important;
  line-height: 3.4rem !important;
  font-weight: 600 !important;
  text-align: center !important;
}
.content-title-h2 {
  max-width: 99rem !important;
}
.c-paragraph__title {
  font-family: "pfd-medium", serif !important;
  font-size: 2.2rem !important;
  line-height: 2.2rem !important;
  font-weight: 600 !important;
  text-align: left !important;
  text-transform: none !important;
}
.c-paragraph {
  font-size: 1.8rem !important;
  line-height: 2.6rem !important;
  font-weight: 400 !important;
  color: var(--texto) !important;
}
.c-paragraph b {
  font-weight: 700 !important;
}
.composite-richtext p {
  font-family: "Source-Serif-Regular", serif !important;
  font-size: 2.2rem !important;
  line-height: 2.8rem !important;
  font-weight: 400 !important;
  color: var(--texto) !important;
}
.c-phrase__blockquote {
  display: flex !important;
  align-items: center !important;
  gap: 1.5rem !important;
  margin: 3.5rem auto !important;
  padding: 0 1rem !important;
  font-family: "pfd-medium", serif !important;
  font-size: 2rem !important;
  line-height: 2.6rem !important;
  font-weight: 400 !important;
  color: var(--texto) !important;
  font-style: italic !important;
  text-align: center !important;
  background: none !important;
}
.c-phrase__blockquote:before,
.c-phrase__blockquote:after {
  content: "" !important;
  width: 10rem !important;
  height: 0.1rem !important;
  background-color: var(--red) !important;
}

.imagen-apertura {
  position: relative;
}

.blood-scene {
  position: relative;
  width: 100%;
  max-width: 100vh;
  aspect-ratio: 1.43 / 1;
  margin-inline: auto;
  background: #000;
  overflow: hidden;
  isolation: isolate;
}

.blood-pool {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 120%;
  height: 120%;
  object-fit: contain;

  opacity: 0;
  transform: scale(0.05);
  transform-origin: center;
}

.blood-scene.is-visible .blood-pool {
  animation: blood-grow 2.2s cubic-bezier(0.2, 0.65, 0.3, 1) forwards;
}

@keyframes blood-grow {
  0% {
    opacity: 0;
    transform: scale(0.05);
  }

  70% {
    opacity: 1;
    transform: scale(1.03);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.blood-video {
  position: absolute;
  z-index: 2;

  width: auto;
  height: 90%;
  max-width: 80%;

  aspect-ratio: 9 / 16;
  object-fit: contain;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  display: block;
  background: #000;
}

.imagen-dexter {
  max-width: 140rem;
  margin: 0 auto;
}

.img-txt {
  padding: 0 1rem;
  margin-bottom: 5px;
}
.img-title {
  display: inline;
  margin-right: 0.5rem;
  font-family: "Source-Serif-Regular", serif;
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 400;
  color: var(--texto);
}
.img-credit {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  line-height: 1.4rem;
  font-weight: 400;
  color: var(--texto);
  text-transform: uppercase;
}
.imagen-dexter-trio {
  row-gap: 1.6rem;
  max-width: 128rem;
  margin: 0 auto;
}

.imagen-dexter-trio img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.group {
  display: grid;
  row-gap: 1.6rem;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .blood-scene {
    width: 100%;
  }

  .blood-video {
    height: 100%;
    max-width: 75%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blood-scene.is-visible .blood-pool {
    animation: none;
    opacity: 1;
    transform: scale(1);
  }
}

.reel__link {
  display: inline-block;
  perspective: 1000px;
}
.reel__link:before {
  content: "";
  display: inline-block;
  width: 10rem;
  height: 10rem;
  position: absolute;
  top: 50%;
  left: 50%;
  background: url(https://dkumiip2e9ary.cloudfront.net/xalok/cinemania/especiales/dexter/img/Play.svg)
    no-repeat center;
  background-size: contain;
  z-index: 2;
  transform: translate(-50%, -50%) rotateY(0deg);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  backface-visibility: hidden;
}
.reel__link:hover:before {
  transform: translate(-50%, -50%) rotateY(-360deg);
}

/* Gotas de Sangre */
.blood-drip {
  position: absolute;
  top: 0;
  left: var(--x);
  width: var(--w);
  height: var(--h);
  background:
  radial-gradient(
    ellipse 58% 9% at 50% 95%,
    #c51b2b 0%,
    #a60016 55%,
    transparent 100%
  ),
  linear-gradient(
    90deg,
    #500006 0%,
    #78000b 20%,
    #a60016 48%,
    #87000d 72%,
    #480005 100%
  );
  border-radius: 48% 52% 46% 54% / 8% 9% 12% 12%;
  transform-origin: top center;
  transform: scaleY(0);
  opacity: 0;
  animation: blood-slide var(--duration) ease-in-out var(--delay) infinite;
  filter: drop-shadow(1px 1px 2px rgb(35 0 0 / 40%));
}

.blood-drip::before {
  content: "";
  position: absolute;
  top: 8%;
  left: 20%;
  width: 22%;
  height: 42%;
  border-radius: 50%;
  background: linear-gradient(
    180deg,
    rgb(255 145 145 / 60%),
    rgb(255 70 70 / 20%),
    transparent
  );
  z-index: 2;
}

.blood-drips::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;

  background: linear-gradient(
    180deg,
    #510007 0%,
    #950012 60%,
    #5b0008 100%
  );

  box-shadow: 0 2px 5px rgb(80 0 5 / 35%);
}


@keyframes blood-slide {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }

  12% {
    transform: scaleY(0.15);
    opacity: 0.95;
  }

  70% {
    transform: scaleY(1);
    opacity: 1;
  }

  90% {
    transform: scaleY(1.08);
    opacity: 0.95;
  }

  100% {
    transform: scaleY(0);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blood-drip {
    animation: none;
    transform: scaleY(1);
    opacity: 0.85;
  }
}

@media only screen and (min-width: 768px) {
  .imagen-dexter-trio {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.6rem;
    row-gap: 0;
    display: grid;
  }
  .imagen-dexter-trio > .img-txt {
    grid-column: 1 / 3;
  }
  .imagen-dexter-trio .img-txt {
    padding: 0;
    margin-bottom: 0.5rem;
    margin-top: 0.7rem;
  }
  .group {
    margin-bottom: 0;
  }
}
@media only screen and (min-width: 1024px) {
  .content-title-h1,
  .content-title-h2 {
    font-size: 5rem !important;
    line-height: 5.6rem !important;
  }
  .c-paragraph__title {
    font-size: 2.8rem !important;
    line-height: 2.8rem !important;
  }
  .c-paragraph {
    font-size: 2rem !important;
    line-height: 2.8rem !important;
  }
  .composite-richtext p {
    font-size: 3rem !important;
    line-height: 3.6rem !important;
  }
  .c-phrase__blockquote {
    font-size: 2.6rem !important;
    line-height: 3.2rem !important;
  }
  .c-phrase__blockquote:before,
  .c-phrase__blockquote:after {
    width: 20rem !important;
  }
  .img-title {
    font-size: 1.5rem;
    line-height: 1;
  }
}
