/*
 * Task 17 canary fix.
 * Isolates the legacy V13 hero overflow without modifying rollback style.css.
 */

@media (min-width: 981px) and (max-width: 1199px) {
  .hero-ref-v13-6 {
    width: min(calc(100% - 42px), 760px) !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 34px !important;
    min-height: auto !important;
    padding-top: 32px !important;
  }

  .hero-ref-v13-6 .hero-v12-copy,
  .hero-ref-v13-6 .lead,
  .hero-ref-v13-6 .ticket-step-card {
    max-width: 100% !important;
  }

  .hero-ref-v13-6 .hero-v12-copy::before {
    display: none !important;
  }

  .hero-ref-v13-6 .hero-ticket-stack-scene {
    min-height: 390px !important;
  }
}
