/*
Theme Name: Kokura School STORK Child
Template: jstork19
Version: 1.0.0
Text Domain: kokura-stork-child
*/


/* Homepage: past international exchange events heading */
.kes-reference .past-events-showcase h2 {
  font-size: clamp(2.58rem, 5.05vw, 4.45rem) !important;
}

/* Pricing page: cleaner Japanese line breaks on mobile */
@media (max-width: 720px) {
  #kes-pricing-v2 .price-hero h1 {
    font-size: clamp(2.1rem, 10.5vw, 2.5rem) !important;
    line-height: 1.34;
  }

  #kes-pricing-v2 .price-hero h1 span {
    white-space: nowrap;
  }

  #kes-pricing-v2 .price-heading h2 {
    font-size: clamp(1.8rem, 8.1vw, 2.25rem) !important;
    line-height: 1.42;
    text-wrap: balance;
  }

  #kes-pricing-v2 .price-heading > p:last-child,
  #kes-pricing-v2 .price-hero-lead,
  #kes-pricing-v2 .price-payment-card p,
  #kes-pricing-v2 .price-compare-card p {
    word-break: auto-phrase;
    text-wrap: pretty;
  }
}