/* R29: thumbnail-only Ribbon; keep the backdrop, identity and outside copy. */
.hero-ribbon .ribbon-piece,
.hero-ribbon .ribbon-piece[aria-pressed="true"],
.hero-ribbon .ribbon-piece[aria-pressed="true"]:hover {
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
}
.hero-ribbon .ribbon-art {
  aspect-ratio: var(--r29-thumbnail-ratio, 1.55);
  max-height: 72svh;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.hero-ribbon .ribbon-art :is(img,video) { border: 0; outline: 0; }

/* Reserve the enlarged image height, so the labels never jump when hovering.
 * Each end scales towards its own outer edge, matching the two-sided layout. */
#app .case-neighbours-r29 {
  display: grid;
  order: 6;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: start;
  gap: clamp(28px,7vw,120px);
  margin: clamp(88px,11vw,170px) 0 0;
  padding: 0;
  border: 0;
  mix-blend-mode: normal;
  isolation: isolate;
}
#app .case-neighbour-r29 {
  display: block;
  min-width: 0;
  color: #fff;
  text-decoration: none;
  border: 0;
  outline: 0;
  background: transparent;
  mix-blend-mode: normal;
}
#app .case-neighbour-media-r29 {
  display: block;
  position: relative;
  width: 100%;
  height: clamp(220px,25vw,430px);
  aspect-ratio: auto;
  padding: 0;
  margin: 0 0 16px;
  background: transparent;
  overflow: visible;
  border: 0;
  outline: 0;
}
#app .case-neighbour-art-r29 {
  display: block;
  position: absolute;
  inset: 0;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  transform: scale(.56);
  transform-origin: left bottom;
  transition: transform 650ms cubic-bezier(.22,1,.36,1);
  will-change: transform;
}
#app .case-neighbour-art-r29 > img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left bottom;
  border: 0;
  outline: 0;
  box-shadow: none;
  mix-blend-mode: normal;
}
#app .case-neighbour-label-r29 {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  color: #aaa;
  font-size: clamp(13px,1.2vw,18px);
  line-height: 1.3;
}
#app .case-neighbour-arrow-r29 {
  display: block;
  flex: none;
  color: #fff;
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
  transition: transform 450ms cubic-bezier(.22,1,.36,1);
}
#app .case-neighbour-r29 h2 {
  margin: 12px 0 0;
  font-size: clamp(32px,5.8vw,92px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
#app .case-neighbour-r29.is-next { text-align: right; }
#app .is-next .case-neighbour-art-r29 { transform-origin: right bottom; }
#app .is-next .case-neighbour-art-r29 > img { object-position: right bottom; }
#app .is-next .case-neighbour-label-r29 { justify-content: end; }
#app .is-next .case-neighbour-arrow-r29 { order: 2; }
#app .case-neighbour-art-r29 .film-cover {
  min-height: 0;
  width: 100%;
  height: 100%;
  padding: 24px;
  background: #151515;
}
#app .case-neighbour-art-r29 .film-title { font-size: clamp(24px,3.8vw,60px); }
@media (hover:hover) and (pointer:fine) {
  #app .case-neighbour-r29:hover .case-neighbour-art-r29 { transform: scale(1); }
  #app .is-previous:hover .case-neighbour-arrow-r29 { transform: translateX(-6px); }
  #app .is-next:hover .case-neighbour-arrow-r29 { transform: translateX(6px); }
}
#app .case-neighbour-r29:focus-visible .case-neighbour-art-r29 { transform: scale(1); }
#app .case-neighbour-r29:focus-visible .case-neighbour-label-r29 { color: #fff; background: #222; }
@media (max-width:680px), (hover:none), (pointer:coarse) {
  #app .case-neighbours-r29 { gap: 20px; margin-top: 70px; }
  #app .case-neighbour-media-r29 { height: auto; aspect-ratio: 1.55; margin-bottom: 12px; }
  #app .case-neighbour-art-r29 { transform: none; will-change: auto; }
  #app .case-neighbour-label-r29 { gap: 8px; font-size: 12px; }
  #app .case-neighbour-arrow-r29 { font-size: 25px; }
  #app .case-neighbour-r29 h2 { font-size: clamp(25px,6.5vw,40px); margin-top: 8px; }
  #app .case-neighbour-art-r29 .film-cover { padding: 12px; }
  #app .case-neighbour-art-r29 .film-title { font-size: 20px; }
  #app .case-neighbour-art-r29 .film-play { display: none; }
}
