/* Classes opening hero only — 14 Oct 2026.
   Bring the label, editorial title, handwriting, paragraph and CTA into the
   compact Birthday reference rhythm. Do not affect any other section/page. */
body.compact-rhythm main > section.co-classes-compact-hero.classes-colour-intro {
  min-height:0!important;
  height:auto!important;
  padding-top:clamp(20px,2.2vw,30px)!important;
  padding-bottom:clamp(25px,2.8vw,37px)!important;
  justify-content:flex-start!important;
  gap:0!important;
}
body.compact-rhythm main > section.co-classes-compact-hero > .eyebrow {
  margin:0!important;
}
body.compact-rhythm main > section.co-classes-compact-hero > .classes-colour-inner {
  margin:clamp(10px,1.1vw,15px) 0 0!important;
}
body.compact-rhythm main > section.co-classes-compact-hero .co-classes-intro-copy h1 {
  margin:0 0 13px!important;
}
body.compact-rhythm main > section.co-classes-compact-hero .co-classes-intro-copy h1 > .hand {
  margin-top:clamp(5px,.7vw,9px)!important;
  padding-bottom:2px!important;
}
body.compact-rhythm main > section.co-classes-compact-hero .co-classes-intro-copy > p {
  margin:0 0 16px!important;
}
/* Desktop photo is taller than the copy. Keep the title beside its top,
   rather than centring the entire copy and creating a fake blank row. */
@media(min-width:1081px) {
  body.compact-rhythm main > section.co-classes-compact-hero .classes-colour-inner {
    align-items:start!important;
  }
}
@media(max-width:760px) {
  body.compact-rhythm main > section.co-classes-compact-hero.classes-colour-intro {
    padding-top:22px!important;
    padding-bottom:27px!important;
  }
  body.compact-rhythm main > section.co-classes-compact-hero > .classes-colour-inner {
    margin-top:10px!important;
  }
  body.compact-rhythm main > section.co-classes-compact-hero .co-classes-intro-copy h1 {
    margin-bottom:13px!important;
  }
  body.compact-rhythm main > section.co-classes-compact-hero .co-classes-intro-copy h1 > .hand {
    margin-top:5px!important;
  }
}
