/* TSSH mobile UI: shared reading rhythm, photo order and touch targets. */
@media (max-width:760px) {
body .ssh-about-hero__inner,
body .ssh-teachers-hero__inner,
body .ssh-lessons-hero__grid,
body .ssh-faq-hero__grid,
body .ssh-resources-hero__inner,
body .tssh-locations__hero-inner,
body .tssh-single-location__hero-inner,
body .tssh-summer__hero-grid,
body .tssh-gta__hero-grid,
body .tssh-local__hero-grid,
body .tssh-toronto__hero-grid {
  min-height:0!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;padding-top:24px!important;padding-bottom:32px!important;
}

body .ssh-about__inner,
body .ssh-teachers__inner,
body .ssh-lessons-shell,
body .ssh-faq-shell,
body .ssh-resources__inner,
body .tssh-locations__container,
body .tssh-single-location__container,
body .tssh-summer__shell,
body .tssh-gta__shell,
body .tssh-local__shell,
body .tssh-toronto__shell,
body .tssh-create-group-page__shell,
body .tssh-trial-page__shell {
  width:calc(100% - 32px)!important;max-width:100%!important;
}

body .ssh-about-hero h1,
body .ssh-teachers-hero h1,
body .ssh-lessons-hero h1,
body .ssh-faq-hero h1,
body .ssh-resources-hero h1,
body .tssh-locations__hero h1,
body .tssh-single-location__hero h1,
body .tssh-summer__hero h1,
body .tssh-gta__hero h1,
body .tssh-local__hero h1,
body .tssh-toronto__hero h1,
body .ssh-offer-page__hero h1,
body .tssh-pricing-hero h1,
body .tssh-create-group-page__hero h1,
body .tssh-trial-page__hero h1,
body .tssh-privacy__hero h1 {
  font-size:clamp(30px,8.6vw,40px)!important;line-height:1.08!important;letter-spacing:-.025em!important;margin:0!important;padding-bottom:0!important;width:100%!important;max-width:100%!important;overflow-wrap:break-word;text-wrap:pretty;
}

body .ssh-about-breadcrumbs,
body .ssh-teachers-breadcrumbs,
body .ssh-lessons-breadcrumbs,
body .ssh-faq-breadcrumbs,
body .ssh-resources-breadcrumbs,
body .tssh-breadcrumbs,
body .tssh-single-location__breadcrumbs,
body .tssh-summer__crumbs,
body .tssh-gta__crumbs,
body .tssh-local__crumbs,
body .tssh-toronto__breadcrumbs,
body .ssh-offer-page__breadcrumbs {
  display:flex;flex-wrap:wrap;gap:4px 7px!important;margin:0 0 16px!important;font-size:12px!important;line-height:1.5!important;
}

body .ssh-about-hero .ssh-about__kicker,
body .ssh-teachers-hero .ssh-teachers__kicker,
body .ssh-lessons-hero .ssh-lessons-kicker,
body .ssh-faq-hero .ssh-faq-kicker,
body .ssh-resources-hero .ssh-resources__kicker,
body .tssh-locations__hero-eyebrow,
body .tssh-single-location__eyebrow,
body .tssh-summer__hero .tssh-summer__kicker,
body .tssh-gta__hero .tssh-gta__kicker,
body .tssh-local__hero .tssh-local__kicker,
body .tssh-toronto__hero .tssh-toronto__kicker,
body .ssh-offer-page__eyebrow,
body .tssh-pricing-eyebrow,
body .tssh-create-group-page__hero .tssh-create-group-page__eyebrow,
body .tssh-trial-page__eyebrow {
  display:none!important;
}

body .ssh-about-hero__lead,
body .ssh-teachers-hero__lead,
body .ssh-lessons-hero__grid>div:first-child>p:not(.ssh-lessons-kicker),
body .ssh-faq-hero__grid>div>p:not(.ssh-faq-kicker),
body .ssh-resources-hero__lead,
body .tssh-locations__lead,
body .tssh-single-location__lead,
body .tssh-summer__lead,
body .tssh-gta__lead,
body .tssh-local__lead,
body .tssh-toronto__lead,
body .ssh-offer-page__lead,
body .tssh-pricing-lead,
body .tssh-create-group-page__hero-copy>p,
body .tssh-trial-page__hero-copy>p:not(.tssh-trial-page__eyebrow) {
  margin:16px 0 0!important;padding:0!important;font-size:15px!important;line-height:1.55!important;max-width:100%!important;
}

body .ssh-about-actions,
body .ssh-teachers-actions,
body .ssh-lessons-actions,
body .ssh-faq-hero__actions,
body .tssh-locations__hero-actions,
body .tssh-single-location__hero-actions,
body .tssh-summer__actions,
body .tssh-gta__actions,
body .tssh-local__actions,
body .tssh-toronto__actions,
body .ssh-offer-page__actions {
  display:flex!important;flex-direction:column;gap:10px!important;margin:20px 0 0!important;width:100%;
}

body .ssh-about-actions>a,
body .ssh-about-actions>button,
body .ssh-teachers-actions>a,
body .ssh-teachers-actions>button,
body .ssh-lessons-actions>a,
body .ssh-lessons-actions>button,
body .ssh-faq-hero__actions>a,
body .ssh-faq-hero__actions>button,
body .tssh-locations__hero-actions>a,
body .tssh-locations__hero-actions>button,
body .tssh-single-location__hero-actions>a,
body .tssh-single-location__hero-actions>button,
body .tssh-summer__actions>a,
body .tssh-summer__actions>button,
body .tssh-gta__actions>a,
body .tssh-gta__actions>button,
body .tssh-local__actions>a,
body .tssh-local__actions>button,
body .tssh-toronto__actions>a,
body .tssh-toronto__actions>button,
body .ssh-offer-page__actions>a,
body .ssh-offer-page__actions>button {
  width:100%!important;min-width:0!important;min-height:46px!important;height:auto!important;margin:0!important;padding:12px 14px!important;font-size:13px!important;line-height:1.35!important;text-align:center;white-space:normal!important;box-sizing:border-box;
}

body .ssh-about-hero__content,
body .ssh-teachers-hero__content,
body .ssh-children-private-hero .ssh-lessons-hero__grid>div:first-child,
body .ssh-adult-private-hero .ssh-lessons-hero__grid>div:first-child,
body .tssh-single-location__hero-content,
body .tssh-summer__hero-grid>div:first-child,
body .tssh-gta__hero-grid>div:first-child,
body .tssh-local__hero-grid>div:first-child {
  display:contents!important;
}

body .ssh-about-hero__inner,
body .ssh-teachers-hero__inner,
body .ssh-children-private-hero .ssh-lessons-hero__grid,
body .ssh-adult-private-hero .ssh-lessons-hero__grid,
body .tssh-single-location__hero-inner,
body .tssh-summer__hero-grid,
body .tssh-gta__hero-grid,
body .tssh-local__hero-grid {
  align-items:start!important;text-align:left!important;
}

body .ssh-about-hero__content>nav,
body .ssh-teachers-hero__content>nav,
body .ssh-children-private-hero .ssh-lessons-hero__grid>div:first-child>nav,
body .ssh-adult-private-hero .ssh-lessons-hero__grid>div:first-child>nav,
body .tssh-single-location__hero-content>nav,
body .tssh-summer__hero-grid>div:first-child>nav,
body .tssh-gta__hero-grid>div:first-child>nav,
body .tssh-local__hero-grid>div:first-child>nav {
  grid-row:1;margin:0!important;justify-content:flex-start!important;
}

body .ssh-about-hero h1,
body .ssh-teachers-hero h1,
body .ssh-children-private-hero h1,
body .ssh-adult-private-hero h1,
body .tssh-single-location__hero h1,
body .tssh-summer__hero h1,
body .tssh-gta__hero h1,
body .tssh-local__hero h1 {
  grid-row:2;
}

body .ssh-about-hero__visual,
body .ssh-teachers-collage,
body .ssh-children-private-hero__visual,
body .ssh-adult-private-hero__visual,
body .tssh-single-location__visual,
body .tssh-summer__visual,
body .tssh-gta__hero-photo,
body .tssh-local__hero-photo {
  grid-row:3;position:relative!important;min-height:0!important;height:clamp(170px,49vw,225px)!important;width:100%!important;max-width:480px!important;padding:0!important;margin:0 auto!important;transform:none!important;aspect-ratio:auto!important;
}

body .ssh-about-hero__photo,
body .ssh-children-private-hero__image,
body .ssh-adult-private-hero__image,
body .tssh-single-location__photo-wrap {
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;padding:0!important;margin:0!important;border:5px solid white!important;border-radius:20px!important;transform:none!important;box-sizing:border-box;overflow:hidden;
}

body .ssh-about-hero__photo>img,
body .ssh-children-private-hero__image>img,
body .ssh-adult-private-hero__image>img,
body .tssh-single-location__photo-wrap>img {
  height:100%!important;width:100%!important;object-fit:cover!important;object-position:center 35%!important;max-height:none!important;
}

body .ssh-about-sticker,
body .ssh-children-private-hero__badge,
body .ssh-adult-private-hero__badge,
body .tssh-single-location__sun,
body .tssh-single-location__word,
body .tssh-single-location__shape,
body .tssh-summer__sticker,
body .tssh-gta__sticker,
body .tssh-local__sticker,
body .ssh-teachers-collage__label {
  display:none!important;
}

body .tssh-summer__visual>img,
body .tssh-gta__hero-photo>img,
body .tssh-local__hero-photo>img {
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border:5px solid white!important;border-radius:20px!important;transform:none!important;object-fit:cover!important;object-position:center 35%!important;box-sizing:border-box;
}

body .tssh-summer__visual>img:not(:first-child) {
  display:none!important;
}

body .ssh-teachers-collage {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;
}

body .ssh-teachers-collage__photo {
  position:relative!important;inset:auto!important;width:100%!important;height:100%!important;border:4px solid white!important;border-radius:18px!important;transform:none!important;
}

body .ssh-teachers-collage__photo img {
  object-position:center 25%;
}

body .ssh-about-hero__lead,
body .ssh-teachers-hero__lead,
body .ssh-children-private-hero .ssh-lessons-hero__grid>div:first-child>p:not(.ssh-lessons-kicker),
body .ssh-adult-private-hero .ssh-lessons-hero__grid>div:first-child>p:not(.ssh-lessons-kicker),
body .tssh-single-location__lead,
body .tssh-summer__lead,
body .tssh-gta__lead,
body .tssh-local__lead {
  grid-row:4;margin:0!important;
}

body .ssh-about-actions,
body .ssh-teachers-actions,
body .ssh-children-private-hero .ssh-lessons-actions,
body .ssh-adult-private-hero .ssh-lessons-actions,
body .tssh-single-location__hero-actions,
body .tssh-summer__hero .tssh-summer__actions,
body .tssh-gta__hero .tssh-gta__actions,
body .tssh-local__hero .tssh-local__actions {
  grid-row:5;margin:0!important;
}

body .tssh-single-location__name .showplace {
  font-size:15px!important;line-height:1.4!important;margin-top:8px;
}

body .ssh-corporate-hero .ssh-lessons-visual,
body .ssh-faq-hero__card,
body .tssh-directory-visual,
body .ssh-offer-page__visual {
  display:none!important;
}

body .tssh-locations__hero {
  overflow:hidden!important;
}

body .tssh-locations__hero-inner {
  min-height:0!important;
}

body .ssh-offer-page__hero {
  padding:24px 0 32px!important;
}

body .ssh-offer-page__hero-grid {
  gap:0!important;min-height:0!important;
}

body .tssh-pricing-hero,
body .tssh-create-group-page__hero,
body .tssh-trial-page__hero,
body .tssh-privacy__hero {
  padding:28px 0 36px!important;
}

body .tssh-pricing-highlights {
  gap:10px!important;margin-top:20px!important;
}

body .tssh-trial-page__hero-layout {
  gap:24px!important;
}

body .tssh-trial-page__button {
  display:flex;align-items:center;justify-content:center;min-height:46px;margin-top:20px;
}

body .ssh-resources-hero__inner,
body .tssh-pricing-hero__inner {
  padding-top:0;padding-bottom:0;
}

body .ssh-resources-hero {
  padding:0!important;
}

body .ssh-faq-page {
  width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;left:auto!important;transform:none!important;
}

body .a4-reading-bar {
  width:100%!important;max-width:100%!important;left:0!important;margin-left:0!important;transform:none!important;
}

body.single-class .ssh-class-hero{min-height:0!important}
body.single-class .ssh-class-hero__inner{width:calc(100% - 32px)!important;padding:26px 0!important}
body.single-class .ssh-class-hero__title{font-size:clamp(30px,8.6vw,40px)!important;line-height:1.08!important;width:100%!important}
body.single-class .ssh-class-hero__eyebrow,body.single-class .ssh-class-hero__shape{display:none!important}
body.single-class .ssh-class-hero__inner::before{display:none!important}
body.single-class .et_pb_section:has(.ssh-class-featured){padding-top:24px!important}
body.single-class .newstuff_2026{padding-top:0!important}
body.single-class .ssh-class-featured__image-wrap{aspect-ratio:16 / 10}
body.single-class .et_pb_module:has(>.et_pb_code_inner>.ssh-class-featured){margin-bottom:20px!important}

body .ssh-lessons [id],
body .ssh-faq-page [id],
body .ssh-about [id],
body .tssh-locations [id],
body .tssh-single-location [id],
body .tssh-summer [id],
body .tssh-gta [id],
body .tssh-local [id],
body .tssh-toronto [id],
body .tssh-pricing-page [id] {
  scroll-margin-top:100px;
}
}

/* Refinements identified during the live page review. */
@media(max-width:760px){
  body .tssh-pricing-hero__inner{width:calc(100% - 32px)!important}
  body .tssh-single-location{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;left:auto!important;transform:none!important}
  body .tssh-summer__hero,body .tssh-gta__hero,body .tssh-local__hero,body .tssh-toronto__hero{padding-top:0!important;padding-bottom:0!important}
  body .tssh-summer__hero .tssh-summer__visual::before,body .tssh-gta__hero-photo::before,body .tssh-local__hero-photo::before{display:none!important}
  body .ssh-private-gateway-hero .ssh-lessons-hero__grid>div:first-child{display:contents!important}
  body .ssh-private-gateway-hero .ssh-lessons-breadcrumbs{grid-row:1;margin:0!important}
  body .ssh-private-gateway-hero h1{grid-row:2}
  body .ssh-private-gateway-hero__visual{grid-row:3;position:relative!important;display:grid;grid-template-columns:3fr 2fr;gap:8px;min-height:0!important;height:clamp(170px,49vw,225px)!important;width:100%!important;max-width:480px;padding:0!important;margin:0 auto!important}
  body .ssh-private-gateway-hero__visual::before,body .ssh-private-gateway-hero__badge{display:none!important}
  body .ssh-private-gateway-hero__visual div.ssh-private-gateway-hero__image{position:relative!important;inset:auto!important;width:100%!important;height:100%!important;border:5px solid white!important;border-radius:20px!important;transform:none!important;box-sizing:border-box}
  body .ssh-private-gateway-hero__image img{height:100%!important;object-position:center 30%!important}
  body .ssh-private-gateway-hero .ssh-lessons-hero__grid>div:first-child>p:not(.ssh-lessons-kicker){grid-row:4;margin:0!important}
  body .ssh-private-gateway-hero .ssh-lessons-actions{grid-row:5;margin:0!important}
  body .ssh-lessons h2,body .ssh-about-page h2,body .ssh-teachers-page h2,body .ssh-resources-page h2,body .tssh-locations h2,body .tssh-single-location h2,body .tssh-summer h2,body .tssh-gta h2,body .tssh-local h2,body .tssh-toronto h2,body .tssh-pricing-page h2{font-size:clamp(26px,7.5vw,34px)!important;line-height:1.15!important}
  body .tssh-jobs-hero h1{font-size:clamp(30px,8.6vw,40px)!important;line-height:1.08!important}
  body .tssh-jobs-hero{padding:24px!important}
  body .tssh-privacy__hero-grid{gap:24px!important}
  body .tssh-privacy__hero p{font-size:15px!important;line-height:1.55!important}
  body.page-id-121 #main-content .et_pb_section_1{padding:24px 0 32px!important}
  body.page-id-121 #main-content .et_pb_row_0{width:calc(100% - 32px)!important;padding:0!important}
  body.page-id-121 #main-content .et_pb_code_0{margin-bottom:0!important}
  body.page-id-121 #main-content h1,body.page-id-121 #main-content h1 span{font-size:32px!important;line-height:1.08!important}
  body.page-id-121 #main-content .et_pb_code_2 p,body.page-id-121 #main-content .et_pb_code_3 li{font-size:16px!important;line-height:1.55!important}
  body.page-id-121 #main-content .contactbottom{width:calc(100% - 32px)!important;margin:24px auto!important;padding:24px 0!important}
  body.page-id-121 #main-content .contactbottom .et_pb_row{width:calc(100% - 32px)!important;padding:0!important}
  body.page-id-91 #main-content .et_animated{animation:none!important;opacity:1!important;transform:none!important;visibility:visible!important}
  body.page-id-91 #main-content .heroheader_shapes{padding:24px 0!important}
  body.page-id-91 #main-content .heroheader_shapes h2{font-size:32px!important;line-height:1.08!important}
  body.page-id-91 #main-content .et_pb_section_3{padding-top:24px!important}
  body.page-id-48 #main-content .et_pb_section_0{padding:28px 0!important;background:#eafaff!important}
  body.page-id-48 #main-content h1{font-size:32px!important;line-height:1.08!important;color:#17304b!important}
}
@media(max-width:760px){
  body .ssh-reviews-hero__inner{min-height:0!important;grid-template-columns:minmax(0,1fr)!important;gap:24px!important;padding:24px 0 32px!important}
  body .ssh-reviews__inner{width:calc(100% - 32px)!important}
  body .ssh-reviews-hero h1{font-size:clamp(30px,8.6vw,40px)!important;line-height:1.08!important;margin:0!important}
  body .ssh-reviews-hero .ssh-reviews__kicker{display:none!important}
  body .ssh-reviews-breadcrumbs{margin-bottom:16px!important;font-size:12px!important}
  body .ssh-reviews-hero__inner>div:first-child>p:last-of-type{font-size:15px!important;line-height:1.55!important;margin-top:16px!important}
  body .ssh-reviews-hero__rating{padding:24px!important;transform:none!important}
  body .tssh-pricing-hero{overflow:clip!important}
}
@media(max-width:760px){
  body.home .ssh-beyond__grid{width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important}
  body .ssh-about-facts .ssh-about__inner{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 12px!important}
  body .ssh-about-facts .ssh-about__inner>div{min-width:0!important;padding-left:0!important;padding-right:0!important}
  body .ssh-about-facts strong{font-size:clamp(22px,6vw,30px)!important;line-height:1.2!important}
  body .ssh-about-facts span{font-size:12px!important;line-height:1.5!important;overflow-wrap:break-word}
  body .tssh-pricing-chart__group-heading{flex-direction:column!important;align-items:flex-start!important;gap:8px!important}
  body .tssh-pricing-chart__group-heading>*{width:100%!important;min-width:0!important;margin:0!important}
  body .tssh-pricing-chart__group-heading h3{font-size:24px!important;line-height:1.2!important}
}
@media(max-width:760px){
  body.home .ssh-locations__grid,body.home .ssh-articles__grid{width:100%!important;max-width:100%!important;min-width:0!important}
}
