/* Center the mobile summary content on single-course pages. */
@media (max-width: 767px) {
  .page-catalog-product .product-intro > .product-intro-copy {
    align-self: center;
    text-align: center;
  }

  .page-catalog-product .product-intro > .product-intro-copy :is(h1, h2, p) {
    text-align: center;
  }

  .page-catalog-product .product-intro > :is(.course-tags, .summary-purchase-button) {
    align-self: center;
    margin-right: 0;
    margin-left: 0;
  }
}

/* The compact-naika catch needs more vertical room at wide mobile widths. */
@media (min-width: 501px) and (max-width: 767px) {
  .page-compact_naika
    .product-hero.product-hero--with-purchase
    > .compact-naika-hero-copy {
    height: 315px !important;
  }
}
