.adv-ads img {
  position: absolute;
  top: 50%;
  width: 44cqw;
}

.adv-ads img:nth-child(1) {
  left: -12cqw;
  width: 48cqw;
  transform: translateY(-60%) rotate(-8deg);
}

.adv-ads img:nth-child(2) {
  left: 62cqw;
  width: 48cqw;
  transform: translateY(-42%) rotate(7deg);
}

.adv-ads img:nth-child(3) {
  left: 21cqw;
  width: 58cqw;
  transform: translateY(-50%) rotate(-1deg);
  box-shadow:
    0 0 0 1px rgba(168, 212, 240, 0.2),
    0 1.6cqw 0 #040b16,
    0 60px 110px -24px rgba(0, 0, 0, 0.9),
    0 0 160px -30px rgba(77, 141, 255, 0.7);
}

.adv-ad {
  justify-self: center;
  width: min(100%, 600px);
  margin: 0;
}

.adv-ad .work {
  width: 100%;
  transform: rotate(-2deg);
}

.adv-cost {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.adv-cost .tile__fig {
  white-space: nowrap;
}

.adv-cost .tile:first-child {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 72px);
  min-height: 0;
}

.adv-cost .tile:first-child .tile__fig {
  font-size: clamp(88px, 17vw, 300px);
}

.adv-cost .tile:first-child p {
  margin: 0;
  max-width: 22em;
  font-size: clamp(19px, 1.7vw, 28px);
  font-weight: 500;
  line-height: 1.35;
}

.adv-school {
  position: relative;
  overflow: hidden;
  justify-content: flex-end;
  min-height: clamp(340px, 32vw, 520px);
  isolation: isolate;
}

.adv-school img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.adv-school::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 13, 27, 0) 20%, rgba(5, 13, 27, 0.8) 58%, rgba(5, 13, 27, 0.97) 100%);
}

.adv-school:hover img {
  transform: scale(1.04);
}

.adv-school p {
  margin-top: 0;
}

@media (max-width: 1020px) {
  .adv-ads {
    aspect-ratio: 10 / 9;
  }
  .adv-cost .tile:first-child {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .adv-cost {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .adv-school img {
    transition: none;
  }
}
