.calendar-tablet {
  width: min(var(--wrap), 996px);
  margin: clamp(24px, 5vw, 58px) auto clamp(35px, 6vw, 78px);
  text-align: center;
  scroll-margin-top: 85px;
}

.calendar-tablet-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  padding: clamp(12px, 2vw, 28px) 7% 0;
  background: radial-gradient(ellipse at 48% 47%, #2b4463 0%, #142740 44%, transparent 72%);
}

.calendar-tablet-device {
  position: relative;
  width: 100%;
  padding: clamp(4px, 1.15vw, 13px);
  border: 1px solid #aeb9ca;
  border-radius: clamp(12px, 3.2vw, 34px);
  background: linear-gradient(155deg, #303945 8%, #12171d 19%, #11161c 79%, #586472);
  box-shadow:
    0 2px 0 #727d8a, 0 4px 0 #515c69, 0 6px 0 #343e4a,
    2px 17px 24px #020710a6, 8px 36px 64px #01070f99;
  transform: perspective(1450px) rotateZ(-8deg) rotateX(31deg) rotateY(-7deg);
}

.calendar-tablet-device img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2420 / 1668;
  object-fit: contain;
  image-orientation: from-image;
  border-radius: clamp(8px, 2.45vw, 23px);
  background: #101927;
}

.calendar-tablet figcaption {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: .55rem;
  row-gap: .15rem;
  margin-top: clamp(12px, 2.5vw, 24px);
  color: #b8c5d6;
  font-size: .875rem;
}

.calendar-tablet figcaption strong {
  color: #e7c499;
  font-weight: 600;
}

@media (min-width: 601px) {
  .calendar-tablet figcaption span::before { content: "· "; }
}

@media (max-width: 600px) {
  .calendar-tablet-stage { padding-inline: 5%; }
  .calendar-tablet-device {
    transform: perspective(800px) rotateZ(-4deg) rotateX(20deg) rotateY(-4deg);
    box-shadow: 0 2px 0 #727d8a, 0 4px 0 #424e5c, 0 12px 24px #020710ad;
  }
  .calendar-tablet figcaption { flex-direction: column; align-items: center; }
}
