.pm-mosaic {
  position: relative;
  width: 100%;
  color: #202020;
}

.pm-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 2872 / 1842;
  overflow: hidden;
  background: #f1ede4;
}

.pm-frame {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.pm-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.pm-cell:nth-child(1),
.pm-cell:nth-child(2),
.pm-cell:nth-child(5),
.pm-cell:nth-child(6) {
  grid-column: span 2;
}

.pm-cell img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
}

.pm-cell span {
  padding: 20px;
  color: #202020;
  font-family: "Safiro", sans-serif;
  font-size: clamp(18px, 2.5vw, 36px);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

@media (max-width: 600px) {
  .pm-stage {
    aspect-ratio: 1436 / 3684;
  }

  .pm-frame {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(6, minmax(0, 1fr));
  }

  .pm-cell span {
    padding: 18px;
    font-size: clamp(20px, 5vw, 28px);
  }
}
.pm-mosaic .pm-pause {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #20202044;
  border-radius: 50%;
  background: #fff9;
  color: #202020;
  font: 16px/1 sans-serif;
  cursor: pointer;
}
.pm-mosaic .pm-pause:focus-visible {
  outline: 2px solid #546250;
  outline-offset: 3px;
}
.pm-description {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
