.film-feature-edition .film-feature-book[id="read-companion"] {
  background: var(--edition-book, #5b2c2d);
  color: #fff1e0;
  padding-block: clamp(2.4rem, 5.2vw, 5rem);
}

.film-feature-edition #read-companion .film-feature-book-grid {
  grid-template-columns: clamp(8rem, 15vw, 13rem) minmax(0, 38rem);
  gap: clamp(1.6rem, 5vw, 5rem);
}

.film-feature-edition #read-companion h2 {
  font-size: clamp(2.15rem, 4.2vw, 4.25rem);
  line-height: 1.02;
  margin-bottom: .9rem;
  text-wrap: balance;
}

.film-feature-edition #read-companion .film-feature-caption {
  color: #ffdc90;
}

.film-feature-edition #read-companion .edition-watch {
  background: #f3c466;
  color: #221e1b;
  border-color: #f3c466;
}

.film-feature-edition #read-companion .edition-watch:is(:hover, :focus-visible) {
  background: #ffda8b;
}

body .film-feature-edition #where-to-watch[data-viewing-layout] {
  --watch-ink: #201817;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(26rem, 39vw, 36rem);
  padding: 0;
  background: var(--watch-ink);
  color: #fff5e8;
}

body .film-feature-edition #where-to-watch[data-viewing-layout] > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--film-viewing-focus, 50% 40%);
  mask-image: none;
  opacity: 1;
}

body .film-feature-edition #where-to-watch[data-viewing-layout]::before {
  content: "";
  background:
    linear-gradient(0deg, #201817da, transparent 44%),
    linear-gradient(90deg, #201817ef 0%, #201817bc 18%, #20181738 40%, transparent 63%);
}

body .film-feature-edition #where-to-watch[data-viewing-layout][data-viewing-copy="right"]::before {
  background:
    linear-gradient(0deg, #201817da, transparent 44%),
    linear-gradient(270deg, #201817ef 0%, #201817bc 18%, #20181738 40%, transparent 63%);
}

body .film-feature-edition #where-to-watch[data-viewing-layout] .film-feature-viewing-layout {
  justify-items: start;
  min-height: 0;
  margin-top: 0;
  padding-block: clamp(1.75rem, 4vw, 3.6rem);
}

body .film-feature-edition #where-to-watch[data-viewing-layout][data-viewing-copy="right"] .film-feature-viewing-layout {
  justify-items: end;
}

body .film-feature-edition #where-to-watch[data-viewing-layout] .film-feature-viewing-copy {
  width: min(100%, 21rem);
}

body .film-feature-edition #where-to-watch[data-viewing-layout] h2 {
  font: 820 clamp(2.25rem, 4.6vw, 4.25rem)/.95 var(--edition-sans);
  letter-spacing: -.057em;
}

body .film-feature-edition #where-to-watch[data-viewing-layout="below"] {
  display: block;
  min-height: 0;
}

body .film-feature-edition #where-to-watch[data-viewing-layout="below"]::before {
  content: none;
}

body .film-feature-edition #where-to-watch[data-viewing-layout="below"] > img {
  position: relative;
  height: clamp(21rem, 35vw, 37rem);
  mask-image: linear-gradient(0deg, transparent, #000 16%);
}

body .film-feature-edition #where-to-watch[data-viewing-layout="below"] .film-feature-viewing-layout {
  margin-top: -1rem;
  padding-block: .3rem clamp(1.5rem, 3vw, 2.5rem);
}

body .film-feature-edition #where-to-watch[data-viewing-layout="below"] .film-feature-viewing-copy {
  width: min(100%, 42rem);
}

body .film-feature-edition #where-to-watch.film-priced-viewing[data-viewing-layout] .film-feature-viewing-copy {
  width: min(100%, 44rem);
}

@media (max-width: 680px) {
  .film-feature-edition #read-companion .film-feature-book-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  body .film-feature-edition #where-to-watch[data-viewing-layout] {
    display: block;
    min-height: 0;
  }

  body .film-feature-edition #where-to-watch[data-viewing-layout] > img {
    position: relative;
    height: auto;
    aspect-ratio: var(--film-viewing-mobile-ratio, 16 / 10);
    object-position: var(--film-viewing-mobile-focus, var(--film-viewing-focus, center));
    mask-image: linear-gradient(0deg, transparent, #000 18%);
  }

  body .film-feature-edition #where-to-watch[data-viewing-layout][data-viewing-layout]::before {
    content: none;
  }

  body .film-feature-edition #where-to-watch[data-viewing-layout][data-viewing-copy] .film-feature-viewing-layout {
    justify-items: start;
    margin-top: -.85rem;
    padding-block: .25rem 1.65rem;
  }

  body .film-feature-edition #where-to-watch[data-viewing-layout] .film-feature-viewing-copy {
    width: 100%;
  }
}

body.films-paanch-page .film-feature-edition #where-to-watch[data-viewing-layout] {
  --watch-ink: #261517;
  background: radial-gradient(ellipse at 70% 20%, #5c201e, var(--watch-ink) 72%);
  overflow: hidden;
}

body.films-paanch-page .film-feature-edition #where-to-watch[data-viewing-layout] > img {
  object-position: center top;
  --paanch-top-fade: linear-gradient(180deg, transparent 6%, #000 16%);
  --paanch-right-face: linear-gradient(90deg, transparent 50%, #000 65%);
  mask-composite: intersect, add;
}

@media (min-width: 681px) {
  body.films-paanch-page .film-feature-edition #where-to-watch[data-viewing-layout] > img {
    inset: auto clamp(0px, (100vw - 800px) * .12, 5.75rem) 0 auto;
    width: auto;
    height: calc(100% - 1rem);
    aspect-ratio: 700 / 485;
    mask-image:
      linear-gradient(90deg, transparent, #000 9%, #000 93%, transparent),
      var(--paanch-top-fade),
      var(--paanch-right-face);
  }

  body.films-paanch-page .film-feature-edition #where-to-watch[data-viewing-layout]::before {
    background:
      linear-gradient(0deg, #2615178c, transparent 20%),
      linear-gradient(90deg, #261517 10%, #261517b8 24%, transparent 50%);
  }
}

@media (max-width: 680px) {
  body.films-paanch-page .film-feature-edition #where-to-watch[data-viewing-layout] > img {
    aspect-ratio: 700 / 485;
    margin-top: .5rem;
    mask-image:
      linear-gradient(0deg, transparent, #000 9%),
      var(--paanch-top-fade),
      var(--paanch-right-face);
  }
}
