.rebus-hero-scene {
  position: relative;
  isolation: isolate;
  justify-self: center;
  width: min(100%, 520px);
  padding: 4% 3% 10% 10%;
}

.rebus-hero-scene > img {
  position: absolute;
  bottom: 0;
  left: -3%;
  width: 43%;
  height: auto;
  pointer-events: none;
}

.rebus-hero-board {
  display: grid;
  place-items: center;
  aspect-ratio: 1.17;
  border: clamp(5px, 1.3vw, 12px) ridge #bf975e;
  border-radius: 13px 5px 15px 8px;
  background: linear-gradient(#62734ee6, #4956389e), url("/assets/office-rebus-cork.webp") center / cover;
  box-shadow: 4px 6px 13px #49381955;
  transform: rotate(2deg);
}

.rebus-board-note {
  position: relative;
  width: min(92%, 26rem);
  margin: 0;
  padding: 13% 2%;
  color: #242318;
  background: var(--featured-category-paper) center / 520px auto, #fbefd4;
  border-radius: 5px 10px 6px 11px;
  box-shadow: 2px 5px #433a2944;
  font: 800 clamp(.71rem, 3vw, 2.3rem)/1 var(--font-ui);
  text-align: center;
  white-space: pre;
  transform: rotate(-6deg);
}

.rebus-board-note::before {
  content: "";
  position: absolute;
  top: 8%;
  left: 49%;
  width: clamp(6px, 1.1vw, 14px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 29%, #ffd293, #b23b2c 66%);
  box-shadow: 1px 2px 3px #422c1f80;
}

@media (max-width: 680px) {
  .rebus-hero-scene { padding-inline: 2%; }
  .rebus-hero-scene > img { bottom: -4%; left: -3%; width: 46%; }
}
