body.play-page-active {
  background-color: #fff;
  color: #000;
}

body.play-page-active .heading-11,
body.play-page-active .heading-xlarge,
body.play-page-active .text-block-49,
body.play-page-active .text-block-50,
body.play-page-active .text-block-50.body-title,
body.play-page-active .text-block-bp1,
body.play-page-active .text-block-bp1.body-title,
body.play-page-active .text-block-51,
body.play-page-active .text-block-52,
body.play-page-active .text-block-53,
body.play-page-active .text-block-tab,
body.play-page-active .selected-works-copy {
  color: #000;
}

/* Footer: match case-study detail pages */
body.play-page-active .selected-works {
  width: 100%;
}

body.play-page-active .project-titles {
  color: #ff4000;
}

body.play-page-active .div-block-131 .project-number {
  display: none;
}

body.play-page-active .div-block-131 .link-block-10,
body.play-page-active .div-block-131 .link-block-11,
body.play-page-active .div-block-131 .link-block-12,
body.play-page-active .div-block-131 .link-block-13,
body.play-page-active .div-block-131 .link-block-14 {
  justify-content: flex-start;
}

body.play-page-active .footer-name {
  color: #696969;
}

body.play-page-active .text-block-60 {
  color: #696969;
}

body.play-page-active .cursor-wrapper {
  display: none;
}

.play-page {
  box-sizing: border-box;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 7.5rem 1.5rem 5rem;
}

.play-page *,
.play-page *::before,
.play-page *::after {
  box-sizing: border-box;
}

.play-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 1.5rem;
  align-items: start;
}

.play-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  border: none;
  padding: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.play-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #f3f3f3;
  border-radius: 2px;
}

.play-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.play-card__img--crop-top {
  object-position: top center;
  transform: scale(1.22);
  transform-origin: top center;
}

.play-card__video-thumb {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}

.play-card__video-thumb iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  border: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: transform 0.45s ease;
}

.play-card:hover .play-card__img {
  transform: scale(1.03);
}

.play-card:hover .play-card__img--crop-top {
  transform: scale(1.26);
}

.play-card:hover .play-card__video-thumb iframe {
  transform: translate(-50%, -50%) scale(1.03);
}

.play-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.play-card__title {
  margin: 0;
}

.play-card__meta {
  margin: 0;
}

.play-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background-color: rgba(0, 0, 0, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.play-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.play-modal__dialog {
  position: relative;
  width: min(56rem, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 4px;
}

.play-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.play-modal__content {
  padding: 0;
}

.play-modal__content > img {
  display: block;
  width: 100%;
  height: auto;
}

.play-modal__dialog:has(.play-modal__grid-wrap) {
  width: min(72rem, 100%);
}

.play-modal__pager {
  padding: 2.5rem 1.5rem 1.75rem;
}

.play-modal__pager-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-right: 2.5rem;
}

.play-modal__pager-title {
  margin: 0;
}

.play-modal__pager-count {
  margin: 0;
  flex-shrink: 0;
}

.play-modal__pager-stage {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.play-modal__pager-nav {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #000;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-family: Space Grotesk, sans-serif;
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.play-modal__pager-nav:hover:not(:disabled) {
  background: #000;
  color: #fff;
}

.play-modal__pager-nav:disabled {
  opacity: 0.25;
  cursor: default;
}

.play-modal__pager-frame {
  min-height: min(70vh, 36rem);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
  border-radius: 2px;
  overflow: hidden;
  touch-action: pan-y;
}

.play-modal__pager-img {
  display: block;
  width: 100%;
  max-height: min(70vh, 36rem);
  object-fit: contain;
  object-position: center;
}

.play-modal__grid-wrap {
  padding: 2.5rem 1.5rem 1.75rem;
}

.play-modal__grid-title {
  margin: 0 0 1.25rem;
  padding-right: 2.5rem;
}

.play-modal__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-height: min(72vh, 40rem);
  overflow: auto;
  padding-right: 0.25rem;
}

.play-modal__grid-cell {
  overflow: hidden;
  border-radius: 2px;
  background: #f3f3f3;
}

.play-modal__grid-cell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.play-modal__video {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

.play-modal__video--square {
  padding-top: 100%;
}

.play-modal__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

body.play-page-active .container-9 > .footer-line {
  margin-top: 4rem;
}

@media screen and (max-width: 991px) {
  .play-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1.25rem;
  }
}

@media screen and (max-width: 991px) {
  .play-modal__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 599px) {
  .play-page {
    padding-top: 6.5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .play-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .play-modal__pager {
    padding: 2.25rem 1rem 1.25rem;
  }

  .play-modal__pager-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding-right: 2rem;
  }

  .play-modal__pager-stage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.65rem;
  }

  .play-modal__pager-frame {
    grid-column: 1 / -1;
    min-height: min(58vh, 28rem);
  }

  .play-modal__pager-nav {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1rem;
  }

  .play-modal__pager-nav--prev {
    justify-self: start;
  }

  .play-modal__pager-nav--next {
    justify-self: end;
  }

  .play-modal__grid-wrap {
    padding: 2.25rem 1rem 1.25rem;
  }

  .play-modal__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }
}
