/* Quantum Tunneling lesson. All rules scoped under .qtn-* */
.qtn-sc { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.qtn-note { font-size: 12px; color: var(--faint); text-align: center; }
.qtn-hero img { display: block; width: 300px; max-width: 100%; max-height: 34vh; object-fit: contain; margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(123, 92, 253, .35)); }
.qtn-photo img { display: block; width: 100%; max-width: 340px; max-height: 30vh; object-fit: cover; border-radius: 14px; margin: 0 auto; }
.qtn-cv { --cap: 9999px; display: block; width: min(100%, calc(var(--cap) * var(--ar, 2))); height: auto; margin: 0 auto; }

@media (max-height: 700px) {
  .qtn-cv { --cap: 190px; }
  .qtn-hero img { max-height: 150px; }
  .qtn-photo img { max-height: 150px; }
}
