@media (pointer: fine) {
  html,
  body,
  a,
  button,
  [role="button"] {
    cursor: url("../images/cursor-rocket-32.png") 6 8, auto;
  }

  html.rocket-cursor,
  html.rocket-cursor * {
    cursor: none !important;
  }

  html.rocket-cursor input,
  html.rocket-cursor textarea,
  html.rocket-cursor select,
  html.rocket-cursor input *,
  html.rocket-cursor textarea * {
    cursor: text !important;
  }
}

.rocket-cursor-el {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  will-change: transform;
}

.rocket-cursor-el img {
  display: block;
  width: 72px;
  height: auto;
  filter: drop-shadow(0 3px 6px rgba(20, 24, 28, 0.45));
  transform-origin: 18% 28%;
  transition: transform 0.18s var(--ease-editorial, cubic-bezier(0.22, 1, 0.36, 1));
}

.rocket-cursor-el.is-hot img {
  transform: scale(1.12);
}

.rocket-cursor-el.is-hidden {
  opacity: 0;
}

.media-match-frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.media-match-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.media-match-frame.is-wide {
  aspect-ratio: 4 / 3;
}

.media-match-frame.is-wide img {
  object-position: center;
}

@media (width >= 64rem) {
  .media-match {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
  }

  .media-match-frame {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    aspect-ratio: auto;
  }

  .media-match-frame.is-wide {
    aspect-ratio: auto;
  }

  .media-match-frame img {
    position: absolute;
    inset: 0;
  }
}

.chapter-row {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.chapter-sign {
  margin: 0;
  width: min(100%, 22rem);
}

.chapter-sign img {
  display: block;
  width: 100%;
  height: auto;
}

@media (width >= 64rem) {
  .chapter-row {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
    column-gap: 4rem;
    align-items: stretch;
  }

  .chapter-sign {
    position: relative;
    width: auto;
    min-height: 0;
  }

  .chapter-sign img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    transform: translateX(-50%);
  }
}
