/* S568: one hero geometry for the five section landing pages.
   The inline per-page rules used to vertically centre a variable-height
   content stack, so the blue band grew with each paragraph and the H1 landed
   at a different Y on every page. A fixed band plus a three-row grid keeps the
   title top and the CTA baseline identical everywhere. */
.mtc-p-hero {
  height: 273px;
  min-height: 273px;
  padding: 36px 0 30px;
  display: block;
}
.mtc-p-hero > .container {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: start;
}
.mtc-p-hero h1 {
  font-size: 2.05rem;
  line-height: 1.3;
  margin: 0 0 .4rem;
}
.mtc-p-hero p,
.mtc-p-hero p.mtc-p-hero-sub {
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 980px;
  margin: 0;
}
.mtc-p-hero .mtc-p-inline {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0 0 0 auto;
  justify-self: end;
  align-self: end;
}
/* At tablet width the longer About copy wraps to four lines and would touch
   the CTA. Tighten copy only in this band; hero height stays identical. */
@media (min-width: 768px) and (max-width: 991.98px) {
  .mtc-p-hero p,
  .mtc-p-hero p.mtc-p-hero-sub { font-size: 1.0625rem; line-height: 1.5; }
}
@media (max-width: 767.98px) {
  .mtc-p-hero {
    height: 323px;
    min-height: 323px;
    padding: 30px 0 26px;
  }
  .mtc-p-hero h1 { font-size: 1.62rem; }
  .mtc-p-hero p,
  .mtc-p-hero p.mtc-p-hero-sub { font-size: 1rem; line-height: 1.5; }
}
