/*
 * Legacy Pedagogy child pages start at the top of the document while the
 * global header is fixed above them. Align their hero with the header edge
 * and reuse the deliberate title spacing from the Pedagogy landing page.
 */
body.page-child.parent-pageid-53155.page-id-53156 .tr-ped-native,
body.page-child.parent-pageid-53155.page-id-53183 .tr-ped-native,
body.page-child.parent-pageid-53155.page-id-53184 .tr-ped-native {
  --padding-top: 120px;
  padding-top: 120px;
}

/* TR Bez Barier already owns the correct 120/60px outer margin. */
body.page-child.parent-pageid-53155.page-id-53182 .tr-ped-native {
  --padding-top: 0;
  padding-block-start: 0 !important;
  padding-top: 0 !important;
}

body.page-child.parent-pageid-53155 .tr-ped-native > .tr-ped-hero {
  --padding-top: 55px;
  padding-block-start: 55px !important;
  padding-top: 55px !important;
}

@media (max-width: 767px) {
  body.page-child.parent-pageid-53155.page-id-53156 .tr-ped-native,
  body.page-child.parent-pageid-53155.page-id-53183 .tr-ped-native,
  body.page-child.parent-pageid-53155.page-id-53184 .tr-ped-native {
    --padding-top: 60px;
    padding-top: 60px;
  }

  body.page-child.parent-pageid-53155 .tr-ped-native > .tr-ped-hero {
    --padding-top: 40px;
    padding-block-start: 40px !important;
    padding-top: 40px !important;
  }
}
